Home
last modified time | relevance | path

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

12345678910>>...58

/illumos-gate/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]))
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.strchr.d35 printf("strchr(\"%s\", '%c') = \"%s\"\n", str, c, strchr(str, c));
39 printf("strchr(\"%s\", '%c') = \"%s\"\n", str, c, strchr(str, c));
42 printf("strrchr(\"%s\", '%c') = \"%s\"\n", strchr(str, c), c,
43 strrchr(strchr(str, c), c));
55 /strchr(str, 'a') != NULL/
/illumos-gate/usr/src/contrib/ast/src/lib/libast/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)
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dstandalone.c64 chr = strchr(peer, '['); in separatePort()
69 chr = strchr(peer, ']'); in separatePort()
79 chr = strchr(chr, ':'); in separatePort()
85 chr = strchr(peer, ']'); in separatePort()
93 chr = strchr(peer, ':'); in separatePort()
/illumos-gate/usr/src/cmd/devmgmt/cmds/
H A Dgetdev.c290 while (*pp && (strchr(*pp, '=') || strchr(*pp, ':'))) {
305 (strchr(*arglist, '=') || /* and it's a = criterion ... */
306 strchr(*arglist, ':'))) /* or it's a : criterion ... */
346 while (*arglist && (strchr(*arglist, '=') || strchr(*arglist, ':'))) arglist++;
/illumos-gate/usr/src/cmd/od/
H A Dod.c463 if (strchr(STR1, *typestr)) { in do_type_string()
466 } else if (strchr(STR2, *typestr)) { in do_type_string()
469 } else if (strchr(STR4, *typestr)) { in do_type_string()
472 } else if (strchr(STR8, *typestr)) { in do_type_string()
482 if (strchr(STR1, *typestr)) { in do_type_string()
485 } else if (strchr(STR2, *typestr)) { in do_type_string()
488 } else if (strchr(STR4, *typestr)) { in do_type_string()
491 } else if (strchr(STR8, *typestr)) { in do_type_string()
501 if (strchr(STR1, *typestr)) { in do_type_string()
504 } else if (strchr(STR2, *typestr)) { in do_type_string()
[all …]
/illumos-gate/usr/src/lib/print/libhttp-core/common/
H A Dhttp-support.c134 if (strchr(host, '.') != NULL || strchr(host, '/') != NULL || *uri == '\0') in httpSeparate2()
136 if ((ptr = strchr(host, '/')) != NULL) in httpSeparate2()
186 if ((slash = strchr(uri, '/')) == NULL) in httpSeparate2()
189 if ((atsign = strchr(uri, '@')) != NULL && atsign < slash) in httpSeparate2()
342 for (ptr = dst, end = dst + dstsize - 1; *src && !strchr(term, *src); src ++) in http_copy_decode()
/illumos-gate/usr/src/cmd/nlsadmin/
H A Dnlsadmin.c301 ptr = strchr(optarg, ':'); in main()
353 ptr = strchr(buf, ':'); in main()
355 ptr2 = strchr(ptr, ':'); in main()
554 if ((tmp = strchr(path, ' ')) != NULL) in prt_cmd()
599 if ((tmp = strchr(cmd, ' ')) != NULL) in old_addsvc()
766 else if (strchr(entry.lflags, 'd')) in prt_svcs()
771 if (strchr(entry.flags, 'x') == NULL) in prt_svcs()
783 if (strchr(entry.flags, 'x') == NULL) in prt_svcs()
1173 p = strchr(entry.comment, '\n'); in setup_addr()
1215 p = strchr(entry.comment, '\n'); in setup_addr()
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Ddba_read.c55 for (cp = pdata->name; *cp != '\0'; cp = strchr(cp, '\0') + 1) in dba_read()
57 for (cp = pdata->sect; *cp != '\0'; cp = strchr(cp, '\0') + 1) in dba_read()
60 while (*(cp = strchr(cp, '\0') + 1) != '\0') in dba_read()
63 while (*(cp = strchr(cp, '\0') + 1) != '\0') in dba_read()
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPParseSrvURL.c93 q = strchr(p, '/'); in SLPParseSrvURL()
103 p = strchr(q, ':'); in SLPParseSrvURL()
104 r = strchr(q, '/'); in SLPParseSrvURL()
161 p = strchr(typeString, ':'); in parseType()
176 q = strchr(p, ':'); in parseType()
186 p = strchr(q, '.'); in parseType()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/ypcmd/
H A Dmkalias.c74 if (strchr(s, ',')) in IsMailingList()
76 if (strchr(s, '|')) in IsMailingList()
78 p = strchr(s, ':'); in IsMailingList()
92 middle = strchr(s, '@'); in IsQualified()
215 if (DomainOK && strchr(a, '.')) in HostCheck()
218 if (UucpOK && strchr(a, '!')) in HostCheck()
232 if (strchr(cp, '.') == NULL) in DoName()
/illumos-gate/usr/src/lib/libwrap/
H A Dmisc.c68 if ((cp = strchr(string, delimiter)) != 0)
109 if (strchr(str,':')) {
180 if ((colon = strchr(p, ':')) == NULL)
182 if ((obr = strchr(p, '[')) == NULL || obr > colon)
184 if ((cbr = strchr(obr, ']')) == NULL)
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/head/iso/
H A Dstring_iso.h102 extern const char *strchr(const char *, int);
106 inline char *strchr(char *__s, int __c) { in strchr() function
107 return (char *)strchr((const char *)__s, __c); in strchr()
140 extern char *strchr(const char *, int);
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dfnmatch.c232 if (strchr(t->pattern, '\\') == NULL && in main()
240 if (strchr(t->pattern, '\\') != NULL && in main()
241 strchr(t->string, '\\') == NULL && in main()
259 if ((strchr(t->string, '/') == NULL || in main()
279 strchr(t->string, '/') == NULL) || in main()
288 if ((strchr(t->string, '/') == NULL || in main()
304 if (strchr(t->pattern, '\\') == NULL && in main()
/illumos-gate/usr/src/cmd/listen/
H A Dlsdbf.c537 if (!(p = strchr(nexttok, DBFTOKSEP ))) {
561 if (!(p = strchr(nexttok, DBFTOKSEP ))) {
569 if (!(p = strchr(nexttok, DBFTOKSEP ))) {
577 if (!(p = strchr(nexttok, DBFTOKSEP ))) {
585 if (!(p = strchr(nexttok, DBFTOKSEP ))) {
593 if (!(p = strchr(nexttok, DBFTOKSEP ))) {
601 if (!(p = strchr(nexttok, DBFTOKSEP ))) {
627 ptr = strchr(nexttok, ',');
655 if (!(p = strchr(nexttok, DBFTOKSEP ))) {
695 if (!(p = strchr(nexttok, DBFTOKSEP ))) {
[all …]
/illumos-gate/usr/src/uts/sun4u/os/
H A Dplat_ecc_unum.c162 unum_ptr = strchr(unum_ptr, 'N'); in plat_log_fruid_error()
182 unum_ptr = strchr(unum_ptr, 'P'); in plat_log_fruid_error()
197 unum_ptr = strchr(unum_ptr, 'B'); in plat_log_fruid_error()
205 unum_ptr = strchr(unum_ptr, 'D'); in plat_log_fruid_error()
213 unum_ptr = strchr(unum_ptr, 'J'); in plat_log_fruid_error()
248 unum_ptr = strchr(unum_ptr, 'N'); in plat_log_fruid_error()
280 unum_ptr = strchr(unum_ptr, 'P'); in plat_log_fruid_error()
294 unum_ptr = strchr(unum_ptr, 'E'); in plat_log_fruid_error()
299 unum_ptr = strchr(unum_ptr, 'J'); in plat_log_fruid_error()
466 if ((c = strchr(c, 'J')) == NULL) in parse_unum_ecache()
[all …]
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dgenmask.c19 if (strchr(msk, '.') || strchr(msk, 'x') || strchr(msk, ':')) {
H A Dipft_hx.c75 if ((s = strchr(line, '\n'))) {
80 if ((s = strchr(line, '#')))
88 if ((*line == '[') && (s = strchr(line, ']'))) {
92 if ((u = strchr(t, ',')) && (u < s)) {
/illumos-gate/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()
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dppd.c48 if ((ptr = strchr(line, ':')) == NULL) in process_line()
61 if ((ptr2 = strchr(line, ' ')) != NULL) { in process_line()
77 if ((ptr = strchr(ptr, '/')) != NULL) { in process_line()
106 if (strchr(line, ':') == NULL) in PPDFileToAttributesList()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevpolicy.c89 wilda = strchr(pa->dps_minornm, '*') != NULL; in qcmp()
90 wildb = strchr(pb->dps_minornm, '*') != NULL; in qcmp()
125 col = strchr(line, ':'); in loadprivs()
209 min = strchr(maj, ':'); in loadpolicy()
213 if (strchr(min, ':') != NULL) { in loadpolicy()

12345678910>>...58