| /freebsd-13.1/contrib/tcp_wrappers/ |
| H A D | inetcf.c | 106 service = strtok(buf, whitespace); /* service */ 110 strtok((char *) 0, whitespace); /* endpoint */ 111 protocol = strtok((char *) 0, whitespace); 112 (void) strtok((char *) 0, whitespace); /* wait */ 113 if ((user = strtok((char *) 0, whitespace)) == 0) 118 if ((path = strtok((char *) 0, whitespace)) == 0) 131 if ((path = strtok((char *) 0, whitespace)) == 0) 134 if ((arg0 = strtok((char *) 0, whitespace)) == 0) { 145 if ((arg0 = strtok((char *) 0, whitespace)) == 0) { 150 if ((arg1 = strtok((char *) 0, whitespace)) == 0)
|
| H A D | tcpdchk.c | 282 for (cp = strtok(buf, sep); cp != 0; cp = next) { 284 next = strtok((char *) 0, sep); 303 for (cp = strtok(buf, sep); cp != 0; cp = strtok((char *) 0, sep)) { 331 for (cp = strtok(buf, sep); cp != 0; cp = strtok((char *) 0, sep)) { 468 for (cp = strtok(buf, wsp); cp; cp = strtok((char *) 0, wsp))
|
| /freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
| H A D | tst.strtok.d | 37 /(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.1/sys/contrib/openzfs/lib/libzutil/ |
| H A D | zutil_device_path.c | 51 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.1/usr.bin/login/ |
| H A D | login_fbtab.c | 99 if ((cp = devname = strtok(buf, WSPACE)) == NULL) in login_fbtab() 102 || (cp = strtok(NULL, WSPACE)) == NULL in login_fbtab() 107 || (cp = strtok(NULL, WSPACE)) == NULL) { in login_fbtab() 112 for (cp = strtok(cp, ":"); cp; cp = strtok(NULL, ":")) { in login_fbtab()
|
| /freebsd-13.1/sbin/ipf/libipf/ |
| H A D | optname.c | 23 for (s = strtok(**cp, ","); s; s = strtok(NULL, ",")) { in optname() 46 for (s = strtok(**cp, ","); s; s = strtok(NULL, ",")) { in optname()
|
| H A D | assigndefined.c | 19 for (s = strtok(env, ";"); s != NULL; s = strtok(NULL, ";")) { in assigndefined()
|
| H A D | buildopts.c | 22 for (s = strtok(cp, ","); s; s = strtok(NULL, ",")) { in buildopts()
|
| H A D | parsefields.c | 15 for (s = strtok(arg, ","); s != NULL; s = strtok(NULL, ",")) { in parsefields()
|
| /freebsd-13.1/lib/libpam/modules/pam_login_access/ |
| H A D | login_access.c | 88 if (!(perm = strtok(line, fieldsep)) in login_access() 89 || !(users = strtok((char *) 0, fieldsep)) in login_access() 90 || !(froms = strtok((char *) 0, fieldsep)) in login_access() 91 || strtok((char *) 0, fieldsep)) { in login_access() 129 for (tok = strtok(list, listsep); tok != NULL; tok = strtok((char *) 0, listsep)) { in list_match() 138 while ((tok = strtok((char *) 0, listsep)) && strcmp(tok, "EXCEPT")) { in list_match()
|
| /freebsd-13.1/share/examples/ipfilter/l4check/ |
| H A D | l4check.c | 532 t = strtok(line, " \t"); in readconfig() 536 s = strtok(NULL, " \t"); in readconfig() 538 t = strtok(NULL, "\t"); in readconfig() 576 s = strtok(NULL, " \t"); in readconfig() 578 t = strtok(NULL, ""); in readconfig() 609 s = strtok(NULL, " \t"); in readconfig() 611 t = strtok(NULL, "\t"); in readconfig() 633 s = strtok(NULL, " \t"); in readconfig() 646 t = strtok(NULL, ""); in readconfig() 661 t = strtok(NULL, " \t"); in readconfig() [all …]
|
| /freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/privs/ |
| H A D | tst.func_access.ksh | 54 BEGIN { trace(strtok(`initname, "/")); } 55 BEGIN { trace(strtok(NULL, "/")); } 56 BEGIN { trace(strtok("foo/bar", `initname)); } 57 BEGIN { trace(strtok(NULL, `initname)); }
|
| H A D | tst.unpriv_funcs.ksh | 51 strtok("strtok", "t")); } 53 strtok(NULL, "t")); } 55 strtok(NULL, "t")); }
|
| /freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/ |
| H A D | tst.shortstr.d | 39 strtok(this->str, ","); 45 strtok(this->str, ","); 50 strtok(this->str, "a");
|
| H A D | tst.strtok.d | 41 trace(strtok((char *)rand(), (char *)(rand() ^ vtimestamp))); 47 trace(strtok((char *)arg0, (char *)arg1));
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libc/stdlib/ |
| H A D | h_getopt.c | 63 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()
|
| H A D | h_getopt_long.c | 69 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.1/lib/libc/string/ |
| H A D | strtok.c | 100 strtok(char *s, const char *delim) in strtok() function 122 for (word = strtok(test, sep); word; word = strtok(NULL, sep)) in main()
|
| /freebsd-13.1/sys/contrib/ncsw/inc/ |
| H A D | string_ext.h | 40 extern char * strtok ( char * str, const char * delimiters ); 51 extern char *strtok(char *str, const char *delimiters);
|
| H A D | debug_ext.h | 65 p_DumpToken = strtok(dumpTmpStr, (dumpIsArr[0] ? "[" : ".")); \ 72 p_DumpToken = strtok(NULL, "."); \ 75 ((p_DumpToken = strtok(NULL, (dumpIsArr[++dumpTmpLevel] ? "[" : "."))) != NULL)) \
|
| /freebsd-13.1/contrib/opie/libopie/ |
| H A D | accessfile.c | 101 if (!(cp = strtok(buf, " \t"))) 113 if (!(cp = strtok(NULL, " \t"))) 116 if (!(cp = strtok(NULL, " \t")))
|
| /freebsd-13.1/usr.bin/chpass/ |
| H A D | util.c | 102 if (!(t = strtok(p, " \t"))) in atot() 116 if (!(t = strtok(NULL, " \t,")) || !isdigit(*t)) in atot() 119 if (!(t = strtok(NULL, " \t,")) || !isdigit(*t)) in atot()
|
| /freebsd-13.1/usr.sbin/fmtree/ |
| H A D | spec.c | 104 if ((p = strtok(p, "\n\t ")) == NULL) in mtree_readspec() 176 for (; (kw = strtok(t, "= \t\n")); t = NULL) { in set() 178 if (value && (val = strtok(NULL, " \t\n")) == NULL) in set() 321 while ((p = strtok(t, "\n\t "))) in unset()
|
| /freebsd-13.1/sbin/natd/ |
| H A D | natd.c | 1643 ptr = strtok (NULL, " \t"); in SetupPortRedirect() 1665 ptr = strtok (NULL, " \t"); in SetupPortRedirect() 1686 ptr = strtok (NULL, " \t"); in SetupPortRedirect() 1736 ptr = strtok(serverPool, ","); in SetupPortRedirect() 1745 ptr = strtok(NULL, ","); in SetupPortRedirect() 1782 ptr = strtok(NULL, " \t"); in SetupProtoRedirect() 1790 ptr = strtok(NULL, " \t"); in SetupProtoRedirect() 1798 ptr = strtok(NULL, " \t"); in SetupProtoRedirect() 1828 ptr = strtok (buf, " \t"); in SetupAddressRedirect() 1843 ptr = strtok (NULL, " \t"); in SetupAddressRedirect() [all …]
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libc/regex/ |
| H A D | t_regex_att.c | 406 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()
|