Home
last modified time | relevance | path

Searched refs:strtok (Results 1 – 25 of 152) sorted by relevance

1234567

/freebsd-13-stable/contrib/tcp_wrappers/
HDinetcf.c105 service = strtok(buf, whitespace); /* service */ in inet_cfg()
109 strtok((char *) 0, whitespace); /* endpoint */ in inet_cfg()
110 protocol = strtok((char *) 0, whitespace); in inet_cfg()
111 (void) strtok((char *) 0, whitespace); /* wait */ in inet_cfg()
112 if ((user = strtok((char *) 0, whitespace)) == 0) in inet_cfg()
117 if ((path = strtok((char *) 0, whitespace)) == 0) in inet_cfg()
130 if ((path = strtok((char *) 0, whitespace)) == 0) in inet_cfg()
133 if ((arg0 = strtok((char *) 0, whitespace)) == 0) { in inet_cfg()
144 if ((arg0 = strtok((char *) 0, whitespace)) == 0) { in inet_cfg()
149 if ((arg1 = strtok((char *) 0, whitespace)) == 0) in inet_cfg()
HDtcpdchk.c276 for (cp = strtok(buf, sep); cp != 0; cp = next) { in print_list()
278 next = strtok((char *) 0, sep); in print_list()
296 for (cp = strtok(buf, sep); cp != 0; cp = strtok((char *) 0, sep)) { in check_daemon_list()
323 for (cp = strtok(buf, sep); cp != 0; cp = strtok((char *) 0, sep)) { in check_client_list()
456 for (cp = strtok(buf, wsp); cp; cp = strtok((char *) 0, wsp)) in check_host()
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
HDtst.strtok.d37 /(this->field = strtok(this->str, ",")) == NULL/
48 /(this->field = strtok(NULL, ",")) == NULL/
59 /(this->field = strtok(NULL, ",")) == NULL/
70 /(this->field = strtok(NULL, ",")) == NULL/
81 /(self->a = strtok(NULL, ",")) != NULL/
133 (this->result = strtok(command[i].s1, command[i].s2)) != command[i].result/
/freebsd-13-stable/sys/contrib/openzfs/lib/libzutil/
HDzutil_device_path.c51 dir = strtok(envdup, ":"); in zfs_resolve_shortname()
55 dir = strtok(NULL, ":"); in zfs_resolve_shortname()
97 dir = strtok(envdup, ":"); in zfs_strcmp_shortname()
119 dir = strtok(NULL, ":"); in zfs_strcmp_shortname()
149 dir = strtok(dup, "/"); in zfs_strcmp_pathname()
153 dir = strtok(NULL, "/"); in zfs_strcmp_pathname()
/freebsd-13-stable/usr.bin/login/
HDlogin_fbtab.c97 if ((cp = devname = strtok(buf, WSPACE)) == NULL) in login_fbtab()
100 || (cp = strtok(NULL, WSPACE)) == NULL in login_fbtab()
105 || (cp = strtok(NULL, WSPACE)) == NULL) { in login_fbtab()
110 for (cp = strtok(cp, ":"); cp; cp = strtok(NULL, ":")) { in login_fbtab()
/freebsd-13-stable/sbin/ipf/libipf/
HDoptname.c22 for (s = strtok(**cp, ","); s; s = strtok(NULL, ",")) { in optname()
45 for (s = strtok(**cp, ","); s; s = strtok(NULL, ",")) { in optname()
HDassigndefined.c19 for (s = strtok(env, ";"); s != NULL; s = strtok(NULL, ";")) { in assigndefined()
HDbuildopts.c21 for (s = strtok(cp, ","); s; s = strtok(NULL, ",")) { in buildopts()
HDparsefields.c15 for (s = strtok(arg, ","); s != NULL; s = strtok(NULL, ",")) { in parsefields()
/freebsd-13-stable/lib/libpam/modules/pam_login_access/
HDlogin_access.c86 if (!(perm = strtok(line, fieldsep)) in login_access()
87 || !(users = strtok((char *) 0, fieldsep)) in login_access()
88 || !(froms = strtok((char *) 0, fieldsep)) in login_access()
89 || strtok((char *) 0, fieldsep)) { in login_access()
127 for (tok = strtok(list, listsep); tok != NULL; tok = strtok((char *) 0, listsep)) { in list_match()
136 while ((tok = strtok((char *) 0, listsep)) && strcmp(tok, "EXCEPT")) { in list_match()
/freebsd-13-stable/share/examples/ipfilter/l4check/
HDl4check.c531 t = strtok(line, " \t"); in readconfig()
535 s = strtok(NULL, " \t"); in readconfig()
537 t = strtok(NULL, "\t"); in readconfig()
575 s = strtok(NULL, " \t"); in readconfig()
577 t = strtok(NULL, ""); in readconfig()
608 s = strtok(NULL, " \t"); in readconfig()
610 t = strtok(NULL, "\t"); in readconfig()
632 s = strtok(NULL, " \t"); in readconfig()
645 t = strtok(NULL, ""); in readconfig()
660 t = strtok(NULL, " \t"); in readconfig()
[all …]
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/privs/
HDtst.func_access.ksh54 BEGIN { trace(strtok(`initname, "/")); }
55 BEGIN { trace(strtok(NULL, "/")); }
56 BEGIN { trace(strtok("foo/bar", `initname)); }
57 BEGIN { trace(strtok(NULL, `initname)); }
HDtst.unpriv_funcs.ksh51 strtok("strtok", "t")); }
53 strtok(NULL, "t")); }
55 strtok(NULL, "t")); }
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/
HDtst.shortstr.d39 strtok(this->str, ",");
45 strtok(this->str, ",");
50 strtok(this->str, "a");
HDtst.strtok.d41 trace(strtok((char *)rand(), (char *)(rand() ^ vtimestamp)));
47 trace(strtok((char *)arg0, (char *)arg1));
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/stdlib/
HDh_getopt.c63 optstring = strtok(&line[6], WS); in main()
75 args[nargs = 0] = strtok(&line[6], WS); in main()
81 while ((args[++nargs] = strtok(NULL, WS)) != NULL) in main()
94 result = strtok(&line[8], WS); in main()
HDh_getopt_long.c69 optstring = strtok(&line[11], WS); in main()
85 ptr = strtok(&line[10], WS); in main()
160 args[nargs = 0] = strtok(&line[6], WS); in main()
165 while ((args[++nargs] = strtok(NULL, WS)) != NULL) in main()
173 result = strtok(&line[8], WS); in main()
/freebsd-13-stable/lib/libc/string/
HDstrtok.c98 strtok(char *s, const char *delim) in strtok() function
120 for (word = strtok(test, sep); word; word = strtok(NULL, sep)) in main()
/freebsd-13-stable/sys/contrib/ncsw/inc/
HDstring_ext.h40 extern char * strtok ( char * str, const char * delimiters );
51 extern char *strtok(char *str, const char *delimiters);
HDdebug_ext.h65 p_DumpToken = strtok(dumpTmpStr, (dumpIsArr[0] ? "[" : ".")); \
72 p_DumpToken = strtok(NULL, "."); \
75 ((p_DumpToken = strtok(NULL, (dumpIsArr[++dumpTmpLevel] ? "[" : "."))) != NULL)) \
/freebsd-13-stable/contrib/opie/libopie/
HDaccessfile.c101 if (!(cp = strtok(buf, " \t")))
113 if (!(cp = strtok(NULL, " \t")))
116 if (!(cp = strtok(NULL, " \t")))
/freebsd-13-stable/usr.bin/chpass/
HDutil.c100 if (!(t = strtok(p, " \t"))) in atot()
114 if (!(t = strtok(NULL, " \t,")) || !isdigit(*t)) in atot()
117 if (!(t = strtok(NULL, " \t,")) || !isdigit(*t)) in atot()
/freebsd-13-stable/usr.sbin/fmtree/
HDspec.c102 if ((p = strtok(p, "\n\t ")) == NULL) in mtree_readspec()
174 for (; (kw = strtok(t, "= \t\n")); t = NULL) { in set()
176 if (value && (val = strtok(NULL, " \t\n")) == NULL) in set()
319 while ((p = strtok(t, "\n\t "))) in unset()
/freebsd-13-stable/sbin/natd/
HDnatd.c1633 protoName = strtok (buf, " \t"); in SetupPortRedirect()
1641 ptr = strtok (NULL, " \t"); in SetupPortRedirect()
1663 ptr = strtok (NULL, " \t"); in SetupPortRedirect()
1684 ptr = strtok (NULL, " \t"); in SetupPortRedirect()
1734 ptr = strtok(serverPool, ","); in SetupPortRedirect()
1743 ptr = strtok(NULL, ","); in SetupPortRedirect()
1768 protoName = strtok(buf, " \t"); in SetupProtoRedirect()
1780 ptr = strtok(NULL, " \t"); in SetupProtoRedirect()
1788 ptr = strtok(NULL, " \t"); in SetupProtoRedirect()
1796 ptr = strtok(NULL, " \t"); in SetupProtoRedirect()
[all …]
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/regex/
HDt_regex_att.c406 if ((name = strtok(line, sep)) == NULL) in att_test()
430 ATF_REQUIRE_MSG((pattern = strtok(NULL, sep)) != NULL, in att_test()
432 ATF_REQUIRE_MSG((input = strtok(NULL, sep)) != NULL, in att_test()
452 ATF_REQUIRE_MSG((matches = strtok(NULL, sep)) != NULL, in att_test()
455 comment = strtok(NULL, sep); in att_test()

1234567