/illumos-gate/usr/src/cmd/tcpd/ |
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 | 280 for (cp = strtok(buf, sep); cp != 0; cp = next) { 282 next = strtok((char *) 0, sep); 301 for (cp = strtok(buf, sep); cp != 0; cp = strtok((char *) 0, sep)) { 329 for (cp = strtok(buf, sep); cp != 0; cp = strtok((char *) 0, sep)) {
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.strtok.d | 35 /(this->field = strtok(this->str, ",")) == NULL/ 46 /(this->field = strtok(NULL, ",")) == NULL/ 57 /(this->field = strtok(NULL, ",")) == NULL/ 68 /(this->field = strtok(NULL, ",")) == NULL/ 79 /(self->a = strtok(NULL, ",")) != NULL/ 131 (this->result = strtok(command[i].s1, command[i].s2)) != command[i].result/
|
/illumos-gate/usr/src/stand/lib/sock/ |
H A D | sock_test.c | 310 if ((cmd = strtok(buf, " ")) == NULL) in st_interpret() 328 if ((type = strtok(NULL, " ")) == NULL) { in st_socket() 374 tmp = strtok(NULL, " "); in st_set_addr() 396 tmp = strtok(NULL, " "); in st_set_netmask() 418 tmp = strtok(NULL, " "); in st_set_router() 448 tmp = strtok(NULL, "/"); in st_get_addr_and_port() 458 tmp = strtok(NULL, " "); in st_get_addr_and_port() 498 if ((tmp = strtok(NULL, " ")) == NULL) { in st_listen() 565 if ((cnt = strtok(NULL, " ")) == NULL) { in st_get_buf_and_cnt() 719 tmp = strtok(NULL, " "); in st_echo() [all …]
|
/illumos-gate/usr/src/cmd/dispadmin/ |
H A D | iadispadmin.c | 271 if ((tokp = strtok(buf, " \t")) == NULL) 286 if ((tokp = strtok(NULL, " \t")) == NULL) 297 if ((tokp = strtok(NULL, " \t")) == NULL) 309 if ((tokp = strtok(NULL, " \t")) == NULL) 342 if ((tokp = strtok(buf, " \t")) == NULL) 367 if ((tokp = strtok(NULL, " \t")) == NULL || tokp[0] == '#') 377 if ((tokp = strtok(NULL, " \t")) == NULL || tokp[0] == '#') 387 if ((tokp = strtok(NULL, " \t")) == NULL || tokp[0] == '#') 396 if ((tokp = strtok(NULL, " \t")) == NULL || tokp[0] == '#') 406 if ((tokp = strtok(NULL, " \t")) != NULL && tokp[0] != '#')
|
H A D | tsdispadmin.c | 266 if ((tokp = strtok(buf, " \t")) == NULL) 281 if ((tokp = strtok(NULL, " \t")) == NULL) 292 if ((tokp = strtok(NULL, " \t")) == NULL) 304 if ((tokp = strtok(NULL, " \t")) == NULL) 337 if ((tokp = strtok(buf, " \t")) == NULL) 362 if ((tokp = strtok(NULL, " \t")) == NULL || tokp[0] == '#') 372 if ((tokp = strtok(NULL, " \t")) == NULL || tokp[0] == '#') 382 if ((tokp = strtok(NULL, " \t")) == NULL || tokp[0] == '#') 391 if ((tokp = strtok(NULL, " \t")) == NULL || tokp[0] == '#') 401 if ((tokp = strtok(NULL, " \t")) != NULL && tokp[0] != '#')
|
H A D | rtdispadmin.c | 264 if ((tokp = strtok(buf, " \t")) == NULL) 279 if ((tokp = strtok(NULL, " \t")) == NULL) 290 if ((tokp = strtok(NULL, " \t")) == NULL) 302 if ((tokp = strtok(NULL, " \t")) == NULL) 335 if ((tokp = strtok(buf, " \t")) == NULL) 359 if ((tokp = strtok(NULL, " \t")) != NULL && tokp[0] != '#')
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | optname.c | 23 for (s = strtok(**cp, ","); s; s = strtok(NULL, ",")) { 46 for (s = strtok(**cp, ","); s; s = strtok(NULL, ",")) {
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/common/ |
H A D | request.c | 64 char *strtok(); in saverequest() 79 request[nextreq].want = strtok(want, ": "); in saverequest() 80 if ( (page = strtok(NULL, ": ")) == NULL ) in saverequest() 83 if ( (request[nextreq].file = strtok(NULL, ": ")) == NULL ) in saverequest()
|
/illumos-gate/usr/src/cmd/pgrep/ |
H A D | pgrep.c | 345 for (ptr = strtok(arg, LSEP); ptr != NULL; ptr = strtok(NULL, LSEP)) { in parse_ids() 368 for (ptr = strtok(arg, LSEP); ptr != NULL; ptr = strtok(NULL, LSEP)) { in parse_uids() 398 for (ptr = strtok(arg, LSEP); ptr != NULL; ptr = strtok(NULL, LSEP)) { in parse_gids() 430 for (ptr = strtok(arg, LSEP); ptr != NULL; ptr = strtok(NULL, LSEP)) { in parse_ttys() 471 for (ptr = strtok(arg, LSEP); ptr != NULL; ptr = strtok(NULL, LSEP)) { in parse_projects() 500 for (ptr = strtok(arg, LSEP); ptr != NULL; ptr = strtok(NULL, LSEP)) { in parse_zones()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgremove/ |
H A D | check.c | 97 uxstate = strtok(&putmpx->ut_line[10], " \t\n"); in rckrunlevel() 100 if ((pt = strtok(pt, " \t\n, ")) == NULL) in rckrunlevel() 107 } while (pt = strtok(NULL, " \t\n, ")); in rckrunlevel() 116 pt = strtok(rstates, " \t\n, "); in rckrunlevel() 123 } while (pt = strtok(NULL, " \t\n, ")); in rckrunlevel()
|
/illumos-gate/usr/src/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")); }
|
/illumos-gate/usr/src/cmd/isainfo/ |
H A D | isainfo.c | 188 for (p = strtok(cap3, " "); p; p = strtok(NULL, " ")) { in report_hwcap() 198 for (p = strtok(cap2, " "); p; p = strtok(NULL, " ")) { in report_hwcap() 208 for (p = strtok(cap1, " "); p; p = strtok(NULL, " ")) { in report_hwcap()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/safety/ |
H A D | tst.shortstr.d | 37 strtok(this->str, ","); 43 strtok(this->str, ","); 48 strtok(this->str, "a");
|
/illumos-gate/usr/src/tools/protocmp/ |
H A D | protodir.c | 98 if (!(type = strtok(p_line, FS))) { in parse_proto_line() 105 if ((class = strtok(NULL, FS)) == NULL) { in parse_proto_line() 117 if (!(file = strtok(NULL, FS))) { in parse_proto_line() 161 if (!(maj = strtok(NULL, FS))) { in parse_proto_line() 169 if (!(min = strtok(NULL, FS))) { in parse_proto_line() 181 if (!(perm = strtok(NULL, FS))) { in parse_proto_line() 188 if (!(owner = strtok(NULL, FS))) { in parse_proto_line() 195 if (!(group = strtok(NULL, FS))) { in parse_proto_line() 272 type = strtok(p_line, FS); in parse_proto_link() 276 (void) strtok(NULL, FS); /* burn class */ in parse_proto_link() [all …]
|
H A D | exception_list.c | 53 if ((name = strtok(line, FS)) == NULL) { in parse_exception_line() 58 if ((arch = strtok(NULL, FS)) == NULL) { in parse_exception_line() 80 if ((arch = strtok(NULL, FS)) == NULL) { in parse_exception_line()
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | yp_getalias.c | 137 longname = strtok(name, " \t"); 138 alias = strtok(NULL, " \t\n"); 187 longname = strtok(name, " \t"); 188 alias = strtok(NULL, " \t\n");
|
/illumos-gate/usr/src/lib/abi/apptrace/common/ |
H A D | abienv.c | 64 tok = strtok(envstr, comma); in build_env_list() 74 tok = strtok(NULL, comma); in build_env_list() 99 tok = strtok(envstr, comma); in build_env_list1() 102 tok = strtok(NULL, comma); in build_env_list1() 119 for (tok = strtok(envstr, comma); in env_to_intlist() 121 tok = strtok(NULL, comma)) { in env_to_intlist()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | sysfiles.c | 90 extern char *strcpy(), *strtok(), *strchr(), *strsave(); 166 tok = strtok(buf, " \t"); 217 tok = strtok(buf, " \t"); 219 tok = strtok((char *)0, " \t"); 305 while ((tok = strtok((char *) NULL, " \t")) != NULL) { in tokenize() 376 for (tok = strtok(line, ":"); tok != NULL; 377 tok = strtok((char *) NULL, ":")) { 408 for (tok = strtok(line, ":"); tok != NULL; 409 tok = strtok((char *) NULL, ":")) { 750 tok = strtok(buf, " \t"); in setconfig()
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | sysfiles.c | 194 tok = strtok(buf, " \t"); in scansys() 244 tok = strtok(buf, " \t"); in scancfg() 246 tok = strtok((char *)0, " \t"); in scancfg() 329 while ((tok = strtok(NULL, " \t")) != NULL) { in tokenize() 402 for (tok = strtok(line, ":"); tok != NULL; tok = strtok(NULL, ":")) { in setfile() 434 for (tok = strtok(line, ":"); tok != NULL; tok = strtok(NULL, ":")) { in setioctl() 738 tok = strtok(buf, " \t"); in setconfig()
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/ |
H A D | draw.c | 543 p = strtok(buf, " \n"); in parsebuf() 566 p1 = strtok(NULL, " \n"); in parsebuf() 569 p1 = strtok(NULL, " \n"); in parsebuf() 572 p1 = strtok(NULL, " \n"); in parsebuf() 581 p = strtok(p, "\"\n"); in parsebuf() 584 p = strtok(NULL, " \n"); in parsebuf()
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | ckparam.c | 100 token = strtok(value, ", "); in proc_arch() 105 token = strtok(NULL, ", "); in proc_arch() 133 token = strtok(value, ", "); in proc_category() 138 token = strtok(NULL, ", "); in proc_category()
|
/illumos-gate/usr/src/boot/libsa/string/ |
H A D | strtok.c | 98 strtok(char *s, const char *delim) in strtok() function 120 for (word = strtok(test, sep); word; word = strtok(NULL, sep)) in main()
|
/illumos-gate/usr/src/cmd/hal/probing/xkb/ |
H A D | probe-xkb.c | 207 if ((type = strtok(line, " \t\n")) == NULL) { in sun_find_xkbnames() 211 if ((layout = strtok(NULL, " \t\n")) == NULL) { in sun_find_xkbnames() 215 if ((keymap = strtok(NULL, " \t\n")) == NULL) { in sun_find_xkbnames() 220 model = strtok(NULL, " \t\n"); in sun_find_xkbnames() 224 xkblay = strtok(NULL, " \t\n"); in sun_find_xkbnames()
|