/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) 83 (((int) str2) & (sizeof (int) - 1))) { 85 if (*str1 != *str2) 86 return ((unsigned char)*str1 - (unsigned char)*str2); 90 ++str2; 106 } else if (((int) str2) & (sizeof (int) - 1)) { 109 count = (pagesize - ((int)str2 & (pagesize - 1))) / 114 s2 = (void *) str2; 148 str2 [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_dlist_util.h | 42 * FUNCTION: compare_strings(void *str1, void *str2) 45 * str2 - 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) 62 * str2 - opaque pointer 64 * RETURNS: int - <0 - if str1 < str2 65 * 0 - if str1 == str2 [all...] |
H A D | layout_dlist_util.c | 49 * FUNCTION: compare_strings(void *str1, void *str2) 52 * str2 - opaque pointer to a char * 54 * RETURNS: int - <0 - if str1 < str2 55 * 0 - if str1 == str2 56 * >0 - if str1 > str2 65 void *str2) 68 assert(str2 != NULL); 70 return (string_case_compare((char *)str1, (char *)str2)); 275 * void *str1, void *str2) 278 * str2 63 compare_strings( void *str1, void *str2) argument 296 compare_device_names( void *str1, void *str2) argument [all...] |
H A D | layout_request.h | 43 extern int string_case_compare(char *str1, char *str2);
|
/illumos-gate/usr/src/cmd/tsol/tninfo/ |
H A D | tninfo.c | 103 char *str, *str2; local 133 l_to_str(&tp.tp_def_label, &str2, M_INTERNAL); 135 str, str2); 137 free(str2); 145 &str2, M_INTERNAL); 147 str, str2); 149 free(str2); 154 &str2, M_INTERNAL); 156 str, str2); 158 free(str2); [all...] |
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | hdr_misc.c | 85 char *str2; local 87 val = strtod(str, &str2); /* get first numeric field */ 88 if (str2 == str) 91 if (*str2 == ':') { /* that was hours (or minutes) */ 93 str = str2 + 1; 94 val += strtod(str, &str2); /* another field is required */ 95 if (str2 == str) 99 if (*str2 == ':') { /* converted hours and minutes */ 101 str = str2 + 1; 102 val += strtod(str, &str2); /* anothe [all...] |
/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/dtrace/test/tst/common/funcs/ |
H A D | tst.substr.d | 44 str2 = ""; 184 this->str2 = command[i].alt ? altstr2 : str2; 190 this->str, this->str2, command[i].index, this->result); 193 this->str, this->str2, command[i].index); 195 this->str, this->str2, command[i].index); 197 this->str, this->str2, command[i].index); 207 this->str2 = command[i].alt ? altstr2 : str2; 213 this->str, this->str2, comman [all...] |
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | pkcs11_uri.c | 128 char *str2, *l1, *l2, *tok, *name; local 139 if ((str2 = strdup(str + strlen(PK11_URI_PREFIX))) == NULL) 147 if (strstr(str2, ";;") != NULL || str2[0] == ';' || 148 (strlen(str2) > 0 && str2[strlen(str2) - 1] == ';')) 152 tok = strtok_r(str2, ";", &l1); 260 free(str2); 263 free(str2); [all...] |
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/amd64/ |
H A D | regs.c | 39 char str1[MAXPATHLEN], str2[MAXPATHLEN]; local 44 (void) strcpy(str2, print_address_ps(ph, prst->pr_lwp.pr_reg[ind2], 49 EC_WORD(prst->pr_lwp.pr_reg[ind2]), str2);
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/i386/ |
H A D | regs.c | 38 char str1[MAXPATHLEN], str2[MAXPATHLEN]; local 42 (void) strcpy(str2, print_address_ps(ph, prst->pr_lwp.pr_reg[ind2], 47 str2);
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | yptol_utils.c | 114 addpair(DBM *fdb, char *str1, char *str2) argument 121 content.dptr = str2; 122 content.dsize = strlen(str2);
|
/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 145 *str2 = NULL; 153 *str2 = strdup(tmp);
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | open.c | 113 const char *str2 = "/dev/pts/"; local 123 while (*str2 != '\0') 124 *str1++ = *str2++;
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/sparcv9/ |
H A D | regs.c | 37 char str1[MAXPATHLEN], str2[MAXPATHLEN]; local 42 (void) strcpy(str2, print_address_ps(ph, prst->pr_lwp.pr_reg[ind2], 56 prst->pr_lwp.pr_reg[ind2], str2); 60 prst->pr_lwp.pr_reg[ind2], str2);
|
/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 87 if (str2 != NULL) 88 _sasl_MD5Update(&ctx, (uchar_t *)str2, lstr2); 111 if (str2 != NULL) 112 MD5Update(&ctx, (uchar_t *)str2, lstr2);
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/sparc/ |
H A D | regs.c | 37 char str1[MAXPATHLEN], str2[MAXPATHLEN]; local 42 (void) strcpy(str2, print_address_ps(ph, prst->pr_lwp.pr_reg[ind2], 47 str2);
|
/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 69 freeptr2 = verstr2 = strdup(str2); 113 * 2 - if the timestamp in str2 is more recent 116 einfo_compare_timestamps(const char *str1, const char *str2) argument 120 retval = strcmp(str1, str2); 138 * 2 - if the version in str2 is more recent 141 einfo_compare_version(const char *str1, const char *str2) argument 148 freeptr2 = verstr2 = strdup(str2); [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 251 s2 = str2;
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | string.c | 275 * copy <str1> to <str2> changing upper case to lower case 276 * <str2> must be big enough to hold <str1> 277 * <str1> and <str2> may point to the same place. 280 void sh_utol(register char const *str1,register char *str2) argument 282 assume str1!=0 && str2!=0 283 return x satisfying strlen(in str1)==strlen(in str2); 287 for(; c= *((unsigned char*)str1); str1++,str2++) 290 *str2 = tolower(c); 292 *str2 = c; 294 *str2 [all...] |
/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));
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | smp-imps.c | 572 char str1[16], str2[16]; local 575 memcpy (str2, local_cth_ptr->prod_id, 12); 576 str2[12] = 0; 577 KERNEL_PRINT ((" OEM id: %s Product id: %s\n", str1, str2));
|
H A D | boot.c | 47 char *str = 0, *str2 = 0; local 89 str2 = "Multiboot"; 128 str2 = "NetBSD"; 133 str2 = "FreeBSD"; 195 str2 = "FreeBSD"; 203 str2 = "NetBSD"; 490 printf (" [%s-%s", str2, str);
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_inherit_002_neg.ksh | 104 typeset str2="/inherited:" 178 expacl=${acltemp}${str2} 187 expacl=${acltemp}${str2}
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/ |
H A D | postio.c | 1025 * Looks for *str1 in string *str2. Returns a pointer to the start of the 1026 * substring if it's found or to the end of string str2 otherwise. 1030 find(char *str1, char *str2) argument 1032 char *s1, *s2; /* can't change str1 or str2 too fast */ 1034 for (; *str2 != '\0'; str2++) { 1035 for (s1 = str1, s2 = str2; *s1 != '\0' && *s1 == *s2; s1++, s2++); 1040 return (str2);
|