Home
last modified time | relevance | path

Searched refs:strtok_r (Results 1 – 25 of 133) sorted by relevance

123456

/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dcommands.c168 args = strtok_r(args, whitespace, &nextarg); in get_range()
178 args = strtok_r(args, whitespace, &nextarg); in get_range()
322 arg = strtok_r(args, " ", &args); in get_mbind_flags()
570 idlist = strtok_r(args, whitespace, &nextarg); in migrate_process()
580 idlist = strtok_r(args, whitespace, &nextarg); in migrate_process()
658 segname = strtok_r(args, whitespace, &nextarg); in show_seg()
681 segname = strtok_r(args, whitespace, &nextarg); in anon_seg()
686 args = strtok_r(args, whitespace, &nextarg); in anon_seg()
719 pathname = strtok_r(args, whitespace, &nextarg); in file_seg()
752 filename = strtok_r(args, whitespace, &nextarg); in delete_file()
[all …]
/external/google-breakpad/src/processor/
Dtokenize.cc40 #define strtok_r strtok_s macro
57 char *token = strtok_r(line, separators, &save_ptr); in Tokenize()
61 token = strtok_r(NULL, separators, &save_ptr); in Tokenize()
65 if (remaining == 0 && (token = strtok_r(NULL, "\r\n", &save_ptr))) { in Tokenize()
Dbasic_source_line_resolver.cc60 #define strtok_r strtok_s macro
164 buffer = strtok_r(memory_buffer, "\r\n", &save_ptr); in LoadMapFromMemory()
222 buffer = strtok_r(NULL, "\r\n", &save_ptr); in LoadMapFromMemory()
475 char *init_or_address = strtok_r(stack_info_line, " \r\n", &cursor); in ParseCFIFrameInfo()
481 char *address_field = strtok_r(NULL, " \r\n", &cursor); in ParseCFIFrameInfo()
484 char *size_field = strtok_r(NULL, " \r\n", &cursor); in ParseCFIFrameInfo()
487 char *initial_rules = strtok_r(NULL, "\r\n", &cursor); in ParseCFIFrameInfo()
498 char *delta_rules = strtok_r(NULL, "\r\n", &cursor); in ParseCFIFrameInfo()
Dcfi_frame_info.cc47 #define strtok_r strtok_s macro
137 char *token = strtok_r(working_copy.get(), token_breaks, &cursor); in Parse()
161 token = strtok_r(NULL, token_breaks, &cursor); in Parse()
/external/tpm2-tss/src/util/
Dkey-value-parse.c41 tok = strtok_r (key_value_str, delim, &state); in parse_key_value()
48 tok = strtok_r (NULL, delim, &state); in parse_key_value()
82 for (tok = strtok_r (kv_str, delim, &state); in parse_key_value_string()
84 tok = strtok_r (NULL, delim, &state)) { in parse_key_value_string()
/external/ltp/testcases/kernel/controllers/io/
Dio_control01.c59 line = strtok_r(buf, "\n", &buf_ptr); in run()
71 line = strtok_r(NULL, "\n", &buf_ptr); in run()
97 line = strtok_r(buf, "\n", &buf_ptr); in run()
106 line = strtok_r(NULL, "\n", &buf_ptr); in run()
/external/virglrenderer/src/
Dvrend_tweaks.c135 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.c57 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/trace-cmd/lib/trace-cmd/
Dtrace-util.c121 line = strtok_r(file, "\n", &next); in tracecmd_parse_cmdlines()
126 line = strtok_r(NULL, "\n", &next); in tracecmd_parse_cmdlines()
141 line = strtok_r(file, "\n", &next); in tracecmd_parse_proc_kallsyms()
175 line = strtok_r(NULL, "\n", &next); in tracecmd_parse_proc_kallsyms()
189 line = strtok_r(file, "\n", &next); in tracecmd_parse_ftrace_printk()
191 addr_str = strtok_r(line, ":", &fmt); in tracecmd_parse_ftrace_printk()
199 line = strtok_r(NULL, "\n", &next); in tracecmd_parse_ftrace_printk()
/external/libtracefs/src/
Dtracefs-dynevents.c101 *prefix = strtok_r(word, ":", &sav); in parse_prefix()
102 *system = strtok_r(NULL, "/", &sav); in parse_prefix()
106 *name = strtok_r(NULL, " \t", &sav); in parse_prefix()
132 word = strtok_r(line, " \t", &sav); in dyn_generic_parse()
141 address = strtok_r(NULL, " \t", &sav); in dyn_generic_parse()
146 format = strtok_r(NULL, "", &sav); in dyn_generic_parse()
238 event = strtok_r(line, " \t", &sav); in dyn_synth_parse()
242 format = strtok_r(NULL, "", &sav); in dyn_synth_parse()
/external/tensorflow/third_party/
Dgif_fix_strtok_r.patch8 +// Windows doesn't have strtok_r.
10 +#define strtok_r strtok_s
/external/e2fsprogs/contrib/android/
Dbase_fs.c67 block_range = strtok_r(line + offset, ",\n", &saveptr1); in basefs_readline()
69 block = strtok_r(block_range, "-", &saveptr2); in basefs_readline()
73 block = strtok_r(NULL, "-", &saveptr2); in basefs_readline()
76 block_range = strtok_r(NULL, ",\n", &saveptr1); in basefs_readline()
De2fsdroid.c75 for (token = strtok_r(line, " ", &token_saveptr), num_tokens = 0; in parse_ugid_map_entry()
77 token = strtok_r(NULL, " ", &token_saveptr), ++num_tokens) { in parse_ugid_map_entry()
86 if (num_tokens < 3 || strtok_r(NULL, " ", &token_saveptr) != NULL) { in parse_ugid_map_entry()
186 for (line = strtok_r(arg, "\n", &line_saveptr), current_index = 0; in parse_ugid_map()
188 line = strtok_r(NULL, "\n", &line_saveptr), ++current_index) { in parse_ugid_map()
/external/iw/
Dnan.c231 cur_mac = strtok_r(argv[0], ";", &sptr); in parse_srf()
240 cur_mac = strtok_r(NULL, ";", &sptr); in parse_srf()
256 cur_mac = strtok_r(argv[0], ";", &sptr); in parse_srf()
262 cur_mac = strtok_r(NULL, ";", &sptr); in parse_srf()
291 cur_filt = strtok_r(filter, ":", &sptr); in parse_match_filter()
298 cur_filt = strtok_r(NULL, ":", &sptr); in parse_match_filter()
Dibss.c74 value = strtok_r(argv[0], ",", &sptr); in join_ibss()
86 value = strtok_r(NULL, ",", &sptr); in join_ibss()
/external/kmod/libkmod/
Dlibkmod-config.c653 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()
691 char *removecmd = strtok_r(NULL, "\0", &saveptr); in kmod_config_parse()
[all …]
/external/minijail/
Dsyscall_filter.c240 char *argidx_str = strtok_r(atom, " ", &atom_ptr); in compile_atom()
246 char *operator_str = strtok_r(NULL, " ", &atom_ptr); in compile_atom()
252 char *constant_str = strtok_r(NULL, " ", &atom_ptr); in compile_atom()
260 const char *extra = strtok_r(NULL, " ", &atom_ptr); in compile_atom()
326 char *ret_str = strtok_r(ret_errno, " ", &errno_ptr); in compile_errno()
330 char *errno_val_str = strtok_r(NULL, " ", &errno_ptr); in compile_errno()
441 char *arg_filter = strtok_r(line, ";", &line_ptr); in compile_policy_line()
442 char *ret_errno = strtok_r(NULL, ";", &line_ptr); in compile_policy_line()
/external/strace/
Dbasic_filters.c334 for (const char *token = strtok_r(copy, ",", &saveptr); in qualify_syscall_tokens()
335 token; token = strtok_r(NULL, ",", &saveptr)) { in qualify_syscall_tokens()
391 for (const char *token = strtok_r(copy, ",", &saveptr); in qualify_tokens()
392 token; token = strtok_r(NULL, ",", &saveptr)) { in qualify_tokens()
/external/ltp/lib/
Dtst_cmd.c251 cmd_token = strtok_r(parser_cmd, " ", &next); in tst_check_cmd()
252 op_token = strtok_r(NULL, " ", &next); in tst_check_cmd()
253 version_token = strtok_r(NULL, " ", &next); in tst_check_cmd()
254 str = strtok_r(NULL, " ", &next); in tst_check_cmd()
/external/e2fsprogs/lib/support/
Dparse_qtype.c33 for (token = buf, next = strtok_r(buf, PARSE_DELIM, &tmp); in parse_quota_types()
69 next = strtok_r(NULL, PARSE_DELIM, &tmp); in parse_quota_types()
/external/kmod/testsuite/
Dtest-strbuf.c69 for (c = strtok_r(str, " ", &saveptr); c != NULL; in test_strbuf_pushchars()
70 c = strtok_r(NULL, " ", &saveptr)) { in test_strbuf_pushchars()
/external/oj-libjdwp/src/solaris/back/
Dlinker_md.c67 path = strtok_r(paths_copy, PATH_SEPARATOR, &next_token); in dll_build_name()
75 path = strtok_r(NULL, PATH_SEPARATOR, &next_token); in dll_build_name()
/external/libvpx/examples/
Dsvc_encodeframe.c33 #define strtok_r strtok_s macro
42 #define strtok_r strtok_s macro
161 token = strtok_r(input_string, delim, &save_ptr); in parse_layer_options_from_string()
166 token = strtok_r(NULL, delim, &save_ptr); in parse_layer_options_from_string()
203 option_name = strtok_r(input_string, "=", &input_ptr); in parse_options()
206 option_value = strtok_r(NULL, " ", &input_ptr); in parse_options()
247 option_name = strtok_r(NULL, "=", &input_ptr); in parse_options()
/external/libtracefs/Documentation/
Dlibtracefs-hist-mod.txt219 for (key = strtok_r(keys, ",", &sav); key; key = strtok_r(NULL, ",", &sav)) {
341 for (val = strtok_r(vals, ",", &sav); val; val = strtok_r(NULL, ",", &sav)) {
352 for (val = strtok_r(sort, ",", &sav); val; val = strtok_r(NULL, ",", &sav)) {
363 for (val = strtok_r(ascend, ",", &sav); val; val = strtok_r(NULL, ",", &sav)) {
374 for (val = strtok_r(desc, ",", &sav); val; val = strtok_r(NULL, ",", &sav)) {
Dlibtracefs-hist.txt191 for (key = strtok_r(keys, ",", &sav); key; key = strtok_r(NULL, ",", &sav)) {
331 for (val = strtok_r(vals, ",", &sav); val; val = strtok_r(NULL, ",", &sav)) {
342 for (val = strtok_r(sort, ",", &sav); val; val = strtok_r(NULL, ",", &sav)) {
353 for (val = strtok_r(ascend, ",", &sav); val; val = strtok_r(NULL, ",", &sav)) {
364 for (val = strtok_r(desc, ",", &sav); val; val = strtok_r(NULL, ",", &sav)) {

123456