Symbol: strchr
bin/csh/csh.h
483
#define Strchr(a, b) strchr(a, b)
bin/csh/sem.c
118
if (strchr("+-", t->t_dcom[1][0])) {
bin/dd/args.c
143
if ((arg = strchr(oper, '=')) == NULL) {
bin/df/df.c
341
(nextcp = strchr(nextcp, ',')) != NULL; i++)
bin/df/df.c
349
(nextcp = strchr(nextcp, ',')) != NULL; i++) {
bin/ed/io.c
339
if (*s && (cp = strchr(ESCAPES, *s)) != NULL)
bin/ed/main.c
1428
if (red && (*s == '!' || !strcmp(s, "..") || strchr(s, '/'))) {
bin/expr/expr.y
352
const char *w = strchr(x, p[0]);
bin/getfacl/getfacl.c
277
if ((p = strchr(pathname, '\n')) != NULL)
bin/hostname/hostname.c
86
if (sflag && (p = strchr(hostname, '.')))
bin/ksh/c_ksh.c
1424
cp = strchr(*wp, '=');
bin/ksh/c_ksh.c
940
char *val = strchr(alias, '=');
bin/ksh/c_sh.c
123
while (*cp && strchr("augo", *cp))
bin/ksh/c_sh.c
132
if (!strchr("=+-", op = *cp))
bin/ksh/c_sh.c
136
while (*cp && strchr("rwxugoXs", *cp))
bin/ksh/c_sh.c
168
} else if (!strchr("=+-", *cp))
bin/ksh/c_sh.c
299
if ((cp = strchr(*wp, '?')) != NULL) {
bin/ksh/c_sh.c
696
unset(vp, strchr(id, '[') ? 1 : 0);
bin/ksh/edit.c
1032
if (strchr("\\$(){}[]?*&;#|<>\"'`", s[add]) || strchr(ifs, s[add])) {
bin/ksh/edit.c
753
iscmd = p < 0 || strchr(";|&()`", buf[p]);
bin/ksh/edit.c
841
|| (s[1] == '(' /*)*/ && strchr("*+?@!", *s)))
bin/ksh/edit.c
968
if (!(p = strchr(sp, PATHSEP)))
bin/ksh/emacs.c
797
|| ((cp = (cp == xep) ? NULL : strchr(cp + 1, c)) == NULL
bin/ksh/emacs.c
798
&& (cp = strchr(xbuf, c)) == NULL))
bin/ksh/eval.c
1185
if ((s = strchr(sp, MAGIC))) {
bin/ksh/eval.c
1191
|| !strchr("*+?@! ", *s & 0x7f))
bin/ksh/eval.c
1320
for (p = exp_start; (p = strchr(p, MAGIC)) && p[1] != OBRACE; p += 2)
bin/ksh/eval.c
251
sp = strchr(sp, 0) + 1;
bin/ksh/eval.c
274
sp = strchr(sp, 0) + 1;
bin/ksh/eval.c
293
sp = strchr(sp, '\0') + 1; /* skip variable */
bin/ksh/eval.c
725
if ((p=strchr(sp,'[')) && (p[1]=='*'||p[1]=='@') && p[2]==']') {
bin/ksh/eval.c
794
if ((p=strchr(sp,'[')) && (p[1]=='*'||p[1]=='@') && p[2]==']') {
bin/ksh/eval.c
908
char *end = strchr(str, 0);
bin/ksh/exec.c
1070
if (!(p = strchr(sp, PATHSEP)))
bin/ksh/history.c
151
if (*wp && **wp && (p = strchr(*wp + 1, '='))) {
bin/ksh/history.c
225
for (s = *hp; (t = strchr(s, '\n')); s = t)
bin/ksh/history.c
307
if ((q = strchr(p, '\n'))) {
bin/ksh/history.c
714
end = strchr(hline + pos, 0); /* will always succeed */
bin/ksh/history.c
791
if ((cp = strchr(c, '\n')) != NULL)
bin/ksh/lex.c
930
&& isspace((unsigned char)strchr(s->u.tblp->val.s, 0)[-1]))
bin/ksh/mail.c
129
if ((mval = strchr(mval, PATHSEP)) != NULL) {
bin/ksh/mail.c
133
for (p = mpath; (mmsg = strchr(p, '%')); ) {
bin/ksh/mail.c
145
mmsg = strchr(mpath, '?');
bin/ksh/main.c
273
|| (!ksheuid && !strchr(str_val(vp), '#')))
bin/ksh/main.c
781
return (p = strchr(name, 'r')) && strstr(p, "sh");
bin/ksh/misc.c
1007
|| !(o = strchr(options, c)))
bin/ksh/misc.c
599
} else if ((c & 0x80) && strchr("*+?@! ", c & 0x7f)) {
bin/ksh/misc.c
827
if ((*p & 0x80) && strchr("*+?@! ", *p & 0x7f))
bin/ksh/sh.h
154
# define ksh_strchr_dirsep(p) strchr(p, DIRSEP)
bin/ksh/var.c
1223
if ((p = strchr(str, '[')) == 0)
bin/ksh/vi.c
749
while ((p = strchr(p, '\0')) && p[1])
bin/pax/ar_io.c
144
if (name && strchr(name, ':') != NULL && !forcelocal) {
bin/pax/file_subs.c
739
spt = strchr(spt, '/');
bin/pax/getoldopt.c
72
place = strchr(optstring, c);
bin/pax/options.c
1975
if ((endpt = strchr(frpt, ',')) != NULL)
bin/pax/options.c
1977
if ((pt = strchr(frpt, '=')) == NULL) {
bin/pax/tty_subs.c
137
if ((pt = strchr(str, '\n')) != NULL)
bin/ps/keyword.c
267
equalsp = strchr(p, '=');
bin/ps/keyword.c
366
hp = strchr(pp, '=');
bin/rcp/rcp.c
205
if ((thost = strchr(argv[argc - 1], '@')) != NULL) {
bin/rcp/rcp.c
225
host = strchr(argv[i], '@');
bin/rcp/rcp.c
301
if ((host = strchr(argv[i], '@')) == NULL) {
bin/sh/alias.c
276
if ((v = strchr(n+1, '=')) == NULL) { /* n+1: funny ksh stuff */
bin/sh/arithmetic.c
439
while ((p = strchr(p, 'L')) != NULL) {
bin/sh/arithmetic.c
443
while ((p = strchr(p, '\n')) != NULL)
bin/sh/eval.c
1714
if (strchr(basename, '/')) {
bin/sh/eval.c
975
p = strchr(sp->text, '=');
bin/sh/exec.c
1159
if (strchr(ap->val, '\n')) {
bin/sh/exec.c
1184
if (strchr(arg, '/') == NULL) {
bin/sh/exec.c
133
if (strchr(argv[0], '/') != NULL) {
bin/sh/exec.c
579
if (strchr(name, '/') != NULL) {
bin/sh/expand.c
1440
if (!strchr(ifs, *p)) {
bin/sh/expand.c
1445
ifsspc = strchr(" \t\n", *p);
bin/sh/expand.c
1476
if (strchr(ifs, *p) == NULL) {
bin/sh/expand.c
1481
strchr(" \t\n", *p) == NULL) {
bin/sh/expand.c
394
if (flag & ifs_split && strchr(ifs, c) != NULL) {
bin/sh/expand.c
413
if (flag & ifs_split && strchr(ifs, c) != NULL) {
bin/sh/expand.c
929
p = strchr(p, '=') + 1;
bin/sh/histedit.c
725
((repl = strchr(argv[0], '=')) != NULL)) {
bin/sh/miscbltin.c
353
if (strchr(ifs, c))
bin/sh/miscbltin.c
354
is_ifs = strchr(" \t\n", c) ? 1 : 2;
bin/sh/miscbltin.c
424
if (!strchr(ifs, *p))
bin/sh/miscbltin.c
426
if (strchr(" \t\n", *p))
bin/sh/output.c
191
const char *s = strchr(p, '\'');
bin/sh/output.c
203
if (strchr(p, '\'') != NULL && p[1] != '\0') {
bin/sh/parser.c
2316
p = strchr(types, c);
bin/sh/parser.c
2559
p = strchr(msg, '\0');
bin/sh/parser.c
686
if (strchr(n->narg.text, '/'))
bin/sh/show.c
936
p = strchr(indent, '\0');
bin/sh/var.c
1229
if (strchr(name, '='))
bin/sh/var.c
266
if (strchr(*envp, '=')) {
bin/sh/var.c
705
return strchr(sp->text, '=') + 1;
bin/sh/var.c
831
q = strchr(p, '\'');
bin/stty/gfmt.c
80
if ((s = strchr(s, ':')) == NULL)
bin/stty/gfmt.c
86
if (!(ep = strchr(p, '=')))
common/dist/zlib/test/minigzip.c
205
gz->write = strchr(mode, 'w') != NULL;
common/lib/libc/stdlib/getopt.c
104
if (strchr(ostr, '-') == NULL)
common/lib/libc/stdlib/getopt.c
112
if (optopt == ':' || (oli = strchr(ostr, optopt)) == NULL) {
common/lib/libc/string/strchr.c
53
__strong_alias(index, strchr)
common/lib/libc/string/strchr.c
55
strchr(const char *p, int ch)
common/lib/libc/string/strpbrk.c
67
return __UNCONST(strchr(s, charset[0]));
common/lib/libprop/prop_data.c
501
posptr = strchr(_prop_data_base64, ch);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
151
strchr("\\,=+<>#;", buf[i+1]) != NULL) {
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
672
if ((idx = strchr(srcaddr, '[')) == NULL)
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
919
p = strchr(*pref, '[');
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
926
p = strchr(*pref, ']');
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
937
p = strchr(*pref, ']');
crypto/dist/ipsec-tools/src/setkey/setkey.c
341
comment = strchr(rbuf, '#');
crypto/dist/ipsec-tools/src/setkey/setkey.c
351
semicolon = strchr(line, ';');
crypto/dist/ipsec-tools/src/setkey/setkey.c
370
semicolon = strchr(line, ';');
dist/pf/sbin/pfctl/parse.y
2708
char *p = strchr($1, ':');
dist/pf/sbin/pfctl/parse.y
3240
if (strchr(pf_timeouts[i].name, '.') == NULL) {
dist/pf/sbin/pfctl/parse.y
3279
char *p = strchr($1, ':');
dist/pf/sbin/pfctl/pfctl.c
2106
mode = strchr("acdefkrz", ch) ? O_RDWR : O_RDONLY;
dist/pf/sbin/pfctl/pfctl.c
394
if ((p = strchr(addr, '/')) == NULL)
dist/pf/sbin/pfctl/pfctl_osfp.c
362
if ((ptr = strchr(wr_name, ' ')) == NULL) {
dist/pf/sbin/pfctl/pfctl_osfp.c
522
if (strchr(version_name, ' '))
dist/pf/sbin/pfctl/pfctl_osfp.c
524
else if (strchr(version_name, '.') &&
dist/pf/sbin/pfctl/pfctl_parser.c
1075
if ((q = strchr(tcpflags, *p)) == NULL)
dist/pf/usr.sbin/authpf/authpf.c
109
cp = strchr(ipsrc, ' ');
dist/pf/usr.sbin/authpf/authpf.c
603
if ((t = strchr(prs.name, '(')) == NULL)
dist/pf/usr.sbin/ftp-proxy/npf.c
165
if ((saddr = strchr(netif, ':')) == NULL) {
dist/pf/usr.sbin/ftp-proxy/npf.c
169
if ((port = strchr(saddr, ':')) == NULL) {
distrib/utils/libhack/getgrent.c
271
if (!strchr(grline, '\n')) {
distrib/utils/libhack/getpwent.c
219
if (!strchr(buf, '\n')) {
distrib/utils/libhack/getpwent.c
279
if (strchr(bp, ':') != NULL)
distrib/utils/libhack/yplib.c
166
if (strchr(dom, '/') != NULL)
distrib/utils/ssh/ssh.c
466
if (strchr(argv[0], '/')) {
games/adventure/save.c
91
s = strchr(coding, letter);
games/arithmetic/arithmetic.c
125
if (!strchr(keylist, *p))
games/arithmetic/arithmetic.c
372
if (op == 0 || (p = strchr(keylist, op)) == NULL)
games/atc/log.c
303
cp = strchr(score[i].host, '.');
games/atc/update.c
274
comm_start = bp = strchr(buf, '\0');
games/atc/update.c
283
bp = strchr(buf, '\0');
games/atc/update.c
288
bp = strchr(buf, '\0');
games/bcd/bcd.c
161
if ((p = strchr(str, '\n')))
games/boggle/boggle/word.c
194
if (strchr(buf, '\n') == NULL) {
games/boggle/mkdict/mkdict.c
76
if ((p = strchr(buf[current], '\n')) == NULL) {
games/gomoku/bdisp.c
275
strchr(allowed, ch) != NULL)
games/gomoku/main.c
419
while (strchr(s, **pp) != NULL)
games/gomoku/main.c
427
const char *found = strchr(s, **pp);
games/hack/hack.c
461
while (!strchr("ynaq ", (c = readchar())))
games/hack/hack.c
685
!mtmp->mpeaceful && !strchr("Ea", mtmp->data->mlet) &&
games/hack/hack.cmd.c
294
if (!(dp = strchr(sdir, sym)))
games/hack/hack.cmd.c
311
if (!strchr(quitchars, dirsym))
games/hack/hack.do_name.c
252
pline("Call %s %s: ", strchr(vowels, *str) ? "an" : "a", str);
games/hack/hack.do_wear.c
124
if (strchr(quitchars, (answer = readchar())))
games/hack/hack.do_wear.c
287
if (strchr(quitchars, (answer = readchar())))
games/hack/hack.dog.c
250
if (!strchr("0_", obj->olet)) {
games/hack/hack.dog.c
505
mtmp->isshk || mtmp->isgd || strchr(" &@12", mtmp->data->mlet))
games/hack/hack.eat.c
458
return (strchr(POISONOUS, CORPSE_I_TO_C(otmp->otyp)) != 0);
games/hack/hack.eat.c
473
} else if (strchr(POISONOUS, let) && rn2(5)) {
games/hack/hack.eat.c
481
} else if (strchr("ELNOPQRUuxz", let) && rn2(5)) {
games/hack/hack.end.c
193
else if (!strchr("bcd", *st1))
games/hack/hack.end.c
199
if (strchr("bcds", *st1)) {
games/hack/hack.end.c
582
strchr(vowels, *t1->death) ? "an " : "a ",
games/hack/hack.end.c
713
} else if (!argv[1][3] && strchr("CFKSTWX", argv[1][2])) {
games/hack/hack.end.c
820
if (!strchr(totchars, "CFKSTWX"[i])) {
games/hack/hack.fight.c
166
if (strchr(mlarge, mdef->data->mlet))
games/hack/hack.fight.c
234
if (strchr(mlarge, mon->data->mlet)) {
games/hack/hack.fight.c
283
if (strchr(UNDEAD, mon->data->mlet))
games/hack/hack.fight.c
400
strchr("XDne", mdat->mlet))
games/hack/hack.fight.c
86
if (strchr("Eauy", pa->mlet))
games/hack/hack.invent.c
416
if (!*let || strchr(let, otmp->olet)) {
games/hack/hack.invent.c
482
if (strchr(quitchars, ilet))
games/hack/hack.invent.c
529
if (!allowall && let && !strchr(let, otmp->olet)) {
games/hack/hack.invent.c
577
if (!strchr(ilets, otmp->olet)) {
games/hack/hack.invent.c
615
else if (strchr("!%?[()=*/\"0", sym)) {
games/hack/hack.invent.c
616
if (!strchr(olets, sym)) {
games/hack/hack.invent.c
653
if (olets && *olets && !strchr(olets, otmp->olet))
games/hack/hack.invent.c
746
if (!lets || !*lets || strchr(lets, ilet)) {
games/hack/hack.invent.c
779
if (!strchr(stuff, otmp->olet)) {
games/hack/hack.invent.c
797
if (strchr(quitchars, c))
games/hack/hack.invent.c
915
(strchr("%*?!", obj->olet) ||
games/hack/hack.lev.c
250
if (strchr(genocided, mtmp->data->mlet)) {
games/hack/hack.lev.c
259
(strchr(MREGEN, mtmp->data->mlet) ? tmoves : tmoves / 20);
games/hack/hack.main.c
298
if (!strchr(sfoo, pm->mlet))
games/hack/hack.makemon.c
100
if (strchr(fut_geno, '@'))
games/hack/hack.makemon.c
111
if (strchr(fut_geno, ptr->mlet))
games/hack/hack.makemon.c
160
|| (in_mklev && strchr("&w;", ptr->mlet) && rn2(5))
games/hack/hack.makemon.c
94
if (strchr(fut_geno, ptr->mlet))
games/hack/hack.makemon.c
98
if (strchr(fut_geno, 'm'))
games/hack/hack.mhitu.c
126
if (!strchr("1&DuxynNF", mdat->mlet))
games/hack/hack.mhitu.c
130
if (strchr(UNDEAD, mdat->mlet) && midnight())
games/hack/hack.mklev.c
786
if (strchr(fut_geno, 'M'))
games/hack/hack.mkobj.c
125
otmp->dknown = strchr("/=!?*", let) ? 0 : 1;
games/hack/hack.mon.c
245
if ((!(moves % 20) || strchr(MREGEN, mdat->mlet)) &&
games/hack/hack.mon.c
258
(!strchr("NL", mdat->mlet) || !rn2(50)) &&
games/hack/hack.mon.c
259
(Aggravate_monster || strchr("d1", mdat->mlet)
games/hack/hack.mon.c
273
if (mtmp->mflee && strchr("tNL", mdat->mlet) && !rn2(40)) {
games/hack/hack.mon.c
296
(strchr("BIuy", mdat->mlet) && !rn2(4)) ||
games/hack/hack.mon.c
305
if (!strchr("Ea", mdat->mlet) && nearby &&
games/hack/hack.mon.c
378
if (strchr("D1", msym))
games/hack/hack.mon.c
398
(strchr("BIy", msym) && !rn2(3)))
games/hack/hack.mon.c
425
likegold = (strchr("LOD", msym) != NULL);
games/hack/hack.mon.c
426
likegems = (strchr("ODu", msym) != NULL);
games/hack/hack.mon.c
466
strchr(UNDEAD, msym) ? NOGARLIC : ALLOW_TRAPS);
games/hack/hack.mon.c
817
!strchr(fut_geno, mdat->mlet))
games/hack/hack.mon.c
834
if (strchr("AcsSDXaeRTVWU&In:P", mdat->mlet))
games/hack/hack.mon.c
836
if (strchr("DeV&P", mdat->mlet))
games/hack/hack.mon.c
900
if (!letter(tmp) || (!strchr("mw", tmp) && !rn2(3)))
games/hack/hack.mon.c
906
if (strchr("NTVm&", mdat->mlet) || rn2(5)) {
games/hack/hack.objnam.c
323
} else if (*p == 'y' && !strchr(vowels, p[-1])) {
games/hack/hack.objnam.c
389
if (!strcmp(prefix, "a ") && strchr(vowels, *bp))
games/hack/hack.objnam.c
399
if (strchr(vowels, *str))
games/hack/hack.objnam.c
649
if (cnt > 0 && strchr("%?!*)", let) &&
games/hack/hack.options.c
100
if ((op = strchr(opts, ',')) != NULL) {
games/hack/hack.options.c
104
if ((op = strchr(opts, ' ')) != NULL) {
games/hack/hack.options.c
167
op = strchr(opts, ':');
games/hack/hack.options.c
175
op = strchr(opts, ':');
games/hack/hack.pager.c
103
ep = strchr(buf, '\n');
games/hack/hack.pager.c
156
ep = strchr(bufr, '\n');
games/hack/hack.pager.c
361
while (((c = readchar()) != 'l') && (c != 's') && !strchr(quitchars, c))
games/hack/hack.pager.c
363
if (!strchr(quitchars, c))
games/hack/hack.read.c
268
if (!strchr(fut_geno, *buf))
games/hack/hack.read.c
270
if (!strchr(genocided, *buf))
games/hack/hack.read.c
490
if (strchr("FY", mtmp->data->mlet))
games/hack/hack.read.c
638
if (strchr("12 &:", ch))
games/hack/hack.rip.c
104
strchr(vowels, *killer) ? " an" : " a");
games/hack/hack.rumors.c
103
if (strchr(line, '\n'))
games/hack/hack.rumors.c
115
if ((ep = strchr(line, '\n')) != 0)
games/hack/hack.shk.c
1142
return (mtmp->mtame || strchr("1TVWZi&, ", mtmp->data->mlet)
games/hack/hack.shk.c
751
|| strchr("_0", obj->olet)) {
games/hack/hack.topl.c
103
if (strchr(toplines, '\n'))
games/hack/hack.topl.c
221
if (!strchr(line, '%'))
games/hack/hack.trap.c
233
if (strchr(mlarge, mtmp->data->mlet)) {
games/hack/hack.trap.c
244
if (!strchr("EywBfk'& ", mtmp->data->mlet)) { /* ab */
games/hack/hack.tty.c
304
if (s && strchr(s, c)) {
games/hack/hack.u_init.c
186
while (!strchr("ynYN \n\004", (exper = readchar())))
games/hack/hack.u_init.c
191
if (strchr("Nn \n", exper)) {
games/hack/hack.u_init.c
395
ep = strchr(ep, ',');
games/hack/hack.u_init.c
439
if ((cp = strchr(rolesyms, pc)) != NULL)
games/hack/hack.unix.c
191
if (strchr(name, '/') != NULL || (path = getenv("PATH")) == NULL)
games/hack/hack.unix.c
195
if ((np = strchr(path, ':')) == NULL)
games/hack/hack.unix.c
531
while ((lp = strchr(s, '.')) || (lp = strchr(s, '/')))
games/hack/hack.zap.c
112
if (strchr(UNDEAD, mtmp->data->mlet)) {
games/hack/hack.zap.c
660
if (strchr("Dg", mon->data->mlet))
games/hack/hack.zap.c
663
if (strchr("YF", mon->data->mlet))
games/hack/hack.zap.c
670
if (strchr("YFgf", mon->data->mlet))
games/hack/hack.zap.c
677
if (strchr(UNDEAD, mon->data->mlet))
games/hangman/playgame.c
57
while (Errors < MAXERRS && strchr(Known, '-') != NULL) {
games/hunt/hunt/hunt.c
683
if ((s = strchr(envp, ',')) == NULL) {
games/hunt/hunt/hunt.c
696
if ((s = strchr(envp, ',')) == NULL) {
games/hunt/hunt/hunt.c
705
if ((s = strchr(envp, ',')) == NULL) {
games/hunt/hunt/hunt.c
714
if ((s = strchr(envp, ',')) == NULL) {
games/hunt/hunt/hunt.c
726
if ((s = strchr(envp, ',')) == NULL) {
games/hunt/hunt/hunt.c
745
if ((s = strchr(envp, ',')) == NULL) {
games/hunt/hunt/otto.c
196
if (strchr(OPPONENT, flbr[i].what) != NULL) {
games/hunt/hunt/otto.c
203
if (strchr(SHOTS, bitem.what) != NULL && !(bitem.what & ON_SIDE)) {
games/hunt/hunt/otto.c
489
if (strchr(PUSHOVER, SCREEN(row, col - 1)) != NULL)
games/hunt/hunt/otto.c
491
else if (strchr(PUSHOVER, SCREEN(row, col + 1)) != NULL)
games/hunt/hunt/otto.c
494
&& strchr(PUSHOVER, SCREEN(row + 1, col)) != NULL)
games/hunt/hunt/otto.c
497
&& strchr(PUSHOVER, SCREEN(row - 1, col)) != NULL)
games/hunt/hunt/otto.c
507
if (strchr(PUSHOVER, SCREEN(row - 1, col)) != NULL)
games/hunt/hunt/otto.c
509
else if (strchr(PUSHOVER, SCREEN(row + 1, col)) != NULL)
games/hunt/hunt/otto.c
512
&& strchr(PUSHOVER, SCREEN(row, col + 1)) != NULL)
games/hunt/hunt/otto.c
515
&& strchr(PUSHOVER, SCREEN(row, col - 1)) != NULL)
games/mille/varpush.c
88
if ((bp = strchr(buf, '\n')) != NULL)
games/monop/execute.c
254
sp = strchr(buf, '\n');
games/monop/execute.c
343
sp = strchr(buf, '\n');
games/monop/execute.c
388
sp = strchr(readbuf, '\n');
games/monop/execute.c
492
s = strchr(attribute, ' ');
games/monop/execute.c
744
s = strchr(txt, ' ');
games/monop/getinp.c
86
if ((sp = strchr(buf, '\n')) != NULL)
games/monop/misc.c
110
sp = strchr(buf, '\n');
games/number/number.c
110
if (strchr(line, '\n') == NULL)
games/phantasia/io.c
233
if (def || strchr(choices, ch) != NULL)
games/pig/pig.c
106
if (strchr("aeiouAEIOU", buf[0]) != NULL) {
games/pig/pig.c
119
!strchr("aeiouyAEIOUY", buf[start]) && start < olen;) {
games/ppt/ppt.c
150
const char *p = strchr(buf, '.');
games/sail/main.c
91
s = strchr(myname, ',');
games/sail/main.c
96
s = strchr(myname, ' ');
games/warp/intrp.c
194
while (*pattern && (!stoppers || !strchr(stoppers,*pattern))) {
games/warp/intrp.c
279
while (*pattern && (!stoppers || !strchr(stoppers,*pattern))) {
games/warp/intrp.c
297
if ((s = strchr(scrbuf,'-')) != NULL)
games/warp/intrp.c
534
if ((c = strchr(s, ',')) != NULL)
games/warp/intrp.c
536
if ((c = strchr(s, ';')) != NULL)
games/warp/intrp.c
547
if ((c = strchr(s, '(')) != NULL)
games/warp/intrp.c
549
if ((c = strchr(s, '-')) != NULL)
games/warp/intrp.c
70
if (strchr(hostname,'.'))
games/warp/score.c
619
} while (tmp != INTRCH && tmp != BREAKCH && !strchr(" rqQ",tmp));
games/warp/score.c
620
if (strchr("qQr",tmp)) {
games/warp/score.c
650
} while (tmp != INTRCH && tmp != BREAKCH && !strchr("nNyY \n\r",tmp));
games/warp/score.c
79
s = strchr(tmpbuf+9, ',');
games/warp/warp.c
381
} while (tmp != INTRCH && tmp != BREAKCH && !strchr(" qQs",tmp));
include/string.h
77
char *strchr(const char *, int);
lib/libbluetooth/bluetooth.c
298
for (i = 5, end = strchr(str, ':');
lib/libbluetooth/bluetooth.c
300
i --, str = end + 1, end = strchr(str, ':')) {
lib/libc/citrus/citrus_iconv.c
354
if (strchr(realsrc, '/') != NULL || strchr(realdst, '/'))
lib/libc/citrus/citrus_prop.c
98
p = strchr(xdigit, _bcs_toupper(ch)); \
lib/libc/citrus/modules/citrus_iso2022.c
1084
if (target == 0 && cs.type == CS94MULTI && strchr("@AB", cs.final)
lib/libc/citrus/modules/citrus_iso2022.c
214
if (!strchr("0123", token[0]) || token[1] != '=')
lib/libc/citrus/modules/citrus_iso2022.c
272
!strchr("0123", token[4]) ||
lib/libc/citrus/modules/citrus_iso2022.c
534
if (*s && strchr("@AB", *s))
lib/libc/citrus/modules/citrus_iso2022.c
543
if (*s && strchr("()*+", *s))
lib/libc/citrus/modules/citrus_iso2022.c
548
if (*s && strchr(",-./", *s))
lib/libc/citrus/modules/citrus_iso2022.c
599
if (1 <= n && string[0] && strchr("\217\216", string[0])) {
lib/libc/citrus/modules/citrus_iso2022.c
657
&& string[1] && strchr("no", string[1])) {
lib/libc/citrus/modules/citrus_iso2022.c
667
&& string[1] && strchr("~}|", string[1])) {
lib/libc/citrus/modules/citrus_iso2022.c
676
&& string[1] && strchr("NO", string[1])) {
lib/libc/compat/gen/compat_timezone.c
73
if ((end = strchr(beg, ',')) != NULL) { /* "PST,PDT" */
lib/libc/compat/net/compat_ns_addr.c
74
if ((hostname = strchr(buf, '#')) != NULL)
lib/libc/compat/net/compat_ns_addr.c
77
hostname = strchr(buf, '.');
lib/libc/compat/net/compat_ns_addr.c
78
if ((cp = strchr(buf, ':')) &&
lib/libc/compat/net/compat_ns_addr.c
93
socketname = strchr(hostname, separator);
lib/libc/gen/execvp.c
78
if (strchr(name, '/')) {
lib/libc/gen/fmtcheck.c
166
if (strchr("diouxX", *f)) {
lib/libc/gen/fmtcheck.c
208
if (strchr("DOU", *f)) {
lib/libc/gen/fmtcheck.c
213
if (strchr("aAeEfFgG", *f)) {
lib/libc/gen/fmtcheck.c
299
f = strchr(f, '%');
lib/libc/gen/fmtcheck.c
312
while (*f && (strchr("#'0- +", *f)))
lib/libc/gen/fmtmsg.c
193
p = strchr(label, ':');
lib/libc/gen/fnmatch.c
161
strchr(string, '/') == NULL ?
lib/libc/gen/fnmatch.c
166
if ((string = strchr(string, '/')) == NULL)
lib/libc/gen/getgrent.c
1449
ep = strchr(filebuf, '\n');
lib/libc/gen/getgrent.c
1469
ep = strchr(filebuf + 1, ':');
lib/libc/gen/getgrent.c
363
ep = strchr(filebuf, '\n');
lib/libc/gen/getgrent.c
697
if ((ep = strchr(hp[0], '\n')) != NULL)
lib/libc/gen/getgroupmembership.c
199
if ((ep = strchr(hp[0], '\n')) != NULL)
lib/libc/gen/getgroupmembership.c
203
if ((cp = strchr(cp, ':')) == NULL) /* skip grpname */
lib/libc/gen/getnetgrent.c
671
(ptr[len] != '\0' && strchr("\n\t ,", ptr[len]) == NULL))
lib/libc/gen/getpwent.c
813
if ((ep = strchr(hp[0], '\n')) != NULL)
lib/libc/gen/getpwent.c
900
if ((ep = strchr(hp[0], '\n')) != NULL)
lib/libc/gen/getpwent.c
964
if ((ep = strchr(hp[0], '\n')) != NULL)
lib/libc/gen/getttyent.c
163
if ((p = strchr(p, '\n')) != NULL)
lib/libc/gen/getttyent.c
219
return (p = strchr(p, '=')) != NULL ? ++p : NULL;
lib/libc/gen/getusershell.c
308
if ((ep = strchr(hp[0], '\n')) != NULL)
lib/libc/gen/popen.c
96
int flags = strchr(*type, 'e') ? O_CLOEXEC : 0;
lib/libc/gen/popen.c
99
if (strchr(*type, '+')) {
lib/libc/gen/posix_spawnp.c
68
if (strchr(file, '/') != NULL)
lib/libc/gen/sysctlgetmibinfo.c
488
dot = strchr(piece, sep[0]);
lib/libc/include/port_before.h
9
strchr((const void *)(c), *(const char *)(const void *)(c)) : NULL)
lib/libc/inet/inet_cidr_pton.c
101
n = strchr(digits, ch) - digits;
lib/libc/inet/inet_cidr_pton.c
182
if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
lib/libc/inet/inet_cidr_pton.c
183
pch = strchr((xdigits = xdigits_u), ch);
lib/libc/inet/inet_cidr_pton.c
269
const char *cp = strchr(digits, ch);
lib/libc/inet/inet_net_pton.c
112
n = strchr(digits, ch) - digits;
lib/libc/inet/inet_net_pton.c
141
n = strchr(digits, ch) - digits;
lib/libc/inet/inet_net_pton.c
206
pch = strchr(digits, ch);
lib/libc/inet/inet_net_pton.c
238
pch = strchr(digits, ch);
lib/libc/inet/inet_net_pton.c
299
if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
lib/libc/inet/inet_net_pton.c
300
pch = strchr((xdigits = xdigits_u), ch);
lib/libc/inet/inet_net_pton.c
89
n = strchr(xdigits, ch) - xdigits;
lib/libc/inet/inet_pton.c
248
if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
lib/libc/inet/inet_pton.c
249
pch = strchr((xdigits = xdigits_u), ch);
lib/libc/locale/generic_lc_all.c
68
tail = __UNCONST(strchr(tokens[1], '/'));
lib/libc/locale/generic_lc_all.c
76
tail = __UNCONST(strchr(tokens[i], '/'));
lib/libc/locale/generic_lc_all.c
82
tail = __UNCONST(strchr(tokens[i], '/'));
lib/libc/locale/newlocale.c
65
tail = __UNCONST(strchr(tokens[0], '/'));
lib/libc/locale/newlocale.c
85
tail = __UNCONST(strchr(tokens[i], '/'));
lib/libc/locale/newlocale.c
93
tail = __UNCONST(strchr(tokens[howmany], '/'));
lib/libc/locale/setlocale.c
169
if (name == NULL || *name == '\0' || strchr(name, '/'))
lib/libc/nameser/ns_name.c
234
if ((cp = strchr(src, ']')) == NULL) {
lib/libc/nameser/ns_name.c
254
else if ((cp = strchr(digits, c)) != NULL) {
lib/libc/nameser/ns_name.c
257
(cp = strchr(digits, c)) == NULL) {
lib/libc/nameser/ns_name.c
263
(cp = strchr(digits, c)) == NULL) {
lib/libc/nameser/ns_print.c
1181
if (strchr("\n\"\\", *rdata) != NULL)
lib/libc/net/base64.c
237
pos = strchr(Base64, ch);
lib/libc/net/getaddrinfo.c
1422
cp = strchr(hostname, SCOPE_DELIMITER);
lib/libc/net/getaddrinfo.c
2422
cp = strchr(p, '\n');
lib/libc/net/gethnamaddr.c
603
if (!strchr(name, '.') && (cp = res_hostalias(res, name,
lib/libc/net/gethnamaddr.c
626
if ((isxdigit((u_char) name[0]) && strchr(name, ':') != NULL) ||
lib/libc/net/getnameinfo.c
407
p = strchr(hp->h_name, '.');
lib/libc/net/hesiod.c
206
p = strchr(bindname, '@');
lib/libc/net/hesiod.c
209
if (strchr(p, '.'))
lib/libc/net/rcmd.c
790
if (strchr(p, '\n') == NULL) {
lib/libc/nls/catopen.c
106
if (lang == NULL || strchr(lang, '/'))
lib/libc/nls/catopen.c
92
if (strchr(name, '/'))
lib/libc/resolv/res_init.c
150
#define ISSORTMASK(ch) (strchr(sort_mask, ch) != NULL)
lib/libc/resolv/res_init.c
313
cp = strchr(buf, '.');
lib/libc/resolv/res_init.c
397
if ((cp = strchr(statp->defdname, '\n')) != NULL)
lib/libc/resolv/res_init.c
533
(cp = strchr(buf, '.')) != NULL)
lib/libc/resolv/res_init.c
550
cp = strchr(cp, '.') + 1; /*%< we know there is one */
lib/libc/rpc/getnetconfig.c
674
tmp = strchr(tmp, '\0') + 1;
lib/libc/rpc/getnetconfig.c
676
tmp = strchr(tmp, '\0') + 1;
lib/libc/rpc/getnetconfig.c
678
tmp = strchr(tmp, '\0') + 1;
lib/libc/rpc/getnetconfig.c
687
tmp = strchr(tmp, '\0') + 1;
lib/libc/rpc/getnetpath.c
256
if ((cp = strchr(npp, token)) == NULL)
lib/libc/rpc/getnetpath.c
280
while ((np = strchr(ep, '\\')) != 0) {
lib/libc/stdio/fparseln.c
182
strchr(buf, esc) != NULL) {
lib/libc/stdio/gettemp.c
107
if (trv < path || NULL != strchr(suffp, '/')) {
lib/libc/stdio/gettemp.c
165
pad = strchr((const char *)padchar, *trv);
lib/libc/stdlib/getopt_long.c
249
(oli = strchr(options + (IGNORE_FIRST ? 1 : 0), optchar)) == NULL) {
lib/libc/stdlib/getopt_long.c
382
if ((has_equal = strchr(current_argv, '=')) != NULL) {
lib/libc/time/zic.c
1339
char *colon = strchr(optarg, ':');
lib/libc/time/zic.c
1495
if (noise && !strchr(benign, c)) {
lib/libc/time/zic.c
1496
warning((strchr(printable_and_not_benign, c)
lib/libc/time/zic.c
1761
return ! (strchr(a, '/') || strchr(b, '/'));
lib/libc/time/zic.c
2279
cp = strchr(fields[i_format], '%');
lib/libc/time/zic.c
2281
if ((*++cp != 's' && *cp != 'z') || strchr(cp, '%')
lib/libc/time/zic.c
2282
|| strchr(fields[i_format], '/')) {
lib/libc/time/zic.c
2556
ep = strchr(dp, '<');
lib/libc/time/zic.c
2560
ep = strchr(dp, '>');
lib/libc/time/zic.c
3163
char const *slashp = strchr(format, '/');
lib/libc/time/zic.c
3777
|| strchr(envvar, ',')));
lib/libc/time/zic.c
4329
while (cp && ((cp = strchr(cp, '/')) || !ancestors)) {
lib/libc/yp/yplib.c
374
if (strchr(dom, '/') != NULL)
lib/libcompat/4.3/ruserpass.c
126
if ((mydomain = strchr(myname, '.')) == NULL)
lib/libcompat/4.3/ruserpass.c
146
if ((ctmp = strchr(host, '.')) != NULL &&
lib/libcompat/regexp/regexp.c
1120
while (*scan != '\0' && strchr(opnd, *scan) != NULL) {
lib/libcompat/regexp/regexp.c
1126
while (*scan != '\0' && strchr(opnd, *scan) == NULL) {
lib/libcompat/regexp/regexp.c
817
while ((s = strchr(s, prog->regmust[0])) != NULL) {
lib/libcompat/regexp/regexp.c
840
while ((s = strchr(s, prog->regstart)) != NULL) {
lib/libcompat/regexp/regexp.c
964
if (*reginput == '\0' || strchr(OPERAND(scan), *reginput) == NULL)
lib/libcompat/regexp/regexp.c
969
if (*reginput == '\0' || strchr(OPERAND(scan), *reginput) != NULL)
lib/libcurses/ctrace.c
102
seencr = (strchr(fmt, '\n') != NULL);
lib/libcurses/setterm.c
349
const char *end = strchr(src + 2, '>');
lib/libedit/chared.h
113
#define isglob(a) (strchr("*[]?", (a)) != NULL)
lib/libedit/filecomplete.c
79
pos = strchr(txt + 1, '/');
lib/libedit/readline.c
1060
&& !strchr(history_no_expand_chars, str[j + 1])
lib/libedit/readline.c
1195
strchr("()<>;&|$", str[i])))
lib/libedit/readline.c
1197
else if (!delim && strchr("'`\"", str[i]))
lib/libedit/readline.c
275
while ((p = strchr(rl_prompt, RL_PROMPT_END_IGNORE)) != NULL) {
lib/libedit/readline.c
831
if (strchr(":^*$", command[offs + 1])) {
lib/libedit/readline.c
879
else if (strchr("^*$-0123456789", *cmd)) {
lib/libedit/terminal.c
895
terminal_alloc(el, t, tgetstr(strchr(t->name, *t->name),
lib/libedit/tokenizer.c
74
#define Strchr(s, c) strchr(s, c)
lib/libintl/gettext.c
184
p = strchr(translation, '\004');
lib/libintl/gettext.c
331
if (strchr(p, '/') || strchr(category, '/'))
lib/libintl/gettext.c
334
if (strchr(domainname, '/'))
lib/libintl/gettext.c
723
char *newline = strchr(mohandle->mo.mo_charset, '\n');
lib/libpam/libpam/pam_debug_log.c
62
period = strchr(modname, '.');
lib/libpam/libpam/pam_debug_log.c
64
period = strchr(modname, '\0');
lib/libpam/modules/pam_guest/pam_guest.c
64
if ((next = strchr(list, ',')) == NULL)
lib/libpam/modules/pam_guest/pam_guest.c
65
next = strchr(list, '\0');
lib/libpam/modules/pam_krb5/pam_krb5.c
273
if (strchr(user, '@')) {
lib/libpam/modules/pam_login_access/login_access.c
228
if (strchr(string, '.') == 0)
lib/libquota/quota_oldfiles.c
147
s = strchr(opt, '=');
lib/libresolv/hmac_link.c
352
eol = strchr(p, '\n');
lib/libresolv/res_mkupdate.c
809
(int)(strchr(digits, c) - digits);
lib/librmt/rmtlib.c
613
if ((path = strchr(path, ':')) != NULL) {
lib/librt/shm.c
106
if (*name++ != '/' || strchr(name, '/') != NULL) {
lib/librumphijack/hijack.c
748
for (nblanket = 0, p = buf; p; p = strchr(p+1, ':'), nblanket++)
lib/librumphijack/hijack.c
929
p2 = strchr(p, '=');
lib/librumpuser/sp_common.c
559
p = strchr(addr, ':');
lib/libterminfo/compile.c
614
alias = strchr(name, '|');
lib/libterminfo/compile.c
673
p = strchr(token, '=');
lib/libterminfo/compile.c
711
p = strchr(token, '#');
lib/libterminfo/compile.c
92
delim = strchr(buf, '|');
lib/libterminfo/term.c
250
s = strchr(alias, '|');
lib/libterminfo/termcap.c
536
p = strchr(name, '=');
lib/libterminfo/tputs.c
111
strchr(str + 3, '>') == NULL)
lib/libukfs/ukfs.c
302
comma = strchr(p, ',');
lib/libukfs/ukfs.c
307
pers = strchr(comma, '%');
lib/libusbhid/usage.c
221
sep = strchr(name, ':');
lib/libutil/getfsspecname.c
69
if (strncasecmp(name, "ROOT.", 5) == 0 && strchr(name, ':') == NULL) {
lib/libutil/getmntopts.c
166
p = strchr(opt, '=');
lib/libutil/login_cap.c
534
if ((ptr = strchr(res[i], '=')) != NULL)
lib/libutil/opendisk.c
94
if (strchr(path, '/') == NULL) {
lib/libutil/passwd.c
400
if (!strchr(buf, '\n')) {
lib/libutil/passwd.c
417
if (!(p = strchr(buf, ':'))) {
lib/libutil/passwd.c
541
if ((p = strchr(line, '\n')) == NULL) {
lib/libutil/passwd.c
548
if ((p = strchr(line, '#')) != NULL)
lib/libutil/passwd.c
612
if (line[0] != '\0' && strchr(line + 1, ':') != NULL) {
lib/libutil/pidfile.c
202
if (path == NULL || strchr(path, '/') == NULL) {
lib/libutil/pidfile.c
243
if (path == NULL || strchr(path, '/') == NULL) {
lib/libutil/pidlock.c
135
if ((p = strchr(s, '\n')) != NULL)
lib/libutil/sockaddr_snprintf.c
210
if ((w = strchr(addr, ':')) != NULL) {
lib/libwrap/hosts_access.c
323
return (strchr(name, '.') == 0 && HOSTNAME_KNOWN(name));
lib/libwrap/rfc931.c
222
if ((cp = strchr(user, '\r')) != NULL)
lib/libwrap/socket.c
70
if (strchr(name, '.') == 0 || strlen(name) + 2 > sizeof(hbuf))
libexec/comsat/comsat.c
193
if (!(cp = strchr(name, '@')))
libexec/comsat/comsat.c
231
if (strchr(cr, '/')) {
libexec/comsat/comsat.c
322
if ((nl = strchr(line, '\n')) != NULL)
libexec/fingerd/fingerd.c
159
if (no_forward && strchr(*ap, '@')) {
libexec/ftpd/cmds.c
324
if ((ep = strchr(command, ' ')) != NULL)
libexec/ftpd/cmds.c
355
if (strchr(ep, ' ') != NULL || ep[len - 1] != ';') {
libexec/ftpd/ftpcmd.y
1117
path = strchr($1 + 1, '/');
libexec/ftpd/ftpcmd.y
1512
if ((cp = strchr(cmdp, '\r'))) {
libexec/ftpd/ftpcmd.y
1742
if ((cp = strchr(cmdp,'\n')) != NULL)
libexec/ftpd/ftpd.c
1106
if ((p = strchr(word, '@')) != NULL) {
libexec/ftpd/ftpd.c
1147
if ((p = strchr(word, ':')) != NULL) {
libexec/ftpd/ftpd.c
1820
if ((cp = strchr(line, '\n')) != NULL)
libexec/ftpd/ftpd.c
3281
q = strchr(p, delim);
libexec/ftpd/ftpd.c
347
if ((p = strchr(optarg, '@')) != NULL) {
libexec/ftpd/ftpd.c
656
if ((cp = strchr(line, '\n')) != NULL)
libexec/getNAME/getNAME.c
492
cp = strchr(line, '-');
libexec/getNAME/getNAME.c
502
cp = strchr(dp, ',');
libexec/getty/subr.c
613
while ((q = strchr(q, ',')) != NULL) {
libexec/httpd/auth-bozo.c
167
(pass = strchr(authbuf, ':')) == NULL)
libexec/httpd/auth-bozo.c
99
if ((pass = strchr(user, ':')) == NULL)
libexec/httpd/bozohttpd.c
1342
if ((s = strchr(request->hr_host, '/')) != NULL)
libexec/httpd/bozohttpd.c
1344
s = strchr(file, '/');
libexec/httpd/bozohttpd.c
1562
if ((s = strchr(str, '%')) == NULL)
libexec/httpd/bozohttpd.c
1671
if (strchr(file + 2, '/') == NULL) {
libexec/httpd/bozohttpd.c
314
*query = strchr(*file, '?');
libexec/httpd/bozohttpd.c
519
minorstr = strchr(majorstr, '.');
libexec/httpd/bozohttpd.c
873
if (strchr(request->hr_range, ',') == NULL) {
libexec/httpd/bozohttpd.c
876
rstart = strchr(request->hr_range, '=');
libexec/httpd/bozohttpd.c
879
dash = strchr(rstart, '-');
libexec/httpd/cgi-bozo.c
224
if (strchr(query, '='))
libexec/httpd/cgi-bozo.c
235
for (s = str; (s = strchr(s, '+')) != NULL; (*args_len)++)
libexec/httpd/cgi-bozo.c
242
for (s = str, i = 1; (s = strchr(s, '+')) != NULL; i++) {
libexec/httpd/cgi-bozo.c
293
strchr(UNRESERVED_CHAR, *s)) {
libexec/httpd/cgi-bozo.c
311
if (strchr(XRESERVED_CHAR, *s)) {
libexec/httpd/cgi-bozo.c
465
if ((s = strchr(command, '/')) != NULL) {
libexec/httpd/dir-index-bozo.c
173
} else if (strchr(name, ':') != NULL) {
libexec/httpd/lua-bozo.c
256
v = strchr(s, '=');
libexec/httpd/lua-bozo.c
340
p = strchr(prefix, '/');
libexec/httpd/lua-bozo.c
347
p = strchr(handler, '/');
libexec/httpd/lua-bozo.c
352
if ((s = strchr(command, '/')) != NULL) {
libexec/httpd/tilde-luzah-bozo.c
66
user = strchr(request->hr_file + 1, '~');
libexec/httpd/tilde-luzah-bozo.c
73
if ((s = strchr(user, '/')) != NULL) {
libexec/ld.elf_so/paths.c
218
const char *ep = strchr(bp, ':');
libexec/ld.elf_so/search.c
130
if (strchr(name, '/') != NULL) { /* Hard coded pathname */
libexec/lfs_cleanerd/lfs_cleanerd.c
905
for (cp = pidname; cp != NULL; cp = strchr(cp, '/'))
libexec/makewhatis/makewhatis.c
1005
strchr(ptr, '[') != NULL) {
libexec/makewhatis/makewhatis.c
460
if ((ext = strchr(sectionext, ptr[len])) != NULL) {
libexec/makewhatis/makewhatis.c
479
while ((ptr = strchr(ptr, '.')) != NULL) {
libexec/makewhatis/makewhatis.c
641
if ((ptr = strchr(buffer, '(')) != NULL) {
libexec/makewhatis/makewhatis.c
642
if ((last = strchr(ptr + 1, ')')) !=NULL) {
sbin/bioctl/bioctl.c
208
targ = strchr(parse, ':');
sbin/bioctl/bioctl.c
213
lun = strchr(targ, '.');
sbin/ccdconfig/ccdconfig.c
543
else if (strchr(dev, '/') == NULL)
sbin/ccdconfig/ccdconfig.c
561
if (strchr((char *)dkw.dkw_wname, '\n') != NULL ||
sbin/ccdconfig/ccdconfig.c
562
strchr((char *)dkw.dkw_wname, ' ') != NULL ||
sbin/ccdconfig/ccdconfig.c
563
strchr((char *)dkw.dkw_wname, '\t') != NULL)
sbin/cgdconfig/cgdconfig.c
583
tmp = strchr(p, '\n');
sbin/chown/chown.c
166
if ((cp = strchr(*argv, ':')) != NULL) {
sbin/disklabel/main.c
1728
tp = strchr(cp, ':'); /* everything has a colon in it */
sbin/dump/dumprmt.c
124
if ((cp = strchr(rmtpeer, '@')) != NULL) {
sbin/dump/main.c
413
if ((cp = strchr(tape, ':')) != NULL) {
sbin/dump/tape.c
660
if (nexttape || strchr(tape, ',')) {
sbin/dump/tape.c
663
if ((p = strchr(tape, ',')) != NULL) {
sbin/efi/showvar.c
272
if ((cp = strchr(buf, ',')) || (cp = strchr(buf, '<'))) {
sbin/fdisk/fdisk.c
1058
if (strchr(name, '/') == 0)
sbin/fdisk/fdisk.c
343
if ((ptr = strchr(arg, '/')) != NULL)
sbin/fdisk/fdisk.c
355
if ((ptr = strchr(arg, '/')) != NULL)
sbin/fdisk/fdisk.c
366
if ((ptr = strchr(arg, '/')) != NULL)
sbin/fdisk/fdisk.c
482
if (strchr(optarg, '/') != NULL &&
sbin/fsck/fsck.c
449
if ((newoptions = strchr(optstr, ':')) == NULL)
sbin/fsck/fsck.c
534
p = strchr(p, '=');
sbin/fsdb/fsdb.c
1615
p = strchr(name, '.');
sbin/gpt/label.c
112
p = strchr(*name, '\n');
sbin/ifconfig/ifconfig.c
361
return flags != NULL && strchr(flags, flag) != NULL;
sbin/ifconfig/util.c
97
if (sep != NULL && strchr(sep, *val) != NULL) {
sbin/init/init.c
725
if ((p = strchr(altshell, '\n')) != NULL)
sbin/iscsictl/iscsic_parse.c
69
sp = strchr(str, ']');
sbin/iscsictl/iscsic_parse.c
76
sp = strchr(sp, ':');
sbin/iscsictl/iscsic_parse.c
78
if (strchr(sp + 1, ':') != NULL) {
sbin/iscsictl/iscsic_parse.c
96
sp = strchr(str, ']');
sbin/ldconfig/ldconfig.c
202
if ((c = strchr(line, '#')) == NULL)
sbin/modload/main.c
230
value = strchr(name, '=');
sbin/mount/mount.c
650
if ((buf = strchr(buf, '\n')) != NULL)
sbin/mount/mount.c
706
p = strchr(p, '=');
sbin/mount/vfslist.c
93
while ((nextcp = strchr(nextcp, ',')) != NULL) {
sbin/mount_lfs/mount_lfs.c
247
while((cp = strchr(pidname + off, '/')) != NULL)
sbin/mount_lfs/mount_lfs.c
257
while((cp = strchr(pidname + off, '/')) != NULL)
sbin/mount_nfs/getnfsargs.c
120
if ((delimp = strchr(spec, '@')) != NULL) {
sbin/mount_nfs/getnfsargs_small.c
202
if ((delimp = strchr(spec, '@')) != NULL) {
sbin/mount_portal/pt_tcp.c
77
q = strchr(p, '/');
sbin/mount_portal/pt_tcp.c
85
q = strchr(p, '/');
sbin/mount_qemufwcfg/virtdir.c
203
*from != '\0' && strchr(from, '/') == NULL) {
sbin/mount_qemufwcfg/virtdir.c
62
for (slash = name + 1 ; (slash = strchr(slash + 1, '/')) != NULL ; ) {
sbin/newfs/newfs.c
428
if (strchr(appleufs_volname, ':') || strchr(appleufs_volname, '/'))
sbin/newfs_lfs/newfs.c
279
if (strchr(special, '/') == NULL) {
sbin/newfs_msdos/mkfs_msdos.c
464
if (!strchr(bname, '/')) {
sbin/newfs_msdos/mkfs_msdos.c
973
if (c < ' ' + !i || strchr("\"*+,./:;<=>?[\\]|", c))
sbin/newfs_msdos/newfs_msdos.c
191
if (strchr(fname, '/') == NULL && o.create_size == 0) {
sbin/ping6/ping6.c
2470
p = strchr(name, '.');
sbin/resize_ffs/resize_ffs.c
2127
ptn = strchr(dev_name, '\0')[-1] - 'a';
sbin/restore/tape.c
239
if ((cp = strchr(source, ':')) != NULL) {
sbin/restore/utilities.c
67
start = strchr(name, '/');
sbin/route/route.c
1004
while ((p = strchr(n, ',')) != NULL) {
sbin/route/route.c
896
t = strchr (s, '.');
sbin/route/route.c
935
if ((t = strchr(s, '/')) != NULL && which == RTA_DST) {
sbin/route/rtutil.c
443
(cp = strchr(domain, '.')))
sbin/route/rtutil.c
522
if ((p = strchr(hp->h_name, '.')) &&
sbin/routed/main.c
189
p = strchr(optarg,',');
sbin/routed/rtquery/rtquery.c
253
p = strchr(optarg,'=');
sbin/sysctl/sysctl.c
1028
if ((c = strchr(nname, ',')) != NULL)
sbin/sysctl/sysctl.c
1037
if ((t = strchr(key, '=')) != NULL) {
sbin/sysctl/sysctl.c
1055
if ((c = strchr(value, ',')) != NULL)
sbin/sysctl/sysctl.c
1530
value = strchr(l, '=');
sbin/sysctl/sysctl.c
459
t = strchr(i, sep[0]);
sbin/sysctl/sysctl.c
853
if ((value = strchr(l, '=')) != NULL) {
sbin/sysctl/sysctl.c
879
if ((value = strchr(key, '=')) != NULL)
sbin/umbctl/umbctl.c
215
if((p = strchr(buf, '=')) != NULL)
sbin/wsconsctl/util.c
424
p = strchr(val, '.');
sbin/wsconsctl/util.c
435
p = strchr(p, '.');
sbin/wsconsctl/util.c
477
p = strchr(p, ',');
sbin/wsconsctl/wsconsctl.c
186
p = strchr(argv[i], '=');
share/examples/refuse/fanoutfs/fanoutfs.c
147
while ((slash = strchr(slash, '/')) != NULL) {
share/examples/refuse/ian/ian/ian.c
74
if ((cp = strchr(url, ':')) == NULL) {
share/examples/refuse/ian/libfetch/common.h
122
#define CHECK_FLAG(x) (flags && strchr(flags, (x)))
share/examples/refuse/ian/libfetch/fetch.c
324
strchr(URL, '/') == NULL && strchr(URL, ':') == NULL))
share/examples/refuse/ian/libfetch/fetch.c
347
if (*p == '[' && (q = strchr(p + 1, ']')) != NULL &&
share/examples/refuse/ian/libfetch/file.c
137
p = strchr(fn, 0);
share/examples/refuse/ian/libfetch/ftp.c
1075
if (flags != NULL && strchr(flags, 'd') != NULL)
share/examples/refuse/ian/libfetch/http.c
657
if (!*p || strchr(++p, ':') == NULL)
share/examples/refuse/ian/libfetch/http.c
662
pwd = strchr(str, ':');
share/examples/refuse/ian/libfetch/http.c
738
if (flags != NULL && strchr(flags, 'd') != NULL)
share/examples/refuse/ian/libfetch/http.c
862
if (strchr(url->host, ':')) {
share/examples/refuse/pcifs/pcifs.c
169
if ((cp = strchr(buf, ' ')) == NULL) {
share/examples/refuse/virtdir/virtdir.c
234
strchr(from, '/') == NULL) {
share/examples/refuse/virtdir/virtdir.c
75
for (slash = name + 1 ; (slash = strchr(slash + 1, '/')) != NULL ; ) {
sys/arch/acorn32/stand/lib/devopen.c
48
p = strchr(fname, ':');
sys/arch/acorn32/stand/nbfs/nbfs.c
336
if (strchr(":*#$&@^%\\", *f++) != NULL)
sys/arch/alpha/stand/common/boot.c
119
if (strchr(boot_flags, 'i') || strchr(boot_flags, 'I')) {
sys/arch/alpha/stand/netboot/devopen.c
93
} else if (strchr(cp, '(')) {
sys/arch/alpha/stand/netboot/if_prom.c
151
enet_addr = strchr(enet_addr, ' ');
sys/arch/amiga/dev/ite.c
1748
cp = strchr(ip->argbuf, ';');
sys/arch/amiga/dev/ite.c
1858
cp = strchr(ip->argbuf, ';');
sys/arch/amiga/dev/ite.c
960
char *cp = strchr(in, c);
sys/arch/amiga/dev/ite.c
988
strchr("ABCD", str[3]))
sys/arch/amiga/stand/binpatch/binpatch.c
403
char *sb = strchr(symbol, '[');
sys/arch/amiga/stand/binpatch/binpatch.c
406
char *eb = strchr(symbol, ']');
sys/arch/arc/stand/boot/boot.c
195
if (((strchr(argv[i], '=')) == NULL) && (argv[i][0] != '-')) {
sys/arch/arc/stand/boot/boot.c
207
if (strchr(kernel, '('))
sys/arch/arm/broadcom/bcm283x_platform.c
908
x = strchr(s, 'x');
sys/arch/arm/samsung/exynos_gpio.c
442
p = strchr(name, '-');
sys/arch/atari/dev/ite.c
1022
char *cp = strchr(in, code);
sys/arch/atari/dev/ite.c
1051
strchr("ABCD", str[3]))
sys/arch/atari/dev/ite.c
1856
cp = strchr(sc->argbuf, ';');
sys/arch/atari/dev/ite.c
1973
cp = strchr(sc->argbuf, ';');
sys/arch/atari/stand/ahdilabel/ahdilabel.c
318
if ((strchr (buf, '/') != NULL) &&
sys/arch/atari/stand/installboot/installboot.c
142
if (!strchr(argv[0], '/')) {
sys/arch/cobalt/cobalt/machdep.c
407
if ((equ = strchr(work, '=')) != NULL) {
sys/arch/cobalt/cobalt/machdep.c
457
work = strchr(proc, sep);
sys/arch/cobalt/stand/boot/boot.c
167
end = strchr(sp, ' ');
sys/arch/cobalt/stand/boot/boot.c
190
end = strchr(sp, ' ');
sys/arch/cobalt/stand/boot/boot.c
239
ptr = strchr(spec, ' ');
sys/arch/cobalt/stand/boot/boot.c
259
ptr = strchr(spec, ' ');
sys/arch/cobalt/stand/boot/devopen.c
59
if ((col = strchr(fname, ':')) != NULL) {
sys/arch/evbarm/iyonix/iyonix_machdep.c
921
if ( (ptr = strchr(boot_consdev, ' ')) )
sys/arch/evbmips/cavium/machdep.c
448
rootspec = strchr(arg, '=') + 1;
sys/arch/evbmips/stand/sbmips/common/boot.c
120
if (strchr(boot_flags, 'i') || strchr(boot_flags, 'I')) {
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
93
} else if (strchr(cp, '(')) {
sys/arch/evbppc/nintendo/machdep.c
329
p = strchr(p, ' ');
sys/arch/evbppc/stand/wii/sdmmc.c
172
if (strchr(fname, ':') == NULL) {
sys/arch/evbppc/stand/wii/sdmmc.c
179
*pfile = strchr(fname, ':') + 1;
sys/arch/hp300/dev/dnkbd.c
477
end = strchr(word, '\r');
sys/arch/hpcmips/stand/lcboot/main.c
390
if ((opt = strchr(arg, ' ')) == NULL) {
sys/arch/hppa/stand/boot/boot.c
152
if (strchr(name, ':') != 0) {
sys/arch/hppa/stand/common/dev_hppa.c
74
if (!(*file = strchr(fname, ':')))
sys/arch/hppa/stand/common/lif.c
249
if ((p = strchr(name, ' ')))
sys/arch/i386/stand/boot/boot2.c
193
if ((col = strchr(fname, ':')) != NULL) { /* device given */
sys/arch/i386/stand/boot/boot2.c
501
if (strchr(filename + 1, '/') == NULL) {
sys/arch/i386/stand/boot/boot2.c
547
if (strchr(arg, ':') == NULL ||
sys/arch/i386/stand/boot/boot2.c
587
sep = strchr(arg, ',');
sys/arch/i386/stand/dosboot/main.c
342
if (!strchr(arg, ':') ||
sys/arch/i386/stand/dosboot/main.c
99
if (strcmp(current_fsmode, "dos") && (col = strchr(fname, ':'))) {
sys/arch/i386/stand/efiboot/boot.c
163
if ((col = strchr(fname, ':')) != NULL) { /* device given */
sys/arch/i386/stand/efiboot/boot.c
486
if (strchr(filename + 1, '/') == NULL) {
sys/arch/i386/stand/efiboot/boot.c
532
if (strchr(arg, ':') == NULL ||
sys/arch/i386/stand/efiboot/boot.c
598
sep = strchr(arg, ',');
sys/arch/i386/stand/efiboot/boot.c
601
sep2 = strchr(sep, ',');
sys/arch/i386/stand/efiboot/boot.c
615
cp = strchr(arg, (int)',');
sys/arch/i386/stand/efiboot/devopen.c
217
filename = strchr(fname, ':');
sys/arch/i386/stand/efiboot/devopen.c
248
filename = strchr(bootfile, ':');
sys/arch/i386/stand/efiboot/devopen.c
266
filename = fname ? strchr(fname, ':') : NULL;
sys/arch/i386/stand/efiboot/eficons.c
622
if (strchr(arg, 'x') != NULL) {
sys/arch/i386/stand/efiboot/eficons.c
751
if (strchr(arg, 'x') != NULL) {
sys/arch/i386/stand/lib/biosdisk.c
1350
sep = strchr(name, ':');
sys/arch/i386/stand/lib/exec.c
557
if (strchr(path, ':') != NULL) {
sys/arch/i386/stand/lib/exec.c
583
if ((p = strchr(name, ':')) != NULL) {
sys/arch/i386/stand/lib/pcio.c
275
char *cp = strchr(CONSOLE_KEYMAP, c);
sys/arch/i386/stand/lib/vbe.c
237
p = strchr(p, 'x');
sys/arch/i386/stand/lib/vbe.c
244
p = strchr(p, 'x');
sys/arch/i386/stand/lib/vbe.c
441
} else if (strchr(arg, 'x') != NULL) {
sys/arch/i386/stand/pxeboot/devopen.c
105
if (strchr(bootfile, ':'))
sys/arch/i386/stand/pxeboot/devopen.c
108
filename = (fname ? strchr(fname, ':') : NULL);
sys/arch/i386/stand/pxeboot/main.c
258
sep = strchr(arg, ',');
sys/arch/ia64/stand/common/boot.c
253
spec = strchr(spec, ';');
sys/arch/ia64/stand/common/boot.c
259
if ((ep = strchr(spec, ';')) != NULL) {
sys/arch/ia64/stand/common/commands.c
95
ep = strchr(cp, ' ');
sys/arch/ia64/stand/common/environment.c
172
if ((value = strchr(copy, '=')) != NULL)
sys/arch/ia64/stand/common/fileload.c
238
return (cp != name || strchr(name, '/') != NULL);
sys/arch/ia64/stand/common/interp_parse.c
144
PARSE_FAIL((q = strchr(p, token)) == NULL);
sys/arch/ia64/stand/efi/libefi/devicename.c
63
(strchr(devspec, ':') == NULL)) {
sys/arch/ia64/stand/efi/libefi/efifs_ls.c
121
while ((fname = strchr(fname, pc)))
sys/arch/ia64/stand/ia64/ski/devicename.c
59
(strchr(devspec, ':') == NULL)) {
sys/arch/iyonix/iyonix/iyonix_machdep.c
893
if ( (ptr = strchr(boot_consdev, ' ')) )
sys/arch/landisk/stand/boot/boot2.c
126
if((col = strchr(fname, ':'))) { /* device given */
sys/arch/landisk/stand/boot/boot2.c
439
if ((options = strchr(arg, ' ')) == NULL)
sys/arch/luna68k/stand/boot/ls.c
44
strcpy(strchr(filename, ')')+1, "/");
sys/arch/luna68k/stand/boot/ls.c
47
if (*(strchr(argv[1], ')') + 1) == 0)
sys/arch/mmeye/stand/boot/devopen.c
59
if ((col = strchr(fname, ':')) != NULL) {
sys/arch/news68k/stand/boot/devopen.c
71
cp = strchr(devname, ')') + 1;
sys/arch/news68k/stand/boot/devopen.c
83
*file = strchr(fname, ')') + 1;
sys/arch/newsmips/stand/boot/boot.c
121
if (strchr(devname, '(') == NULL)
sys/arch/newsmips/stand/boot/devopen.c
101
*file = strchr(fname, ')') + 1;
sys/arch/newsmips/stand/boot/devopen.c
82
cp = strchr(romdev.devname, ')') + 1;
sys/arch/next68k/stand/boot/boot.c
129
kernel_args = strchr(kernel, ')');
sys/arch/next68k/stand/boot/boot.c
132
kernel_args = strchr(kernel_args, ' ');
sys/arch/powerpc/oea/ofw_autoconf.c
119
cp1 = strchr(bootpath, ':');
sys/arch/powerpc/oea/ofw_autoconf.c
120
cp2 = strchr(bootpath, ',');
sys/arch/powerpc/oea/ofw_autoconf.c
218
if (strchr(lastp, '@') == NULL) {
sys/arch/powerpc/oea/ofw_autoconf.c
429
p = strchr(cp, '@');
sys/arch/powerpc/oea/ofw_autoconf.c
432
p = strchr(bp, '@');
sys/arch/powerpc/oea/ofw_autoconf.c
534
bp = strchr(bp, '/');
sys/arch/powerpc/powerpc/db_interface.c
662
if (strchr(modif, 'v') && !(tlbhi & TLB_VALID))
sys/arch/prep/prep/autoconf.c
327
cp = strchr(bootpath, ':');
sys/arch/sandpoint/stand/altboot/main.c
508
if ((p = strchr(module_base, ':')) == NULL)
sys/arch/sbmips/stand/common/boot.c
120
if (strchr(boot_flags, 'i') || strchr(boot_flags, 'I')) {
sys/arch/sbmips/stand/netboot/devopen.c
93
} else if (strchr(cp, '(')) {
sys/arch/sgimips/dev/crmfb.c
1864
x = strchr(modestr, 'x');
sys/arch/sgimips/dev/crmfb.c
1865
at = strchr(modestr, '@');
sys/arch/sgimips/sgimips/arcemu.c
191
strlcpy(dest, strchr(env[i], '=') + 1, len);
sys/arch/sgimips/sgimips/machdep.c
411
if (argc > 1 && strchr(argv[1], '=') != 0)
sys/arch/sgimips/stand/common/boot.c
198
if (((strchr(argv[1], '=')) == NULL) && (argv[1][0] != '-'))
sys/arch/sgimips/stand/common/boot.c
207
if (strchr(kernel, '('))
sys/arch/sgimips/stand/common/iris_parse.c
58
ep = strchr(bootpath, '(');
sys/arch/sgimips/stand/undist/undist.c
278
dot = strchr(file, '.');
sys/arch/sgimips/stand/undist/undist.c
280
dot = strchr(dot + 1, '.');
sys/arch/sgimips/stand/undist/undist.c
803
slash = strchr(start, '/');
sys/arch/shark/shark/shark_machdep.c
434
char *cp = strchr(boot_component, '@');
sys/arch/shark/shark/shark_machdep.c
448
char *cp = strchr(boot_component, '@');
sys/arch/sparc/sparc/promlib.c
533
if (strchr(name, ','))
sys/arch/sparc/sparc/promlib.c
540
if ((cp = strchr(buf, ',')) != NULL) {
sys/arch/sparc/stand/common/promdev.c
125
if ((partition = strchr(prom_bootdevice, ':')) != NULL &&
sys/arch/sparc64/dev/lom.c
1153
p = strchr(name, '.');
sys/arch/sparc64/sparc64/autoconf.c
690
if (((c = strchr(machine_banner, '(')) != NULL) &&
sys/arch/usermode/usermode/machdep.c
161
char *mac = strchr(tap, ',');
sys/arch/usermode/usermode/machdep.c
195
h = strchr(w, 'x');
sys/arch/usermode/usermode/machdep.c
201
p = strchr(h, ',');
sys/arch/usermode/usermode/machdep.c
234
p = strchr(t, ',');
sys/arch/vax/boot/boot/boot.c
175
if ((d = strchr(c, ' ')))
sys/arch/vax/boot/boot/boot.c
209
if ((arg = strchr(arg, ' '))) {
sys/arch/vax/boot/boot/devopen.c
76
if ((s = strchr((char *)fname, '('))) {
sys/arch/vax/boot/boot/devopen.c
92
if ((c = strchr(s, ')')) == 0)
sys/arch/x68k/dev/ite.c
1788
cp = strchr(ip->argbuf, ';');
sys/arch/x68k/dev/ite.c
1943
cp = strchr(ip->argbuf, ';');
sys/arch/x68k/dev/ite.c
2482
cp = strchr(ip->ap, ';');
sys/arch/x68k/dev/ite.c
2675
if (strchr(ip->argbuf, ';')) {
sys/arch/x68k/dev/ite.c
876
char *cp = strchr(in, code);
sys/arch/x68k/dev/ite.c
904
strchr("ABCD", str[3]) != 0)
sys/arch/x68k/stand/boot/boot.c
261
if (strchr(arg, ':')) {
sys/arch/x68k/stand/boot/boot.c
267
strcpy(strchr(filename, ':') + 1, arg);
sys/arch/x68k/stand/boot/boot.c
290
strcpy(strchr(filename, ':')+1, "/");
sys/arch/x68k/stand/boot/boot.c
291
} else if (strchr(arg, ':') == 0) {
sys/arch/x68k/stand/boot/boot.c
293
strcpy(strchr(filename, ':')+1, arg);
sys/arch/x68k/stand/boot/boot.c
296
if (*(strchr(arg, ':')+1) == 0)
sys/arch/x68k/stand/boot/switch.c
102
val = strchr(arg, '=');
sys/arch/x68k/stand/libsa/consio.c
174
while ((p = strchr(buf, '\n')) != 0) {
sys/arch/x68k/stand/libsa/parseutils.c
61
if ((options = strchr(arg, ' ')) == NULL)
sys/arch/x68k/stand/loadbsd/loadbsd.c
182
if (!strchr(s, '/'))
sys/arch/xen/x86/autoconf.c
202
if (strchr(xcp.xcp_netinfo.xi_root, ':') != NULL)
sys/arch/xen/xen/if_xennet_xenbus.c
1447
if (strchr(xcp.xcp_netinfo.xi_root, ':') != NULL)
sys/arch/xen/xen/pciback.c
383
c = strchr(pcidevs, ')');
sys/arch/xen/xen/pciback.c
421
c = strchr(str, ':');
sys/arch/xen/xen/xen_machdep.c
121
cmd_line = strchr(opt, ' ');
sys/arch/xen/xen/xen_machdep.c
151
opt = strchr(opt, ':');
sys/arch/zaurus/stand/zboot/boot.c
103
if ((col = strchr(fname, ':'))) { /* device given */
sys/arch/zaurus/stand/zboot/boot.c
373
p = strchr(arg, ' ');
sys/arch/zaurus/stand/zboot/boot.c
442
if ((options = strchr(arg, ' ')) == NULL)
sys/arch/zaurus/zaurus/machdep.c
1221
if ((options = strchr(arg, ' ')) == NULL)
sys/compat/freebsd/freebsd_sysctl.c
195
if ((dot = strchr(name, (int)'.')) != NULL)
sys/compat/freebsd/freebsd_sysctl.c
207
if ((dot = strchr(name, (int)'.')) != NULL)
sys/ddb/db_proc.c
139
mode = strchr("mawlLn", modif[0]);
sys/ddb/db_proc.c
303
mode = strchr("ap", modif[0]);
sys/ddb/db_sym.c
469
if ((cp = strchr(str, ':')) != NULL) {
sys/dev/fdt/fdt_boot.c
388
const char *ep = strchr(stdout_path, ' ');
sys/dev/fdt/fdt_console.c
102
p = strchr(prop, ':');
sys/dev/fdt/fdt_console.c
127
p = strchr(prop, ':');
sys/dev/fdt/fdt_console.c
145
p = strchr(prop, ':');
sys/dev/fdt/fdt_openfirm.c
188
const char *p = strchr(val, '@');
sys/dev/fdt/fdt_openfirm.c
248
const char *p = strchr(val, '@');
sys/dev/flash/flash_mtdparts.c
118
partdef = strchr(partdef, ')');
sys/dev/flash/flash_mtdparts.c
149
nextdef = strchr(partdef, ',');
sys/dev/flash/flash_mtdparts.c
151
nextdef = strchr(partdef, ' ');
sys/dev/ic/vga.c
1081
name2 = strchr(data->name, ',');
sys/dev/isa/ega.c
751
name2 = strchr(data->name, ',');
sys/dev/podulebus/if_ea.c
126
ptr = strchr(pa->pa_descr, '(');
sys/dev/scsipi/ss_scanjet.c
469
p = strchr(response, 'd');
sys/dev/scsipi/ss_scanjet.c
490
p = strchr(response, 'd');
sys/dev/smbios_platform.c
241
p = strchr(s, '/');
sys/dev/smbios_platform.c
247
p = strchr(s, '/');
sys/dev/usb/ulpt.c
912
for (p = str-1; p; p = strchr(p, ';')) {
sys/dev/usb/ulpt.c
918
q = strchr(p, ';');
sys/dev/wscons/wsdisplay_vcons.c
486
at = strchr(buf, '@');
sys/dist/pf/net/pf_ruleset.c
220
while ((r = strchr(q, '/')) != NULL || *q) {
sys/fs/nfs/client/nfs_clrpcops.c
904
strchr(nfsv4_callbackaddr, ':')) || isinet6) {
sys/fs/nfs/client/nfs_clvfsops.c
1279
cp = strchr(srvkrbname, ':');
sys/fs/nfs/client/nfs_clvfsops.c
534
dirpath = strchr(path, ':');
sys/fs/nfs/client/nfs_clvfsops.c
727
p = strchr(nmp->nm_hostname, ':');
sys/fs/nfs/client/nfs_clvfsops.c
768
if (*spec == '[' && (delimp = strchr(spec + 1, ']')) != NULL &&
sys/fs/nfs/common/nfs_commonsubs.c
2763
cp = strchr(str0, '@');
sys/fs/nfs/common/nfs_commonsubs.c
2979
cp = strchr(str0, '@');
sys/fs/nfs/common/nfsport.h
854
#define STRCHR(s, c) strchr((s), (c))
sys/kern/kern_module.c
748
if (strchr(filename, '/') != NULL || strchr(filename, '@') != NULL ||
sys/kern/kern_module.c
749
strchr(filename, '.') != NULL) {
sys/kern/kern_module_vfs.c
84
if (strchr(name, '/') != NULL) {
sys/kern/kern_module_vfs.c
93
if (strchr(name, '/') == NULL) {
sys/kern/subr_kobj_vfs.c
160
if (strchr(path, '/') == NULL)
sys/kern/uipc_sem.c
463
if (*name != '/' || len < 2 || strchr(name + 1, '/') != NULL) {
sys/kern/vfs_lookup.c
2121
if (strchr(ndp->ni_pathbuf->pb_path, '/')) {
sys/lib/libkern/libkern.h
394
char *strchr(const char *, int);
sys/lib/libsa/dosfs.c
491
if (!(s = strchr(path, '/')))
sys/lib/libsa/dosfs.c
492
s = strchr(path, 0);
sys/lib/libsa/fnmatch.c
88
while ((fname = strchr(fname, pc)))
sys/miscfs/procfs/procfs_linux.c
749
if (strchr(lversion, '\n'))
sys/miscfs/procfs/procfs_linux.c
750
*strchr(lversion, '\n') = '\0';
sys/modules/lua/lua.c
528
if (md == NULL && lua_autoload_on && strchr(module, '/') == NULL) {
sys/net/npf/lpm.c
432
if ((p = strchr(buf, '/')) != NULL) {
sys/nfs/nfs_boot.c
630
pathname = strchr(ndm->ndm_host, ':');
sys/nfs/nfs_bootparam.c
217
p = strchr(gw_ndm->ndm_host, ':');
sys/nfs/nfs_bootstatic.c
114
if (strchr(nd->nd_root.ndm_host, ':') != NULL)
sys/nfs/nfs_bootstatic.c
126
sep = strchr(nd->nd_root.ndm_host, ':');
sys/stand/efiboot/efiblock.c
75
if (strchr(fname, ':') == NULL) {
sys/stand/efiboot/efiblock.c
85
*pfile = strchr(fname, ':') + 1;
sys/stand/efiboot/efifile.c
43
if (strchr(fname, ':') != NULL) {
sys/stand/efiboot/efinet.c
528
if (strchr(fname, ':') == NULL) {
sys/stand/efiboot/efinet.c
538
path = strchr(fname, ':') + 1;
tests/fs/hfs/t_pathconvert.c
64
if (strchr(dirent->d_name, '/'))
tests/fs/kernfs/t_basic.c
110
p = strchr(buf, '\n');
tests/lib/libc/db/h_db.c
187
if (ofd == STDOUT_FILENO && (t = strchr(p, '\n')) != NULL)
tests/lib/libc/db/h_db.c
565
if ((p = strchr(s, '\n')) != NULL)
tests/lib/libc/db/h_db.c
620
if ((eq = strchr(s, '=')) == NULL)
tests/lib/libc/db/h_db.c
716
if ((np = strchr(name, '\n')) != NULL)
tests/lib/libc/net/h_hostent.c
179
af = strchr(*argv, ':') ? AF_INET6 : AF_INET;
tests/lib/libc/regex/debug.c
121
if (strchr("\\|()^$.[+*?{}!<> ", (char)opnd) != NULL)
tests/lib/libc/regex/main.c
291
if (strchr(f2, '(') == NULL || strchr(f2, ')') == NULL)
tests/lib/libc/regex/main.c
293
subs[0].rm_so = strchr(f2, '(') - f2 + 1;
tests/lib/libc/regex/main.c
294
subs[0].rm_eo = strchr(f2, ')') - f2;
tests/lib/libc/regex/main.c
358
if (strchr(legal, *p) != NULL)
tests/lib/libc/regex/main.c
411
return(strchr(s, c) != NULL);
tests/lib/libc/regex/t_regex_att.c
348
for (i = 0; (q = strchr(s, '(')) != NULL; i++, s = q + 1)
tests/lib/libc/regex/t_regex_att.c
440
if (strchr(name, '$')) {
tests/lib/libc/stdlib/h_getopt.c
99
if ((ptr = strchr(optstring, c)) == NULL) {
tests/lib/libc/stdlib/h_getopt_long.c
183
ptr = strchr(optstring, c);
tests/lib/libc/stdlib/h_sort.c
175
for (p = buf; (p = strchr(p, '\n')) != NULL;) {
tests/lib/libc/stdlib/h_sort.c
189
for (p = buf; linepos[i++] = p - buf, (p = strchr(p, '\n')) != NULL;) {
tests/lib/libc/stdlib/t_getenv_thread.c
92
*strchr(name, '=') = '\0';
tests/lib/libc/stdlib/t_mktemp.c
147
char *suffix = strchr(template, 'y');
tests/lib/libc/stdlib/t_mktemp.c
236
char *suffix = strchr(template, 'y');
tests/lib/libc/string/t_strchr.c
252
strchr_fn = strchr;
tests/lib/libcurses/slave/curses_commands.c
1994
if (strchr(fmt, 's') != NULL) {
tests/usr.bin/xlint/lint1/msg_346.c
11
char *strchr(const char *, int); /* C99 7.21.5.2 */
tests/usr.bin/xlint/lint1/msg_346.c
25
ccp = strchr(ccp, 'c');
tests/usr.bin/xlint/lint1/msg_346.c
26
ccp = strchr(cp, 'c');
tests/usr.bin/xlint/lint1/msg_346.c
28
cp = strchr(ccp, 'c');
tests/usr.bin/xlint/lint1/msg_346.c
29
cp = strchr(cp, 'c');
tests/usr.bin/xlint/lint1/msg_346.c
31
take_const_char_ptr(strchr(ccp, 'c'));
tests/usr.bin/xlint/lint1/msg_346.c
32
take_const_char_ptr(strchr(cp, 'c'));
tests/usr.bin/xlint/lint1/msg_346.c
34
take_char_ptr(strchr(ccp, 'c'));
tests/usr.bin/xlint/lint1/msg_346.c
35
take_char_ptr(strchr(cp, 'c'));
tests/usr.bin/xlint/lint1/msg_346.c
37
take_const_char_ptr(strchr("literal", 'c'));
tests/usr.bin/xlint/lint1/msg_346.c
39
take_char_ptr(strchr("literal", 'c'));
tests/usr.bin/xlint/lint1/msg_346.c
48
take_char_ptr(strchr("string", 'c'));
tests/usr.bin/xlint/lint1/msg_346.c
62
take_char_ptr(strchr());
usr.bin/apropos/apropos.c
177
if ((end = strchr(name, ':')) != NULL)
usr.bin/apropos/apropos.c
193
if (!strchr(buf, '\n')) {
usr.bin/apropos/apropos.c
204
char *s = strchr(wbuf, '(');
usr.bin/at/at.c
320
eqp = strchr(*atenv, '=');
usr.bin/at/stime.c
69
if ((p = strchr(arg, '.')) == NULL)
usr.bin/audio/common/decode.c
104
if ((dot = strchr(s, '.')) != NULL) {
usr.bin/audio/common/decode.c
90
if ((colon = strchr(s, ':')) != NULL) {
usr.bin/audio/common/decode.c
96
if ((colon = strchr(s, ':')) != NULL) {
usr.bin/audio/ctl/ctl.c
409
if (strchr(*argv, '='))
usr.bin/audio/ctl/ctl.c
437
q = strchr(*argv, '=');
usr.bin/audiocfg/dtmf.c
155
p = strchr(TONES, ch);
usr.bin/base64/base64.c
145
pos = strchr(B64, c);
usr.bin/cap_mkdb/cap_mkdb.c
201
if ((p = strchr(bp, ':')) == NULL) {
usr.bin/cap_mkdb/cap_mkdb.c
237
if ((p = strchr(bp, '|')) == NULL)
usr.bin/cdplay/cdplay.c
670
if (strchr(arg, '#') != NULL) {
usr.bin/cdplay/cdplay.c
684
if (strchr(arg, ':') != NULL) {
usr.bin/chpass/edit.c
167
if (!(p = strchr(buf, '\n'))) {
usr.bin/chpass/edit.c
184
if (!(p = strchr(buf, ':'))) {
usr.bin/chpass/field.c
73
if (strchr(p, '.'))
usr.bin/chpass/util.c
88
while ((t = strchr(p, ',')) != NULL)
usr.bin/cksum/cksum.c
316
p_filename = strchr(buf, '(');
usr.bin/cksum/cksum.c
380
p_filename = strchr(buf, ' ');
usr.bin/cksum/cksum.c
397
s=strchr(p_cksum, ' ');
usr.bin/column/column.c
279
if (!(p = strchr(p, '\n'))) {
usr.bin/config/main.c
2145
char *eq = strchr(buf, '=');
usr.bin/config/main.c
905
if (strchr(fname, '/') != NULL) {
usr.bin/config/mkheaders.c
317
if (strchr(name, ' ') != NULL || strchr(name, '\t') != NULL)
usr.bin/config/mkheaders.c
328
if (strchr(ll->ll_name, ' ') != NULL ||
usr.bin/config/mkheaders.c
329
strchr(ll->ll_name, '\t') != NULL)
usr.bin/config/mkioconf.c
76
#define ARRNAME(n, l) (strchr((n), ARRCHR) && strncmp((n), (l), strlen((l))) == 0)
usr.bin/config/mkmakefile.c
242
nextpct = strchr(line, '%');
usr.bin/crunch/crunchgen/crunchgen.c
805
if ((p = strchr(str, '=')) == NULL) {
usr.bin/ctags/ctags.c
303
/* lisp */ if (strchr(LISPCHR, c)) {
usr.bin/ctags/lisp.c
90
if (!(cp = strchr(lbp, ')')))
usr.bin/cvslatest/cvslatest.c
88
if ((ptr = strchr(repo, '\n')) == NULL)
usr.bin/eject/eject.c
259
*(strchr(name, '0')) = '\0';
usr.bin/eject/eject.c
267
*(strchr(name, '0')) = '\0';
usr.bin/env/env.c
173
if (strchr(name, '/') != NULL) {
usr.bin/env/env.c
94
for (argv += optind; *argv && strchr(*argv, '=') != NULL; ++argv)
usr.bin/error/touch.c
105
while (level-- != 0 && (p = strchr(name, '/')) != NULL)
usr.bin/find/function.c
468
if (entry->fts_level > 0 && strchr(entry->fts_accpath, '/') != NULL)
usr.bin/finger/finger.c
237
if (strchr(*p, '@'))
usr.bin/fmt/fmt.c
410
if (strchr(".:!", cp[-1]))
usr.bin/fstat/fstat.c
1010
if (strchr(addr, ':') == NULL)
usr.bin/ftp/cmds.c
2030
cp = strchr(altarg, ' ');
usr.bin/ftp/cmds.c
2035
cp = strchr(altarg, ' ');
usr.bin/ftp/fetch.c
1012
*cp = strchr(buf, ' ');
usr.bin/ftp/fetch.c
2007
cp = strchr(ui.host, '@');
usr.bin/ftp/fetch.c
2014
cp = strchr(ui.host, ':');
usr.bin/ftp/fetch.c
2190
nextpart = strchr(dir, '/');
usr.bin/ftp/fetch.c
2408
if (strchr(argv[argpos], ':') == NULL)
usr.bin/ftp/fetch.c
295
if ((ep = strchr(cp, '\"')) != NULL) {
usr.bin/ftp/fetch.c
519
ep = strchr(url, '/');
usr.bin/ftp/fetch.c
531
cp = strchr(thost, '@'); /* look for user[:pass]@ in URLs */
usr.bin/ftp/fetch.c
538
cp = strchr(auth->user, ':');
usr.bin/ftp/fetch.c
556
if ((ep = strchr(cp, ']')) == NULL ||
usr.bin/ftp/fetch.c
577
if ((cp = strchr(thost, ':')) != NULL)
usr.bin/ftp/fetch.c
785
if (isipv6addr(ui->host) && strchr(ui->host, '%') != NULL) {
usr.bin/ftp/fetch.c
822
if (strchr(ui->host, ':') == NULL) {
usr.bin/ftp/fetch.c
830
if (isipv6addr(h) && (p = strchr(h, '%')) != NULL)
usr.bin/ftp/fetch.c
961
if ((p = strchr(ui->host, '%')) == NULL)
usr.bin/ftp/main.c
548
} else if (strchr(argv[0], ':') != NULL
usr.bin/ftp/main.c
563
cp = strchr(host, '@');
usr.bin/ftp/main.c
744
if (strchr(margv[0], ':') != NULL ||
usr.bin/ftp/ruserpass.c
116
if ((mydomain = strchr(myname, '.')) == NULL)
usr.bin/ftp/ruserpass.c
90
return (tmp = strchr(host, '.')) != NULL &&
usr.bin/ftp/uri.c
208
seg = strchr(p+1, '/');
usr.bin/ftp/uri.c
210
seg = strchr(p, '/');
usr.bin/ftp/uri.c
64
colon = strchr(uri, ':');
usr.bin/ftp/uri.c
65
slash = strchr(uri, '/');
usr.bin/ftp/uri.c
72
slash = strchr(uri + 2, '/');
usr.bin/ftp/uri.c
81
query = strchr(uri, '?');
usr.bin/ftp/uri.c
82
sharp = strchr(uri, '#');
usr.bin/ftp/util.c
613
if ((cp = strchr(buf, '\n')) != NULL)
usr.bin/ftp/util.c
670
cp = strchr(reply_string, ' ');
usr.bin/ftp/util.c
726
frac = strchr(timestr, '\r');
usr.bin/ftp/util.c
729
frac = strchr(timestr, '.');
usr.bin/ftp/util.c
850
cp = strchr(reply_string, ' ');
usr.bin/getaddrinfo/getaddrinfo.c
127
if ((p = strchr(service, '/')) != NULL) {
usr.bin/getent/getent.c
525
char *c = strchr(cap, ':');
usr.bin/getent/getent.c
795
proto = strchr(argv[i], '/');
usr.bin/hexdump/display.c
227
for (p2 = ++p1; *p1 && strchr(spec, *p1); ++p1);
usr.bin/hexdump/parse.c
186
while (strchr(spec + 1, *++fmt));
usr.bin/hexdump/parse.c
256
for (++p1; *p1 && strchr(spec, *p1); ++p1);
usr.bin/hexdump/parse.c
259
while (*++p1 && strchr(spec + 1, *p1));
usr.bin/hexdump/parse.c
78
if (!(p = strchr(buf, '\n'))) {
usr.bin/infocmp/infocmp.c
723
term = strchr(t->name, TERMINFO_VDELIM);
usr.bin/infocmp/infocmp.c
733
delim = strchr(alias, TERMINFO_VDELIM);
usr.bin/jot/jot.c
329
num_str = strchr(num_str, '.');
usr.bin/jot/jot.c
368
if (!strchr("0123456789#-+. ", *p))
usr.bin/last/last.c
314
if (!(argdot = strchr(arg, '.')))
usr.bin/last/last.c
321
hostdot = strchr(name, '.');
usr.bin/locale/locale.c
360
if ((cs = strchr(s, '.')) != NULL) {
usr.bin/locate/locate/locate.c
198
globflag = strchr(p, '*') || strchr(p, '?') || strchr(p, '[');
usr.bin/locate/locate/locate.c
260
if (strchr("*?", *p) == 0)
usr.bin/locate/locate/locate.c
276
if ((p == name) && strchr("?*[]", *p) != 0)
usr.bin/locate/locate/locate.c
280
if (strchr("]*?", *p) != 0)
usr.bin/login/login.c
196
domain = strchr(localhost, '.');
usr.bin/login/login.c
231
if (domain && (p = strchr(optarg, '.')) != NULL &&
usr.bin/login/login.c
330
if ((instance = strchr(loginname, '/')) != NULL)
usr.bin/login/login_pam.c
152
domain = strchr(localhost, '.');
usr.bin/login/login_pam.c
175
if (domain && (p = strchr(optarg, '.')) != NULL &&
usr.bin/look/look.c
139
if (termchar != '\0' && (p = strchr(string, termchar)) != NULL)
usr.bin/m4/gnum4.c
453
if (strchr("()|{}", *p) != NULL)
usr.bin/mail/cmd4.c
111
for (cp = strchr(name, '@'); cp; cp = strchr(cp + 1, '.'))
usr.bin/mail/complete.c
436
if ((sep=strchr(dir, ':')) != NULL) {
usr.bin/mail/format.c
142
q = strchr(fmtch + 1, '?');
usr.bin/mail/format.c
274
p = strchr(addr, '@');
usr.bin/mail/format.c
619
if ((p = strchr(tail, '(')) != NULL)
usr.bin/mail/lex.c
604
if (strchr(" \t0123456789$^.:/-+*'\">|", *cp) != NULL)
usr.bin/mail/list.c
454
return strchr(DELIM, cp[strlen(little)]) != 0 &&
usr.bin/mail/list.c
455
(cp == big || strchr(DELIM, cp[-1]) != 0);
usr.bin/mail/list.c
793
(cp = strchr(str, ':')) == NULL) {
usr.bin/mail/mime_decode.c
243
cp = strchr(mime_type, '/');
usr.bin/mail/mime_header.c
115
p = strchr(p, '?');
usr.bin/mail/names.c
121
for (cp2 = wbuf; *cp && !strchr(" \t,(", *cp); *cp2++ = *cp++)
usr.bin/mail/send.c
405
p = strchr(str, ':');
usr.bin/mail/support.c
463
if (strchr(name, '(') == NULL && strchr(name, '<') == NULL
usr.bin/mail/support.c
464
&& strchr(name, ' ') == NULL)
usr.bin/mail/support.c
592
if ((cp = strchr(linebuf, 'F')) == NULL)
usr.bin/mail/support.c
596
while ((cp = strchr(cp, 'r')) != NULL) {
usr.bin/mail/support.c
598
if ((cp = strchr(cp, 'f')) == NULL)
usr.bin/mail/support.c
602
if ((cp = strchr(cp, ' ')) == NULL)
usr.bin/make/arch.c
830
const char *nameStart = strchr(pgn->name, '(') + 1;
usr.bin/make/arch.c
831
const char *nameEnd = strchr(nameStart, ')');
usr.bin/make/dir.c
902
brace = strchr(pattern, '{');
usr.bin/make/dir.c
908
slash = strchr(pattern, '/');
usr.bin/make/for.c
458
for (p = mark; (p = strchr(p, '$')) != NULL;) {
usr.bin/make/job.c
1209
if (strchr(cmd, '$') != NULL) {
usr.bin/make/main.c
1025
if (makeobjdir.str != NULL && strchr(makeobjdir.str, '$') != NULL)
usr.bin/make/main.c
1118
if (argv0[0] != '/' && strchr(argv0, '/') != NULL) {
usr.bin/make/main.c
624
optspec = strchr(optspecs, c);
usr.bin/make/main.c
837
if (strchr(varname, '$') != NULL) {
usr.bin/make/make.c
1267
char *eoa = strchr(gn->name, '(');
usr.bin/make/make.c
1268
char *eon = strchr(gn->name, ')');
usr.bin/make/meta.c
1625
if ((cp = strchr(cmd, '\n')) != NULL) {
usr.bin/make/meta.c
1645
cp = strchr(cp + 1, '\n');
usr.bin/make/meta.c
737
cp = strchr(cp + 1, '\n');
usr.bin/make/meta.c
970
if ((ep = strchr(p, '\'')) != NULL) \
usr.bin/make/parse.c
1855
if (op != VAR_SUBST && strchr(uvalue, '$') != NULL) {
usr.bin/make/parse.c
2119
for (p = str; p != NULL; p = strchr(p, ' ')) {
usr.bin/make/parse.c
2223
for (p = line; (p = strchr(p, ':')) != NULL;) {
usr.bin/make/parse.c
2836
if (strchr(p, ';') == NULL)
usr.bin/make/parse.c
2902
strchr(line, ':') == NULL) {
usr.bin/make/suff.c
1340
if (strchr(cgn->name, '$') == NULL) {
usr.bin/make/suff.c
1544
eoarch = strchr(gn->name, '(');
usr.bin/make/suff.c
1545
eoname = strchr(eoarch, ')');
usr.bin/make/util.c
47
p = strchr(q, '=');
usr.bin/make/util.c
73
if (name == NULL || *name == '\0' || strchr(name, '=') != NULL) {
usr.bin/make/var.c
1499
percent = args->lhsPercent ? strchr(rhs.str, '%') : NULL;
usr.bin/make/var.c
1922
if (gmt && strchr(fmt, 's') != NULL) {
usr.bin/make/var.c
2417
if (strchr(args.var, '$') != NULL) {
usr.bin/make/var.c
2856
for (brace = strchr(pattern, '{'); brace != NULL;
usr.bin/make/var.c
2857
brace = strchr(++brace, '{')) {
usr.bin/make/var.c
4389
if (strchr("@%?*!<>^", varname.start[0]) == NULL)
usr.bin/make/var.c
4728
strchr(Expr_Str(&expr), '$') != NULL) {
usr.bin/make/var.c
4901
if (strchr(str->str, '$') == NULL)
usr.bin/make/var.c
714
if (strchr(val, '$') == NULL) {
usr.bin/make/var.c
742
if (strchr(v->val.data, '$') == NULL) {
usr.bin/man/man.c
578
if (strchr(escglob, *p) != NULL) {
usr.bin/man/man.c
666
if (!p || strchr(p, '/') == NULL) {
usr.bin/mixerctl/mixerctl.c
173
s = strchr(q, ',');
usr.bin/mixerctl/mixerctl.c
264
q = strchr(arg, '=');
usr.bin/mkdep/mkdep.c
306
while (*s && strchr(", ", *s))
usr.bin/mkdep/mkdep.c
488
while (start < limit && strchr(" \t\n\\", *start))
usr.bin/mkdep/mkdep.c
491
while (name < limit && strchr(" \t\n\\", *name))
usr.bin/mkdep/mkdep.c
493
for (end = name; end < limit && !strchr(" \t\n\\", *end);)
usr.bin/mklocale/yacc.y
155
if (strchr(",-./", $2[1]))
usr.bin/mklocale/yacc.y
161
if (strchr(",-./", $2[0]))
usr.bin/nbsvtool/nbsvtool.c
398
if (dot == NULL || strchr(dot, '/') != NULL)
usr.bin/nc/netcat.c
1479
if ((n = strchr(p, '-')) != NULL) {
usr.bin/nc/netcat.c
509
proxyport = strchr(proxy, ']');
usr.bin/nc/socks.c
340
if (strchr(host, ':') != NULL) {
usr.bin/netstat/if.c
263
cp = strchr(name, '\0');
usr.bin/netstat/if.c
382
cp = strchr(name, '\0');
usr.bin/netstat/inet.c
1000
if ((cp = strchr(domain, '.')))
usr.bin/netstat/inet.c
1020
if ((cp = strchr(hp->h_name, '.')) &&
usr.bin/netstat/inet.c
970
cp = strchr(line, '\0');
usr.bin/netstat/inet6.c
1414
cp = strchr(line, '\0');
usr.bin/netstat/inet6.c
1450
(cp = strchr(domain, '.')))
usr.bin/netstat/inet6.c
1459
if ((cp = strchr(hp->h_name, '.')) &&
usr.bin/newsyslog/newsyslog.c
283
if (strchr(*ap, ':') != NULL || strchr(*ap, '.') != NULL) {
usr.bin/newsyslog/newsyslog.c
703
if ((p = strchr(shorthostname, '.')) != NULL)
usr.bin/newsyslog/newsyslog.c
909
if ((group = strchr(buf, ':')) != NULL ||
usr.bin/newsyslog/newsyslog.c
910
(group = strchr(buf, '.')) != NULL)
usr.bin/passwd/passwd.c
309
if ((oopt = strchr(optstring, *curopt)) == NULL) {
usr.bin/passwd/passwd.c
332
if ((oopt = strchr(pw_modules[i].args, ch)) != NULL) {
usr.bin/paste/paste.c
177
if (!(p = strchr(buf, '\n')))
usr.bin/patch/pch.c
1437
t = strchr(buf, '\0') - 1;
usr.bin/patch/pch.c
1594
for (n = 0, cp = path; (cp = strchr(cp, '/')) != NULL; n++, cp++) {
usr.bin/patch/util.c
362
tab = strchr(t, '\t') != NULL;
usr.bin/pr/egetopt.c
105
!(oli = strchr(ostr, eoptopt))) {
usr.bin/pr/egetopt.c
112
if (strchr(ostr, '#') && (isdigit(eoptopt) ||
usr.bin/printenv/printenv.c
83
if (strchr(*argv, '=') != NULL)
usr.bin/printf/printf.c
152
if (argc > 2 && strchr(argv[1], '%') == NULL) {
usr.bin/quota/quotautil.c
90
if ((cp = strchr(opt, '=')) != NULL)
usr.bin/rdist/docmd.c
229
cp = strchr(rhost, '@');
usr.bin/rdist/docmd.c
536
if (rhost && (cp = strchr(rhost, '@')) != NULL)
usr.bin/rdist/expand.c
164
if ((which & E_VARS) && (cp = strchr(s, '$')) != NULL) {
usr.bin/rdist/expand.c
172
if ((tail = strchr(cp, RC)) == NULL) {
usr.bin/rdist/lookup.c
71
cp = strchr(name, '=');
usr.bin/rdist/main.c
278
if ((dest = strchr(cp, ':')) != NULL)
usr.bin/realpath/realpath.c
169
q = strchr(r, '\0');
usr.bin/resize/resize.c
564
if ((ptr = strchr(ptr, ':')) != 0)
usr.bin/resize/resize.c
576
if ((ptr = strchr(ptr, ':')) != 0)
usr.bin/rlogin/rlogin.c
212
p = strchr(host, '@');
usr.bin/rpcgen/rpc_cout.c
190
char *underscore = strchr(_t_kludge, '_');
usr.bin/rsh/rsh.c
217
p = strchr(host, '@');
usr.bin/rump_dhcpclient/dhcp.c
677
hp = strchr(ifo->hostname, '.');
usr.bin/rump_dhcpclient/net.c
244
if ((p = strchr(ifr.ifr_name, ':')))
usr.bin/rump_dhcpclient/net.c
278
if ((p = strchr(ifr.ifr_name, ':')))
usr.bin/sed/compile.c
194
#define addrchar(c) (strchr("0123456789/\\$", (c)))
usr.bin/sed/process.c
649
(p = strchr(escapes, c)) != NULL) {
usr.bin/seq/seq.c
301
while (*fmt != '\0' && strchr("#0- +'", *fmt)) {
usr.bin/seq/seq.c
306
while (*fmt != '\0' && strchr("0123456789", *fmt)) {
usr.bin/seq/seq.c
313
while (*fmt != '\0' && strchr("0123456789", *fmt)) {
usr.bin/seq/seq.c
498
if (strchr(buf, 'e'))
usr.bin/seq/seq.c
503
if (strchr(buf, 'e'))
usr.bin/seq/seq.c
511
if (strchr(buf, 'e'))
usr.bin/skey/skey.c
82
slash = strchr(argv[optind], '/');
usr.bin/sort/init.c
256
s = strchr(opts, arg[pos]);
usr.bin/spell/spellprog/spellprog.c
816
if (strchr(tab->suf, 'z')) {
usr.bin/spell/spellprog/spellprog.c
819
if (strchr(tab->d1, 'z')) {
usr.bin/spell/spellprog/spellprog.c
823
if (strchr(tab->a1, 'z')) {
usr.bin/stat/stat.c
598
for (fp1 = fpb = fmt; (fp2 = strchr(fp1, '%')) != NULL; ) {
usr.bin/su/su.c
210
if ((p = strchr(user, ':')) != NULL) {
usr.bin/su/su_pam.c
204
if ((p = strchr(user, ':')) != NULL) {
usr.bin/systat/disks.c
92
cp = strchr(args, '\n');
usr.bin/systat/globalcmds.c
59
q = strchr(p, '.');
usr.bin/systat/netcmds.c
146
cp = strchr(args, '\n');
usr.bin/systat/netstat.c
540
cp = strchr(line, '\0');
usr.bin/systat/netstat.c
550
cp = strchr(line, '\0');
usr.bin/systat/netstat.c
565
cp = strchr(line, '\0');
usr.bin/systat/netstat.c
575
cp = strchr(line, '\0');
usr.bin/talk/get_names.c
87
for (cp = names; *cp && !strchr("@:!.", *cp); cp++)
usr.bin/telnet/commands.c
1636
if ((cp = strchr(*epp, '=')) != NULL) {
usr.bin/telnet/commands.c
1653
char *cp2 = strchr(ep->value, ':');
usr.bin/tftp/main.c
419
if (strchr(argv[n], ':')) {
usr.bin/tftp/main.c
451
p = strchr(targ, '\0');
usr.bin/tftp/tftp.c
661
cp = strchr(cp, '\0') + 1;
usr.bin/tftp/tftp.c
663
cp = strchr(cp, '\0') + 1;
usr.bin/tic/tic.c
193
e = strchr(p, '|');
usr.bin/tip/aculib/courier.c
275
if (strchr(buf, '0') ||
usr.bin/tip/aculib/courier.c
276
(strchr(buf, 'O') && strchr(buf, 'K')))
usr.bin/tip/aculib/hayes.c
286
if (strchr(dumbuf, '0') ||
usr.bin/tip/aculib/hayes.c
287
(strchr(dumbuf, 'O') && strchr(dumbuf, 'K')))
usr.bin/tip/aculib/t3000.c
286
if (strchr(buf, '0') ||
usr.bin/tip/aculib/t3000.c
287
(strchr(buf, 'O') && strchr(buf, 'K')))
usr.bin/tip/aculib/ventel.c
101
cp = strchr(line, '\r');
usr.bin/tip/aculib/ventel.c
104
for (cp = line; (cp = strchr(cp, ' ')) != NULL; cp++)
usr.bin/tip/cu.c
133
if(strchr(optarg, '/'))
usr.bin/tip/remote.c
220
if ((cp = strchr(next, ',')) == NULL) {
usr.bin/tip/value.c
166
if ((cp = strchr(s, '=')) != NULL) {
usr.bin/tip/value.c
179
} else if ((cp = strchr(s, '?')) != NULL) {
usr.bin/touch/touch.c
261
if ((p = strchr(arg, '.')) == NULL)
usr.bin/touch/touch.c
373
if ((p = strchr(arg, '-')) == NULL)
usr.bin/tr/str.c
204
if (p[0] != '*' || strchr(p, ']') == NULL)
usr.bin/tset/map.c
136
arg = strchr(p = arg, ':');
usr.bin/tset/term.c
150
if ((p = strchr(answer, '\n')) != NULL)
usr.bin/unifdef/unifdef.c
877
} else if (strchr(" \t", *cp) != NULL) {
usr.bin/units/units.c
158
if (strchr(env, ';'))
usr.bin/units/units.c
375
if (strchr(".0123456789", *(minus + 1))) {
usr.bin/units/units.c
383
slash = strchr(scratch, '/');
usr.bin/units/units.c
390
if ((*item == '-' && strchr("0123456789.", *(item+1)))
usr.bin/units/units.c
391
|| strchr("0123456789.", *item)) {
usr.bin/units/units.c
397
divider = strchr(item, '|');
usr.bin/units/units.c
452
while (strchr("0123456789", item[pos - 1])) {
usr.bin/units/units.c
647
if (strchr(toadd, PRIMITIVECHAR))
usr.bin/unzip/unzip.c
383
for (sep = path; (sep = strchr(sep, '/')) != NULL; sep++) {
usr.bin/usbhidaction/usbhidaction.c
259
p = strchr(buf, '\n');
usr.bin/usbhidaction/usbhidaction.c
264
p = strchr(buf, '\n');
usr.bin/usbhidctl/usbhid.c
888
valuesep = strchr(name, DELIM_SET);
usr.bin/uudecode/uudecode.c
181
if (!(p = strchr(fn, '/'))) {
usr.bin/vacation/vacation.c
334
if ((p = strchr(buf, ':')) == NULL)
usr.bin/vacation/vacation.c
368
if ((p = strchr(buf, ':')) == NULL)
usr.bin/vacation/vacation.c
456
if ((s = strchr(buf, '<')) != NULL)
usr.bin/vacation/vacation.c
509
if (!(p = strchr(addr, '%')))
usr.bin/vacation/vacation.c
510
if (!(p = strchr(addr, '@'))) {
usr.bin/videoctl/videoctl.c
596
if (strchr(name, '=') == NULL) {
usr.bin/w/w.c
218
if (rv < 0 || (p = strchr(domain, '.')) == 0)
usr.bin/whatis/whatis.c
157
if ((end = strchr(name, ':')))
usr.bin/whereis/whereis.c
128
if ((p = strchr(p, ':')) != NULL) {
usr.bin/whois/whois.c
325
else if (strchr(name, ':') != NULL) /* IPv6 address */
usr.bin/xlint/lint1/ckgetopt.c
123
const char *optptr = strchr(ck.options, opt);
usr.bin/xlint/lint1/debug.c
80
did_indentation = strchr(fmt, '\n') == NULL;
usr.bin/xlint/lint1/mem1.c
90
char *sep = strchr(arg, '=');
usr.sbin/ac/ac.c
154
if ((rcp = strchr(tp->name, '*')) != NULL) { /* wild card */
usr.sbin/ac/ac.c
511
strchr("pqrstuvwxyzPQRST", usr.ut_line[3]) == 0 ||
usr.sbin/altq/altqstat/quip_client.c
152
cp = strchr(request, '\n');
usr.sbin/altq/altqstat/quip_client.c
332
if ((cp = strchr(cp+1, '\n')) == NULL)
usr.sbin/altq/altqstat/quip_client.c
389
if ((cp = strchr(buf, '\n')) != NULL)
usr.sbin/altq/altqstat/quip_client.c
416
while ((cp = strchr(cp, '\n')) != NULL)
usr.sbin/altq/altqstat/quip_client.c
441
if ((cp = strchr(buf, '\n')) != NULL)
usr.sbin/altq/altqstat/quip_client.c
453
if ((cp = strchr(name, ':')) != NULL)
usr.sbin/altq/altqstat/quip_client.c
490
if ((p = strchr(name, ':')) == NULL)
usr.sbin/altq/altqstat/quip_client.c
492
else if (strchr(p+1, ':') == NULL)
usr.sbin/altq/altqstat/quip_client.c
517
if ((cp = strchr(cp+1, '\n')) == NULL)
usr.sbin/altq/libaltq/parser.c
1046
start = strchr(*cpp, '<');
usr.sbin/altq/libaltq/parser.c
154
if ((cp = strchr(cmd_line, '#')) != NULL)
usr.sbin/altq/libaltq/parser.c
824
if ((prefix = strchr(w, '/')) != NULL) {
usr.sbin/altq/libaltq/qop_hfsc.c
331
if (strchr(cp, ']') == NULL) {
usr.sbin/altq/libaltq/quip_server.c
403
if ((ap = strchr(s1, '*')) == NULL)
usr.sbin/altq/libaltq/quip_server.c
416
while ((next = strchr(ap + 1, '*')) != NULL) {
usr.sbin/altq/libaltq/quip_server.c
446
if ((colon = strchr(arg, ':')) == NULL)
usr.sbin/altq/libaltq/quip_server.c
448
else if (strchr(colon+1, ':') == NULL)
usr.sbin/altq/libaltq/quip_server.c
97
if ((query = strchr(w, '?')) != NULL) {
usr.sbin/apmd/apmd.c
356
group = strchr(user, ':');
usr.sbin/btpand/btpand.c
118
if (strchr(optarg, '/') == NULL) {
usr.sbin/crash/crash.c
283
pcmd = strchr(lstart, '|');
usr.sbin/diskpart/diskpart.c
396
if ((cp = strchr(buf, '\n')) != NULL)
usr.sbin/diskpart/diskpart.c
409
if (strchr(*tp, ' ') == 0)
usr.sbin/diskpart/diskpart.c
417
if ((cp = strchr(buf, '\n')) != NULL)
usr.sbin/diskpart/diskpart.c
454
if ((cp = strchr(buf, '\n')) != NULL)
usr.sbin/diskpart/diskpart.c
475
if ((cp = strchr(buf, '\n')) != NULL)
usr.sbin/diskpart/diskpart.c
486
if ((cp = strchr(buf, '\n')) != NULL)
usr.sbin/dumplfs/dumplfs.c
299
s = strchr(narg, '@');
usr.sbin/edquota/edquota.c
1053
t = strchr(line, ' ');
usr.sbin/edquota/edquota.c
1055
t = strchr(line, ':');
usr.sbin/edquota/edquota.c
959
text2 = strchr(text, ',');
usr.sbin/envstat/config.c
253
if (strchr(value, 's')) {
usr.sbin/envstat/config.c
257
} else if (strchr(value, 'm')) {
usr.sbin/envstat/config.c
259
} else if (strchr(value, 'h')) {
usr.sbin/envstat/config.c
730
if (strchr(value, 'C'))
usr.sbin/envstat/config.c
733
if (!strchr(value, 'F'))
usr.sbin/faithd/prefix.c
201
p = strchr(buf, '\n');
usr.sbin/faithd/prefix.c
205
p = strchr(buf, '#');
usr.sbin/faithd/prefix.c
70
q = strchr(p, '/');
usr.sbin/fstyp/fstyp.c
232
p = strchr(fdpath, '@');
usr.sbin/fstyp/hammer.c
183
if ((p = strchr(p, ':')) != NULL)
usr.sbin/fstyp/hammer2.c
271
p = strchr(p, '@');
usr.sbin/fstyp/hammer2.c
339
pfs = strchr(devpath, '@');
usr.sbin/fstyp/hammer2.c
427
if ((p = strchr(p, '@')) != NULL) {
usr.sbin/fstyp/hammer2.c
438
if ((p = strchr(p, ':')) != NULL)
usr.sbin/grfconfig/grfconfig.c
137
for (p = strchr(buf, '\0'); isspace((unsigned char)*--p);)
usr.sbin/gspa/gspa/gsp_inst.c
371
p = strchr(valid, spec);
usr.sbin/inetd/parse.c
1031
cp1 = strchr(sep->se_service, '/');
usr.sbin/inetd/parse.c
1110
accf = strchr(arg, ':');
usr.sbin/inetd/parse.c
1121
accf_arg = strchr(accf, ',');
usr.sbin/inetd/parse.c
646
if ((buf0 = strchr(sep->se_proto, ',')) != NULL) {
usr.sbin/inetd/parse.c
658
if ((buf1 = strchr(buf0, ',')) != NULL) {
usr.sbin/inetd/parse.c
663
if (strchr(buf1, ',') != NULL) {
usr.sbin/inetd/parse.c
670
if ((sz1 = strchr(buf1, '=')) == NULL)
usr.sbin/inetd/parse.c
678
if ((sz0 = strchr(buf0, '=')) == NULL)
usr.sbin/inetd/parse.c
712
if ((cp1 = strchr(arg, ':')) == NULL)
usr.sbin/inetd/parse.c
713
cp1 = strchr(arg, '.');
usr.sbin/inetd/parse.c
748
char* separator = strchr(arg, ':');
usr.sbin/inetd/parse.c
751
separator = strchr(arg, '.');
usr.sbin/inetd/parse.c
874
cp = strchr(line, '\n');
usr.sbin/installboot/cd9660.c
134
if (strchr(stage2, '/') != NULL) {
usr.sbin/installboot/cd9660.c
139
if (strchr(stage2, '.') == NULL) {
usr.sbin/installboot/evboards.c
486
cp = strchr(cp, ':');
usr.sbin/installboot/ext2fs.c
438
if (strchr(params->stage2, '/') != NULL) {
usr.sbin/installboot/ffs.c
555
if (strchr(params->stage2, '/') != NULL) {
usr.sbin/ip6addrctl/ip6addrctl.c
267
if ((plenstr = strchr(prefix, '/')) == NULL) {
usr.sbin/isibootd/isibootd.c
164
if ((p = strchr(station.name, '.')) != NULL)
usr.sbin/kvm_mkdb/nlist_coff.c
325
if ((tmpcp = strchr(data.data, '\n')) != NULL)
usr.sbin/kvm_mkdb/nlist_ecoff.c
249
if ((tmpcp = strchr(data.data, '\n')) != NULL)
usr.sbin/kvm_mkdb/nlist_elf32.c
355
if ((tmpcp = strchr(data.data, '\n')) != NULL)
usr.sbin/lpr/common_source/common.c
122
const char *p = strchr(hname, '@');
usr.sbin/lpr/common_source/rmjob.c
198
if (strchr(line+1, '/') || strncmp(line+1, "df", 2))
usr.sbin/lpr/lpc/cmds.c
953
if ((cp = strchr(job, ':')) != NULL) {
usr.sbin/lpr/lpd/printjob.c
1382
if (strchr(LP, '@') != NULL)
usr.sbin/lpr/lpd/printjob.c
518
if (strchr(line+1, '/'))
usr.sbin/lpr/lpd/printjob.c
870
if (line[0] == 'U' && strchr(line+1, '/') == 0)
usr.sbin/lpr/lpd/recvjob.c
169
if (strchr(cp, '/'))
usr.sbin/lpr/lpd/recvjob.c
198
if (strchr(cp, '/'))
usr.sbin/lpr/lpd/recvjob.c
315
if (strchr(dfname, '/') == 0)
usr.sbin/lpr/pac/pac.c
225
if (mflag && (cp2 = strchr(who, ':')))
usr.sbin/makefs/cd9660/cd9660_eltorito.c
87
filename = strchr(sysname, ';');
usr.sbin/makemandb/apropos-utils.c
606
} else if (strchr(args->search_str, ' ') == NULL) {
usr.sbin/makemandb/apropos.c
339
sep = strchr(query, ' ');
usr.sbin/makemandb/makemandb.c
1986
while ((iter = strchr(iter, ASCII_HYPH)) != NULL)
usr.sbin/makemandb/makemandb.c
1990
while ((iter = strchr(iter, ASCII_NBRSP)) != NULL)
usr.sbin/makemandb/makemandb.c
2004
backslash = strchr(str, '\\');
usr.sbin/makemandb/makemandb.c
2021
backslash = strchr(last_backslash, '\\');
usr.sbin/makemandb/makemandb.c
2028
backslash = strchr(last_backslash, '\\');
usr.sbin/memswitch/methods.c
467
q = strchr(parities, *p++);
usr.sbin/mountd/get_net.c
126
p = strchr(cp, '/');
usr.sbin/mountd/mountd.c
1759
if ((cpoptend = strchr(cpopt, ',')) != NULL) {
usr.sbin/mountd/mountd.c
1761
if ((cpoptarg = strchr(cpopt, '=')) != NULL)
usr.sbin/mountd/mountd.c
1764
if ((cpoptarg = strchr(cpopt, '=')) != NULL)
usr.sbin/mountd/mountd.c
1805
if (strchr(cpoptarg, '/') != NULL) {
usr.sbin/mtree/excludes.c
95
if (strchr(e->glob, '/') != NULL)
usr.sbin/mtree/getid.c
231
if (!strchr(grline, '\n')) {
usr.sbin/mtree/getid.c
379
if (!strchr(pwline, '\n')) {
usr.sbin/mtree/getid.c
441
if (strchr(bp, ':') != NULL)
usr.sbin/mtree/spec.c
183
if (strchr(p, '/') != NULL) {
usr.sbin/mtree/spec.c
185
for (; (e = strchr(p, '/')) != NULL; p = e+1) {
usr.sbin/mtree/spec.c
458
if ((dev = strchr(arg, ',')) != NULL) {
usr.sbin/ndp/ndp.c
847
valptr = strchr(cp, '='); \
usr.sbin/npf/npfctl/npf_data.c
433
p = strchr(cidr, '\n');
usr.sbin/npf/npfctl/npf_data.c
437
mask = strchr(cidr, '/');
usr.sbin/pcictl/pcictl.c
138
if ((strchr(dvname, '/') == NULL) &&
usr.sbin/puffs/mount_9p/fs.c
143
p = strchr(p, '/');
usr.sbin/puffs/mount_9p/fs.c
167
if ((p2 = strchr(p, '/')) == NULL)
usr.sbin/puffs/mount_9p/fs.c
168
p2 = strchr(p, '\0');
usr.sbin/puffs/mount_9p/ninepuffs.c
259
if ((p = strchr(argv[0], '@')) != NULL) {
usr.sbin/puffs/mount_9p/ninepuffs.c
276
if ((p = strchr(srvhost, ']')) == NULL)
usr.sbin/puffs/mount_9p/ninepuffs.c
287
if ((p = strchr(srvhost, ':')) != NULL) {
usr.sbin/pwd_mkdb/pwd_mkdb.c
599
if ((p = strchr(line, '\n')) == NULL) {
usr.sbin/quotarestore/quotarestore.c
297
return ch != '\0' && strchr(ws, ch) != NULL;
usr.sbin/rbootd/parseconf.c
133
if ((cp = strchr(line,'#')) != NULL) /* trash comments */
usr.sbin/route6d/route6d.c
2866
if ((p = strchr(ap, ',')) != NULL) {
usr.sbin/route6d/route6d.c
2870
if ((p = strchr(ap, '/')) == NULL) {
usr.sbin/route6d/route6d.c
2894
if ((iflp = strchr(iflp, ',')) != NULL)
usr.sbin/rpc.bootparamd/bootparamd.c
362
(strchr(str, '*') != NULL || \
usr.sbin/rpc.bootparamd/bootparamd.c
363
strchr(str, '?') != NULL || \
usr.sbin/rpc.bootparamd/bootparamd.c
364
strchr(str, '[') != NULL || \
usr.sbin/rpc.bootparamd/bootparamd.c
365
strchr(str, ']') != NULL)
usr.sbin/rpc.bootparamd/bootparamd.c
437
*path = strchr(*server, ':');
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
508
cp = strchr(buff, '\n');
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
510
cp = strchr(buff, '#');
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
116
cp = strchr(home, ':');
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
118
cp = strchr(cp, ':');
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
150
cp = strchr(home, ':');
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
152
cp = strchr(cp, ':');
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
506
if ((cp = strchr(val, '\n')) != NULL)
usr.sbin/rpc.yppasswdd/yppasswdd_mkpw.c
111
if ((p = strchr(buf, '\n')) == NULL) {
usr.sbin/rtadvd/config.c
289
if (strchr(flagstr, 'm'))
usr.sbin/rtadvd/config.c
291
if (strchr(flagstr, 'o'))
usr.sbin/rtadvd/config.c
293
if (strchr(flagstr, 'h'))
usr.sbin/rtadvd/config.c
295
if (strchr(flagstr, 'l')) {
usr.sbin/rtadvd/config.c
434
if (strchr(flagstr, 'l'))
usr.sbin/rtadvd/config.c
436
if (strchr(flagstr, 'a'))
usr.sbin/rtadvd/config.c
587
if (strchr(flagstr, 'h'))
usr.sbin/rtadvd/config.c
589
if (strchr(flagstr, 'l')) {
usr.sbin/rtadvd/config.c
91
p = strchr(src, '.');
usr.sbin/rwhod/rwhod.c
195
if ((cp = strchr(myname, '.')) != NULL)
usr.sbin/services_mkdb/output_db.c
135
if ((p = strchr(d, '/')) == NULL)
usr.sbin/services_mkdb/services_mkdb.c
216
proto = strchr(port, '/');
usr.sbin/sunlabel/sunlabel.c
260
if (strchr(s, '/')) {
usr.sbin/sunlabel/sunlabel.c
848
if ((nl = strchr(cp, '\n')) == NULL)
usr.sbin/sysinst/gpt.c
214
s = strchr(val, '(');
usr.sbin/sysinst/gpt.c
217
e = strchr(s, ')');
usr.sbin/sysinst/main.c
646
if (strchr("#\r\n", *cp) != NULL)
usr.sbin/sysinst/net.c
197
(isalnum(ch) || strchr(safe_chars, ch))) {
usr.sbin/sysinst/net.c
442
dot = strchr(hostname, '.');
usr.sbin/sysinst/net.c
661
if ((nline = strchr(net_defroute, '\n')))
usr.sbin/sysinst/net.c
674
if ((nline = strchr(net_namesvr, '\n')))
usr.sbin/sysinst/net.c
701
if ((nline = strchr(net_domain, '\n')))
usr.sbin/sysinst/run.c
298
cp = strchr(++cmd, '\'');
usr.sbin/sysinst/run.c
300
cp = strchr(cmd, ' ');
usr.sbin/sysinst/run.c
302
cp = strchr(cmd, 0);
usr.sbin/sysinst/util.c
1755
p = strchr(cur_time, '\n');
usr.sbin/sysinst/util.c
1863
fp = strchr(zoneinfo_dir, 0);
usr.sbin/sysinst/util.c
1937
tz_default = strchr(strstr(localtime_target, "zoneinfo"), '/') + 1;
usr.sbin/sysinst/util.c
2334
for (p = strchr(src, '$'); p; p = strchr(p+1, '$')) {
usr.sbin/sysinst/util.c
2353
for (last = src, p = strchr(src, '$'); p; p = strchr(p+1, '$')) {
usr.sbin/sysinst/util.c
2388
for (p = strchr(src, '$'); p; p = strchr(p+1, '$')) {
usr.sbin/syslogd/syslogd.c
1696
if (strchr(name, ',')) /* sanity */
usr.sbin/syslogd/syslogd.c
1834
if (!(q = (unsigned char *) strchr((char *)from_buf, ' ')))
usr.sbin/syslogd/syslogd.c
3415
for (q = strchr(cline, '\0'); isspace((unsigned char)*--q);)
usr.sbin/syslogd/syslogd.c
3527
if ((p = strchr(LocalFQDN, '.')) != NULL)
usr.sbin/syslogd/syslogd.c
3886
for (bp = buf; *q && !strchr("\t ,;", *q); )
usr.sbin/syslogd/syslogd.c
3891
while (strchr(",;", *q))
usr.sbin/syslogd/syslogd.c
3913
while (*p && !strchr("\t .;", *p)) {
usr.sbin/syslogd/syslogd.c
3914
for (bp = buf; *p && !strchr("\t ,;.", *p); )
usr.sbin/syslogd/syslogd.c
4840
if (!(q = strchr(*p, '"'))) {
usr.sbin/syslogd/syslogd.c
4886
(void)((q = strchr(*p, ' ')) || (q = strchr(*p, '\t'))
usr.sbin/syslogd/syslogd.c
4887
|| (q = strchr(*p, '\n')) || (q = strchr(*p, '\0')));
usr.sbin/syslogd/tls.c
1153
if (!(q = strchr(p, ']'))) {
usr.sbin/tadpolectl/tadpolectl.c
685
if ((cp = strchr(string, '=')) != NULL) {
usr.sbin/tadpolectl/tadpolectl.c
688
*strchr(buf, '=') = '\0';
usr.sbin/tpctl/data.c
112
while (buf <= p && strchr(" \t\n\r", *p) != NULL)
usr.sbin/tpctl/data.c
117
while (*p != '\0' && strchr(" \t", *p) != NULL)
usr.sbin/tpctl/data.c
161
while (*p != '\0' && strchr(" \t", *p) != NULL)
usr.sbin/tpctl/data.c
193
while (*p != '\0' && strchr(" \t", *p) != NULL)
usr.sbin/tpctl/data.c
217
while (*p != '\0' && strchr(" \t", *p) != NULL)
usr.sbin/tpctl/data.c
70
while (s <= tail && strchr(" \t", *tail) != NULL)
usr.sbin/tprof/tprof.c
289
opt = strchr(p, ':');
usr.sbin/tprof/tprof.c
296
scale = strchr(p, ',');
usr.sbin/traceroute/traceroute.c
1617
cp = strchr(domain, '.');
usr.sbin/traceroute/traceroute.c
1621
cp = strchr(hp->h_name, '.');
usr.sbin/traceroute/traceroute.c
1634
if ((cp = strchr(hp->h_name, '.')) != NULL &&
usr.sbin/traceroute6/traceroute6.c
1111
(cp = strchr(domain, '.')))
usr.sbin/traceroute6/traceroute6.c
1120
if ((cp = strchr(line, '.')) &&
usr.sbin/user/user.c
1660
if ((colon = strchr(buf, ':')) == NULL) {
usr.sbin/user/user.c
476
if ((colon = strchr(buf, ':')) == NULL) {
usr.sbin/user/user.c
600
if ((colon = strchr(buf, ':')) == NULL) {
usr.sbin/wgconfig/wgconfig.c
530
bracket = strchr(addr, ']');
usr.sbin/wgconfig/wgconfig.c
541
colon = strchr(addr_port, ':');
usr.sbin/wgconfig/wgconfig.c
544
tmp = strchr(colon + 1, ':');
usr.sbin/wgconfig/wgconfig.c
549
while ((tmp = strchr(tmp + 1, ':')) != NULL)
usr.sbin/wgconfig/wgconfig.c
603
cidrp = strchr(ip, '/');
usr.sbin/ypbind/ypbind.c
1114
p = strchr(line, '\n');
usr.sbin/ypserv/common/localhostname.c
65
if (strchr(hostname, '.')) {
usr.sbin/ypserv/mkalias/mkalias.c
103
if ((dflag && strchr(address, '@')) ||
usr.sbin/ypserv/mkalias/mkalias.c
104
(uflag && strchr(address, '!')))
usr.sbin/ypserv/mkalias/mkalias.c
256
if (strchr(val.dptr, ',')) /* List... */
usr.sbin/ypserv/mkalias/mkalias.c
258
if (strchr(val.dptr, '|')) /* Pipe... */
usr.sbin/ypserv/mkalias/mkalias.c
261
if (!((strchr(val.dptr, '@')) ||
usr.sbin/ypserv/mkalias/mkalias.c
262
(strchr(val.dptr, '!'))))
usr.sbin/ypserv/mkalias/mkalias.c
66
if ((strchr(address, '@')) != NULL) {
usr.sbin/ypserv/mknetid/mknetid.c
247
p = strchr(p, ':');
usr.sbin/ypserv/mknetid/mknetid.c
255
p = strchr(p, ':');
usr.sbin/ypserv/mknetid/mknetid.c
260
p = strchr(p, ':');
usr.sbin/ypserv/mknetid/mknetid.c
265
p = strchr(p, ':');
usr.sbin/ypserv/mknetid/mknetid.c
323
p = strchr(p, ':');
usr.sbin/ypserv/mknetid/mknetid.c
330
p = strchr(p, ':');
usr.sbin/ypserv/mknetid/mknetid.c
335
p = strchr(p, ':');
usr.sbin/ypserv/ypserv/ypserv.c
467
if (strchr(map, '/') != NULL)