Home
last modified time | relevance | path

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

12345678910>>...13

/titanic_41/usr/src/cmd/tcpd/
H A Dinetcf.c106 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)
/titanic_41/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.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/
/titanic_41/usr/src/stand/lib/sock/
H A Dsock_test.c310 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()
561 if ((*buf = strtok(NULL, " ")) == NULL) { in st_get_buf_and_cnt()
565 if ((cnt = strtok(NULL, " ")) == NULL) { in st_get_buf_and_cnt()
[all …]
/titanic_41/usr/src/cmd/avs/rdc/
H A Dsndrsubr.c295 (void) strtok(buf, " "); /* phost */ in find_setnumber_in_libcfg()
296 (void) strtok(NULL, " "); /* primary */ in find_setnumber_in_libcfg()
297 (void) strtok(NULL, " "); /* pbitmap */ in find_setnumber_in_libcfg()
298 shost = strtok(NULL, " "); in find_setnumber_in_libcfg()
299 secondary = strtok(NULL, " "); in find_setnumber_in_libcfg()
302 (void) strtok(NULL, " "); /* sbitmap */ in find_setnumber_in_libcfg()
303 (void) strtok(NULL, " "); /* type */ in find_setnumber_in_libcfg()
304 (void) strtok(NULL, " "); /* mode */ in find_setnumber_in_libcfg()
305 (void) strtok(NULL, " "); /* group */ in find_setnumber_in_libcfg()
306 cnode = strtok(NULL, " "); in find_setnumber_in_libcfg()
/titanic_41/usr/src/cmd/rexd/
H A Dsharetab.c84 sh->sh_path = strtok(p, w); in getshare()
87 sh->sh_res = strtok(NULL, w); in getshare()
90 sh->sh_fstype = strtok(NULL, w); in getshare()
93 sh->sh_opts = strtok(NULL, w); in getshare()
96 sh->sh_descr = strtok(NULL, ""); in getshare()
170 while (p = strtok(b, ",")) { in getshareopt()
/titanic_41/usr/src/cmd/ipf/lib/common/
H A Doptname.c23 for (s = strtok(**cp, ","); s; s = strtok(NULL, ",")) {
46 for (s = strtok(**cp, ","); s; s = strtok(NULL, ",")) {
/titanic_41/usr/src/cmd/dispadmin/
H A Diadispadmin.c273 if ((tokp = strtok(buf, " \t")) == NULL)
288 if ((tokp = strtok(NULL, " \t")) == NULL)
299 if ((tokp = strtok(NULL, " \t")) == NULL)
311 if ((tokp = strtok(NULL, " \t")) == NULL)
344 if ((tokp = strtok(buf, " \t")) == NULL)
369 if ((tokp = strtok(NULL, " \t")) == NULL || tokp[0] == '#')
379 if ((tokp = strtok(NULL, " \t")) == NULL || tokp[0] == '#')
389 if ((tokp = strtok(NULL, " \t")) == NULL || tokp[0] == '#')
398 if ((tokp = strtok(NULL, " \t")) == NULL || tokp[0] == '#')
408 if ((tokp = strtok(NULL, " \t")) != NULL && tokp[0] != '#')
H A Dtsdispadmin.c269 if ((tokp = strtok(buf, " \t")) == NULL)
284 if ((tokp = strtok(NULL, " \t")) == NULL)
295 if ((tokp = strtok(NULL, " \t")) == NULL)
307 if ((tokp = strtok(NULL, " \t")) == NULL)
340 if ((tokp = strtok(buf, " \t")) == NULL)
365 if ((tokp = strtok(NULL, " \t")) == NULL || tokp[0] == '#')
375 if ((tokp = strtok(NULL, " \t")) == NULL || tokp[0] == '#')
385 if ((tokp = strtok(NULL, " \t")) == NULL || tokp[0] == '#')
394 if ((tokp = strtok(NULL, " \t")) == NULL || tokp[0] == '#')
404 if ((tokp = strtok(NULL, " \t")) != NULL && tokp[0] != '#')
H A Drtdispadmin.c267 if ((tokp = strtok(buf, " \t")) == NULL)
282 if ((tokp = strtok(NULL, " \t")) == NULL)
293 if ((tokp = strtok(NULL, " \t")) == NULL)
305 if ((tokp = strtok(NULL, " \t")) == NULL)
338 if ((tokp = strtok(buf, " \t")) == NULL)
362 if ((tokp = strtok(NULL, " \t")) != NULL && tokp[0] != '#')
/titanic_41/usr/src/cmd/avs/dsw/
H A Diiboot.c348 mst = strtok(buf, " "); /* master */ in iiboot_lintmain()
349 shd = strtok(NULL, " "); /* shadow */ in iiboot_lintmain()
350 (void) strtok(NULL, " "); /* bitmap */ in iiboot_lintmain()
351 (void) strtok(NULL, " "); /* mode */ in iiboot_lintmain()
352 (void) strtok(NULL, " "); /* overflow */ in iiboot_lintmain()
353 ctag = strtok(NULL, " "); /* cnode */ in iiboot_lintmain()
494 mst = strtok(buf, " "); in read_resume_cfg()
495 shd = strtok(NULL, " "); in read_resume_cfg()
496 bmp = strtok(NULL, " "); in read_resume_cfg()
497 (void) strtok(NULL, " "); /* mode */ in read_resume_cfg()
[all …]
/titanic_41/usr/src/cmd/lp/filter/postscript/common/
H A Drequest.c67 char *strtok(); in saverequest()
82 request[nextreq].want = strtok(want, ": "); in saverequest()
83 if ( (page = strtok(NULL, ": ")) == NULL ) in saverequest()
86 if ( (request[nextreq].file = strtok(NULL, ": ")) == NULL ) in saverequest()
/titanic_41/usr/src/cmd/svr4pkg/pkgremove/
H A Dcheck.c93 uxstate = strtok(&putmpx->ut_line[10], " \t\n"); in rckrunlevel()
96 if ((pt = strtok(pt, " \t\n, ")) == NULL) in rckrunlevel()
103 } while (pt = strtok(NULL, " \t\n, ")); in rckrunlevel()
112 pt = strtok(rstates, " \t\n, "); in rckrunlevel()
119 } while (pt = strtok(NULL, " \t\n, ")); in rckrunlevel()
/titanic_41/usr/src/cmd/pgrep/
H A Dpgrep.c345 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()
/titanic_41/usr/src/cmd/dtrace/test/tst/common/safety/
H A Dtst.shortstr.d39 strtok(this->str, ",");
45 strtok(this->str, ",");
50 strtok(this->str, "a");
/titanic_41/usr/src/cmd/dtrace/test/tst/common/privs/
H A Dtst.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)); }
H A Dtst.unpriv_funcs.ksh51 strtok("strtok", "t")); }
53 strtok(NULL, "t")); }
55 strtok(NULL, "t")); }
/titanic_41/usr/src/cmd/ypcmd/
H A Dyp_getalias.c139 longname = strtok(name, " \t");
140 alias = strtok(NULL, " \t\n");
189 longname = strtok(name, " \t");
190 alias = strtok(NULL, " \t\n");
/titanic_41/usr/src/tools/protocmp/
H A Dprotodir.c98 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 Dexception_list.c51 if ((name = strtok(line, FS)) == NULL) { in parse_exception_line()
56 if ((arch = strtok(NULL, FS)) == NULL) { in parse_exception_line()
78 if ((arch = strtok(NULL, FS)) == NULL) { in parse_exception_line()
/titanic_41/usr/src/lib/abi/apptrace/common/
H A Dabienv.c66 tok = strtok(envstr, comma); in build_env_list()
76 tok = strtok(NULL, comma); in build_env_list()
101 tok = strtok(envstr, comma); in build_env_list1()
104 tok = strtok(NULL, comma); in build_env_list1()
121 for (tok = strtok(envstr, comma); in env_to_intlist()
123 tok = strtok(NULL, comma)) { in env_to_intlist()
/titanic_41/usr/src/cmd/bnu/
H A Dsysfiles.c90 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, ":")) {
753 tok = strtok(buf, " \t"); in setconfig()
/titanic_41/usr/src/cmd/lp/filter/postscript/dpost/
H A Ddraw.c545 p = strtok(buf, " \n"); in parsebuf()
568 p1 = strtok(NULL, " \n"); in parsebuf()
571 p1 = strtok(NULL, " \n"); in parsebuf()
574 p1 = strtok(NULL, " \n"); in parsebuf()
583 p = strtok(p, "\"\n"); in parsebuf()
586 p = strtok(NULL, " \n"); in parsebuf()
/titanic_41/usr/src/lib/libpkg/common/
H A Dckparam.c95 token = strtok(value, ", "); in proc_arch()
100 token = strtok(NULL, ", "); in proc_arch()
128 token = strtok(value, ", "); in proc_category()
133 token = strtok(NULL, ", "); in proc_category()
/titanic_41/usr/src/lib/libnsl/dial/
H A Dsysfiles.c194 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()
/titanic_41/usr/src/lib/libdscfg/common/
H A Dcfg_vols.c200 char *q = strtok(p, ","); in cfg_add_user()
202 q = strtok(0, ","); in cfg_add_user()
367 char *q = strtok(p, ","); in cfg_rem_user()
380 q = strtok(0, ","); in cfg_rem_user()
388 while (q = strtok(0, ", ")) { in cfg_rem_user()
610 if (!(path = strtok(buf, " "))) { in cfg_load_dsvols()
615 if (!(cnode = strtok(0, " "))) { in cfg_load_dsvols()
625 if (!(users = strtok(0, " "))) { in cfg_load_dsvols()
721 if (!(path = strtok(buf, " "))) { in cfg_load_svols()
725 if (!(mode = strtok(0, " "))) { in cfg_load_svols()
[all …]

12345678910>>...13