Symbol: strtok
bin/sh/redir.c
1042
for (s = strtok(s, ","); s; s = strtok(NULL, ",")) {
games/wump/wump.c
424
if (!(p = strtok(room_list, " \t\n"))) {
include/string.h
126
char *strtok(char * __restrict, const char * __restrict);
lib/libpam/modules/pam_login_access/login_access.c
108
if (!(perm = strtok(line, fs))
lib/libpam/modules/pam_login_access/login_access.c
109
|| !(users = strtok((char *) 0, fs))
lib/libpam/modules/pam_login_access/login_access.c
110
|| !(froms = strtok((char *) 0, fs))
lib/libpam/modules/pam_login_access/login_access.c
111
|| strtok((char *) 0, fs)) {
lib/libpam/modules/pam_login_access/login_access.c
147
for (tok = strtok(list, sep); tok != 0; tok = strtok((char *) 0, sep)) {
lib/libpam/modules/pam_login_access/login_access.c
156
while ((tok = strtok((char *) 0, sep)) && strcasecmp(tok, "EXCEPT"))
lib/libutil/getfsspecname.c
138
for (dk = strtok(drives, " "); dk != NULL; dk = strtok(NULL, " ")) {
lib/libutil/getmntopts.c
154
for (opt = mp->optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) {
lib/libutil/if_media.c
161
for (; (str = strtok(str, ",")) != NULL; str = NULL) {
libexec/fingerd/fingerd.c
156
if ((*ap = strtok(lp, " \t\r\n")) == NULL)
libexec/httpd/lua-bozo.c
295
s = strtok(query, "&");
libexec/httpd/lua-bozo.c
298
s = strtok(NULL, "&");
libexec/identd/identd.c
394
if ((p = strtok(p, " \t,")) != NULL) {
libexec/identd/identd.c
396
if ((p = strtok(NULL, " \t,")) != NULL)
sbin/ccdconfig/ccdconfig.c
838
for (tok = cp; (tok = strtok(tok, ",")) != NULL; tok = NULL) {
sbin/gpt/gpt.c
1280
for (ptr = strtok(optarg, ","); ptr; ptr = strtok(NULL, ",")) {
sbin/init/init.c
1059
if ((argv[argc++] = strtok(command, separators)) == 0) {
sbin/init/init.c
1063
while ((argv[argc++] = strtok(NULL, separators)) != NULL)
sbin/mount/mount.c
349
for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) {
sbin/mount_puffs/mount_puffs.c
143
for (char *opt = optarg; (opt = strtok(opt, ",")) != NULL; opt = NULL) {
sbin/swapctl/swapctl.c
581
for (disk = strtok(disknames, " "); disk;
sbin/swapctl/swapctl.c
582
disk = strtok(NULL, " "))
sbin/sysctl/sysctl.c
2745
for (s = strtok(s, ","); s; s = strtok(NULL, ",")) {
sys/arch/hpc/stand/hpcboot/file_http.cpp
333
char *token = libsa::strtok(buf, sep);
sys/arch/hpc/stand/hpcboot/file_http.cpp
338
token = libsa::strtok(0, sep);
sys/arch/hpc/stand/hpcboot/file_http.cpp
343
token = libsa::strtok(0, sep);
sys/arch/hpc/stand/libsa/libsa_string.h
38
char *strtok(char *, const char *);
sys/arch/sgimips/stand/haudfw/haudfw.c
148
char *field = strtok(line_copy, whitespace);
sys/arch/sgimips/stand/haudfw/haudfw.c
149
for (int i = 0; field != NULL; i++, field = strtok(NULL, whitespace)) {
sys/arch/sgimips/stand/haudfw/haudfw.c
239
char *word_str = strtok(line, whitespace);
sys/arch/sgimips/stand/haudfw/haudfw.c
265
word_str = strtok(NULL, whitespace);
tests/lib/libc/db/h_db.c
156
for (p = strtok(infoarg, ",\t "); p != NULL;
tests/lib/libc/db/h_db.c
157
p = strtok(0, ",\t "))
tests/lib/libc/regex/t_regex_att.c
411
if ((name = strtok(line, sep)) == NULL)
tests/lib/libc/regex/t_regex_att.c
435
ATF_REQUIRE_MSG((pattern = strtok(NULL, sep)) != NULL,
tests/lib/libc/regex/t_regex_att.c
437
ATF_REQUIRE_MSG((input = strtok(NULL, sep)) != NULL,
tests/lib/libc/regex/t_regex_att.c
457
ATF_REQUIRE_MSG((matches = strtok(NULL, sep)) != NULL,
tests/lib/libc/regex/t_regex_att.c
460
comment = strtok(NULL, sep);
tests/lib/libc/stdlib/h_getopt.c
56
optstring = strtok(&line[6], WS);
tests/lib/libc/stdlib/h_getopt.c
68
args[nargs = 0] = strtok(&line[6], WS);
tests/lib/libc/stdlib/h_getopt.c
74
while ((args[++nargs] = strtok(NULL, WS)) != NULL)
tests/lib/libc/stdlib/h_getopt.c
87
result = strtok(&line[8], WS);
tests/lib/libc/stdlib/h_getopt_long.c
153
args[nargs = 0] = strtok(&line[6], WS);
tests/lib/libc/stdlib/h_getopt_long.c
158
while ((args[++nargs] = strtok(NULL, WS)) != NULL)
tests/lib/libc/stdlib/h_getopt_long.c
166
result = strtok(&line[8], WS);
tests/lib/libc/stdlib/h_getopt_long.c
62
optstring = strtok(&line[11], WS);
tests/lib/libc/stdlib/h_getopt_long.c
78
ptr = strtok(&line[10], WS);
tests/lib/libc/sys/t_mmap.c
182
for (dk = strtok(drives, " "); dk != NULL; dk = strtok(NULL, " ")) {
tests/lib/libpthread/h_resolv.c
85
for (ptr = strtok(line, WS); ptr; ptr = strtok(NULL, WS))
usr.bin/column/column.c
225
(cols[coloff] = strtok(p, separator)) != NULL; p = NULL)
usr.bin/cut/cut.c
174
for (; (p = strtok(list, ", \t")) != NULL; list = NULL) {
usr.bin/cvslatest/cvslatest.c
121
if ((fn = strtok(entry, "/")) == NULL)
usr.bin/cvslatest/cvslatest.c
123
if (strtok(NULL, "/") == NULL)
usr.bin/cvslatest/cvslatest.c
125
if ((dt = strtok(NULL, "/")) == NULL)
usr.bin/make/main.c
792
for (p = strtok(str, sep); p != NULL; p = strtok(NULL, sep))
usr.bin/man/man.c
335
for (p = strtok(m.manpath, ":") ; p ; p = strtok(NULL, ":")) {
usr.bin/man/man.c
366
for (p = strtok(m.addpath, ":") ; p ; p = strtok(NULL, ":")) {
usr.bin/man/manconf.c
176
for (++t; (p = strtok(t, " \t\n")) != NULL;
usr.bin/man/manconf.c
193
for (++t; (p = strtok(t, " \t\n")) != NULL; t = NULL) {
usr.bin/quota/quotautil.c
89
for (opt = strtok(optbuf, ","); opt; opt = strtok(NULL, ",")) {
usr.bin/units/units.c
164
direc = strtok(env, separator);
usr.bin/units/units.c
176
direc = strtok(NULL, separator);
usr.bin/units/units.c
388
item = strtok(scratch, " *\t\n/");
usr.bin/units/units.c
481
item = strtok(NULL, " *\t/\n");
usr.bin/videoctl/videoctl.c
204
if (strtok(NULL, ".") != NULL)
usr.bin/videoctl/videoctl.c
311
p = strtok(NULL, ".");
usr.bin/videoctl/videoctl.c
318
p = strtok(NULL, ".");
usr.bin/videoctl/videoctl.c
373
s = strtok(NULL, ".");
usr.bin/videoctl/videoctl.c
377
if (strtok(NULL, ".") != NULL)
usr.bin/videoctl/videoctl.c
428
s = strtok(NULL, ".");
usr.bin/videoctl/videoctl.c
432
if (strtok(NULL, ".") != NULL)
usr.bin/videoctl/videoctl.c
437
if (strtok(NULL, ".") != NULL)
usr.bin/videoctl/videoctl.c
465
if (strtok(NULL, ".") != NULL)
usr.bin/videoctl/videoctl.c
498
if (strtok(NULL, ".") != NULL)
usr.bin/videoctl/videoctl.c
521
s = strtok(buf, ".");
usr.bin/videoctl/videoctl.c
526
s = strtok(NULL, ".");
usr.bin/videoctl/videoctl.c
528
s2 = strtok(NULL, ".");
usr.bin/videoctl/videoctl.c
548
s = strtok(NULL, ".");
usr.bin/videoctl/videoctl.c
550
s2 = strtok(NULL, ".");
usr.bin/videoctl/videoctl.c
602
key = strtok(buf, "=");
usr.bin/videoctl/videoctl.c
606
value = strtok(NULL, "");
usr.sbin/btattach/firmload.c
48
p = strtok(paths, HW_FIRMWARE_PATH_DELIM);
usr.sbin/btattach/firmload.c
61
p = strtok(NULL, HW_FIRMWARE_PATH_DELIM);
usr.sbin/catman/catman.c
191
for (p = strtok(m_path, ":");
usr.sbin/catman/catman.c
192
p != NULL; p = strtok(NULL, ":")) {
usr.sbin/catman/catman.c
236
for (p = strtok(m_add, ":"); p != NULL; p = strtok(NULL, ":")) {
usr.sbin/envstat/envstat.c
263
dvstring = strtok(p, ":");
usr.sbin/envstat/envstat.c
268
sstring = strtok(NULL, ":");
usr.sbin/envstat/envstat.c
847
dvstring = strtok(p, ":");
usr.sbin/envstat/envstat.c
854
sstring = strtok(NULL, ":");
usr.sbin/faithd/prefix.c
214
token[i] = strtok(p, "\t ");
usr.sbin/faithd/prefix.c
220
if (strtok(p, "\t ") != NULL)
usr.sbin/grfconfig/grfconfig.c
160
for (i = 0, ptr = strtok(buf, SP);
usr.sbin/grfconfig/grfconfig.c
162
i++, ptr = strtok(NULL, SP))
usr.sbin/inetd/ipsec.c
103
p = strtok(p, ";");
usr.sbin/inetd/ipsec.c
69
p = strtok(p, ";");
usr.sbin/makefs/makefs.c
556
for (char *a = strtok(str, ","); a != NULL; a = strtok(NULL, ",")) {
usr.sbin/makemandb/apropos.c
187
for (s = 1, str = strtok(str, WS); str;
usr.sbin/makemandb/apropos.c
188
str = strtok(NULL, WS), s++)
usr.sbin/makemandb/makemandb.c
1765
for(ln = strtok(links, " "); ln; ln = strtok(NULL, " ")) {
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
513
kw = strtok(buff, " \t");
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
516
val = strtok(NULL, " \t");
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
535
arg1 = strtok(NULL, " \t");
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
536
arg2 = strtok(NULL, "");
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
355
strlcpy(req_id, strtok(&resbuf[14], delims),
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
407
cp = strtok(buff, delims);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
417
cp = strtok(NULL, delims);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
420
cp = strtok(NULL, delims);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
432
cp = strtok(NULL, delims);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
435
cp = strtok(NULL, delims);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
444
cp = strtok(NULL, delims);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
454
cp = strtok(NULL, delims);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
459
cp = strtok(NULL, delims);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
469
cp = strtok(NULL, delims);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
474
cp = strtok(NULL, delims);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
479
cp = strtok(NULL, delims);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
485
cp = strtok(NULL, delims);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
490
cp = strtok(NULL, delims);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
545
if ((cp = strtok(buff, delims)) == NULL)
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
667
job = strtok(buff, delims);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
671
owner = strtok(NULL, delims);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
675
totsize = strtok(NULL, delims);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
763
cp = strtok(buff, delims);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
768
cp = strtok(NULL, delims);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
773
cp = strtok(NULL, delims);
usr.sbin/sysinst/disks.c
657
for (xd = strtok(disk_names, " "); xd != NULL; xd = strtok(NULL, " ")) {
usr.sbin/sysinst/gpt.c
1235
t = strtok(textbuf, "\n"); /* first line is special */
usr.sbin/sysinst/gpt.c
1242
while ((t = strtok(NULL, "\n")) != NULL) {
usr.sbin/sysinst/gpt.c
314
(void)strtok(textbuf, "\n"); /* ignore first line */
usr.sbin/sysinst/gpt.c
315
while ((t = strtok(NULL, "\n")) != NULL) {
usr.sbin/sysinst/net.c
410
(void)strtok(textbuf, "\n"); /* ignore first line */
usr.sbin/sysinst/net.c
411
while ((t = strtok(NULL, "\n")) != NULL) {
usr.sbin/tcpdchk/inetcf.c
138
service = strtok(buf, whitespace); /* service */
usr.sbin/tcpdchk/inetcf.c
142
strtok((char *) 0, whitespace); /* endpoint */
usr.sbin/tcpdchk/inetcf.c
143
protocol = strtok((char *) 0, whitespace);
usr.sbin/tcpdchk/inetcf.c
144
(void) strtok((char *) 0, whitespace); /* wait */
usr.sbin/tcpdchk/inetcf.c
145
if ((user = strtok((char *) 0, whitespace)) == 0)
usr.sbin/tcpdchk/inetcf.c
150
if ((path = strtok((char *) 0, whitespace)) == 0)
usr.sbin/tcpdchk/inetcf.c
163
if ((path = strtok((char *) 0, whitespace)) == 0)
usr.sbin/tcpdchk/inetcf.c
166
if ((arg0 = strtok((char *) 0, whitespace)) == 0) {
usr.sbin/tcpdchk/inetcf.c
177
if ((arg0 = strtok((char *) 0, whitespace)) == 0) {
usr.sbin/tcpdchk/inetcf.c
182
if ((arg1 = strtok((char *) 0, whitespace)) == 0)
usr.sbin/tcpdchk/tcpdchk.c
291
for (cp = strtok(buf, sep); cp != 0; cp = next) {
usr.sbin/tcpdchk/tcpdchk.c
293
next = strtok((char *) 0, sep);
usr.sbin/tcpdchk/tcpdchk.c
311
for (cp = strtok(buf, sep); cp != 0; cp = strtok((char *) 0, sep)) {
usr.sbin/tcpdchk/tcpdchk.c
341
for (cp = strtok(buf, sep); cp != 0; cp = strtok((char *) 0, sep)) {