/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | getlist.c | 122 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 D | tst.strchr.d | 35 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 D | strchr.c | 28 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/od/ |
H A D | od.c | 463 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/cmd/devmgmt/cmds/ |
H A D | getdev.c | 290 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/ldap/ns_ldap/ |
H A D | standalone.c | 64 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/nlsadmin/ |
H A D | nlsadmin.c | 301 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/lib/print/libhttp-core/common/ |
H A D | http-support.c | 134 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/lib/libslp/clib/ |
H A D | SLPParseSrvURL.c | 93 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 D | smb_mangle_name.c | 58 #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 D | mkalias.c | 74 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/cmd/mandoc/ |
H A D | dba_read.c | 55 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/libwrap/ |
H A D | misc.c | 68 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 D | opts.c | 474 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 D | Pexecname.c | 138 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 D | fnmatch.c | 232 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 D | lsdbf.c | 453 if (strlen(bp) && (p = strchr(bp, DBFCOMMENT))) 529 if (!(p = strchr(bp, DBFTOKSEP ))) { /* look for service code string */ 537 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, ','); [all …]
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | plat_ecc_unum.c | 162 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() 415 if ((c = strchr(c, 'D')) == NULL) { in parse_unum_memory() [all …]
|
/illumos-gate/usr/src/head/iso/ |
H A D | string_iso.h | 102 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/libresolv2/common/inet/ |
H A D | inet_net_pton.c | 80 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/ipf/lib/ |
H A D | genmask.c | 19 if (strchr(msk, '.') || strchr(msk, 'x') || strchr(msk, ':')) {
|
H A D | ipft_hx.c | 75 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/cmd/lp/lib/papi/ |
H A D | ppd.c | 48 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 D | utils.c | 168 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/lib/pam_modules/authtok_check/ |
H A D | rules.c | 141 if (strchr("aeiou", string[length - 2])) { in Pluralise() 221 if (strchr("aeiou", c)) { in MatchClass() 229 if (strchr("bcdfghjklmnpqrstvwxyz", c)) { in MatchClass() 236 if (strchr("\t ", input)) { in MatchClass() 243 if (strchr(".`,:;'!?\"", input)) { in MatchClass() 250 if (strchr("$%%^&*()-_+=|\\[]{}#@/~", input)) { in MatchClass() 540 if (!strchr(area, *(++ptr))) { in Mangle() 555 if (strchr(area, *(++ptr))) { in Mangle()
|