Home
last modified time | relevance | path

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

/external/virglrenderer/src/
Dvrend_tweaks.c132 char *saveptr; in vrend_set_tweak_from_env() local
135 char *tweak = strtok_r(tweak_descr_copy, ":", &saveptr); in vrend_set_tweak_from_env()
137 char *tweak_param = strtok_r(NULL, ",", &saveptr); in vrend_set_tweak_from_env()
145 tweak = strtok_r(NULL, ":", &saveptr); in vrend_set_tweak_from_env()
/external/libdrm/amdgpu/
Damdgpu_asic_id.c39 char *buf, *saveptr; in parse_one_line() local
57 s_did = strtok_r(buf, ",", &saveptr); in parse_one_line()
71 s_rid = strtok_r(NULL, ",", &saveptr); in parse_one_line()
85 s_name = strtok_r(NULL, ",", &saveptr); in parse_one_line()
/external/strace/
Dbasic_filters.c331 char *saveptr = NULL; in qualify_syscall_tokens() local
334 for (const char *token = strtok_r(copy, ",", &saveptr); in qualify_syscall_tokens()
335 token; token = strtok_r(NULL, ",", &saveptr)) { in qualify_syscall_tokens()
388 char *saveptr = NULL; in qualify_tokens() local
391 for (const char *token = strtok_r(copy, ",", &saveptr); in qualify_tokens()
392 token; token = strtok_r(NULL, ",", &saveptr)) { in qualify_tokens()
Dfilter_qualify.c259 char *saveptr = NULL; in parse_inject_expression() local
260 const char *name = strtok_r(str, ":", &saveptr); in parse_inject_expression()
263 while ((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.c648 char *cmd, *saveptr; in kmod_config_parse() local
653 cmd = strtok_r(line, "\t ", &saveptr); in kmod_config_parse()
658 char *alias = strtok_r(NULL, "\t ", &saveptr); in kmod_config_parse()
659 char *modname = strtok_r(NULL, "\t ", &saveptr); in kmod_config_parse()
666 char *modname = strtok_r(NULL, "\t ", &saveptr); in kmod_config_parse()
673 char *modname = strtok_r(NULL, "\t ", &saveptr); in kmod_config_parse()
674 char *options = strtok_r(NULL, "\0", &saveptr); in kmod_config_parse()
681 char *modname = strtok_r(NULL, "\t ", &saveptr); in kmod_config_parse()
682 char *installcmd = strtok_r(NULL, "\0", &saveptr); in kmod_config_parse()
690 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()
1734 char *saveptr, *name = strtok_r(line, " \t", &saveptr); in kmod_module_new_from_loaded() local
1903 char *saveptr, *endptr, *tok = strtok_r(line, " \t", &saveptr); in kmod_module_get_size() local
1910 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 = strchr(saveptr, ':'); in get_cpu_baseinfo()
/external/dtc/tests/
Dsw_tree1.c137 char *str = argv[2], *saveptr, *tok; in main() local
140 while ((tok = strtok_r(str, ",", &saveptr)) != NULL) { in main()
/external/fastrpc/src/
Dlog_config.c92 char *saveptr = NULL; in parseLogConfig() local
105 path = strtok_r (tempFiles, delim, &saveptr); in parseLogConfig()
109 path = strtok_r (NULL, delim, &saveptr); in parseLogConfig()
124 path = strtok_r (tempFiles, delim, &saveptr); in parseLogConfig()
130 path = strtok_r (NULL, delim, &saveptr); in parseLogConfig()
Dapps_std_imp.c762 char *saveptr = NULL; in __QAIC_IMPL() local
775 path = strtok_r (dirListBuf, delim, &saveptr); in __QAIC_IMPL()
785 path = strtok_r (NULL, delim, &saveptr); in __QAIC_IMPL()
/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/selinux/libselinux/src/android/
Dandroid_seapp.c302 char *p, *name = NULL, *value = NULL, *saveptr; in seapp_context_reload_internal() local
363 token = strtok_r(p, " \t", &saveptr); in seapp_context_reload_internal()
545 token = strtok_r(NULL, " \t", &saveptr); in seapp_context_reload_internal()
/external/libtracefs/src/
Dtracefs-tools.c620 char *saveptr = NULL; in match_filters() local
626 tok = strtok_r(line, " ", &saveptr); in match_filters()
633 mtok = strtok_r(NULL, " ", &saveptr); in match_filters()
Dtracefs-events.c833 char *str, *saveptr; in tracefs_tracers() local
858 plugin = strtok_r(str, " ", &saveptr); in tracefs_tracers()
/external/kmod/tools/
Ddepmod.c646 char *cmd, *saveptr; in cfg_file_parse() local
651 cmd = strtok_r(line, "\t ", &saveptr); in cfg_file_parse()
657 while ((sp = strtok_r(NULL, "\t ", &saveptr)) != NULL) { in cfg_file_parse()
661 const char *modname = strtok_r(NULL, "\t ", &saveptr); in cfg_file_parse()
662 const char *version = strtok_r(NULL, "\t ", &saveptr); in cfg_file_parse()
663 const char *subdir = strtok_r(NULL, "\t ", &saveptr); in cfg_file_parse()
677 const char *version = strtok_r(NULL, "\t ", &saveptr); in cfg_file_parse()
678 const char *dir = strtok_r(NULL, "\t ", &saveptr); in cfg_file_parse()
692 while ((sp = strtok_r(NULL, "\t ", &saveptr)) != NULL) { in cfg_file_parse()
/external/bcc/libbpf-tools/
Dksnoop.c517 char *arg, *saveptr; in parse_trace() local
576 for (arg = strtok_r(argdata, ",", &saveptr), i = 0; in parse_trace()
578 arg = strtok_r(NULL, ",", &saveptr), i++) { in parse_trace()
/external/mesa3d/src/compiler/glsl/
Dlinker.cpp3607 char *saveptr; in included_in_packed_varying() local
3608 char *token = strtok_r(list, ",", &saveptr); in included_in_packed_varying()
3614 token = strtok_r(NULL, ",", &saveptr); in included_in_packed_varying()
/external/selinux/libsepol/src/
Dmodule_to_cil.c3019 char *saveptr = NULL; in level_string_to_cil() local
3034 token = strtok_r(cats, ",", &saveptr); in level_string_to_cil()
3043 token = strtok_r(NULL, ",", &saveptr); in level_string_to_cil()
/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()