Home
last modified time | relevance | path

Searched refs:str2 (Results 1 – 25 of 51) sorted by relevance

123

/titanic_51/usr/src/lib/libc/i386/gen/
H A Dstrcmp.c67 strcmp(const char *str1, const char *str2) in strcmp() argument
75 if (str1 == str2) in strcmp()
83 (((int) str2) & (sizeof (int) - 1))) { in strcmp()
85 if (*str1 != *str2) in strcmp()
86 return ((unsigned char)*str1 - (unsigned char)*str2); in strcmp()
90 ++str2; in strcmp()
106 } else if (((int) str2) & (sizeof (int) - 1)) { in strcmp()
109 count = (pagesize - ((int)str2 & (pagesize - 1))) / in strcmp()
114 s2 = (void *) str2; in strcmp()
148 str2 in strcmp()
[all...]
/titanic_51/usr/src/cmd/tsol/tninfo/
H A Dtninfo.c103 char *str, *str2; in print_rhtp() local
133 l_to_str(&tp.tp_def_label, &str2, M_INTERNAL); in print_rhtp()
135 str, str2); in print_rhtp()
137 free(str2); in print_rhtp()
145 &str2, M_INTERNAL); in print_rhtp()
147 str, str2); in print_rhtp()
149 free(str2); in print_rhtp()
154 &str2, M_INTERNAL); in print_rhtp()
156 str, str2); in print_rhtp()
158 free(str2); in print_rhtp()
[all...]
/titanic_51/usr/src/cmd/audio/utilities/
H A Dhdr_misc.c85 char *str2; in audio_str_to_secs() local
87 val = strtod(str, &str2); /* get first numeric field */ in audio_str_to_secs()
88 if (str2 == str) in audio_str_to_secs()
91 if (*str2 == ':') { /* that was hours (or minutes) */ in audio_str_to_secs()
93 str = str2 + 1; in audio_str_to_secs()
94 val += strtod(str, &str2); /* another field is required */ in audio_str_to_secs()
95 if (str2 == str) in audio_str_to_secs()
99 if (*str2 == ':') { /* converted hours and minutes */ in audio_str_to_secs()
101 str = str2 + 1; in audio_str_to_secs()
102 val += strtod(str, &str2); /* anothe in audio_str_to_secs()
[all...]
/titanic_51/usr/src/lib/libcryptoutil/common/
H A Dpkcs11_uri.c128 char *str2, *l1, *l2, *tok, *name; in pkcs11_parse_uri() local
139 if ((str2 = strdup(str + strlen(PK11_URI_PREFIX))) == NULL) in pkcs11_parse_uri()
147 if (strstr(str2, ";;") != NULL || str2[0] == ';' || in pkcs11_parse_uri()
148 (strlen(str2) > 0 && str2[strlen(str2) - 1] == ';')) in pkcs11_parse_uri()
152 tok = strtok_r(str2, ";", &l1); in pkcs11_parse_uri()
260 free(str2); in pkcs11_parse_uri()
263 free(str2); in pkcs11_parse_uri()
[all...]
/titanic_51/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...]
/titanic_51/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
/titanic_51/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dconfig.c773 char str2[BUFSIZ]; /* For local modification */ in parse_ms() local
776 (void) strncpy(str2, str, sizeof (str2)); in parse_ms()
777 str2[sizeof (str2) - 1] = '\0'; in parse_ms()
779 last = str2; in parse_ms()
781 for (cp = str2; *cp != '\0'; cp++) { in parse_ms()
814 if (!parse_int(str2, resp)) in parse_ms()
832 char str2[BUFSIZ]; /* For local modification */ in parse_s() local
835 (void) strncpy(str2, st in parse_s()
[all...]
/titanic_51/usr/src/cmd/sgs/librtld_db/demo/amd64/
H A Dregs.c39 char str1[MAXPATHLEN], str2[MAXPATHLEN]; in disp_reg_line() local
44 (void) strcpy(str2, print_address_ps(ph, prst->pr_lwp.pr_reg[ind2], in disp_reg_line()
49 EC_WORD(prst->pr_lwp.pr_reg[ind2]), str2); in disp_reg_line()
/titanic_51/usr/src/cmd/sgs/librtld_db/demo/i386/
H A Dregs.c38 char str1[MAXPATHLEN], str2[MAXPATHLEN]; in disp_reg_line() local
42 (void) strcpy(str2, print_address_ps(ph, prst->pr_lwp.pr_reg[ind2], in disp_reg_line()
47 str2); in disp_reg_line()
/titanic_51/usr/src/cmd/lp/model/netpr/
H A Dmisc.c139 parse_dest(char * dest, char **str1, char **str2, char * sep) in parse_dest() argument
145 *str2 = NULL; in parse_dest()
153 *str2 = strdup(tmp); in parse_dest()
/titanic_51/usr/src/lib/libnisdb/yptol/
H A Dyptol_utils.c114 addpair(DBM *fdb, char *str1, char *str2) in addpair() argument
121 content.dptr = str2; in addpair()
122 content.dsize = strlen(str2); in addpair()
/titanic_51/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) in einfo_compare_dotted_version() argument
69 freeptr2 = verstr2 = strdup(str2); in einfo_compare_dotted_version()
113 * 2 - if the timestamp in str2 is more recent
116 einfo_compare_timestamps(const char *str1, const char *str2) in einfo_compare_timestamps() argument
120 retval = strcmp(str1, str2); in einfo_compare_timestamps()
138 * 2 - if the version in str2 is more recent
152 einfo_compare_version(const char *str1, const char *str2) in einfo_compare_version() argument
160 freeptr2 = verstr2 = strdup(str2); in einfo_compare_version()
[all...]
/titanic_51/usr/src/cmd/sgs/librtld_db/demo/sparcv9/
H A Dregs.c37 char str1[MAXPATHLEN], str2[MAXPATHLEN]; in disp_reg_line() local
42 (void) strcpy(str2, print_address_ps(ph, prst->pr_lwp.pr_reg[ind2], in disp_reg_line()
56 prst->pr_lwp.pr_reg[ind2], str2); in disp_reg_line()
60 prst->pr_lwp.pr_reg[ind2], str2); in disp_reg_line()
/titanic_51/usr/src/lib/libc/port/sys/
H A Dopen.c113 const char *str2 = "/dev/pts/"; in isptsfd() local
123 while (*str2 != '\0') in isptsfd()
124 *str1++ = *str2++; in isptsfd()
/titanic_51/usr/src/lib/libsip/common/
H A Dsip_gids.c73 sip_md5_hash(char *str1, int lstr1, char *str2, int lstr2, char *str3, in sip_md5_hash() argument
87 if (str2 != NULL) in sip_md5_hash()
88 _sasl_MD5Update(&ctx, (uchar_t *)str2, lstr2); in sip_md5_hash()
111 if (str2 != NULL) in sip_md5_hash()
112 MD5Update(&ctx, (uchar_t *)str2, lstr2); in sip_md5_hash()
H A Dsip_add_hdrs.c166 boolean_t qstr1, char *str2, char *plist, char sep) in sip_add_2strs_to_msg() argument
173 if (sip_msg == NULL || str1 == NULL || str2 == NULL || in sip_add_2strs_to_msg()
175 (str2 != NULL && str2[0] == '\0')) { in sip_add_2strs_to_msg()
187 SIP_SPACE_LEN + strlen(str1) + csize + strlen(str2) + in sip_add_2strs_to_msg()
191 SIP_SPACE_LEN + strlen(str1) + csize + strlen(str2) + in sip_add_2strs_to_msg()
207 hdr_name, SIP_HCOLON, str1, sep, str2, SIP_CRLF); in sip_add_2strs_to_msg()
211 hdr_name, SIP_HCOLON, str1, sep, str2, SIP_CRLF); in sip_add_2strs_to_msg()
218 str1, sep, str2, SIP_SEMI, plist, SIP_CRLF); in sip_add_2strs_to_msg()
222 hdr_name, SIP_HCOLON, str1, sep, str2, SIP_SEM in sip_add_2strs_to_msg()
[all...]
/titanic_51/usr/src/cmd/sgs/librtld_db/demo/sparc/
H A Dregs.c37 char str1[MAXPATHLEN], str2[MAXPATHLEN]; in disp_reg_line() local
42 (void) strcpy(str2, print_address_ps(ph, prst->pr_lwp.pr_reg[ind2], in disp_reg_line()
47 str2); in disp_reg_line()
/titanic_51/usr/src/lib/libshell/common/sh/
H A Dstring.c280 void sh_utol(register char const *str1,register char *str2) in sh_utol() argument
287 for(; c= *((unsigned char*)str1); str1++,str2++) in sh_utol()
290 *str2 = tolower(c); in sh_utol()
292 *str2 = c; in sh_utol()
294 *str2 = 0; in sh_utol()
/titanic_51/usr/src/grub/grub-0.97/stage2/
H A Dsmp-imps.c572 char str1[16], str2[16]; in imps_read_bios() local
575 memcpy (str2, local_cth_ptr->prod_id, 12); in imps_read_bios()
576 str2[12] = 0; in imps_read_bios()
577 KERNEL_PRINT ((" OEM id: %s Product id: %s\n", str1, str2)); in imps_read_bios()
H A Dboot.c47 char *str = 0, *str2 = 0; in load_image() local
89 str2 = "Multiboot"; in load_image()
128 str2 = "NetBSD"; in load_image()
133 str2 = "FreeBSD"; in load_image()
195 str2 = "FreeBSD"; in load_image()
203 str2 = "NetBSD"; in load_image()
490 printf (" [%s-%s", str2, str); in load_image()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dstring.c271 * copy <str1> to <str2> changing upper case to lower case
272 * <str2> must be big enough to hold <str1>
273 * <str1> and <str2> may point to the same place.
276 void sh_utol(register char const *str1,register char *str2) in sh_utol() argument
278 assume str1!=0 && str2!=0 in sh_utol()
279 return x satisfying strlen(in str1)==strlen(in str2); in sh_utol()
283 for(; c= *((unsigned char*)str1); str1++,str2++) in sh_utol()
286 *str2 = tolower(c); in sh_utol()
288 *str2 = c; in sh_utol()
290 *str2 in sh_utol()
[all...]
/titanic_51/usr/src/cmd/mailx/
H A Dhead.c242 * Copy str1 to str2, return pointer to null in str2.
246 copy(char *str1, char *str2) in copy() argument
251 s2 = str2; in copy()
/titanic_51/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) in find() argument
1032 char *s1, *s2; /* can't change str1 or str2 too fast */ in find()
1034 for (; *str2 != '\0'; str2++) { in find()
1035 for (s1 = str1, s2 = str2; *s1 != '\0' && *s1 == *s2; s1++, s2++); in find()
1040 return (str2); in find()
/titanic_51/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()
/titanic_51/usr/src/cmd/ypcmd/
H A Dmakedbm.c552 addpair(fdb, str1, str2) in addpair() argument
554 char *str1, *str2;
561 content.dptr = str2;
562 content.dsize = strlen(str2);

123