Home
last modified time | relevance | path

Searched refs:strchr (Results 1 – 25 of 1422) sorted by relevance

12345678910>>...57

/titanic_41/usr/src/cmd/lp/lib/lp/
H A Dgetlist.c122 p = strchr(copy, '\0');
123 while (--p != copy && strchr(ws, *p))
134 if (strchr(sep, c)) {
138 !strchr(hardsep, c)
139 && strchr(hardsep, *p)
167 if (strchr(sep, c)) {
175 !strchr(hardsep, c)
176 && strchr(hardsep, *p)
219 if (*p != '\\' || !p[1] || !strchr(sep, p[1]))
224 if (*p != '\\' || !p[1] || !strchr(sep, p[1]))
/titanic_41/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.strchr.d37 printf("strchr(\"%s\", '%c') = \"%s\"\n", str, c, strchr(str, c));
41 printf("strchr(\"%s\", '%c') = \"%s\"\n", str, c, strchr(str, c));
44 printf("strrchr(\"%s\", '%c') = \"%s\"\n", strchr(str, c), c,
45 strrchr(strchr(str, c), c));
57 /strchr(str, 'a') != NULL/
/titanic_41/usr/src/lib/libast/common/comp/
H A Dstrchr.c28 NoN(strchr)
32 #undef strchr
41 strchr(const char* s, int c)
49 strchr(register const char* s, register int c)
/titanic_41/usr/src/lib/libbc/libc/gen/4.2/
H A Dsystem.c59 if ((c = strchr(path, ' ')) != NULL)
73 strcat(path, strchr(s+1, '/'));
75 c = strchr(s+1, '/');
76 strcat(path, strchr(c+1, '/'));
78 if ((c = strchr(path, ' ')) != NULL)
/titanic_41/usr/src/cmd/ldap/ns_ldap/
H A Dstandalone.c66 chr = strchr(peer, '['); in separatePort()
71 chr = strchr(peer, ']'); in separatePort()
81 chr = strchr(chr, ':'); in separatePort()
87 chr = strchr(peer, ']'); in separatePort()
95 chr = strchr(peer, ':'); in separatePort()
/titanic_41/usr/src/cmd/devmgmt/cmds/
H A Dgetdev.c293 while (*pp && (strchr(*pp, '=') || strchr(*pp, ':'))) {
308 (strchr(*arglist, '=') || /* and it's a = criterion ... */
309 strchr(*arglist, ':'))) /* or it's a : criterion ... */
349 while (*arglist && (strchr(*arglist, '=') || strchr(*arglist, ':'))) arglist++;
/titanic_41/usr/src/cmd/od/
H A Dod.c459 if (strchr(STR1, *typestr)) { in do_type_string()
462 } else if (strchr(STR2, *typestr)) { in do_type_string()
465 } else if (strchr(STR4, *typestr)) { in do_type_string()
468 } else if (strchr(STR8, *typestr)) { in do_type_string()
478 if (strchr(STR1, *typestr)) { in do_type_string()
481 } else if (strchr(STR2, *typestr)) { in do_type_string()
484 } else if (strchr(STR4, *typestr)) { in do_type_string()
487 } else if (strchr(STR8, *typestr)) { in do_type_string()
497 if (strchr(STR1, *typestr)) { in do_type_string()
500 } else if (strchr(STR2, *typestr)) { in do_type_string()
[all …]
/titanic_41/usr/src/lib/print/libhttp-core/common/
H A Dhttp-support.c136 if (strchr(host, '.') != NULL || strchr(host, '/') != NULL || *uri == '\0') in httpSeparate2()
138 if ((ptr = strchr(host, '/')) != NULL) in httpSeparate2()
188 if ((slash = strchr(uri, '/')) == NULL) in httpSeparate2()
191 if ((atsign = strchr(uri, '@')) != NULL && atsign < slash) in httpSeparate2()
344 for (ptr = dst, end = dst + dstsize - 1; *src && !strchr(term, *src); src ++) in http_copy_decode()
/titanic_41/usr/src/lib/libbc/libc/gen/sys5/
H A Dsystem.c59 if ((c = strchr(path, ' ')) != NULL)
74 strcat(path, strchr(s+1, '/'));
76 c = strchr(s+1, '/');
77 strcat(path, strchr(c+1, '/'));
/titanic_41/usr/src/cmd/nlsadmin/
H A Dnlsadmin.c304 ptr = strchr(optarg, ':'); in main()
356 ptr = strchr(buf, ':'); in main()
358 ptr2 = strchr(ptr, ':'); in main()
557 if ((tmp = strchr(path, ' ')) != NULL) in prt_cmd()
602 if ((tmp = strchr(cmd, ' ')) != NULL) in old_addsvc()
769 else if (strchr(entry.lflags, 'd')) in prt_svcs()
774 if (strchr(entry.flags, 'x') == NULL) in prt_svcs()
786 if (strchr(entry.flags, 'x') == NULL) in prt_svcs()
1176 p = strchr(entry.comment, '\n'); in setup_addr()
1218 p = strchr(entry.comment, '\n'); in setup_addr()
[all …]
/titanic_41/usr/src/head/iso/
H A Dstring_iso.h108 extern const char *strchr(const char *, int);
112 inline char *strchr(char *__s, int __c) { in strchr() function
113 return (char *)strchr((const char *)__s, __c); in strchr()
146 extern char *strchr(const char *, int);
/titanic_41/usr/src/lib/libslp/clib/
H A DSLPParseSrvURL.c95 q = strchr(p, '/'); in SLPParseSrvURL()
105 p = strchr(q, ':'); in SLPParseSrvURL()
106 r = strchr(q, '/'); in SLPParseSrvURL()
163 p = strchr(typeString, ':'); in parseType()
178 q = strchr(p, ':'); in parseType()
188 p = strchr(q, '.'); in parseType()
/titanic_41/usr/src/lib/libwrap/
H A Dmisc.c69 if ((cp = strchr(string, delimiter)) != 0)
110 if (strchr(str,':')) {
181 if ((colon = strchr(p, ':')) == NULL)
183 if ((obr = strchr(p, '[')) == NULL || obr > colon)
185 if ((cbr = strchr(obr, ']')) == NULL)
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dg11n.c264 if (!strchr(locale, '\n')) { in g11n_getlocales()
284 *(strchr(locale, '\n')) = '\0'; /* remove the trailing \n */ in g11n_getlocales()
368 len1 = (strchr(langtag1, '-')) ? in g11n_langtag_match()
369 (strchr(langtag1, '-') - langtag1) in g11n_langtag_match()
372 len2 = (strchr(langtag2, '-')) ? in g11n_langtag_match()
373 (strchr(langtag2, '-') - langtag2) in g11n_langtag_match()
399 len1 = (strchr(langtag1, '-')) ? in g11n_langtag_match()
400 (strchr(langtag1, '-') - langtag1) : strlen(langtag1); in g11n_langtag_match()
402 len2 = (strchr(langtag2, '-')) ? in g11n_langtag_match()
403 (strchr(langtag2, '-') - langtag2) : strlen(langtag2); in g11n_langtag_match()
[all …]
/titanic_41/usr/src/cmd/ypcmd/
H A Dmkalias.c76 if (strchr(s, ',')) in IsMailingList()
78 if (strchr(s, '|')) in IsMailingList()
80 p = strchr(s, ':'); in IsMailingList()
94 middle = strchr(s, '@'); in IsQualified()
217 if (DomainOK && strchr(a, '.')) in HostCheck()
220 if (UucpOK && strchr(a, '!')) in HostCheck()
234 if (strchr(cp, '.') == NULL) in DoName()
/titanic_41/usr/src/cmd/logadm/
H A Dopts.c474 if (strchr(word, ' ') || strchr(word, '\t') || in opts_printword()
475 strchr(word, '$') || strchr(word, '[') || in opts_printword()
476 strchr(word, '?') || strchr(word, '{') || in opts_printword()
477 strchr(word, '`') || strchr(word, ';')) { in opts_printword()
478 if (strchr(word, '\'') == NULL) in opts_printword()
480 else if (strchr(word, '"') == NULL) in opts_printword()
/titanic_41/usr/src/lib/libproc/common/
H A DPexecname.c138 if (strchr(path, '/') != NULL && (p = basename(path)) != NULL && in Pfindexec()
168 if ((p = strchr(path, ' ')) != NULL) in Pfindexec()
174 if (strchr(path, '/') != NULL && (p = basename(path)) != NULL && in Pfindexec()
190 if (strchr(path, '/') != NULL && (p = basename(path)) != NULL && in Pfindexec()
209 if ((p = strchr(path, ' ')) != NULL) in Pfindexec()
212 if (strchr(path, '/') != NULL || strncmp(path, in Pfindexec()
/titanic_41/usr/src/lib/libnsl/nss/
H A Dinet_matchaddr.c53 if ((mp = strchr(p, '/')) != NULL) in inet_matchaddr()
67 if ((p = strchr(p, '[')) == NULL) in inet_matchaddr()
71 if ((pp = strchr(p, ']')) == NULL) in inet_matchaddr()
109 if ((p = strchr(p, '.')) == NULL) in inet_matchaddr()
/titanic_41/usr/src/cmd/ipf/lib/common/
H A Dgenmask.c19 if (strchr(msk, '.') || strchr(msk, 'x') || strchr(msk, ':')) {
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mangle_name.c58 #define isinvalid(c) (strchr(invalid_dos_chars, c) || (c & 0x80))
168 (strchr(special_chars, *p) != NULL) || in smb_needs_mangled()
169 (strchr(invalid_dos_chars, *p)) != NULL) in smb_needs_mangled()
214 if (strchr(special_chars, c)) in smb_mangle_char()
264 if ((strchr(special_chars, *p) != NULL) || in smb_maybe_mangled()
265 (strchr(invalid_dos_chars, *p) != NULL)) in smb_maybe_mangled()
326 pbuf = strchr(pbuf, '\0'); in smb_mangle()
/titanic_41/usr/src/cmd/listen/
H A Dlsdbf.c455 if (strlen(bp) && (p = strchr(bp, DBFCOMMENT)))
531 if (!(p = strchr(bp, DBFTOKSEP ))) { /* look for service code string */
539 if (!(p = strchr(nexttok, DBFTOKSEP ))) {
563 if (!(p = strchr(nexttok, DBFTOKSEP ))) {
571 if (!(p = strchr(nexttok, DBFTOKSEP ))) {
579 if (!(p = strchr(nexttok, DBFTOKSEP ))) {
587 if (!(p = strchr(nexttok, DBFTOKSEP ))) {
595 if (!(p = strchr(nexttok, DBFTOKSEP ))) {
603 if (!(p = strchr(nexttok, DBFTOKSEP ))) {
629 ptr = strchr(nexttok, ',');
[all …]
/titanic_41/usr/src/uts/sun4u/os/
H A Dplat_ecc_unum.c164 unum_ptr = strchr(unum_ptr, 'N'); in plat_log_fruid_error()
184 unum_ptr = strchr(unum_ptr, 'P'); in plat_log_fruid_error()
199 unum_ptr = strchr(unum_ptr, 'B'); in plat_log_fruid_error()
207 unum_ptr = strchr(unum_ptr, 'D'); in plat_log_fruid_error()
215 unum_ptr = strchr(unum_ptr, 'J'); in plat_log_fruid_error()
250 unum_ptr = strchr(unum_ptr, 'N'); in plat_log_fruid_error()
282 unum_ptr = strchr(unum_ptr, 'P'); in plat_log_fruid_error()
296 unum_ptr = strchr(unum_ptr, 'E'); in plat_log_fruid_error()
301 unum_ptr = strchr(unum_ptr, 'J'); in plat_log_fruid_error()
417 if ((c = strchr(c, 'D')) == NULL) { in parse_unum_memory()
[all …]
/titanic_41/usr/src/lib/libresolv/
H A Dres_init.c91 extern char *strchr(); in res_init()
173 cp = strchr(buf, (int)'.'); in res_init()
202 if ((cp = strchr(_res.defdname, (int)'\n')) != NULL) in res_init()
221 if ((cp = strchr(_res.defdname, (int)'\n')) != NULL) in res_init()
276 (cp = strchr(buf, (int)'.'))) in res_init()
293 cp = strchr(cp, (int)'.'); in res_init()
/titanic_41/usr/src/lib/libresolv2/common/inet/
H A Dinet_net_pton.c80 n = strchr(xdigits, ch) - xdigits; in inet_net_pton_ipv4()
103 n = strchr(digits, ch) - digits; in inet_net_pton_ipv4()
132 n = strchr(digits, ch) - digits; in inet_net_pton_ipv4()
201 pch = strchr(digits, ch); in getbits()
232 pch = strchr(digits, ch); in getv4()
292 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) in inet_net_pton_ipv6()
293 pch = strchr((xdigits = xdigits_u), ch); in inet_net_pton_ipv6()
/titanic_41/usr/src/common/iscsi/
H A Dutils.c168 in = strchr(*addr, ']'); in parse_addr_port_tpgt()
180 t_port = strchr(in, ':'); in parse_addr_port_tpgt()
189 t_tpgt = strchr(in, ','); in parse_addr_port_tpgt()
223 while ((p = (char *)strchr(dp, '.')) != NULL) { in reverse_fqdn()
279 if ((p = strchr(domainname, '.')) == NULL) in utils_iqn_create()

12345678910>>...57