Home
last modified time | relevance | path

Searched refs:lasts (Results 1 – 25 of 93) sorted by relevance

1234

/titanic_41/usr/src/cmd/truss/
H A Dlistopts.c43 extern char *strtok_r(char *s1, const char *s2, char **lasts);
72 char *lasts; in syslist() local
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()
320 char *lasts; in siglist() local
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()
394 char *lasts; in fltlist() local
[all …]
/titanic_41/usr/src/lib/libnsl/ipsec/
H A Dalgs.c84 char *lasts, *token; in build_keysizes() local
102 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()
192 char *token, *lasts, *alg_names, *ef_name, *key_string, *block_string; in build_list() local
215 if ((token = strtok_r(line, " \t\n", &lasts)) == NULL || in build_list()
230 token = strtok_r(line, pipechar, &lasts); in build_list()
[all …]
/titanic_41/usr/src/cmd/fs.d/nfs/lib/
H A Dsharetab.c65 char *lasts; in getshare() local
84 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()
173 char *lasts; in getshareopt() local
180 while ((p = strtok_r(b, ",", &lasts)) != NULL) { in getshareopt()
H A Dnfslogtab.c69 char *lasts, *tmp; in logtab_getent() local
86 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_41/usr/src/lib/libc/port/gen/
H A Dstrtok_r.c44 strtok_r(char *string, const char *sepset, char **lasts) in strtok_r() argument
50 string = *lasts; in strtok_r()
61 *lasts = NULL; /* indicate this is last token */ in strtok_r()
64 *lasts = r + 1; in strtok_r()
H A Dstrtok.c46 char **lasts = tsdalloc(_T_STRTOK, sizeof (char *), NULL); in strtok() local
48 if (lasts == NULL) in strtok()
50 return (strtok_r(string, sepset, lasts)); in strtok()
H A Disaexec.c52 char *lasts; in isaexec() local
113 str = strtok_r(isalist, " ", &lasts); in isaexec()
139 } while ((str = strtok_r(NULL, " ", &lasts)) != NULL); in isaexec()
H A Dcrypt.c439 char *lasts; in alg_valid() local
464 lasts = list; in alg_valid()
465 while ((entry = strtok_r(NULL, ",", &lasts)) != NULL) { in alg_valid()
495 char *lasts = NULL; in getalgbyname() local
565 token = strtok_r(line, " \t", &lasts); in getalgbyname()
578 token = strtok_r(NULL, " \t", &lasts); in getalgbyname()
645 if (lasts != NULL) { in getalgbyname()
650 if ((tparams = strdup(lasts)) == NULL) { in getalgbyname()
667 while ((token = strtok_r(NULL, " \t", &lasts)) != NULL) { in getalgbyname()
/titanic_41/usr/src/lib/libinstzones/common/
H A Dzones_str.c184 char *lasts; in _z_strContainsToken() local
210 lasts = p; in _z_strContainsToken()
214 while ((current = strtok_r(NULL, a_separators, &lasts)) != in _z_strContainsToken()
263 char *lasts; in _z_strGetToken() local
282 lasts = p; in _z_strGetToken()
286 while (q = strtok_r(NULL, a_separators, &lasts)) { in _z_strGetToken()
369 char *lasts; in _z_strGetToken_r() local
394 lasts = p; in _z_strGetToken_r()
398 while (q = strtok_r(NULL, a_separators, &lasts)) { in _z_strGetToken_r()
/titanic_41/usr/src/lib/libpkg/common/
H A Dpkgstr.c410 char *lasts; in pkgstrGetToken() local
432 lasts = p; in pkgstrGetToken()
436 while (q = strtok_r((char *)NULL, a_separators, &lasts)) { in pkgstrGetToken()
523 char *lasts; in pkgstrGetToken_r() local
551 lasts = p; in pkgstrGetToken_r()
555 while (q = strtok_r((char *)NULL, a_separators, &lasts)) { in pkgstrGetToken_r()
678 char *lasts; in pkgstrContainsToken() local
713 lasts = p; in pkgstrContainsToken()
717 while ((current = strtok_r((char *)NULL, a_separators, &lasts)) != in pkgstrContainsToken()
/titanic_41/usr/src/cmd/sgs/crle/common/
H A Dutil.c168 char *lasts; in addlib() local
179 if ((arg = strtok_r(arg, colon, &lasts)) != NULL) { in addlib()
230 } while ((arg = strtok_r(NULL, colon, &lasts)) != NULL); in addlib()
246 char *lasts; in dlflags() local
260 if ((tok = strtok_r(_arg, separate, &lasts)) != NULL) { in dlflags()
291 } while ((tok = strtok_r(NULL, separate, &lasts)) != NULL); in dlflags()
/titanic_41/usr/src/lib/libc/port/i18n/
H A Dwstok.c78 wchar_t **lasts = tsdalloc(_T_WCSTOK, sizeof (wchar_t *), NULL); in wcstok() local
80 if (lasts == NULL) in wcstok()
82 return (__wcstok_xpg5(string, sepset, lasts)); in wcstok()
/titanic_41/usr/src/lib/libnsl/nss/
H A Dparse.c43 _strtok_escape(char *string, char *sepset, char **lasts) in _strtok_escape() argument
49 string = *lasts; in _strtok_escape()
59 *lasts = 0; /* indicate this is last token */ in _strtok_escape()
62 *lasts = r+1; in _strtok_escape()
/titanic_41/usr/src/cmd/sgs/link_audit/common/
H A Denv.c38 char *lasts; in build_env_list() local
43 tok = strtok_r(envstr, token, &lasts); in build_env_list()
53 tok = strtok_r(NULL, token, &lasts); in build_env_list()
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dllp.c192 char *cp, *lasts, *lstr, *srcstr, *addrstr; in parse_llp_config() local
221 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_41/usr/src/lib/pam_modules/roles/
H A Droles.c188 char *lasts = (char *)NULL; in roleinlist() local
189 char *rolename = (char *)strtok_r(list, ",", &lasts); in roleinlist()
195 rolename = (char *)strtok_r(NULL, ",", &lasts); in roleinlist()
/titanic_41/usr/src/cmd/krb5/kadmin/kclient/
H A Dkconf.c120 char c, *realm, *kdcs, *master, *domain, *token, *lasts; in main() local
174 token = strtok_r(kdcs, ",", &lasts); in main()
188 } while ((token = strtok_r(NULL, ",", &lasts)) != NULL); in main()
/titanic_41/usr/src/lib/libcryptoutil/common/
H A Dconfig_parsing.c164 char *lasts; in uef_interpret() local
168 if ((token1 = strtok_r(buf, SEP_COLON, &lasts)) == NULL) { in uef_interpret()
198 while ((token2 = strtok_r(NULL, SEP_SEMICOLON, &lasts)) != NULL) { in uef_interpret()
235 char *lasts; in parse_policylist() local
322 if ((next_token = strtok_r(value, SEP_COMMA, &lasts)) == NULL) { in parse_policylist()
347 next_token = strtok_r(NULL, SEP_COMMA, &lasts); in parse_policylist()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclscsi.c92 extern char *strtok_r(char *s1, const char *s2, char **lasts);
237 char *lasts = NULL; in find_scsi_controller() local
248 lasts = tmp->data->ap_phys_id; in find_scsi_controller()
249 token = (char *)strtok_r(lasts, (const char *)":", in find_scsi_controller()
250 (char **)&lasts); in find_scsi_controller()
559 char *lasts = NULL, *token = NULL; in is_node_present() local
575 lasts = curr->data->ap_phys_id; in is_node_present()
576 token = (char *)strtok_r(lasts, (const char *)":", in is_node_present()
577 (char **)&lasts); in is_node_present()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/
H A Dpicldr.c73 extern char *strtok_r(char *s1, const char *s2, char **lasts);
109 char *token, *lasts; in env_read_policy_configuration() local
119 token = (char *)strtok_r(buf, RECORD_WHITESPACE, &lasts); in env_read_policy_configuration()
128 token = (char *)strtok_r(lasts, RECORD_WHITESPACE, &lasts); in env_read_policy_configuration()
137 if (lasts) { in env_read_policy_configuration()
138 policyp->argp = strdup(lasts); in env_read_policy_configuration()
/titanic_41/usr/src/cmd/devfsadm/
H A Dusb_link.c437 char *lasts = s; in ugen_create_link() local
451 vid = strtok_r(lasts, ".", &lasts); in ugen_create_link()
452 pid = strtok_r(NULL, ".", &lasts); in ugen_create_link()
453 minor_name = lasts; in ugen_create_link()
/titanic_41/usr/src/cmd/svr4pkg/libinst/
H A Disreloc.c196 register char **lasts = &entry; in is_relative() local
209 entry = strtok_r(entry, "/", lasts); in is_relative()
/titanic_41/usr/src/lib/libbsm/common/
H A Ddevalloc.c85 char *lasts = NULL; in da_check_logindevperm() local
117 if (strtok_r(line, field_delims, &lasts) == NULL) in da_check_logindevperm()
119 if (strtok_r(NULL, field_delims, &lasts) == NULL) in da_check_logindevperm()
122 if ((ptr = strtok_r(NULL, field_delims, &lasts)) == NULL) in da_check_logindevperm()
143 device = strtok_r(fbuf, ":", &lasts); in da_check_logindevperm()
166 device = strtok_r(NULL, ":", &lasts); in da_check_logindevperm()
1059 char *lasts; in _write_new_defattrs() local
1070 if ((tok = strtok_r(tokp, KV_DELIMITER, &lasts)) != NULL) { in _write_new_defattrs()
1074 while ((tok = strtok_r(NULL, KV_DELIMITER, &lasts)) != NULL) { in _write_new_defattrs()
1098 char *lasts; in _write_new_entry() local
[all …]
/titanic_41/usr/src/lib/libtsnet/common/
H A Dtsol_sgetzcent.c64 char *lasts, *cp; in str_to_mlp() local
72 fieldp = strtok_r(mlp_str, KV_DELIMITER, &lasts); in str_to_mlp()
100 fieldp = strtok_r(NULL, KV_DELIMITER, &lasts); in str_to_mlp()
/titanic_41/usr/src/cmd/tnf/prex/
H A Dspec.c207 char *lasts; in spec_attrtrav() local
246 for (pair = strtok_r(escptr, ";", &lasts); pair; in spec_attrtrav()
247 pair = strtok_r(NULL, ";", &lasts)) { in spec_attrtrav()

1234