Home
last modified time | relevance | path

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

12345678910>>...54

/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.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/
/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.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()
/illumos-gate/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++;
/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.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()
/illumos-gate/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 …]
/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.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()
/illumos-gate/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)
/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.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()
/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/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/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/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/common/
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.c91 wilda = strchr(pa->dps_minornm, '*') != NULL; in qcmp()
92 wildb = strchr(pb->dps_minornm, '*') != NULL; in qcmp()
127 col = strchr(line, ':'); in loadprivs()
211 min = strchr(maj, ':'); in loadpolicy()
215 if (strchr(min, ':') != NULL) { in loadpolicy()

12345678910>>...54