Searched refs:strtok_r (Results 1 - 25 of 159) sorted by relevance

1234567

/illumos-gate/usr/src/boot/lib/libc/string/
H A Dstrtok.c4 * strtok_r, from Berkeley strtok
49 __weak_reference(__strtok_r, strtok_r);
124 for (word = strtok_r(test, sep, &brkt); word;
125 word = strtok_r(NULL, sep, &brkt)) {
128 for (phrase = strtok_r(blah, sep, &brkb); phrase;
129 phrase = strtok_r(NULL, sep, &brkb))
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrtok.c39 * This is in a separate source file from strtok_r() so that the
50 return (strtok_r(string, sepset, lasts));
H A Dstrtok_r.c44 strtok_r(char *string, const char *sepset, char **lasts) function
H A Disaexec.c116 str = strtok_r(isalist, " ", &lasts);
142 } while ((str = strtok_r(NULL, " ", &lasts)) != NULL);
H A D_xftw.c289 if ((token = strtok_r(dirp, "/", &ptr)) != NULL) {
295 while ((token = strtok_r(NULL, "/", &ptr)) != NULL) {
336 if ((token = strtok_r(dirp, "/", &ptr)) != NULL) {
343 while (((token = strtok_r(NULL, "/", &ptr)) != NULL) &&
/illumos-gate/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);
79 name = strtok_r(NULL, sepr, &lasts);
85 for (; name; name = strtok_r(NULL, sepr, &lasts)) {
323 name = strtok_r(str, sepr, &lasts);
328 name = strtok_r(NULL, sepr, &lasts);
334 for (; name; name = strtok_r(NULL, sepr, &lasts)) {
397 name = strtok_r(str, sepr, &lasts);
402 name = strtok_r(NULL, sepr, &lasts);
408 for (; name; name = strtok_r(NUL
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dsharetab.c84 sh->sh_path = (char *)strtok_r(p, w, &lasts);
87 sh->sh_res = (char *)strtok_r(NULL, w, &lasts);
90 sh->sh_fstype = (char *)strtok_r(NULL, w, &lasts);
93 sh->sh_opts = (char *)strtok_r(NULL, w, &lasts);
96 sh->sh_descr = (char *)strtok_r(NULL, "", &lasts);
180 while ((p = strtok_r(b, ",", &lasts)) != NULL) {
H A Dnfslogtab.c86 tmp = (char *)strtok_r(p, w, &lasts);
96 tmp = (char *)strtok_r(NULL, w, &lasts);
106 tmp = (char *)strtok_r(NULL, w, &lasts);
116 tmp = (char *)strtok_r(NULL, w, &lasts);
/illumos-gate/usr/src/cmd/print/printer-info/
H A Dprinter-info.c76 for (s = (char *)strtok_r(buf, ";\n", &iter); s != NULL;
77 s = (char *)strtok_r(NULL, ";\n", &iter)) {
80 if ((t = (char *)strtok_r(s, ":\n", &iter2)) == NULL)
83 if ((u = (char *)strtok_r(NULL, ":\n", &iter2)) == NULL)
104 for (v = (char *)strtok_r(u, ",\n", &iter3);
106 v = (char *)strtok_r(NULL, ",\n", &iter3))
/illumos-gate/usr/src/cmd/hal/utils/
H A Dprinter.c55 for (s = (char *)strtok_r(devid_string, ";\n", &iter); s != NULL;
56 s = (char *)strtok_r(NULL, ";\n", &iter)) {
59 if ((t = (char *)strtok_r(s, ":\n", &iter2)) == NULL)
62 if ((u = (char *)strtok_r(NULL, ":\n", &iter2)) == NULL)
95 for (v = strtok_r(u, ",\n", &iter3);
97 v = strtok_r(NULL, ",\n", &iter3)) {
/illumos-gate/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);
151 tmp = (char *)strtok_r(NULL, sep, &nexttok);
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Denv.c43 tok = strtok_r(envstr, token, &lasts);
53 tok = strtok_r(NULL, token, &lasts);
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Dpick_opts.c77 for (old_opt = strtok_r(infile_opts, LP_SEP, &flasts);
78 old_opt != NULL; old_opt = strtok_r(NULL, LP_SEP, &flasts)) {
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil.c221 tok = strtok_r(line, WHITESPACE, &last);
226 vertok = strtok_r(last, WHITESPACE, &last);
238 tok = strtok_r(last, WHITESPACE, &last);
267 pathtok = strtok_r(line, WHITESPACE, &last);
272 tok = strtok_r(last, WHITESPACE, &last);
318 tok = strtok_r(line, WHITESPACE, &last);
323 nametok = strtok_r(last, WHITESPACE, &last);
327 classtok = strtok_r(last, WHITESPACE, &last);
332 tok = strtok_r(last, WHITESPACE, &last);
606 tok = strtok_r(lin
[all...]
/illumos-gate/usr/src/lib/libnsl/ipsec/
H A Dalgs.c102 token = strtok_r(input_string, slash, &lasts);
107 token = strtok_r(NULL, dash, &lasts);
112 token = strtok_r(NULL, comma, &lasts);
118 token = strtok_r(NULL, "", &lasts);
139 token = strtok_r(input_string, comma, &lasts);
158 } while ((token = strtok_r(NULL, comma, &lasts)) != NULL);
215 if ((token = strtok_r(line, " \t\n", &lasts)) == NULL ||
230 token = strtok_r(line, pipechar, &lasts);
233 token = strtok_r(NULL, pipechar, &lasts);
241 token = strtok_r(NUL
[all...]
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_mount_defaults.c282 vp->vfs_special = (char *)strtok_r(
284 vp->vfs_fsckdev = (char *)strtok_r(
286 vp->vfs_mountp = (char *)strtok_r(
288 vp->vfs_fstype = (char *)strtok_r(
290 vp->vfs_fsckpass = (char *)strtok_r(
292 vp->vfs_automnt = (char *)strtok_r(
294 vp->vfs_mntopts = (char *)strtok_r(
296 if (strtok_r(NULL, sepstr, &tmp) != NULL) {
406 vp->vfs_special = (char *)strtok_r(
408 vp->vfs_fsckdev = (char *)strtok_r(
[all...]
/illumos-gate/usr/src/lib/nametoaddr/straddr/common/
H A Dstraddr.c191 hostname = strtok_r(fulladdr, ".", &nexttok);
196 servname = strtok_r(NULL, " \n\t", &nexttok);
254 hostname = strtok_r(hostbuf, ",", &nexttok);
263 hostname = strtok_r(NULL, ",", &nexttok);
467 fileaddr = strtok_r(buf, " \t\n", &nexttok);
471 if ((filehost = strtok_r(NULL, " \t\n", &nexttok)) == NULL)
541 fileservice = strtok_r(buf, " \t\n", &nexttok);
545 if ((fileport = strtok_r(NULL, " \t\n", &nexttok)) == NULL)
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_names.c630 for (p = strtok_r(t, delim, &q); p != NULL;
631 p = strtok_r(NULL, delim, &q)) {
663 for (p = strtok_r(t, delim, &q); p != NULL;
664 p = strtok_r(NULL, delim, &q)) {
696 for (p = strtok_r(t, delim, &q); p != NULL;
697 p = strtok_r(NULL, delim, &q)) {
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_allocate.c174 for (file = strtok_r(buf, " ", &last); file;
175 file = strtok_r(NULL, " ", &last))
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_sgetzcent.c72 fieldp = strtok_r(mlp_str, KV_DELIMITER, &lasts);
100 fieldp = strtok_r(NULL, KV_DELIMITER, &lasts);
122 tokp = strtok_r(str, KV_DELIMITER, &finally);
139 tokp = strtok_r(NULL, KV_DELIMITER, &finally);
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dutil.c179 if ((arg = strtok_r(arg, colon, &lasts)) != NULL) {
230 } while ((arg = strtok_r(NULL, colon, &lasts)) != NULL);
260 if ((tok = strtok_r(_arg, separate, &lasts)) != NULL) {
291 } while ((tok = strtok_r(NULL, separate, &lasts)) != NULL);
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dllp.c221 if (((lstr = strtok_r(cp, " \t", &lasts)) == NULL) ||
222 ((srcstr = strtok_r(NULL, " \t", &lasts)) == NULL)) {
236 if ((addrstr = strtok_r(NULL, " \t", &lasts)) == NULL ||
254 if ((addrstr = strtok_r(NULL, " \t", &lasts)) == NULL) {
268 if ((addrstr = strtok_r(NULL, " \t", &lasts)) == NULL) {
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_dispq.c152 for (p = strtok_r(s, ".", &q); p != NULL; p = strtok_r(NULL, ".", &q))
221 for (p = strtok_r(s, ".", &q); p != NULL; p = strtok_r(NULL, ".", &q))
298 for (p = strtok_r(buf, ".", &q); p != NULL; p = strtok_r(NULL, ".", &q))
/illumos-gate/usr/src/cmd/plimit/
H A Dplimit.c30 #define __EXTENSIONS__ /* For strtok_r */
250 char *minutes = strtok_r(arg, " \t:", &lastc);
251 char *seconds = strtok_r(NULL, " \t", &lastc);
254 if (seconds != NULL && strtok_r(NULL, " \t", &lastc) != NULL)
320 char *soft = strtok_r(arg, " \t,", &lastc);
321 char *hard = strtok_r(NULL, " \t", &lastc);
324 if (hard != NULL && strtok_r(NULL, " \t", &lastc) != NULL)
/illumos-gate/usr/src/lib/pam_modules/roles/
H A Droles.c189 char *rolename = (char *)strtok_r(list, ",", &lasts);
195 rolename = (char *)strtok_r(NULL, ",", &lasts);

Completed in 241 milliseconds

1234567