Home
last modified time | relevance | path

Searched refs:str1 (Results 1 – 25 of 53) sorted by relevance

123

/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dstrcmp.c65 strcmp(const char *str1, const char *str2) in strcmp() argument
73 if (str1 == str2) in strcmp()
83 if (*str1 != *str2) in strcmp()
85 if (*str1 == '\0') in strcmp()
87 ++str1; in strcmp()
99 if (((int) str1) & (sizeof (int) - 1)) { in strcmp()
111 s1 = (void *) str1; in strcmp()
145 str1 = (void *) s1; in strcmp()
204 while (*str1 == *str2) { in strcmp()
205 if (*str1 == '\0') in strcmp()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/awk/bugs-fixed/
H A Dsubsep-overflow.awk10 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 Dmacros.h49 #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 Dtst.shortstr.d63 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 Dsimple.sh42 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 Dstyle1-main.s16 .section .rodata.str1.1,"aMS",@progbits,1
42 .section .rodata.str1.1
52 .section .rodata.str1.1
H A Dstyle2-with-badness.s16 .section .rodata.str1.1,"aMS",@progbits,1
39 .section .rodata.str1.1
H A Dstyle2.s16 .section .rodata.str1.1,"aMS",@progbits,1
39 .section .rodata.str1.1
H A Dstyle2-with-r12.s16 .section .rodata.str1.1,"aMS",@progbits,1
40 .section .rodata.str1.1
H A Dstyle2-with-r13.s16 .section .rodata.str1.1,"aMS",@progbits,1
40 .section .rodata.str1.1
/illumos-gate/usr/src/cmd/sgs/demo_rdb/i386/
H A Dregs.c38 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/sgs/demo_rdb/amd64/
H A Dregs.c39 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/lp/model/netpr/
H A Dmisc.c137 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 Dbblk_einfo.c61 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 Dyptol_utils.c112 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 Dregs.c37 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/lib/libsip/common/
H A Dsip_gids.c71 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 Dsip_add_hdrs.c163 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/bnu/
H A Duux.c46 #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/cmd/ipf/tools/
H A Dipfstat.c1388 printw("%s", str1);
1395 printw("%s\n", str1);
1456 str1, str2, str3, str4);
1493 sprintf(str1, "%s,%hu",
1500 sprintf(str1, "%s", getip(tp->st_v,
1512 printw(" %3s", str1);
1517 strncpy(str1, proto->p_name, 4);
1518 str1[4] = '\0';
1520 sprintf(str1, "%d", tp->st_p);
1524 strcpy(str1, "icmp");
[all …]
/illumos-gate/usr/src/cmd/sgs/demo_rdb/sparc/
H A Dregs.c37 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 Dzfs_acl_chmod_inherit_002_pos.ksh114 typeset str1="/inherited:"
214 expect1=${acltemp_subdir}${str1}
226 expect1=${acltemp}${str1}
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dsmp-imps.c572 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 Dhead.c246 copy(char *str1, char *str2) in copy() argument
250 s1 = str1; in copy()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dnhash.c47 BCMP(void *str1, void *str2, int len) in BCMP() argument
49 return (bcmp((char *)str1, (char *)str2, len)); in BCMP()

123