/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | strcmp.c | 65 strcmp(const char *str1, const char *str2) in strcmp() argument 73 if (str1 == str2) in strcmp() 80 while ((((int) str1) & (sizeof (int) - 1)) && in strcmp() 83 if (*str1 != *str2) in strcmp() 84 return ((unsigned char)*str1 - (unsigned char)*str2); in strcmp() 85 if (*str1 == '\0') in strcmp() 87 ++str1; in strcmp() 99 if (((int) str1) & (sizeof (int) - 1)) { in strcmp() 102 count = (pagesize - ((int)str1 & (pagesize - 1))) / in strcmp() 111 s1 = (void *) str1; in strcmp() [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/awk/bugs-fixed/ |
H A D | subsep-overflow.awk | 10 str1 = foo("a", 4500); 13 a[(SUBSEP = str1), (SUBSEP = str2), "c"] = 1; 19 print (((SUBSEP = str1), (SUBSEP = str2), "c") in a); 20 print (((SUBSEP = str1) SUBSEP (SUBSEP = str2) SUBSEP "c") in a); 21 delete a[(SUBSEP = str1), (SUBSEP = str2), "c"]; 22 print (((SUBSEP = str1), (SUBSEP = str2), "c") in a); 23 print (((SUBSEP = str1) SUBSEP (SUBSEP = str2) SUBSEP "c") in a);
|
/illumos-gate/usr/src/head/ |
H A D | macros.h | 49 #define compare(str1, str2) strcmp((str1), (str2)) argument 50 #define equal(str1, str2) (strcmp((str1), (str2)) == 0) argument
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/safety/ |
H A D | tst.shortstr.d | 63 this->str1 = "........................................."; 64 printf("%d\n", index(this->str, this->str1)); 69 printf("%d\n", rindex(this->str, this->str1));
|
/illumos-gate/usr/src/test/elf-tests/tests/string-merge/ |
H A D | simple.sh | 42 assemble ${TESTDIR}/str1.s str1.o 45 gcc -shared -o strmerge.so str1.o str2.o
|
/illumos-gate/usr/src/test/elf-tests/tests/tls/amd64/ie/ |
H A D | style1-main.s | 16 .section .rodata.str1.1,"aMS",@progbits,1 42 .section .rodata.str1.1 52 .section .rodata.str1.1
|
H A D | style2-with-badness.s | 16 .section .rodata.str1.1,"aMS",@progbits,1 39 .section .rodata.str1.1
|
H A D | style2.s | 16 .section .rodata.str1.1,"aMS",@progbits,1 39 .section .rodata.str1.1
|
H A D | style2-with-r12.s | 16 .section .rodata.str1.1,"aMS",@progbits,1 40 .section .rodata.str1.1
|
H A D | style2-with-r13.s | 16 .section .rodata.str1.1,"aMS",@progbits,1 40 .section .rodata.str1.1
|
/illumos-gate/usr/src/cmd/sgs/demo_rdb/amd64/ |
H A D | regs.c | 39 char str1[MAXPATHLEN], str2[MAXPATHLEN]; in disp_reg_line() local 41 (void) strcpy(str1, print_address_ps(ph, prst->pr_lwp.pr_reg[ind1], in disp_reg_line() 48 EC_WORD(prst->pr_lwp.pr_reg[ind1]), str1, r2, in disp_reg_line()
|
/illumos-gate/usr/src/cmd/sgs/demo_rdb/i386/ |
H A D | regs.c | 38 char str1[MAXPATHLEN], str2[MAXPATHLEN]; in disp_reg_line() local 40 (void) strcpy(str1, print_address_ps(ph, prst->pr_lwp.pr_reg[ind1], in disp_reg_line() 46 prst->pr_lwp.pr_reg[ind1], str1, r2, prst->pr_lwp.pr_reg[ind2], in disp_reg_line()
|
/illumos-gate/usr/src/cmd/lp/model/netpr/ |
H A D | misc.c | 137 parse_dest(char * dest, char **str1, char **str2, char * sep) in parse_dest() argument 142 *str1 = NULL; in parse_dest() 148 *str1 = strdup(tmp); in parse_dest()
|
/illumos-gate/usr/src/cmd/boot/common/ |
H A D | bblk_einfo.c | 61 einfo_compare_dotted_version(const char *str1, const char *str2) in einfo_compare_dotted_version() argument 68 freeptr1 = verstr1 = strdup(str1); in einfo_compare_dotted_version() 116 einfo_compare_timestamps(const char *str1, const char *str2) in einfo_compare_timestamps() argument 120 retval = strcmp(str1, str2); in einfo_compare_timestamps() 152 einfo_compare_version(const char *str1, const char *str2) in einfo_compare_version() argument 159 freeptr1 = verstr1 = strdup(str1); in einfo_compare_version()
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | yptol_utils.c | 112 addpair(DBM *fdb, char *str1, char *str2) in addpair() argument 117 key.dptr = str1; in addpair() 118 key.dsize = strlen(str1); in addpair()
|
/illumos-gate/usr/src/cmd/sgs/demo_rdb/sparcv9/ |
H A D | regs.c | 37 char str1[MAXPATHLEN], str2[MAXPATHLEN]; in disp_reg_line() local 39 (void) strcpy(str1, print_address_ps(ph, prst->pr_lwp.pr_reg[ind1], in disp_reg_line() 54 prst->pr_lwp.pr_reg[ind1], str1); in disp_reg_line() 59 prst->pr_lwp.pr_reg[ind1], str1, r2, in disp_reg_line()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uux.c | 46 #define STRNCPY(str1, str2) { \ argument 47 (void) strncpy(str1, str2, (sizeof(str1) - 1)); \ 48 str1[sizeof(str1) - 1] = '\0'; \ 50 #define STRNCAT(str1, str2) { \ argument 51 (void) strncat(str1, str2, \ 52 (sizeof(str1) - 1 - strlen(str1))); \
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_gids.c | 71 sip_md5_hash(char *str1, int lstr1, char *str2, int lstr2, char *str3, in sip_md5_hash() argument 82 if (str1 != NULL) in sip_md5_hash() 83 _sasl_MD5Update(&ctx, (uchar_t *)str1, lstr1); in sip_md5_hash() 106 if (str1 != NULL) in sip_md5_hash() 107 MD5Update(&ctx, (uchar_t *)str1, lstr1); in sip_md5_hash()
|
H A D | sip_add_hdrs.c | 163 sip_add_2strs_to_msg(sip_msg_t sip_msg, char *hdr_name, char *str1, in sip_add_2strs_to_msg() argument 171 if (sip_msg == NULL || str1 == NULL || str2 == NULL || in sip_add_2strs_to_msg() 172 (str1 != NULL && str1[0] == '\0') || in sip_add_2strs_to_msg() 185 SIP_SPACE_LEN + strlen(str1) + csize + strlen(str2) + in sip_add_2strs_to_msg() 189 SIP_SPACE_LEN + strlen(str1) + csize + strlen(str2) + in sip_add_2strs_to_msg() 205 hdr_name, SIP_HCOLON, str1, sep, str2, SIP_CRLF); in sip_add_2strs_to_msg() 209 hdr_name, SIP_HCOLON, str1, sep, str2, SIP_CRLF); in sip_add_2strs_to_msg() 216 str1, sep, str2, SIP_SEMI, plist, SIP_CRLF); in sip_add_2strs_to_msg() 220 hdr_name, SIP_HCOLON, str1, sep, str2, SIP_SEMI, in sip_add_2strs_to_msg()
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipfstat.c | 1173 char str1[STSTRSIZE], str2[STSTRSIZE], str3[STSTRSIZE], str4[STSTRSIZE]; local 1385 sprintf(str1, "%s - %s - state top", hostnm, IPL_VERSION); 1386 for (j = 0 ; j < (maxx - 8 - strlen(str1)) / 2; j++) 1388 printw("%s", str1); 1394 strftime(str1, 80, "%T", localtime(&t)); 1395 printw("%s\n", str1); 1403 sprintf(str1, "%s,%d", getip(ver, &saddr), sport); 1405 sprintf(str1, "%s", getip(ver, &saddr)); 1456 str1, str2, str3, str4); 1493 sprintf(str1, "%s,%hu", [all …]
|
/illumos-gate/usr/src/cmd/sgs/demo_rdb/sparc/ |
H A D | regs.c | 37 char str1[MAXPATHLEN], str2[MAXPATHLEN]; in disp_reg_line() local 39 (void) strcpy(str1, print_address_ps(ph, prst->pr_lwp.pr_reg[ind1], in disp_reg_line() 46 prst->pr_lwp.pr_reg[ind1], str1, r2, prst->pr_lwp.pr_reg[ind2], in disp_reg_line()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_inherit_002_pos.ksh | 114 typeset str1="/inherited:" 214 expect1=${acltemp_subdir}${str1} 226 expect1=${acltemp}${str1}
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | smp-imps.c | 572 char str1[16], str2[16]; in imps_read_bios() local 573 memcpy (str1, local_cth_ptr->oem_id, 8); in imps_read_bios() 574 str1[8] = 0; in imps_read_bios() 577 KERNEL_PRINT ((" OEM id: %s Product id: %s\n", str1, str2)); in imps_read_bios()
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | head.c | 246 copy(char *str1, char *str2) in copy() argument 250 s1 = str1; in copy()
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | nhash.c | 47 BCMP(void *str1, void *str2, int len) in BCMP() argument 49 return (bcmp((char *)str1, (char *)str2, len)); in BCMP()
|