/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | strcmp.c | 67 strcmp(const char *str1, const char *str2) argument 75 if (str1 == str2) 82 while ((((int) str1) & (sizeof (int) - 1)) && 85 if (*str1 != *str2) 86 return ((unsigned char)*str1 - (unsigned char)*str2); 87 if (*str1 == '\0') 89 ++str1; 101 if (((int) str1) & (sizeof (int) - 1)) { 104 count = (pagesize - ((int)str1 & (pagesize - 1))) / 113 s1 = (void *) str1; [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_dlist_util.h | 42 * FUNCTION: compare_strings(void *str1, void *str2) 44 * INPUT: str1 - opaque pointer to a char * 47 * RETURNS: int - <0 - if str1 < str2 48 * 0 - if str1 == str2 49 * >0 - if str1 > str2 55 extern int compare_strings(void *str1, void *str2); 59 * void *str1, void *str2) 61 * INPUT: str1 - opaque pointer 64 * RETURNS: int - <0 - if str1 < str2 65 * 0 - if str1 [all...] |
H A D | layout_dlist_util.c | 49 * FUNCTION: compare_strings(void *str1, void *str2) 51 * INPUT: str1 - opaque pointer to a char * 54 * RETURNS: int - <0 - if str1 < str2 55 * 0 - if str1 == str2 56 * >0 - if str1 > str2 64 void *str1, 67 assert(str1 != NULL); 70 return (string_case_compare((char *)str1, (char *)str2)); 275 * void *str1, void *str2) 277 * INPUT: str1 63 compare_strings( void *str1, void *str2) argument 296 compare_device_names( void *str1, void *str2) argument [all...] |
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/safety/ |
H A D | tst.shortstr.d | 65 this->str1 = "........................................."; 66 printf("%d\n", index(this->str, this->str1)); 71 printf("%d\n", rindex(this->str, this->str1));
|
/illumos-gate/usr/src/head/ |
H A D | macros.h | 49 #define compare(str1, str2) strcmp((str1), (str2)) 50 #define equal(str1, str2) (strcmp((str1), (str2)) == 0)
|
/illumos-gate/usr/src/cmd/sgs/test/ld/x64/tls/ie/ |
H A D | style2-with-badness.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
|
H A D | style2.s | 16 .section .rodata.str1.1,"aMS",@progbits,1 39 .section .rodata.str1.1
|
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 | style1-func-with-r12.s | 16 .section .rodata.str1.1,"aMS",@progbits,1
|
H A D | style1-func-with-r13.s | 15 .section .rodata.str1.1,"aMS",@progbits,1
|
H A D | style1-func.s | 16 .section .rodata.str1.1,"aMS",@progbits,1
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/amd64/ |
H A D | regs.c | 39 char str1[MAXPATHLEN], str2[MAXPATHLEN]; local 41 (void) strcpy(str1, print_address_ps(ph, prst->pr_lwp.pr_reg[ind1], 48 EC_WORD(prst->pr_lwp.pr_reg[ind1]), str1, r2,
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/i386/ |
H A D | regs.c | 38 char str1[MAXPATHLEN], str2[MAXPATHLEN]; local 40 (void) strcpy(str1, print_address_ps(ph, prst->pr_lwp.pr_reg[ind1], 46 prst->pr_lwp.pr_reg[ind1], str1, r2, prst->pr_lwp.pr_reg[ind2],
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | yptol_utils.c | 114 addpair(DBM *fdb, char *str1, char *str2) argument 119 key.dptr = str1; 120 key.dsize = strlen(str1);
|
/illumos-gate/usr/src/cmd/lp/model/netpr/ |
H A D | misc.c | 139 parse_dest(char * dest, char **str1, char **str2, char * sep) argument 144 *str1 = NULL; 150 *str1 = strdup(tmp);
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | open.c | 112 char *str1 = buf; local 124 *str1++ = *str2++; 128 itoa(fsb.st_rdev & MAXMIN, str1);
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/sparcv9/ |
H A D | regs.c | 37 char str1[MAXPATHLEN], str2[MAXPATHLEN]; local 39 (void) strcpy(str1, print_address_ps(ph, prst->pr_lwp.pr_reg[ind1], 54 prst->pr_lwp.pr_reg[ind1], str1); 59 prst->pr_lwp.pr_reg[ind1], str1, r2,
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_gids.c | 73 sip_md5_hash(char *str1, int lstr1, char *str2, int lstr2, char *str3, argument 84 if (str1 != NULL) 85 _sasl_MD5Update(&ctx, (uchar_t *)str1, lstr1); 108 if (str1 != NULL) 109 MD5Update(&ctx, (uchar_t *)str1, lstr1);
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/sparc/ |
H A D | regs.c | 37 char str1[MAXPATHLEN], str2[MAXPATHLEN]; local 39 (void) strcpy(str1, print_address_ps(ph, prst->pr_lwp.pr_reg[ind1], 46 prst->pr_lwp.pr_reg[ind1], str1, r2, prst->pr_lwp.pr_reg[ind2],
|
/illumos-gate/usr/src/cmd/boot/common/ |
H A D | bblk_einfo.c | 50 * 1 - if str1 version number is more recent than str2 51 * 2 - if str2 version number is more recent than str1 61 einfo_compare_dotted_version(const char *str1, const char *str2) argument 68 freeptr1 = verstr1 = strdup(str1); 112 * 1 - if the timestamp in str1 is more recent 116 einfo_compare_timestamps(const char *str1, const char *str2) argument 120 retval = strcmp(str1, str2); 137 * 1 - if the version in str1 is more recent 141 einfo_compare_version(const char *str1, const char *str2) argument 147 freeptr1 = verstr1 = strdup(str1); [all...] |
/illumos-gate/usr/src/cmd/mailx/ |
H A D | head.c | 242 * Copy str1 to str2, return pointer to null in str2. 246 copy(char *str1, char *str2) argument 250 s1 = str1;
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uux.c | 46 #define STRNCPY(str1, str2) { \ 47 (void) strncpy(str1, str2, (sizeof(str1) - 1)); \ 48 str1[sizeof(str1) - 1] = '\0'; \ 50 #define STRNCAT(str1, str2) { \ 51 (void) strncat(str1, str2, \ 52 (sizeof(str1) - 1 - strlen(str1))); \
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | nhash.c | 47 BCMP(void *str1, void *str2, int len) argument 49 return (bcmp((char *)str1, (char *)str2, len));
|