Searched refs:str2 (Results 1 - 25 of 52) sorted by relevance

123

/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dstrcmp.c67 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 Dlayout_dlist_util.h42 * 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 Dlayout_dlist_util.c49 * 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 Dlayout_request.h43 extern int string_case_compare(char *str1, char *str2);
/illumos-gate/usr/src/cmd/tsol/tninfo/
H A Dtninfo.c103 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 Dhdr_misc.c85 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 Dmacros.h49 #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 Dtst.substr.d44 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 Dpkcs11_uri.c128 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 Dregs.c39 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 Dregs.c38 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 Dyptol_utils.c114 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 Dmisc.c139 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 Dopen.c113 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 Dregs.c37 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 Dsip_gids.c73 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 Dregs.c37 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 Dbblk_einfo.c50 * 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 Dhead.c242 * 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 Dstring.c275 * 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 Dnhash.c47 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 Dsmp-imps.c572 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 Dboot.c47 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 Dzfs_acl_chmod_inherit_002_neg.ksh104 typeset str2="/inherited:"
178 expacl=${acltemp}${str2}
187 expacl=${acltemp}${str2}
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Dpostio.c1025 * 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);

Completed in 3463 milliseconds

123