Home
last modified time | relevance | path

Searched refs:saveptr (Results 1 – 14 of 14) sorted by relevance

/external/strace/
Dqualify.c133 char *saveptr = NULL; in qualify_tokens() local
137 for (token = strtok_r(copy, ",", &saveptr); token; in qualify_tokens()
138 token = strtok_r(NULL, ",", &saveptr)) { in qualify_tokens()
398 char *saveptr = NULL; in qualify_syscall_tokens() local
402 for (token = strtok_r(copy, ",", &saveptr); token; in qualify_syscall_tokens()
403 token = strtok_r(NULL, ",", &saveptr)) { in qualify_syscall_tokens()
502 char *saveptr = NULL; in parse_inject_expression() local
507 for (token = strtok_r(*buf, ":", &saveptr); token; in parse_inject_expression()
508 token = strtok_r(NULL, ":", &saveptr)) { in parse_inject_expression()
/external/kmod/testsuite/
Dtest-strbuf.c63 char *result1, *saveptr = NULL, *str, *result2; in test_strbuf_pushchars() local
69 for (c = strtok_r(str, " ", &saveptr); c != NULL; in test_strbuf_pushchars()
70 c = strtok_r(NULL, " ", &saveptr)) { in test_strbuf_pushchars()
/external/kmod/libkmod/
Dlibkmod-config.c591 char *cmd, *saveptr; in kmod_config_parse() local
596 cmd = strtok_r(line, "\t ", &saveptr); in kmod_config_parse()
601 char *alias = strtok_r(NULL, "\t ", &saveptr); in kmod_config_parse()
602 char *modname = strtok_r(NULL, "\t ", &saveptr); in kmod_config_parse()
609 char *modname = strtok_r(NULL, "\t ", &saveptr); in kmod_config_parse()
616 char *modname = strtok_r(NULL, "\t ", &saveptr); in kmod_config_parse()
617 char *options = strtok_r(NULL, "\0", &saveptr); in kmod_config_parse()
624 char *modname = strtok_r(NULL, "\t ", &saveptr); in kmod_config_parse()
625 char *installcmd = strtok_r(NULL, "\0", &saveptr); in kmod_config_parse()
633 char *modname = strtok_r(NULL, "\t ", &saveptr); in kmod_config_parse()
[all …]
Dlibkmod-module.c143 char *p, *saveptr; in kmod_module_parse_depline() local
177 for (p = strtok_r(p, " \t", &saveptr); p != NULL; in kmod_module_parse_depline()
178 p = strtok_r(NULL, " \t", &saveptr)) { in kmod_module_parse_depline()
1666 char *saveptr, *name = strtok_r(line, " \t", &saveptr); in kmod_module_new_from_loaded() local
1835 char *saveptr, *endptr, *tok = strtok_r(line, " \t", &saveptr); in kmod_module_get_size() local
1842 tok = strtok_r(NULL, " \t", &saveptr); in kmod_module_get_size()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dcpuinfo.c33 char *istr = NULL, *valstr = NULL, *saveptr = NULL; in get_cpu_baseinfo() local
61 istr = strtok_r(buf, "\t", &saveptr); in get_cpu_baseinfo()
62 valstr = index(saveptr, ':'); in get_cpu_baseinfo()
/external/vboot_reference/host/lib/
Dcrossystem.c161 char *t, *saveptr; in VbScanBuildOption() local
170 for (t = strtok_r(buf, delimiters, &saveptr); t; in VbScanBuildOption()
171 t = strtok_r(NULL, delimiters, &saveptr)) { in VbScanBuildOption()
/external/valgrind/coregrind/
Dm_libcbase.c472 VG_(strtok_r) (HChar* s, const HChar* delim, HChar** saveptr) in VG_()
477 s = *saveptr; in VG_()
483 *saveptr = s; in VG_()
492 *saveptr = token + VG_(strlen) (token); in VG_()
497 *saveptr = s + 1; in VG_()
/external/valgrind/include/
Dpub_tool_libcbase.h102 extern HChar* VG_(strtok_r) (HChar* s, const HChar* delim, HChar** saveptr);
/external/kmod/tools/
Ddepmod.c562 char *cmd, *saveptr; in cfg_file_parse() local
567 cmd = strtok_r(line, "\t ", &saveptr); in cfg_file_parse()
573 while ((sp = strtok_r(NULL, "\t ", &saveptr)) != NULL) { in cfg_file_parse()
578 const char *modname = strtok_r(NULL, "\t ", &saveptr); in cfg_file_parse()
579 const char *version = strtok_r(NULL, "\t ", &saveptr); in cfg_file_parse()
580 const char *subdir = strtok_r(NULL, "\t ", &saveptr); in cfg_file_parse()
/external/selinux/libselinux/src/android/
Dandroid_platform.c402 char *p, *name = NULL, *value = NULL, *saveptr; in selinux_android_seapp_context_reload() local
465 token = strtok_r(p, " \t", &saveptr); in selinux_android_seapp_context_reload()
653 token = strtok_r(NULL, " \t", &saveptr); in selinux_android_seapp_context_reload()
/external/selinux/libsepol/src/
Dmodule_to_cil.c2952 char *saveptr = NULL; in level_string_to_cil() local
2967 token = strtok_r(cats, ",", &saveptr); in level_string_to_cil()
2976 token = strtok_r(NULL, ",", &saveptr); in level_string_to_cil()
/external/valgrind/memcheck/
Dmc_main.c6461 static Bool VG_(parse_slice) (HChar* s, HChar** saveptr, in VG_()
6467 wl = VG_(strtok_r) (s, " ", saveptr); in VG_()
6480 if (*endptr == '\0' && *next_non_space(*saveptr) != '.') { in VG_()
6490 wl = VG_(strtok_r) (NULL, " .", saveptr); in VG_()
6499 wl = VG_(strtok_r) (NULL, " .", saveptr); in VG_()
/external/mesa3d/src/compiler/glsl/
Dlinker.cpp3584 char *saveptr; in included_in_packed_varying() local
3585 char *token = strtok_r(list, ",", &saveptr); in included_in_packed_varying()
3591 token = strtok_r(NULL, ",", &saveptr); in included_in_packed_varying()
/external/mdnsresponder/mDNSCore/
DmDNS.c6371 RData *saveptr = rr->resrec.rdata; // Save the rr->resrec.rdata pointer in CreateNewCacheEntry() local
6373 rr->resrec.rdata = saveptr; // Restore rr->resrec.rdata after the structure assignment in CreateNewCacheEntry()