Home
last modified time | relevance | path

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

/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.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 = strchr(saveptr, ':'); in get_cpu_baseinfo()
/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/u-boot/tools/
Dproftool.c388 char *saveptr; in read_trace_config() local
409 tok = strtok_r(s, " \t", &saveptr); in read_trace_config()
425 tok = strtok_r(NULL, " \t", &saveptr); in read_trace_config()
Dkwbimage.c1327 char *keyword, *saveptr, *value1, *value2; in image_create_config_parse_oneline() local
1332 keyword = strtok_r(line, delimiters, &saveptr); in image_create_config_parse_oneline()
1342 value1 = strtok_r(NULL, delimiters, &saveptr); in image_create_config_parse_oneline()
1385 char *value = strtok_r(NULL, delimiters, &saveptr); in image_create_config_parse_oneline()
1400 value2 = strtok_r(NULL, delimiters, &saveptr); in image_create_config_parse_oneline()
/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/kmod/tools/
Ddepmod.c615 char *cmd, *saveptr; in cfg_file_parse() local
620 cmd = strtok_r(line, "\t ", &saveptr); in cfg_file_parse()
626 while ((sp = strtok_r(NULL, "\t ", &saveptr)) != NULL) { in cfg_file_parse()
630 const char *modname = strtok_r(NULL, "\t ", &saveptr); in cfg_file_parse()
631 const char *version = strtok_r(NULL, "\t ", &saveptr); in cfg_file_parse()
632 const char *subdir = strtok_r(NULL, "\t ", &saveptr); in cfg_file_parse()
646 const char *version = strtok_r(NULL, "\t ", &saveptr); in cfg_file_parse()
647 const char *dir = strtok_r(NULL, "\t ", &saveptr); in cfg_file_parse()
/external/selinux/libselinux/src/android/
Dandroid_platform.c350 char *p, *name = NULL, *value = NULL, *saveptr; in selinux_android_seapp_context_reload() local
438 token = strtok_r(p, " \t", &saveptr); in selinux_android_seapp_context_reload()
625 token = strtok_r(NULL, " \t", &saveptr); in selinux_android_seapp_context_reload()
/external/selinux/libsepol/src/
Dmodule_to_cil.c2972 char *saveptr = NULL; in level_string_to_cil() local
2987 token = strtok_r(cats, ",", &saveptr); in level_string_to_cil()
2996 token = strtok_r(NULL, ",", &saveptr); in level_string_to_cil()
/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/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()