s2 376 lib/replace/crypt.c int s1, s2;
s2 383 lib/replace/crypt.c s2 = s_lookup(2 * sg + 1, j2);
s2 384 lib/replace/crypt.c to_permute = ((s1 << 4) | s2) << (24 - 8 * sg);
s2 502 lib/replace/crypt.c const unsigned char *s2 = (const unsigned char *)s1;
s2 507 lib/replace/crypt.c if(s2[0] == current_salt[0] && s2[1] == current_salt[1])
s2 509 lib/replace/crypt.c current_salt[0] = s2[0]; current_salt[1] = s2[1];
s2 518 lib/replace/crypt.c long c=ascii_to_bin(s2[i]);
s2 61 lib/replace/strptime.c # define match_string(cs1, s2) \
s2 63 lib/replace/strptime.c int result = strncasecmp ((cs1), (s2), len) == 0; \
s2 64 lib/replace/strptime.c if (result) (s2) += len; \
s2 68 lib/replace/strptime.c # define match_string(cs1, s2) \
s2 69 lib/replace/strptime.c (strncasecmp ((cs1), (s2), strlen (cs1)) ? 0 : ((s2) += strlen (cs1), 1))
s2 162 lib/replace/strptime.c # define strncasecmp(s1, s2, n) __strncasecmp (s1, s2, n)
s2 955 lib/talloc/testsuite.c } *s1, *s2, **s3, ***s4;
s2 980 lib/talloc/testsuite.c s2 = talloc_array_ptrtype(top, s2, 10);location2 = __location__;
s2 982 lib/talloc/testsuite.c if (talloc_get_size(s2) != (sizeof(struct struct1) * 10)) {
s2 986 lib/talloc/testsuite.c (unsigned long)talloc_get_size(s2),
s2 991 lib/talloc/testsuite.c if (strcmp(location2, talloc_get_name(s2)) != 0) {
s2 994 lib/talloc/testsuite.c talloc_get_name(s2), location2);
s2 110 lib/util/charset/charset.h bool strcsequal_m(const char *s1,const char *s2);
s2 111 lib/util/charset/charset.h bool strequal_m(const char *s1, const char *s2);
s2 112 lib/util/charset/charset.h int strncasecmp_m(const char *s1, const char *s2, size_t n);
s2 114 lib/util/charset/charset.h int strcasecmp_m(const char *s1, const char *s2);
s2 36 lib/util/charset/util_unistr.c _PUBLIC_ int strcasecmp_m(const char *s1, const char *s2)
s2 43 lib/util/charset/util_unistr.c if (s1 == s2) return 0;
s2 45 lib/util/charset/util_unistr.c if (s2 == NULL) return 1;
s2 47 lib/util/charset/util_unistr.c while (*s1 && *s2) {
s2 49 lib/util/charset/util_unistr.c c2 = next_codepoint_convenience(iconv_convenience, s2, &size2);
s2 52 lib/util/charset/util_unistr.c s2 += size2;
s2 61 lib/util/charset/util_unistr.c return strcasecmp(s1, s2);
s2 69 lib/util/charset/util_unistr.c return *s1 - *s2;
s2 121 lib/util/charset/util_unistr.c _PUBLIC_ int strncasecmp_m(const char *s1, const char *s2, size_t n)
s2 128 lib/util/charset/util_unistr.c if (s1 == s2) return 0;
s2 130 lib/util/charset/util_unistr.c if (s2 == NULL) return 1;
s2 132 lib/util/charset/util_unistr.c while (*s1 && *s2 && n) {
s2 136 lib/util/charset/util_unistr.c c2 = next_codepoint_convenience(iconv_convenience, s2, &size2);
s2 139 lib/util/charset/util_unistr.c s2 += size2;
s2 148 lib/util/charset/util_unistr.c return strcasecmp(s1, s2);
s2 160 lib/util/charset/util_unistr.c return *s1 - *s2;
s2 168 lib/util/charset/util_unistr.c _PUBLIC_ bool strequal_m(const char *s1, const char *s2)
s2 170 lib/util/charset/util_unistr.c return strcasecmp_m(s1,s2) == 0;
s2 176 lib/util/charset/util_unistr.c _PUBLIC_ bool strcsequal_m(const char *s1,const char *s2)
s2 178 lib/util/charset/util_unistr.c if (s1 == s2)
s2 180 lib/util/charset/util_unistr.c if (!s1 || !s2)
s2 183 lib/util/charset/util_unistr.c return strcmp(s1,s2) == 0;
s2 740 lib/util/util.c _PUBLIC_ int strcmp_safe(const char *s1, const char *s2)
s2 742 lib/util/util.c if (s1 == s2) {
s2 745 lib/util/util.c if (s1 == NULL || s2 == NULL) {
s2 748 lib/util/util.c return strcmp(s1, s2);
s2 320 lib/util/util.h _PUBLIC_ int strcmp_safe(const char *s1, const char *s2);
s2 390 lib/util/util.h _PUBLIC_ bool strequal(const char *s1, const char *s2);
s2 465 lib/util/util.h _PUBLIC_ char *fgets_slash(char *s2,int maxlen,XFILE *f);
s2 40 lib/util/util_file.c _PUBLIC_ char *fgets_slash(char *s2,int maxlen,XFILE *f)
s2 42 lib/util/util_file.c char *s=s2;
s2 52 lib/util/util_file.c if (!s2)
s2 82 lib/util/util_file.c if (len <= 0 && !s2)
s2 94 lib/util/util_file.c if (!s2 && len > maxlen-3)
s2 221 lib/util/util_file.c size_t s2 = 0;
s2 238 lib/util/util_file.c p = file_load(fname, &s2, 0, talloc_autofree_context());
s2 240 lib/util/util_file.c if (s2 != size) {
s2 242 lib/util/util_file.c fname, (int)s2, (int)size));
s2 307 lib/util/util_str.c _PUBLIC_ bool strequal(const char *s1, const char *s2)
s2 309 lib/util/util_str.c if (s1 == s2)
s2 311 lib/util/util_str.c if (!s1 || !s2)
s2 314 lib/util/util_str.c return strcasecmp(s1,s2) == 0;
s2 160 lib/zlib/zutil.c int zmemcmp(s1, s2, len)
s2 162 lib/zlib/zutil.c const Bytef* s2;
s2 168 lib/zlib/zutil.c if (s1[j] != s2[j]) return 2*(s1[j] > s2[j])-1;
s2 236 lib/zlib/zutil.h extern int zmemcmp OF((const Bytef* s1, const Bytef* s2, uInt len));
s2 152 libcli/security/secace.c bool sec_ace_equal(struct security_ace *s1, struct security_ace *s2)
s2 156 libcli/security/secace.c if (!s1 && !s2) {
s2 160 libcli/security/secace.c if (!s1 || !s2) {
s2 166 libcli/security/secace.c if (s1->type != s2->type || s1->flags != s2->flags ||
s2 167 libcli/security/secace.c s1->access_mask != s2->access_mask) {
s2 173 libcli/security/secace.c if (!dom_sid_equal(&s1->trustee, &s2->trustee)) {
s2 33 libcli/security/secace.h bool sec_ace_equal(struct security_ace *s1, struct security_ace *s2);
s2 83 libcli/security/secacl.c bool sec_acl_equal(struct security_acl *s1, struct security_acl *s2)
s2 89 libcli/security/secacl.c if (!s1 && !s2) return true;
s2 90 libcli/security/secacl.c if (!s1 || !s2) return false;
s2 94 libcli/security/secacl.c if (s1->revision != s2->revision) {
s2 96 libcli/security/secacl.c s1->revision, s2->revision));
s2 100 libcli/security/secacl.c if (s1->num_aces != s2->num_aces) {
s2 102 libcli/security/secacl.c s1->revision, s2->revision));
s2 112 libcli/security/secacl.c for (j = 0; j < s2->num_aces; j++) {
s2 113 libcli/security/secacl.c if (sec_ace_equal(&s1->aces[i], &s2->aces[j])) {
s2 29 libcli/security/secacl.h bool sec_acl_equal(struct security_acl *s1, struct security_acl *s2);
s2 174 librpc/gen_ndr/cli_echo.c const char **s2 /* [out] [ref,charset(UTF16)] */)
s2 205 librpc/gen_ndr/cli_echo.c *s2 = *r.out.s2;
s2 24 librpc/gen_ndr/cli_echo.h const char **s2 /* [out] [ref,charset(UTF16)] */);
s2 145 librpc/gen_ndr/echo.h const char **s2;/* [ref,charset(UTF16)] */
s2 875 librpc/gen_ndr/ndr_echo.c if (r->out.s2 == NULL) {
s2 878 librpc/gen_ndr/ndr_echo.c NDR_CHECK(ndr_push_unique_ptr(ndr, *r->out.s2));
s2 879 librpc/gen_ndr/ndr_echo.c if (*r->out.s2) {
s2 880 librpc/gen_ndr/ndr_echo.c NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, ndr_charset_length(*r->out.s2, CH_UTF16)));
s2 882 librpc/gen_ndr/ndr_echo.c NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, ndr_charset_length(*r->out.s2, CH_UTF16)));
s2 883 librpc/gen_ndr/ndr_echo.c NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, *r->out.s2, ndr_charset_length(*r->out.s2, CH_UTF16), sizeof(uint16_t), CH_UTF16));
s2 904 librpc/gen_ndr/ndr_echo.c NDR_PULL_ALLOC(ndr, r->out.s2);
s2 905 librpc/gen_ndr/ndr_echo.c ZERO_STRUCTP(r->out.s2);
s2 909 librpc/gen_ndr/ndr_echo.c NDR_PULL_ALLOC(ndr, r->out.s2);
s2 912 librpc/gen_ndr/ndr_echo.c NDR_PULL_SET_MEM_CTX(ndr, r->out.s2, LIBNDR_FLAG_REF_ALLOC);
s2 915 librpc/gen_ndr/ndr_echo.c NDR_PULL_ALLOC(ndr, *r->out.s2);
s2 917 librpc/gen_ndr/ndr_echo.c *r->out.s2 = NULL;
s2 919 librpc/gen_ndr/ndr_echo.c if (*r->out.s2) {
s2 921 librpc/gen_ndr/ndr_echo.c NDR_PULL_SET_MEM_CTX(ndr, *r->out.s2, 0);
s2 922 librpc/gen_ndr/ndr_echo.c NDR_CHECK(ndr_pull_array_size(ndr, r->out.s2));
s2 923 librpc/gen_ndr/ndr_echo.c NDR_CHECK(ndr_pull_array_length(ndr, r->out.s2));
s2 924 librpc/gen_ndr/ndr_echo.c if (ndr_get_array_length(ndr, r->out.s2) > ndr_get_array_size(ndr, r->out.s2)) {
s2 925 librpc/gen_ndr/ndr_echo.c return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, r->out.s2), ndr_get_array_length(ndr, r->out.s2));
s2 927 librpc/gen_ndr/ndr_echo.c NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, r->out.s2), sizeof(uint16_t)));
s2 928 librpc/gen_ndr/ndr_echo.c NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, r->out.s2, ndr_get_array_length(ndr, r->out.s2), sizeof(uint16_t), CH_UTF16));
s2 955 librpc/gen_ndr/ndr_echo.c ndr_print_ptr(ndr, "s2", r->out.s2);
s2 957 librpc/gen_ndr/ndr_echo.c ndr_print_ptr(ndr, "s2", *r->out.s2);
s2 959 librpc/gen_ndr/ndr_echo.c if (*r->out.s2) {
s2 960 librpc/gen_ndr/ndr_echo.c ndr_print_string(ndr, "s2", *r->out.s2);
s2 361 librpc/gen_ndr/srv_echo.c r->out.s2 = talloc_zero(r, const char *);
s2 362 librpc/gen_ndr/srv_echo.c if (r->out.s2 == NULL) {
s2 855 librpc/gen_ndr/srv_echo.c r->out.s2 = talloc_zero(mem_ctx, const char *);
s2 856 librpc/gen_ndr/srv_echo.c if (r->out.s2 == NULL) {
s2 485 source3/client/clitar.c static int strslashcmp(char *s1, char *s2)
s2 489 source3/client/clitar.c while(*s1 && *s2 && (*s1 == *s2 || tolower_ascii(*s1) == tolower_ascii(*s2) ||
s2 490 source3/client/clitar.c (*s1 == '\\' && *s2=='/') || (*s1 == '/' && *s2=='\\'))) {
s2 491 source3/client/clitar.c s1++; s2++;
s2 501 source3/client/clitar.c if (!*s2 && (*s1 == '/' || *s1 == '\\') && !*(s1+1))
s2 505 source3/client/clitar.c if ((*s2 == '/' || *s2 == '\\') && !*s1)
s2 508 source3/client/clitar.c return *s1-*s2;
s2 659 source3/include/proto.h bool sec_desc_equal(SEC_DESC *s1, SEC_DESC *s2);
s2 1442 source3/include/proto.h bool strnequal(const char *s1,const char *s2,size_t n);
s2 1443 source3/include/proto.h bool strcsequal(const char *s1,const char *s2);
s2 1584 source3/include/proto.h bool strequal_w(const smb_ucs2_t *s1, const smb_ucs2_t *s2);
s2 1585 source3/include/proto.h bool strnequal_w(const smb_ucs2_t *s1,const smb_ucs2_t *s2,size_t n);
s2 226 source3/lib/interfaces.c struct sockaddr_in6 *s2 = (struct sockaddr_in6 *)&i2->ip;
s2 229 source3/lib/interfaces.c &s2->sin6_addr,
s2 236 source3/lib/interfaces.c s2 = (struct sockaddr_in6 *)&i2->netmask;
s2 239 source3/lib/interfaces.c &s2->sin6_addr,
s2 254 source3/lib/interfaces.c struct sockaddr_in *s2 = (struct sockaddr_in *)&i2->ip;
s2 257 source3/lib/interfaces.c ntohl(s2->sin_addr.s_addr);
s2 263 source3/lib/interfaces.c s2 = (struct sockaddr_in *)&i2->netmask;
s2 266 source3/lib/interfaces.c ntohl(s2->sin_addr.s_addr);
s2 155 source3/lib/ldb/common/attrib_handlers.c const char *s1=(const char *)v1->data, *s2=(const char *)v2->data;
s2 160 source3/lib/ldb/common/attrib_handlers.c while (*s2 == ' ') s2++;
s2 162 source3/lib/ldb/common/attrib_handlers.c while (*s1 && *s2) {
s2 166 source3/lib/ldb/common/attrib_handlers.c if (((unsigned char)s2[0]) & 0x80) goto utf8str;
s2 167 source3/lib/ldb/common/attrib_handlers.c if (toupper((unsigned char)*s1) != toupper((unsigned char)*s2))
s2 171 source3/lib/ldb/common/attrib_handlers.c while (s2[0] == s2[1]) s2++;
s2 173 source3/lib/ldb/common/attrib_handlers.c s1++; s2++;
s2 175 source3/lib/ldb/common/attrib_handlers.c if (! (*s1 && *s2)) {
s2 182 source3/lib/ldb/common/attrib_handlers.c while (*s2 == ' ') s2++;
s2 184 source3/lib/ldb/common/attrib_handlers.c return (int)(toupper(*s1)) - (int)(toupper(*s2));
s2 189 source3/lib/ldb/common/attrib_handlers.c b2 = ldb_casefold(ldb, mem_ctx, s2);
s2 200 source3/lib/ldb/common/attrib_handlers.c u2 = s2;
s2 657 source3/lib/ldb/common/ldb_parse.c char *s, *s2, *ret;
s2 675 source3/lib/ldb/common/ldb_parse.c s2 = talloc_asprintf_append(ret, "%s", s);
s2 677 source3/lib/ldb/common/ldb_parse.c if (s2 == NULL) {
s2 681 source3/lib/ldb/common/ldb_parse.c ret = s2;
s2 708 source3/lib/ldb/common/ldb_parse.c s2 = ldb_binary_encode(mem_ctx, *(tree->u.substring.chunks[i]));
s2 709 source3/lib/ldb/common/ldb_parse.c if (s2 == NULL) {
s2 715 source3/lib/ldb/common/ldb_parse.c s = talloc_asprintf_append(ret, "%s*", s2);
s2 717 source3/lib/ldb/common/ldb_parse.c s = talloc_asprintf_append(ret, "%s", s2);
s2 179 source3/lib/ldb/ldb_tdb/ldb_index.c static int list_cmp(const char **s1, const char **s2)
s2 181 source3/lib/ldb/ldb_tdb/ldb_index.c return strcmp(*s1, *s2);
s2 44 source3/lib/netapi/share.c struct srvsvc_NetShareInfo2 *s2;
s2 76 source3/lib/netapi/share.c s2 = info->info2;
s2 78 source3/lib/netapi/share.c i2.shi2_netname = talloc_strdup(mem_ctx, s2->name);
s2 79 source3/lib/netapi/share.c i2.shi2_type = s2->type;
s2 80 source3/lib/netapi/share.c i2.shi2_remark = talloc_strdup(mem_ctx, s2->comment);
s2 81 source3/lib/netapi/share.c i2.shi2_permissions = s2->permissions;
s2 82 source3/lib/netapi/share.c i2.shi2_max_uses = s2->max_users;
s2 83 source3/lib/netapi/share.c i2.shi2_current_uses = s2->current_users;
s2 84 source3/lib/netapi/share.c i2.shi2_path = talloc_strdup(mem_ctx, s2->path);
s2 85 source3/lib/netapi/share.c i2.shi2_passwd = talloc_strdup(mem_ctx, s2->password);
s2 132 source3/lib/netapi/share.c struct srvsvc_NetShareInfo2 *s2 = NULL;
s2 143 source3/lib/netapi/share.c s2 = TALLOC_P(mem_ctx, struct srvsvc_NetShareInfo2);
s2 144 source3/lib/netapi/share.c NT_STATUS_HAVE_NO_MEMORY(s2);
s2 146 source3/lib/netapi/share.c s2->name = i2->shi2_netname;
s2 147 source3/lib/netapi/share.c s2->type = i2->shi2_type;
s2 148 source3/lib/netapi/share.c s2->comment = i2->shi2_remark;
s2 149 source3/lib/netapi/share.c s2->permissions = i2->shi2_permissions;
s2 150 source3/lib/netapi/share.c s2->max_users = i2->shi2_max_uses;
s2 151 source3/lib/netapi/share.c s2->current_users = i2->shi2_current_uses;
s2 152 source3/lib/netapi/share.c s2->path = i2->shi2_path;
s2 153 source3/lib/netapi/share.c s2->password = i2->shi2_passwd;
s2 155 source3/lib/netapi/share.c info->info2 = s2;
s2 38 source3/lib/secdesc.c bool sec_desc_equal(SEC_DESC *s1, SEC_DESC *s2)
s2 42 source3/lib/secdesc.c if (!s1 && !s2) {
s2 46 source3/lib/secdesc.c if (!s1 || !s2) {
s2 52 source3/lib/secdesc.c if (s1->revision != s2->revision) {
s2 54 source3/lib/secdesc.c s1->revision, s2->revision));
s2 58 source3/lib/secdesc.c if (s1->type!= s2->type) {
s2 60 source3/lib/secdesc.c s1->type, s2->type));
s2 66 source3/lib/secdesc.c if (!sid_equal(s1->owner_sid, s2->owner_sid)) {
s2 69 source3/lib/secdesc.c sid_string_dbg(s2->owner_sid)));
s2 73 source3/lib/secdesc.c if (!sid_equal(s1->group_sid, s2->group_sid)) {
s2 76 source3/lib/secdesc.c sid_string_dbg(s2->group_sid)));
s2 82 source3/lib/secdesc.c if ((s1->dacl && !s2->dacl) || (!s1->dacl && s2->dacl) ||
s2 83 source3/lib/secdesc.c (s1->sacl && !s2->sacl) || (!s1->sacl && s2->sacl)) {
s2 91 source3/lib/secdesc.c if (!sec_acl_equal(s1->dacl, s2->dacl) ||
s2 92 source3/lib/secdesc.c !sec_acl_equal(s1->sacl, s2->sacl)) {
s2 2555 source3/lib/util.c char *s2;
s2 2560 source3/lib/util.c s2 = talloc_strdup(ctx,string);
s2 2561 source3/lib/util.c if (!p2 || !s2) {
s2 2566 source3/lib/util.c strlower_m(s2);
s2 2580 source3/lib/util.c ret = unix_do_match(p2, s2);
s2 186 source3/lib/util_str.c bool strequal(const char *s1, const char *s2)
s2 188 source3/lib/util_str.c if (s1 == s2)
s2 190 source3/lib/util_str.c if (!s1 || !s2)
s2 193 source3/lib/util_str.c return(StrCaseCmp(s1,s2)==0);
s2 201 source3/lib/util_str.c bool strnequal(const char *s1,const char *s2,size_t n)
s2 203 source3/lib/util_str.c if (s1 == s2)
s2 205 source3/lib/util_str.c if (!s1 || !s2 || !n)
s2 208 source3/lib/util_str.c return(StrnCaseCmp(s1,s2,n)==0);
s2 215 source3/lib/util_str.c bool strcsequal(const char *s1,const char *s2)
s2 217 source3/lib/util_str.c if (s1 == s2)
s2 219 source3/lib/util_str.c if (!s1 || !s2)
s2 222 source3/lib/util_str.c return(strcmp(s1,s2)==0);
s2 1150 source3/lib/util_str.c char *s2 = NULL;
s2 1190 source3/lib/util_str.c if (!pull_ucs2_allocate(&s2, ws, &converted_size)) {
s2 1195 source3/lib/util_str.c ret = (char *)(s+strlen(s2));
s2 1197 source3/lib/util_str.c SAFE_FREE(s2);
s2 1246 source3/lib/util_str.c char *s2 = NULL;
s2 1261 source3/lib/util_str.c if (!pull_ucs2_allocate(&s2, ws, &converted_size)) {
s2 1266 source3/lib/util_str.c ret = (char *)(s+strlen(s2));
s2 1268 source3/lib/util_str.c SAFE_FREE(s2);
s2 1281 source3/lib/util_str.c char *s2 = NULL;
s2 1296 source3/lib/util_str.c if (!pull_ucs2_allocate(&s2, ws, &converted_size)) {
s2 1301 source3/lib/util_str.c ret = (char *)(s+strlen(s2));
s2 1303 source3/lib/util_str.c SAFE_FREE(s2);
s2 1316 source3/lib/util_str.c char *s2;
s2 1375 source3/lib/util_str.c if (!pull_ucs2_allocate(&s2, src_w, &converted_size)) {
s2 1381 source3/lib/util_str.c retp = (char *)(s+strlen(s2));
s2 1384 source3/lib/util_str.c SAFE_FREE(s2);
s2 608 source3/lib/util_unistr.c bool strequal_w(const smb_ucs2_t *s1, const smb_ucs2_t *s2)
s2 610 source3/lib/util_unistr.c if (s1 == s2) {
s2 613 source3/lib/util_unistr.c if (!s1 || !s2) {
s2 617 source3/lib/util_unistr.c return(strcasecmp_w(s1,s2)==0);
s2 624 source3/lib/util_unistr.c bool strnequal_w(const smb_ucs2_t *s1,const smb_ucs2_t *s2,size_t n)
s2 626 source3/lib/util_unistr.c if (s1 == s2) {
s2 629 source3/lib/util_unistr.c if (!s1 || !s2 || !n) {
s2 633 source3/lib/util_unistr.c return(strncasecmp_w(s1,s2,n)==0);
s2 34 source3/libnet/libnet_samsync_passdb.c #define STRING_CHANGED_NC(s1,s2) ((s1) && !(s2)) ||\
s2 35 source3/libnet/libnet_samsync_passdb.c (!(s1) && (s2)) ||\
s2 36 source3/libnet/libnet_samsync_passdb.c ((s1) && (s2) && (strcmp((s1), (s2)) != 0))
s2 160 source3/libsmb/clirap.c char *s1, *s2;
s2 189 source3/libsmb/clirap.c &s2,cmnt,len,STR_ASCII);
s2 190 source3/libsmb/clirap.c if (!s1 || !s2) {
s2 195 source3/libsmb/clirap.c fn(s1, type, s2, state);
s2 342 source3/libsmb/clirap.c char *s1, *s2;
s2 372 source3/libsmb/clirap.c &s2,cmnt,len,STR_ASCII);
s2 374 source3/libsmb/clirap.c if (!s1 || !s2) {
s2 379 source3/libsmb/clirap.c fn(s1, stype, s2, state);
s2 460 source3/nmbd/nmbd_sendannounce.c char *s2;
s2 478 source3/nmbd/nmbd_sendannounce.c for (ptr=s; next_token_talloc(frame,&ptr,&s2,NULL); ) {
s2 485 source3/nmbd/nmbd_sendannounce.c pwgroup = strchr_m(s2,'/');
s2 493 source3/nmbd/nmbd_sendannounce.c addr = interpret_addr2(s2);
s2 528 source3/nmbd/nmbd_sendannounce.c char *s2;
s2 575 source3/nmbd/nmbd_sendannounce.c for (ptr=s; next_token_talloc(frame,&ptr,&s2,NULL); ) {
s2 577 source3/nmbd/nmbd_sendannounce.c addr = interpret_addr2(s2);
s2 34 source3/rpc_server/srv_samr_util.c #define STRING_CHANGED_NC(s1,s2) ((s1) && !(s2)) ||\
s2 35 source3/rpc_server/srv_samr_util.c (!(s1) && (s2)) ||\
s2 36 source3/rpc_server/srv_samr_util.c ((s1) && (s2) && (strcmp((s1), (s2)) != 0))
s2 1355 source3/smbd/lanman.c static bool srv_comp(struct srv_info_struct *s1,struct srv_info_struct *s2)
s2 1357 source3/smbd/lanman.c return(strcmp(s1->name,s2->name));
s2 412 source3/smbd/mangle_hash.c char *s2;
s2 425 source3/smbd/mangle_hash.c if( s1 && (s2 = strrchr( raw_name, '.' )) ) {
s2 427 source3/smbd/mangle_hash.c while( s1[i] && (tolower_ascii( s1[i] ) == s2[i]) )
s2 429 source3/smbd/mangle_hash.c if( !s1[i] && !s2[i] ) {
s2 432 source3/smbd/mangle_hash.c *s2 = '\0';
s2 290 source3/torture/nbio.c char *s2;
s2 291 source3/torture/nbio.c if (asprintf(&s2, "%s\\*", s) == -1) {
s2 295 source3/torture/nbio.c cli_list(c, s2, aDIR, delete_fn, NULL);
s2 25 source3/torture/pdbtest.c static bool samu_correct(struct samu *s1, struct samu *s2)
s2 34 source3/torture/pdbtest.c s2_buf = pdb_get_username(s2);
s2 43 source3/torture/pdbtest.c pdb_get_username(s2)));
s2 49 source3/torture/pdbtest.c s2_buf = pdb_get_nt_username(s2);
s2 58 source3/torture/pdbtest.c pdb_get_nt_username(s2)));
s2 63 source3/torture/pdbtest.c if (pdb_get_acct_ctrl(s1) != pdb_get_acct_ctrl(s2)) {
s2 67 source3/torture/pdbtest.c pdb_get_acct_ctrl(s2),
s2 68 source3/torture/pdbtest.c pdb_get_acct_ctrl(s2)));
s2 74 source3/torture/pdbtest.c d2_buf = pdb_get_nt_passwd(s2);
s2 87 source3/torture/pdbtest.c d2_buf = pdb_get_lanman_passwd(s2);
s2 99 source3/torture/pdbtest.c d2_buf = pdb_get_pw_history(s2, &s2_len);
s2 114 source3/torture/pdbtest.c if (pdb_get_logon_time(s1) != pdb_get_logon_time(s2)) {
s2 120 source3/torture/pdbtest.c if (pdb_get_logoff_time(s1) != pdb_get_logoff_time(s2)) {
s2 126 source3/torture/pdbtest.c if (pdb_get_kickoff_time(s1) != pdb_get_logoff_time(s2)) {
s2 132 source3/torture/pdbtest.c if (pdb_get_bad_password_time(s1) != pdb_get_bad_password_time(s2)) {
s2 138 source3/torture/pdbtest.c if (pdb_get_pass_last_set_time(s1) != pdb_get_pass_last_set_time(s2)) {
s2 144 source3/torture/pdbtest.c if (pdb_get_pass_can_change_time(s1) != pdb_get_pass_can_change_time(s2)) {
s2 150 source3/torture/pdbtest.c if (pdb_get_pass_must_change_time(s1) != pdb_get_pass_must_change_time(s2)) {
s2 156 source3/torture/pdbtest.c if (pdb_get_logon_divs(s1) != pdb_get_logon_divs(s2)) {
s2 162 source3/torture/pdbtest.c if (pdb_get_hours_len(s1) != pdb_get_hours_len(s2)) {
s2 167 source3/torture/pdbtest.c d2_buf = pdb_get_hours(s2);
s2 181 source3/torture/pdbtest.c s2_buf = pdb_get_profile_path(s2);
s2 194 source3/torture/pdbtest.c s2_buf = pdb_get_homedir(s2);
s2 207 source3/torture/pdbtest.c s2_buf = pdb_get_logon_script(s2);
s2 58 source3/utils/profiles.c static bool swap_sid_in_acl( SEC_DESC *sd, DOM_SID *s1, DOM_SID *s2 )
s2 66 source3/utils/profiles.c sid_copy( sd->owner_sid, s2 );
s2 75 source3/utils/profiles.c sid_copy( sd->group_sid, s2 );
s2 87 source3/utils/profiles.c sid_copy( &theacl->aces[i].trustee, s2 );
s2 101 source3/utils/profiles.c sid_copy( &theacl->aces[i].trustee, s2 );
s2 307 source4/client/client.c char *p2, *s2;
s2 320 source4/client/client.c s2 = strlower_talloc(NULL, string);
s2 321 source4/client/client.c ret = ms_fnmatch(p2, s2, c->transport->negotiate.protocol) == 0;
s2 323 source4/client/client.c talloc_free(s2);
s2 475 source4/heimdal/lib/asn1/der_put.c const struct heim_octet_string *s1 = a1, *s2 = a2;
s2 478 source4/heimdal/lib/asn1/der_put.c ret = memcmp(s1->data, s2->data,
s2 479 source4/heimdal/lib/asn1/der_put.c s1->length < s2->length ? s1->length : s2->length);
s2 482 source4/heimdal/lib/asn1/der_put.c return s1->length - s2->length;
s2 417 source4/heimdal/lib/asn1/gen_encode.c char *s2;
s2 425 source4/heimdal/lib/asn1/gen_encode.c asprintf(&s2, "%s(%s)->u.%s", m->optional ? "" : "&",
s2 427 source4/heimdal/lib/asn1/gen_encode.c if (s2 == NULL)
s2 430 source4/heimdal/lib/asn1/gen_encode.c fprintf (codefile, "if(%s) {\n", s2);
s2 433 source4/heimdal/lib/asn1/gen_encode.c constructed = encode_type (s2, m->type, m->gen_name);
s2 439 source4/heimdal/lib/asn1/gen_encode.c free (s2);
s2 2637 source4/heimdal/lib/asn1/lex.c static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
s2 2641 source4/heimdal/lib/asn1/lex.c s1[i] = s2[i];
s2 45 source4/heimdal/lib/asn1/symbol.c Symbol *s2 = (Symbol *) b;
s2 47 source4/heimdal/lib/asn1/symbol.c return strcmp(s1->name, s2->name);
s2 1813 source4/heimdal/lib/com_err/lex.c static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
s2 1817 source4/heimdal/lib/com_err/lex.c s1[i] = s2[i];
s2 872 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c u32 s0, s1, s2, s3, t0, t1, t2, t3;
s2 883 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s2 = GETU32(pt + 8) ^ rk[2];
s2 887 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[ 4];
s2 888 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[ 5];
s2 889 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[ 6];
s2 890 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[ 7];
s2 894 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[10];
s2 897 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[12];
s2 898 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[13];
s2 899 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[14];
s2 900 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[15];
s2 904 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[18];
s2 907 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[20];
s2 908 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[21];
s2 909 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[22];
s2 910 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[23];
s2 914 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[26];
s2 917 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[28];
s2 918 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[29];
s2 919 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[30];
s2 920 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[31];
s2 924 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[34];
s2 927 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[36];
s2 928 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[37];
s2 929 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[38];
s2 930 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[39];
s2 935 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[42];
s2 938 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[44];
s2 939 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[45];
s2 940 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[46];
s2 941 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[47];
s2 946 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[50];
s2 949 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[52];
s2 950 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[53];
s2 951 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[54];
s2 952 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[55];
s2 965 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c Te2[(s2 >> 8) & 0xff] ^
s2 970 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c Te1[(s2 >> 16) & 0xff] ^
s2 975 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c Te0[(s2 >> 24) ] ^
s2 984 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c Te3[(s2 ) & 0xff] ^
s2 1004 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s2 =
s2 1036 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s2 =
s2 1042 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c PUTU32(ct + 8, s2);
s2 1053 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c u32 s0, s1, s2, s3, t0, t1, t2, t3;
s2 1064 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s2 = GETU32(ct + 8) ^ rk[2];
s2 1068 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[ 4];
s2 1069 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[ 5];
s2 1070 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[ 6];
s2 1071 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[ 7];
s2 1075 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[10];
s2 1078 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[12];
s2 1079 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[13];
s2 1080 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[14];
s2 1081 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[15];
s2 1085 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[18];
s2 1088 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[20];
s2 1089 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[21];
s2 1090 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[22];
s2 1091 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[23];
s2 1095 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[26];
s2 1098 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[28];
s2 1099 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[29];
s2 1100 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[30];
s2 1101 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[31];
s2 1105 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[34];
s2 1108 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[36];
s2 1109 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[37];
s2 1110 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[38];
s2 1111 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[39];
s2 1116 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[42];
s2 1119 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[44];
s2 1120 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[45];
s2 1121 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[46];
s2 1122 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[47];
s2 1127 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[50];
s2 1130 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[52];
s2 1131 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[53];
s2 1132 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[54];
s2 1133 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[55];
s2 1146 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c Td2[(s2 >> 8) & 0xff] ^
s2 1153 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c Td3[(s2 ) & 0xff] ^
s2 1156 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c Td0[(s2 >> 24) ] ^
s2 1163 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c Td1[(s2 >> 16) & 0xff] ^
s2 1185 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s2 =
s2 1217 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s2 =
s2 1223 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c PUTU32(pt + 8, s2);
s2 1799 source4/heimdal/lib/hx509/sel-lex.c static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
s2 1803 source4/heimdal/lib/hx509/sel-lex.c s1[i] = s2[i];
s2 92 source4/heimdal/lib/hx509/sel.c const char *s1, *s2;
s2 96 source4/heimdal/lib/hx509/sel.c s2 = eval_word(context, env, expr->arg2);
s2 98 source4/heimdal/lib/hx509/sel.c if (s1 == NULL || s2 == NULL)
s2 103 source4/heimdal/lib/hx509/sel.c size_t len2 = strlen(s2);
s2 107 source4/heimdal/lib/hx509/sel.c ret = strcmp(s1 + (len1 - len2), s2) == 0;
s2 109 source4/heimdal/lib/hx509/sel.c ret = strcmp(s1, s2) == 0;
s2 61 source4/heimdal/lib/krb5/n-fold.c int b1, s1, b2, s2;
s2 72 source4/heimdal/lib/krb5/n-fold.c s2 = (len + 8 - s1) % 8;
s2 74 source4/heimdal/lib/krb5/n-fold.c s2 = 8 - s1;
s2 76 source4/heimdal/lib/krb5/n-fold.c buf[i] = (tmp[b1] << s1) | (tmp[b2] >> s2);
s2 648 source4/heimdal/lib/krb5/pac.c char *s, *s2;
s2 675 source4/heimdal/lib/krb5/pac.c s2 = malloc(len * 2);
s2 676 source4/heimdal/lib/krb5/pac.c if (s2 == NULL) {
s2 682 source4/heimdal/lib/krb5/pac.c s2[i * 2] = s[i];
s2 683 source4/heimdal/lib/krb5/pac.c s2[i * 2 + 1] = 0;
s2 690 source4/heimdal/lib/krb5/pac.c ret = krb5_storage_write(sp, s2, len * 2);
s2 691 source4/heimdal/lib/krb5/pac.c free(s2);
s2 156 source4/lib/ldb/common/attrib_handlers.c const char *s1=(const char *)v1->data, *s2=(const char *)v2->data;
s2 162 source4/lib/ldb/common/attrib_handlers.c while (*s2 == ' ' && n2) { s2++; n2--; };
s2 164 source4/lib/ldb/common/attrib_handlers.c while (*s1 && *s2 && n1 && n2) {
s2 168 source4/lib/ldb/common/attrib_handlers.c if (((unsigned char)s2[0]) & 0x80) goto utf8str;
s2 169 source4/lib/ldb/common/attrib_handlers.c if (toupper((unsigned char)*s1) != toupper((unsigned char)*s2))
s2 173 source4/lib/ldb/common/attrib_handlers.c while (s2[0] == s2[1] && n2) { s2++; n2--; }
s2 175 source4/lib/ldb/common/attrib_handlers.c s1++; s2++;
s2 178 source4/lib/ldb/common/attrib_handlers.c if (! (*s1 && *s2)) {
s2 185 source4/lib/ldb/common/attrib_handlers.c while (*s2 == ' ') { s2++; n2--; }
s2 190 source4/lib/ldb/common/attrib_handlers.c return (int)(toupper(*s1)) - (int)(toupper(*s2));
s2 195 source4/lib/ldb/common/attrib_handlers.c b2 = ldb_casefold(ldb, mem_ctx, s2, n2);
s2 206 source4/lib/ldb/common/attrib_handlers.c u2 = s2;
s2 658 source4/lib/ldb/common/ldb_parse.c char *s, *s2, *ret;
s2 676 source4/lib/ldb/common/ldb_parse.c s2 = talloc_asprintf_append(ret, "%s", s);
s2 678 source4/lib/ldb/common/ldb_parse.c if (s2 == NULL) {
s2 682 source4/lib/ldb/common/ldb_parse.c ret = s2;
s2 709 source4/lib/ldb/common/ldb_parse.c s2 = ldb_binary_encode(mem_ctx, *(tree->u.substring.chunks[i]));
s2 710 source4/lib/ldb/common/ldb_parse.c if (s2 == NULL) {
s2 716 source4/lib/ldb/common/ldb_parse.c s = talloc_asprintf_append(ret, "%s*", s2);
s2 718 source4/lib/ldb/common/ldb_parse.c s = talloc_asprintf_append(ret, "%s", s2);
s2 502 source4/lib/ldb/ldb_tdb/ldb_index.c static int list_cmp(const char **s1, const char **s2)
s2 504 source4/lib/ldb/ldb_tdb/ldb_index.c return strcmp(*s1, *s2);
s2 54 source4/libcli/clideltree.c char *s2;
s2 55 source4/libcli/clideltree.c asprintf(&s2, "%s\\*", s);
s2 56 source4/libcli/clideltree.c smbcli_unlink(dstate->tree, s2);
s2 57 source4/libcli/clideltree.c smbcli_list(dstate->tree, s2,
s2 60 source4/libcli/clideltree.c free(s2);
s2 1243 source4/librpc/rpc/dcerpc.c char *s1, *s2;
s2 1313 source4/librpc/rpc/dcerpc.c s2 = ndr_print_function_string(mem_ctx, ndr_print, "VALIDATE",
s2 1315 source4/librpc/rpc/dcerpc.c if (strcmp(s1, s2) != 0) {
s2 1317 source4/librpc/rpc/dcerpc.c DEBUG(3,("VALIDATE ERROR:\nWIRE:\n%s\n GEN:\n%s\n", s1, s2));
s2 1322 source4/librpc/rpc/dcerpc.c file_save("gen.dat", s2, strlen(s2));
s2 33 source4/librpc/tests/binding_string.c const char *s, *s2;
s2 65 source4/librpc/tests/binding_string.c s2 = dcerpc_binding_string(mem_ctx, b2);
s2 69 source4/librpc/tests/binding_string.c torture_assert_casestr_equal(tctx, s, s2, "Mismatch while comparing original and from protocol tower generated binding strings");
s2 73 source4/rpc_server/echo/rpc_echo.c *r->out.s2 = talloc_strdup(mem_ctx, r->in.s1);
s2 74 source4/rpc_server/echo/rpc_echo.c if (r->in.s1 && !*r->out.s2) {
s2 186 source4/torture/raw/qfileinfo.c #define VAL_EQUAL(n1, v1, n2, v2) do {if (s1->n1.out.v1 != s2->n2.out.v2) { \
s2 189 source4/torture/raw/qfileinfo.c #n2, #v2, (uint_t)s2->n2.out.v2, \
s2 194 source4/torture/raw/qfileinfo.c #define STR_EQUAL(n1, v1, n2, v2) do {if (strcmp_safe(s1->n1.out.v1.s, s2->n2.out.v2.s) || \
s2 195 source4/torture/raw/qfileinfo.c s1->n1.out.v1.private_length != s2->n2.out.v2.private_length) { \
s2 198 source4/torture/raw/qfileinfo.c #n2, #v2, s2->n2.out.v2.s, s2->n2.out.v2.private_length, \
s2 203 source4/torture/raw/qfileinfo.c #define STRUCT_EQUAL(n1, v1, n2, v2) do {if (memcmp(&s1->n1.out.v1,&s2->n2.out.v2,sizeof(s1->n1.out.v1))) { \
s2 237 source4/torture/raw/qfileinfo.c union smb_fileinfo *s1, *s2;
s2 326 source4/torture/raw/qfileinfo.c s1 = fnum_find(sname1); s2 = fnum_find(sname2); \
s2 327 source4/torture/raw/qfileinfo.c if (s1 && s2) { INFO_CHECK } \
s2 328 source4/torture/raw/qfileinfo.c s1 = fname_find(is_ipc, sname1); s2 = fname_find(is_ipc, sname2); \
s2 329 source4/torture/raw/qfileinfo.c if (s1 && s2) { INFO_CHECK } \
s2 330 source4/torture/raw/qfileinfo.c s1 = fnum_find(sname1); s2 = fname_find(is_ipc, sname2); \
s2 331 source4/torture/raw/qfileinfo.c if (s1 && s2) { INFO_CHECK } \
s2 665 source4/torture/raw/qfileinfo.c s2 = fnum_find("ALL_INFO");
s2 676 source4/torture/raw/qfileinfo.c if (s1 && s2) {
s2 678 source4/torture/raw/qfileinfo.c if (s2->all_info.out.ea_size != 0) {
s2 680 source4/torture/raw/qfileinfo.c s2->all_info.out.ea_size);
s2 683 source4/torture/raw/qfileinfo.c if (s2->all_info.out.ea_size !=
s2 687 source4/torture/raw/qfileinfo.c (int)s2->all_info.out.ea_size);
s2 691 source4/torture/raw/qfileinfo.c s2 = fname_find(is_ipc, "ALL_EAS");
s2 692 source4/torture/raw/qfileinfo.c if (s2) {
s2 702 source4/torture/raw/qfileinfo.c s1 = fnum_find(sname1); s2 = fnum_find(sname2); \
s2 703 source4/torture/raw/qfileinfo.c if (s1 && s2 && s1->stype1.out.tfield1 != s2->stype2.out.tfield2) { \
s2 706 source4/torture/raw/qfileinfo.c s1->stype1.out.tfield1, s2->stype2.out.tfield2); \
s2 709 source4/torture/raw/qfileinfo.c s1 = fname_find(is_ipc, sname1); s2 = fname_find(is_ipc, sname2); \
s2 710 source4/torture/raw/qfileinfo.c if (s1 && s2 && s1->stype1.out.tfield1 != s2->stype2.out.tfield2) { \
s2 713 source4/torture/raw/qfileinfo.c s1->stype1.out.tfield1, s2->stype2.out.tfield2); \
s2 716 source4/torture/raw/qfileinfo.c s1 = fnum_find(sname1); s2 = fname_find(is_ipc, sname2); \
s2 717 source4/torture/raw/qfileinfo.c if (s1 && s2 && s1->stype1.out.tfield1 != s2->stype2.out.tfield2) { \
s2 720 source4/torture/raw/qfileinfo.c s1->stype1.out.tfield1, s2->stype2.out.tfield2); \
s2 723 source4/torture/raw/qfileinfo.c s1 = fname_find(is_ipc, sname1); s2 = fnum_find(sname2); \
s2 724 source4/torture/raw/qfileinfo.c if (s1 && s2 && s1->stype1.out.tfield1 != s2->stype2.out.tfield2) { \
s2 727 source4/torture/raw/qfileinfo.c s1->stype1.out.tfield1, s2->stype2.out.tfield2); \
s2 763 source4/torture/raw/qfileinfo.c s1 = fname_find(is_ipc, sname); s2 = fnum_find(sname); \
s2 764 source4/torture/raw/qfileinfo.c if (s1 && s2) { \
s2 777 source4/torture/raw/qfileinfo.c if (s1 && s2) {
s2 779 source4/torture/raw/qfileinfo.c (double)s2->position_information.out.position,
s2 72 source4/torture/raw/qfsinfo.c #define VAL_EQUAL(n1, v1, n2, v2) do {if (s1->n1.out.v1 != s2->n2.out.v2) { \
s2 75 source4/torture/raw/qfsinfo.c #n2, #v2, (uint_t)s2->n2.out.v2, \
s2 80 source4/torture/raw/qfsinfo.c #define VAL_APPROX_EQUAL(n1, v1, n2, v2) do {if (abs((int)(s1->n1.out.v1) - (int)(s2->n2.out.v2)) > 0.1*s1->n1.out.v1) { \
s2 83 source4/torture/raw/qfsinfo.c #n2, #v2, (uint_t)s2->n2.out.v2, \
s2 89 source4/torture/raw/qfsinfo.c if (strcmp_safe(s1->n1.out.v1, s2->n2.out.v2)) { \
s2 92 source4/torture/raw/qfsinfo.c #n2, #v2, s2->n2.out.v2, \
s2 97 source4/torture/raw/qfsinfo.c #define STRUCT_EQUAL(n1, v1, n2, v2) do {if (memcmp(&s1->n1.out.v1,&s2->n2.out.v2,sizeof(s1->n1.out.v1))) { \
s2 129 source4/torture/raw/qfsinfo.c union smb_fsinfo *s1, *s2;
s2 160 source4/torture/raw/qfsinfo.c s2 = find("SIZE_INFORMATION");
s2 161 source4/torture/raw/qfsinfo.c if (s1 && s2) {
s2 169 source4/torture/raw/qfsinfo.c s2 = find("DEVICE_INFORMATION");
s2 170 source4/torture/raw/qfsinfo.c if (s1 && s2) {
s2 176 source4/torture/raw/qfsinfo.c s2 = find("VOLUME_INFORMATION");
s2 177 source4/torture/raw/qfsinfo.c if (s1 && s2) {
s2 185 source4/torture/raw/qfsinfo.c s2 = find("ATTRIBUTE_INFORMATION");
s2 186 source4/torture/raw/qfsinfo.c if (s1 && s2) {
s2 197 source4/torture/raw/qfsinfo.c s2 = find("ALLOCATION");
s2 198 source4/torture/raw/qfsinfo.c if (s1 && s2) {
s2 206 source4/torture/raw/qfsinfo.c s2->allocation.out.sectors_per_unit *
s2 207 source4/torture/raw/qfsinfo.c s2->allocation.out.total_alloc_units *
s2 208 source4/torture/raw/qfsinfo.c s2->allocation.out.bytes_per_sector / scale;
s2 219 source4/torture/raw/qfsinfo.c s2 = find("ALLOCATION");
s2 220 source4/torture/raw/qfsinfo.c if (s1 && s2) {
s2 228 source4/torture/raw/qfsinfo.c s2->allocation.out.sectors_per_unit *
s2 229 source4/torture/raw/qfsinfo.c s2->allocation.out.avail_alloc_units *
s2 230 source4/torture/raw/qfsinfo.c s2->allocation.out.bytes_per_sector / scale;
s2 241 source4/torture/raw/qfsinfo.c s2 = find("VOLUME_INFO");
s2 242 source4/torture/raw/qfsinfo.c if (s1 && s2) {
s2 250 source4/torture/raw/qfsinfo.c s2 = find("FULL_SIZE_INFORMATION");
s2 251 source4/torture/raw/qfsinfo.c if (s1 && s2) {
s2 637 source4/torture/raw/search.c const char *s1, *s2;
s2 647 source4/torture/raw/search.c s2 = extract_name(d2, level, compare_data_level);
s2 648 source4/torture/raw/search.c return strcmp_safe(s1, s2);
s2 128 source4/torture/raw/streams.c char * const *s2 = v2;
s2 129 source4/torture/raw/streams.c return strcmp(*s1, *s2);
s2 135 source4/torture/raw/streams.c const struct stream_struct * s2 = v2;
s2 136 source4/torture/raw/streams.c return strcmp(s1->stream_name.s, s2->stream_name.s);
s2 191 source4/torture/rpc/echo.c r.out.s2 = &s;
s2 198 source4/torture/rpc/samr.c struct samr_SetUserInfo2 s2;
s2 218 source4/torture/rpc/samr.c s2.in.user_handle = handle;
s2 219 source4/torture/rpc/samr.c s2.in.info = &u;
s2 234 source4/torture/rpc/samr.c #define STRING_EQUAL(s1, s2, field) \
s2 235 source4/torture/rpc/samr.c if ((s1 && !s2) || (s2 && !s1) || strcmp(s1, s2)) { \
s2 237 source4/torture/rpc/samr.c #field, s2, __location__); \
s2 242 source4/torture/rpc/samr.c #define MEM_EQUAL(s1, s2, length, field) \
s2 243 source4/torture/rpc/samr.c if ((s1 && !s2) || (s2 && !s1) || memcmp(s1, s2, length)) { \
s2 245 source4/torture/rpc/samr.c #field, (const char *)s2, __location__); \
s2 263 source4/torture/rpc/samr.c s2.in.level = lvl1; \
s2 271 source4/torture/rpc/samr.c TESTCALL(SetUserInfo2, s2) \
s2 287 source4/torture/rpc/samr.c s2.in.level = lvl1; \
s2 295 source4/torture/rpc/samr.c TESTCALL(SetUserInfo2, s2) \
s2 311 source4/torture/rpc/samr.c s2.in.level = lvl1; \
s2 324 source4/torture/rpc/samr.c TESTCALL(SetUserInfo2, s2) \
s2 1102 source4/torture/rpc/samr.c struct samr_SetUserInfo2 s2;
s2 1126 source4/torture/rpc/samr.c s2.in.user_handle = handle;
s2 1127 source4/torture/rpc/samr.c s2.in.info = &u;
s2 1128 source4/torture/rpc/samr.c s2.in.level = level;
s2 1274 source4/torture/rpc/samr.c status = dcerpc_samr_SetUserInfo2(p, tctx, &s2);
s2 1291 source4/torture/rpc/samr.c s2.out.result,
s2 5195 source4/torture/rpc/samr.c #define STRING_EQUAL_QUERY(s1, s2, user) \
s2 5196 source4/torture/rpc/samr.c if (s1.string == NULL && s2.string != NULL && s2.string[0] == '\0') { \
s2 5198 source4/torture/rpc/samr.c } else if ((s1.string && !s2.string) || (s2.string && !s1.string) || strcmp(s1.string, s2.string)) { \
s2 5200 source4/torture/rpc/samr.c #s1, user.string, s1.string, s2.string, __location__); \
s2 5203 source4/torture/rpc/samr.c #define INT_EQUAL_QUERY(s1, s2, user) \
s2 5204 source4/torture/rpc/samr.c if (s1 != s2) { \
s2 5206 source4/torture/rpc/samr.c #s1, user.string, (unsigned long long)s1, (unsigned long long)s2, __location__); \
s2 258 source4/torture/rpc/samsync.c #define TEST_STRING_EQUAL(s1, s2) do {\
s2 259 source4/torture/rpc/samsync.c if (!((!s1.string || s1.string[0]=='\0') && (!s2.string || s2.string[0]=='\0')) \
s2 260 source4/torture/rpc/samsync.c && strcmp_safe(s1.string, s2.string) != 0) {\
s2 261 source4/torture/rpc/samsync.c printf("%s: string mismatch: " #s1 ":%s != " #s2 ": %s\n", \
s2 262 source4/torture/rpc/samsync.c __location__, s1.string, s2.string);\
s2 267 source4/torture/rpc/samsync.c #define TEST_BINARY_STRING_EQUAL(s1, s2) do {\
s2 268 source4/torture/rpc/samsync.c if (!((!s1.array || s1.array[0]=='\0') && (!s2.array || s2.array[0]=='\0')) \
s2 269 source4/torture/rpc/samsync.c && memcmp(s1.array, s2.array, s1.length * 2) != 0) {\
s2 270 source4/torture/rpc/samsync.c printf("%s: string mismatch: " #s1 ":%s != " #s2 ": %s\n", \
s2 271 source4/torture/rpc/samsync.c __location__, (const char *)s1.array, (const char *)s2.array);\
s2 276 source4/torture/rpc/samsync.c #define TEST_SID_EQUAL(s1, s2) do {\
s2 277 source4/torture/rpc/samsync.c if (!dom_sid_equal(s1, s2)) {\
s2 278 source4/torture/rpc/samsync.c printf("%s: dom_sid mismatch: " #s1 ":%s != " #s2 ": %s\n", \
s2 279 source4/torture/rpc/samsync.c __location__, dom_sid_string(mem_ctx, s1), dom_sid_string(mem_ctx, s2));\