c2 71 lib/util/charset/charcnv.c unsigned c1, c2; c2 73 lib/util/charset/charcnv.c for (c2=0;c2<NUM_CHARSETS;c2++) { c2 74 lib/util/charset/charcnv.c if (data->conv_handles[c1][c2] != NULL) { c2 75 lib/util/charset/charcnv.c if (data->conv_handles[c1][c2] != (smb_iconv_t)-1) { c2 76 lib/util/charset/charcnv.c smb_iconv_close(data->conv_handles[c1][c2]); c2 78 lib/util/charset/charcnv.c data->conv_handles[c1][c2] = NULL; c2 162 lib/util/charset/charset.h int codepoint_cmpi(codepoint_t c1, codepoint_t c2); c2 109 lib/util/charset/codepoints.c _PUBLIC_ int codepoint_cmpi(codepoint_t c1, codepoint_t c2) c2 111 lib/util/charset/codepoints.c if (c1 == c2 || c2 112 lib/util/charset/codepoints.c toupper_m(c1) == toupper_m(c2)) { c2 115 lib/util/charset/codepoints.c return c1 - c2; c2 38 lib/util/charset/util_unistr.c codepoint_t c1=0, c2=0; c2 49 lib/util/charset/util_unistr.c c2 = next_codepoint_convenience(iconv_convenience, s2, &size2); c2 54 lib/util/charset/util_unistr.c if (c1 == c2) { c2 59 lib/util/charset/util_unistr.c c2 == INVALID_CODEPOINT) { c2 64 lib/util/charset/util_unistr.c if (toupper_m(c1) != toupper_m(c2)) { c2 65 lib/util/charset/util_unistr.c return c1 - c2; c2 123 lib/util/charset/util_unistr.c codepoint_t c1=0, c2=0; c2 136 lib/util/charset/util_unistr.c c2 = next_codepoint_convenience(iconv_convenience, s2, &size2); c2 141 lib/util/charset/util_unistr.c if (c1 == c2) { c2 146 lib/util/charset/util_unistr.c c2 == INVALID_CODEPOINT) { c2 151 lib/util/charset/util_unistr.c if (toupper_m(c1) != toupper_m(c2)) { c2 152 lib/util/charset/util_unistr.c return c1 - c2; c2 336 lib/util/charset/util_unistr.c codepoint_t c2 = next_codepoint_convenience(ic, s, &size); c2 337 lib/util/charset/util_unistr.c if (c2 == c) { c2 366 lib/util/charset/util_unistr.c codepoint_t c2 = next_codepoint_convenience(ic, s, &size); c2 367 lib/util/charset/util_unistr.c if (c2 == c) { c2 616 lib/util/charset/util_unistr.c codepoint_t c2 = next_codepoint_convenience(ic, s, &size); c2 617 lib/util/charset/util_unistr.c if (c2 == c) count++; c2 63 lib/util/ms_fnmatch.c codepoint_t c, c2; c2 141 lib/util/ms_fnmatch.c c2 = next_codepoint(n, &size_n); c2 142 lib/util/ms_fnmatch.c if (c != c2 && codepoint_cmpi(c, c2) != 0) { c2 712 lib/util/util.c int c2 = p[2]; c2 722 lib/util/util.c if (c2 >= '0' && c2 <= '9') c2 723 lib/util/util.c c2 = c2 - '0'; c2 724 lib/util/util.c else if (c2 >= 'A' && c2 <= 'F') c2 725 lib/util/util.c c2 = 10 + c2 - 'A'; c2 726 lib/util/util.c else if (c2 >= 'a' && c2 <= 'f') c2 727 lib/util/util.c c2 = 10 + c2 - 'a'; c2 730 lib/util/util.c *p = (c1<<4) | c2; c2 269 lib/zlib/contrib/minizip/unzip.c char c2=*(fileName2++); c2 272 lib/zlib/contrib/minizip/unzip.c if ((c2>='a') && (c2<='z')) c2 273 lib/zlib/contrib/minizip/unzip.c c2 -= 0x20; c2 275 lib/zlib/contrib/minizip/unzip.c return ((c2=='\0') ? 0 : -1); c2 276 lib/zlib/contrib/minizip/unzip.c if (c2=='\0') c2 278 lib/zlib/contrib/minizip/unzip.c if (c1<c2) c2 280 lib/zlib/contrib/minizip/unzip.c if (c1>c2) c2 216 libcli/nbt/nbtname.c uint8_t c2 = name[1+(2*i)]; c2 218 libcli/nbt/nbtname.c c2 < 'A' || c2 > 'P') { c2 221 libcli/nbt/nbtname.c name[i] = ((c1-'A')<<4) | (c2-'A'); c2 108 source3/lib/charcnv.c int c1, c2; c2 111 source3/lib/charcnv.c for (c2=0;c2<NUM_CHARSETS;c2++) { c2 112 source3/lib/charcnv.c if ( conv_handles[c1][c2] ) { c2 113 source3/lib/charcnv.c smb_iconv_close( conv_handles[c1][c2] ); c2 114 source3/lib/charcnv.c conv_handles[c1][c2] = 0; c2 130 source3/lib/charcnv.c int c1, c2; c2 142 source3/lib/charcnv.c for (c2=0;c2<NUM_CHARSETS;c2++) { c2 144 source3/lib/charcnv.c const char *n2 = charset_name((charset_t)c2); c2 145 source3/lib/charcnv.c if (conv_handles[c1][c2] && c2 146 source3/lib/charcnv.c strcmp(n1, conv_handles[c1][c2]->from_name) == 0 && c2 147 source3/lib/charcnv.c strcmp(n2, conv_handles[c1][c2]->to_name) == 0) c2 152 source3/lib/charcnv.c if (conv_handles[c1][c2]) c2 153 source3/lib/charcnv.c smb_iconv_close(conv_handles[c1][c2]); c2 155 source3/lib/charcnv.c conv_handles[c1][c2] = smb_iconv_open(n2,n1); c2 156 source3/lib/charcnv.c if (conv_handles[c1][c2] == (smb_iconv_t)-1) { c2 158 source3/lib/charcnv.c charset_name((charset_t)c1), charset_name((charset_t)c2))); c2 162 source3/lib/charcnv.c if (c2 != CH_UTF16LE && c2 != CH_UTF16BE) { c2 167 source3/lib/charcnv.c conv_handles[c1][c2] = smb_iconv_open(n2,n1); c2 168 source3/lib/charcnv.c if (!conv_handles[c1][c2]) { c2 386 source3/lib/ldb/common/ldb_ldif.c char *c2; c2 388 source3/lib/ldb/common/ldb_ldif.c c2 = talloc_realloc(ldb, chunk, char, alloc_size); c2 389 source3/lib/ldb/common/ldb_ldif.c if (!c2) { c2 394 source3/lib/ldb/common/ldb_ldif.c chunk = c2; c2 152 source3/lib/util_unistr.c smb_ucs2_t c2 = 0; c2 159 source3/lib/util_unistr.c len2 = convert_string(CH_DOS, CH_UTF16LE, buf, len1, &c2, 2,False); c2 163 source3/lib/util_unistr.c return (c == c2); c2 205 source3/libsmb/nmblib.c unsigned char c1,c2; c2 207 source3/libsmb/nmblib.c c2 = ubuf[offset++]-'A'; c2 208 source3/libsmb/nmblib.c if ((c1 & 0xF0) || (c2 & 0xF0) || (n > sizeof(name->name)-1)) c2 210 source3/libsmb/nmblib.c name->name[n++] = (c1<<4) | c2; c2 663 source3/smbd/mangle_hash2.c unsigned char c1, c2, c3, c4; c2 666 source3/smbd/mangle_hash2.c c2 = (unsigned char)reserved_names[i][1]; c2 671 source3/smbd/mangle_hash2.c char_flags[c2] |= FLAG_POSSIBLE2; c2 675 source3/smbd/mangle_hash2.c char_flags[tolower_ascii(c2)] |= FLAG_POSSIBLE2; c2 49 source3/smbd/notify.c struct notify_change *c2) c2 52 source3/smbd/notify.c if (c1->action == c2->action && c2 53 source3/smbd/notify.c strcmp(c1->name, c2->name) == 0) { c2 624 source3/torture/torture.c static bool rw_torture2(struct cli_state *c1, struct cli_state *c2) c2 646 source3/torture/torture.c fnum2 = cli_open(c2, lockfname, O_RDONLY, c2 650 source3/torture/torture.c lockfname, cli_errstr(c2)); c2 670 source3/torture/torture.c if ((bytes_read = cli_read(c2, fnum2, buf_rd, 0, buf_size)) != buf_size) { c2 671 source3/torture/torture.c printf("read failed (%s)\n", cli_errstr(c2)); c2 686 source3/torture/torture.c if (!cli_close(c2, fnum2)) { c2 687 source3/torture/torture.c printf("close failed (%s)\n", cli_errstr(c2)); c2 27 source3/torture/utable.c smb_ucs2_t c2; c2 46 source3/torture/utable.c SSVAL(&c2, 0, c); c2 50 source3/torture/utable.c &c2, 2, c2 102 source3/torture/utable.c smb_ucs2_t c2; c2 108 source3/torture/utable.c SSVAL(&c2, 0, c); c2 111 source3/torture/utable.c &c2, 2, c2 166 source3/torture/utable.c int c2[MAX_EQUIVALENCE]; c2 175 source3/torture/utable.c cli_read(cli, fnum, (char *)c2, 0, size); c2 179 source3/torture/utable.c printf("%04x ", c2[i]); c2 180 source3/torture/utable.c equiv[c][i+1] = c2[i]; c2 1028 source4/dsdb/samdb/ldb_modules/repl_meta_data.c const struct drsuapi_DsReplicaCursor2 *c2) c2 1030 source4/dsdb/samdb/ldb_modules/repl_meta_data.c return GUID_compare(&c1->source_dsa_invocation_id, &c2->source_dsa_invocation_id); c2 297 source4/heimdal/lib/hx509/test_name.c compare_subject(hx509_cert c1, hx509_cert c2, int *l) c2 304 source4/heimdal/lib/hx509/test_name.c ret = hx509_cert_get_subject(c2, &n2); c2 318 source4/heimdal/lib/hx509/test_name.c hx509_cert c1, c2, c3; c2 326 source4/heimdal/lib/hx509/test_name.c ret = hx509_cert_init_data(context, certdata2, sizeof(certdata2) - 1, &c2); c2 334 source4/heimdal/lib/hx509/test_name.c ret = compare_subject(c1, c2, &l1); c2 338 source4/heimdal/lib/hx509/test_name.c ret = compare_subject(c2, c3, &l3); c2 347 source4/heimdal/lib/hx509/test_name.c hx509_cert_free(c2); c2 49 source4/heimdal/lib/wind/utf8.c const unsigned c2 = *++p; c2 50 source4/heimdal/lib/wind/utf8.c if ((c2 & 0xC0) == 0x80) { c2 52 source4/heimdal/lib/wind/utf8.c | (c2 & 0x3F); c2 57 source4/heimdal/lib/wind/utf8.c const unsigned c2 = *++p; c2 58 source4/heimdal/lib/wind/utf8.c if ((c2 & 0xC0) == 0x80) { c2 62 source4/heimdal/lib/wind/utf8.c | ((c2 & 0x3F) << 6) c2 71 source4/heimdal/lib/wind/utf8.c const unsigned c2 = *++p; c2 72 source4/heimdal/lib/wind/utf8.c if ((c2 & 0xC0) == 0x80) { c2 78 source4/heimdal/lib/wind/utf8.c | ((c2 & 0x3F) << 12) c2 389 source4/lib/ldb/common/ldb_ldif.c char *c2; c2 391 source4/lib/ldb/common/ldb_ldif.c c2 = talloc_realloc(ldb, chunk, char, alloc_size); c2 392 source4/lib/ldb/common/ldb_ldif.c if (!c2) { c2 397 source4/lib/ldb/common/ldb_ldif.c chunk = c2; c2 116 source4/ntvfs/posix/pvfs_rename.c codepoint_t c1, c2; c2 119 source4/ntvfs/posix/pvfs_rename.c c2 = next_codepoint_convenience(iconv_convenience, p2, &c_size2); c2 120 source4/ntvfs/posix/pvfs_rename.c if (c2 == '?') { c2 122 source4/ntvfs/posix/pvfs_rename.c } else if (c2 == '*') { c2 127 source4/ntvfs/posix/pvfs_rename.c d += push_codepoint(iconv_convenience, d, c2); c2 581 source4/ntvfs/posix/pvfs_shortname.c unsigned char c1, c2, c3, c4; c2 584 source4/ntvfs/posix/pvfs_shortname.c c2 = (unsigned char)reserved_names[i][1]; c2 589 source4/ntvfs/posix/pvfs_shortname.c ctx->char_flags[c2] |= FLAG_POSSIBLE2; c2 593 source4/ntvfs/posix/pvfs_shortname.c ctx->char_flags[tolower(c2)] |= FLAG_POSSIBLE2; c2 45 source4/ntvfs/posix/pvfs_streams.c const char *c1, *c2; c2 48 source4/ntvfs/posix/pvfs_streams.c c2 = strchr_m(name2, ':'); c2 52 source4/ntvfs/posix/pvfs_streams.c l2 = c2?(c2 - name2):strlen(name2); c2 62 source4/ntvfs/posix/pvfs_streams.c if (c1 && c2) { c2 63 source4/ntvfs/posix/pvfs_streams.c return strcasecmp_m(c1, c2); c2 69 source4/ntvfs/posix/pvfs_streams.c if (c2) { c2 70 source4/ntvfs/posix/pvfs_streams.c return strcasecmp_m(c2, ":$DATA"); c2 540 source4/torture/basic/base.c struct smbcli_state *c1, struct smbcli_state *c2) c2 561 source4/torture/basic/base.c fnum2 = smbcli_open(c2->tree, lockfname, O_RDONLY, c2 566 source4/torture/basic/base.c lockfname, smbcli_errstr(c2->tree))); c2 589 source4/torture/basic/base.c if ((bytes_read = smbcli_read(c2->tree, fnum2, buf_rd, 0, buf_size)) != buf_size) { c2 590 source4/torture/basic/base.c torture_comment(tctx, "read failed (%s)\n", smbcli_errstr(c2->tree)); c2 600 source4/torture/basic/base.c torture_assert_ntstatus_ok(tctx, smbcli_close(c2->tree, fnum2), c2 601 source4/torture/basic/base.c talloc_asprintf(tctx, "close failed (%s)", smbcli_errstr(c2->tree))); c2 34 source4/torture/basic/utable.c uint8_t c2[4]; c2 50 source4/torture/basic/utable.c SSVAL(c2, 0, c); c2 54 source4/torture/basic/utable.c c2, 2, c2 104 source4/torture/basic/utable.c uint8_t c2[4]; c2 110 source4/torture/basic/utable.c SSVAL(c2, 0, c); c2 113 source4/torture/basic/utable.c c2, 2, c2 164 source4/torture/basic/utable.c int c2[MAX_EQUIVALENCE]; c2 173 source4/torture/basic/utable.c smbcli_read(cli->tree, fnum, c2, 0, size); c2 177 source4/torture/basic/utable.c torture_comment(tctx, "%04x ", c2[i]); c2 178 source4/torture/basic/utable.c equiv[c][i+1] = c2[i]; c2 37 source4/torture/rpc/bench.c struct srvsvc_NetShareCtr2 c2; c2 70 source4/torture/rpc/bench.c ZERO_STRUCT(c2); c2 71 source4/torture/rpc/bench.c info_ctr.ctr.ctr2 = &c2; c2 1946 source4/torture/rpc/samba3rpc.c struct srvsvc_NetShareCtr2 c2; c2 1980 source4/torture/rpc/samba3rpc.c ZERO_STRUCT(c2); c2 1981 source4/torture/rpc/samba3rpc.c info_ctr.ctr.ctr2 = &c2; c2 345 source4/torture/rpc/srvsvc.c struct srvsvc_NetFileCtr2 c2; c2 367 source4/torture/rpc/srvsvc.c ZERO_STRUCT(c2); c2 368 source4/torture/rpc/srvsvc.c info_ctr.ctr.ctr2 = &c2; c2 397 source4/torture/rpc/srvsvc.c struct srvsvc_NetSessCtr2 c2; c2 428 source4/torture/rpc/srvsvc.c ZERO_STRUCT(c2); c2 429 source4/torture/rpc/srvsvc.c info_ctr.ctr.ctr2 = &c2; c2 737 source4/torture/rpc/srvsvc.c struct srvsvc_NetShareCtr2 c2; c2 782 source4/torture/rpc/srvsvc.c ZERO_STRUCT(c2); c2 783 source4/torture/rpc/srvsvc.c info_ctr.ctr.ctr2 = &c2; c2 840 source4/torture/rpc/srvsvc.c struct srvsvc_NetShareCtr2 c2; c2 879 source4/torture/rpc/srvsvc.c ZERO_STRUCT(c2); c2 880 source4/torture/rpc/srvsvc.c info_ctr.ctr.ctr2 = &c2;