Home
last modified time | relevance | path

Searched refs:strtok_r (Results 1 – 25 of 168) sorted by relevance

1234567

/titanic_50/usr/src/cmd/truss/
H A Dlistopts.c43 extern char *strtok_r(char *s1, const char *s2, char **lasts);
74 name = strtok_r(str, sepr, &lasts); in syslist()
79 name = strtok_r(NULL, sepr, &lasts); in syslist()
85 for (; name; name = strtok_r(NULL, sepr, &lasts)) { in syslist()
323 name = strtok_r(str, sepr, &lasts); in siglist()
328 name = strtok_r(NULL, sepr, &lasts); in siglist()
334 for (; name; name = strtok_r(NULL, sepr, &lasts)) { in siglist()
397 name = strtok_r(str, sepr, &lasts); in fltlist()
402 name = strtok_r(NULL, sepr, &lasts); in fltlist()
408 for (; name; name = strtok_r(NULL, sepr, &lasts)) { in fltlist()
[all …]
/titanic_50/usr/src/lib/libnsl/ipsec/
H A Dalgs.c102 token = strtok_r(input_string, slash, &lasts); in build_keysizes()
107 token = strtok_r(NULL, dash, &lasts); in build_keysizes()
112 token = strtok_r(NULL, comma, &lasts); in build_keysizes()
118 token = strtok_r(NULL, "", &lasts); in build_keysizes()
139 token = strtok_r(input_string, comma, &lasts); in build_keysizes()
158 } while ((token = strtok_r(NULL, comma, &lasts)) != NULL); in build_keysizes()
215 if ((token = strtok_r(line, " \t\n", &lasts)) == NULL || in build_list()
230 token = strtok_r(line, pipechar, &lasts); in build_list()
233 token = strtok_r(NULL, pipechar, &lasts); in build_list()
241 token = strtok_r(NULL, pipechar, &lasts); in build_list()
[all …]
/titanic_50/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil.c221 tok = strtok_r(line, WHITESPACE, &last); in parse_version()
226 vertok = strtok_r(last, WHITESPACE, &last); in parse_version()
238 tok = strtok_r(last, WHITESPACE, &last); in parse_version()
267 pathtok = strtok_r(line, WHITESPACE, &last); in parse_path()
272 tok = strtok_r(last, WHITESPACE, &last); in parse_path()
318 tok = strtok_r(line, WHITESPACE, &last); in parse_node()
323 nametok = strtok_r(last, WHITESPACE, &last); in parse_node()
327 classtok = strtok_r(last, WHITESPACE, &last); in parse_node()
332 tok = strtok_r(last, WHITESPACE, &last); in parse_node()
606 tok = strtok_r(line, WHITESPACE, &last); in parse_prop()
[all …]
/titanic_50/usr/src/cmd/hal/utils/
H A Dprinter.c57 for (s = (char *)strtok_r(devid_string, ";\n", &iter); s != NULL; in ieee1284_devid_to_printer_info()
58 s = (char *)strtok_r(NULL, ";\n", &iter)) { in ieee1284_devid_to_printer_info()
61 if ((t = (char *)strtok_r(s, ":\n", &iter2)) == NULL) in ieee1284_devid_to_printer_info()
64 if ((u = (char *)strtok_r(NULL, ":\n", &iter2)) == NULL) in ieee1284_devid_to_printer_info()
97 for (v = strtok_r(u, ",\n", &iter3); in ieee1284_devid_to_printer_info()
99 v = strtok_r(NULL, ",\n", &iter3)) { in ieee1284_devid_to_printer_info()
/titanic_50/usr/src/cmd/print/printer-info/
H A Dprinter-info.c73 for (s = (char *)strtok_r(buf, ";\n", &iter); s != NULL; in get_printer_description()
74 s = (char *)strtok_r(NULL, ";\n", &iter)) { in get_printer_description()
77 if ((t = (char *)strtok_r(s, ":\n", &iter2)) == NULL) in get_printer_description()
80 if ((u = (char *)strtok_r(NULL, ":\n", &iter2)) == NULL) in get_printer_description()
101 for (v = (char *)strtok_r(u, ",\n", &iter3); in get_printer_description()
103 v = (char *)strtok_r(NULL, ",\n", &iter3)) in get_printer_description()
/titanic_50/usr/src/cmd/fs.d/nfs/lib/
H A Dsharetab.c84 sh->sh_path = (char *)strtok_r(p, w, &lasts); in getshare()
87 sh->sh_res = (char *)strtok_r(NULL, w, &lasts); in getshare()
90 sh->sh_fstype = (char *)strtok_r(NULL, w, &lasts); in getshare()
93 sh->sh_opts = (char *)strtok_r(NULL, w, &lasts); in getshare()
96 sh->sh_descr = (char *)strtok_r(NULL, "", &lasts); in getshare()
180 while ((p = strtok_r(b, ",", &lasts)) != NULL) { in getshareopt()
H A Dnfslogtab.c86 tmp = (char *)strtok_r(p, w, &lasts); in logtab_getent()
96 tmp = (char *)strtok_r(NULL, w, &lasts); in logtab_getent()
106 tmp = (char *)strtok_r(NULL, w, &lasts); in logtab_getent()
116 tmp = (char *)strtok_r(NULL, w, &lasts); in logtab_getent()
/titanic_50/usr/src/lib/libfsmgt/common/
H A Dfs_mount_defaults.c282 vp->vfs_special = (char *)strtok_r( in fs_edit_mount_defaults()
284 vp->vfs_fsckdev = (char *)strtok_r( in fs_edit_mount_defaults()
286 vp->vfs_mountp = (char *)strtok_r( in fs_edit_mount_defaults()
288 vp->vfs_fstype = (char *)strtok_r( in fs_edit_mount_defaults()
290 vp->vfs_fsckpass = (char *)strtok_r( in fs_edit_mount_defaults()
292 vp->vfs_automnt = (char *)strtok_r( in fs_edit_mount_defaults()
294 vp->vfs_mntopts = (char *)strtok_r( in fs_edit_mount_defaults()
296 if (strtok_r(NULL, sepstr, &tmp) != NULL) { in fs_edit_mount_defaults()
406 vp->vfs_special = (char *)strtok_r( in fs_del_mount_default_ent()
408 vp->vfs_fsckdev = (char *)strtok_r( in fs_del_mount_default_ent()
[all …]
/titanic_50/usr/src/lib/nametoaddr/straddr/common/
H A Dstraddr.c191 hostname = strtok_r(fulladdr, ".", &nexttok); in _netdir_getbyaddr()
196 servname = strtok_r(NULL, " \n\t", &nexttok); in _netdir_getbyaddr()
254 hostname = strtok_r(hostbuf, ",", &nexttok); in _netdir_getbyaddr()
263 hostname = strtok_r(NULL, ",", &nexttok); in _netdir_getbyaddr()
467 fileaddr = strtok_r(buf, " \t\n", &nexttok); in searchhost()
471 if ((filehost = strtok_r(NULL, " \t\n", &nexttok)) == NULL) in searchhost()
541 fileservice = strtok_r(buf, " \t\n", &nexttok); in searchserv()
545 if ((fileport = strtok_r(NULL, " \t\n", &nexttok)) == NULL) in searchserv()
/titanic_50/usr/src/cmd/lp/model/netpr/
H A Dmisc.c40 extern char *strtok_r(char *, const char *, char **);
148 tmp = (char *)strtok_r(dest, sep, &nexttok); in parse_dest()
151 tmp = (char *)strtok_r(NULL, sep, &nexttok); in parse_dest()
/titanic_50/usr/src/cmd/tnf/prex/
H A Dspec.c246 for (pair = strtok_r(escptr, ";", &lasts); pair; in spec_attrtrav()
247 pair = strtok_r(NULL, ";", &lasts)) { in spec_attrtrav()
254 escattr = strtok_r(pair, " \t", &escvals); in spec_attrtrav()
386 for (v = strtok_r(valstr, " \t", &ls); v; in spec_valtrav()
387 v = strtok_r(NULL, " \t", &ls)) { in spec_valtrav()
/titanic_50/usr/src/lib/libproc/common/
H A Dproc_names.c627 for (p = strtok_r(t, delim, &q); p != NULL; in proc_str2fltset()
628 p = strtok_r(NULL, delim, &q)) { in proc_str2fltset()
660 for (p = strtok_r(t, delim, &q); p != NULL; in proc_str2sigset()
661 p = strtok_r(NULL, delim, &q)) { in proc_str2sigset()
693 for (p = strtok_r(t, delim, &q); p != NULL; in proc_str2sysset()
694 p = strtok_r(NULL, delim, &q)) { in proc_str2sysset()
/titanic_50/usr/src/lib/libtsnet/common/
H A Dtsol_sgetzcent.c72 fieldp = strtok_r(mlp_str, KV_DELIMITER, &lasts); in str_to_mlp()
100 fieldp = strtok_r(NULL, KV_DELIMITER, &lasts); in str_to_mlp()
122 tokp = strtok_r(str, KV_DELIMITER, &finally); in parse_mlp_list()
139 tokp = strtok_r(NULL, KV_DELIMITER, &finally); in parse_mlp_list()
/titanic_50/usr/src/cmd/sgs/crle/common/
H A Dutil.c179 if ((arg = strtok_r(arg, colon, &lasts)) != NULL) { in addlib()
230 } while ((arg = strtok_r(NULL, colon, &lasts)) != NULL); in addlib()
260 if ((tok = strtok_r(_arg, separate, &lasts)) != NULL) { in dlflags()
291 } while ((tok = strtok_r(NULL, separate, &lasts)) != NULL); in dlflags()
/titanic_50/usr/src/cmd/lp/cmd/lpadmin/
H A Dpick_opts.c77 for (old_opt = strtok_r(infile_opts, LP_SEP, &flasts); in pick_opts()
78 old_opt != NULL; old_opt = strtok_r(NULL, LP_SEP, &flasts)) { in pick_opts()
/titanic_50/usr/src/cmd/plimit/
H A Dplimit.c249 char *minutes = strtok_r(arg, " \t:", &lastc); in limit_value()
250 char *seconds = strtok_r(NULL, " \t", &lastc); in limit_value()
253 if (seconds != NULL && strtok_r(NULL, " \t", &lastc) != NULL) in limit_value()
319 char *soft = strtok_r(arg, " \t,", &lastc); in parse_limits()
320 char *hard = strtok_r(NULL, " \t", &lastc); in parse_limits()
323 if (hard != NULL && strtok_r(NULL, " \t", &lastc) != NULL) in parse_limits()
/titanic_50/usr/src/lib/libc/port/gen/
H A D_xftw.c291 if ((token = strtok_r(dirp, "/", &ptr)) != NULL) { in nocdopendir()
297 while ((token = strtok_r(NULL, "/", &ptr)) != NULL) { in nocdopendir()
338 if ((token = strtok_r(dirp, "/", &ptr)) != NULL) { in nocdstat()
345 while (((token = strtok_r(NULL, "/", &ptr)) != NULL) && in nocdstat()
H A Disaexec.c113 str = strtok_r(isalist, " ", &lasts); in isaexec()
139 } while ((str = strtok_r(NULL, " ", &lasts)) != NULL); in isaexec()
/titanic_50/usr/src/cmd/sgs/link_audit/common/
H A Denv.c43 tok = strtok_r(envstr, token, &lasts); in build_env_list()
53 tok = strtok_r(NULL, token, &lasts); in build_env_list()
/titanic_50/usr/src/cmd/fm/fmd/common/
H A Dfmd_dispq.c152 for (p = strtok_r(s, ".", &q); p != NULL; p = strtok_r(NULL, ".", &q)) in fmd_dispq_insert()
221 for (p = strtok_r(s, ".", &q); p != NULL; p = strtok_r(NULL, ".", &q)) in fmd_dispq_delete()
298 for (p = strtok_r(buf, ".", &q); p != NULL; p = strtok_r(NULL, ".", &q)) in fmd_dispq_tokenize()
/titanic_50/usr/src/lib/print/libpapi-dynamic/common/
H A Dnss.c61 bsd[0] = strtok_r(tmp, ":,", &iter); in bsdaddr_to_uri()
62 if ((bsd[1] = strtok_r(NULL, ":,", &iter)) == NULL) in bsdaddr_to_uri()
65 bsd[2] = strtok_r(NULL, ":,", &iter); in bsdaddr_to_uri()
250 for (value = strtok_r(tmp, ", \t", &s_iter); in cvt_all_to_member_names()
252 value = strtok_r(NULL, ", \t", &s_iter)) in cvt_all_to_member_names()
/titanic_50/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dllp.c221 if (((lstr = strtok_r(cp, " \t", &lasts)) == NULL) || in parse_llp_config()
222 ((srcstr = strtok_r(NULL, " \t", &lasts)) == NULL)) { in parse_llp_config()
236 if ((addrstr = strtok_r(NULL, " \t", &lasts)) == NULL || in parse_llp_config()
254 if ((addrstr = strtok_r(NULL, " \t", &lasts)) == NULL) { in parse_llp_config()
268 if ((addrstr = strtok_r(NULL, " \t", &lasts)) == NULL) { in parse_llp_config()
/titanic_50/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-port.c310 for (ptr = strtok_r(datacpy, "\n", &iter); ptr != NULL; in massage_control_data()
311 ptr = strtok_r(NULL, "\n", &iter)) { in massage_control_data()
464 for (ptr = strtok_r(datacpy, "\n", &iter); ptr != NULL; in send_control_file()
465 ptr = strtok_r(NULL, "\n", &iter)) { in send_control_file()
567 for (ptr = strtok_r(metadata, "\n", &iter); ptr != NULL; in submit_job()
568 ptr = strtok_r(NULL, "\n", &iter)) { in submit_job()
574 name = strtok_r(NULL, "\n", &iter); in submit_job()
/titanic_50/usr/src/lib/libdevinfo/
H A Ddevinfo_devperm.c201 console = strtok_r(line, field_delims, &last); in logindevperm()
212 mode_str = strtok_r(last, field_delims, &last); in logindevperm()
239 dev_list = strtok_r(last, field_delims, &last); in logindevperm()
252 device = strtok_r(dev_list, ":", &last); in logindevperm()
260 device = strtok_r(last, ":", &last); in logindevperm()
372 driver = strtok_r(p, "=", &lasts); in check_driver_match()
375 driver = strtok_r(NULL, ", \t\n", &lasts); in check_driver_match()
380 driver = strtok_r(NULL, ", \t\n", &lasts); in check_driver_match()
/titanic_50/usr/src/lib/libcryptoutil/common/
H A Dpkcs11_uri.c152 tok = strtok_r(str2, ";", &l1); in pkcs11_parse_uri()
153 for (; tok != NULL; tok = strtok_r(NULL, ";", &l1)) { in pkcs11_parse_uri()
155 name = strtok_r(tok, "=", &l2); in pkcs11_parse_uri()

1234567