Home
last modified time | relevance | path

Searched refs:strtok (Results 1 - 25 of 99) sorted by relevance

1234

/third_party/f2fs-tools/tools/
H A Df2fs_io_parse.c169 ptr = strtok(NULL, " "); in handle_tp_pid()
172 ptr = strtok(NULL, " "); in handle_tp_pid()
183 ptr = strtok(NULL, " "); in handle_tp_ios()
186 ptr = strtok(NULL, " "); in handle_tp_ios()
187 ptr = strtok(NULL, " "); in handle_tp_ios()
190 ptr = strtok(NULL, " "); in handle_tp_ios()
193 ptr = strtok(NULL, " "); in handle_tp_ios()
195 ptr = strtok(NULL, " "); in handle_tp_ios()
198 ptr = strtok(NULL, " "); in handle_tp_ios()
217 ptr = strtok(lin in do_parse()
[all...]
/third_party/toybox/toys/other/
H A Dlsmod.c26 char *name = strtok(toybuf, " "), *size = strtok(NULL, " "), in lsmod_main()
27 *refcnt = strtok(NULL, " "), *users = strtok(NULL, " "); in lsmod_main()
/third_party/python/Lib/ctypes/test/
H A Dtest_funcptr.py104 strtok = lib.my_strtok
105 strtok.restype = c_char_p
106 # Neither of this does work: strtok changes the buffer it is passed
107 ## strtok.argtypes = (c_char_p, c_char_p)
108 ## strtok.argtypes = (c_string, c_char_p)
121 self.assertEqual(strtok(b, b"\n"), b"a")
122 self.assertEqual(strtok(None, b"\n"), b"b")
123 self.assertEqual(strtok(None, b"\n"), b"c")
124 self.assertEqual(strtok(None, b"\n"), None)
/third_party/ltp/testcases/kernel/fs/doio/
H A Dstring_to_tokens.c69 * This function uses strtok() to parse 'arg_string', and thus
84 char *strtok(); in string_to_tokens()
90 * Use strtok() to parse 'arg_string', placing pointers to the in string_to_tokens()
93 if ((arg_array[num_toks] = strtok(arg_string, separator)) == NULL) { in string_to_tokens()
98 if ((arg_array[num_toks] = strtok(NULL, separator)) == NULL) in string_to_tokens()
/third_party/jerryscript/jerry-ext/debugger/
H A Ddebugger-serial.c337 char *token = strtok (tmp_config, ","); in jerryx_debugger_serial_create()
339 serial_config.baud_rate = (token = strtok (NULL, ",")) ? (uint32_t) strtoul (token, NULL, 10) : 115200; in jerryx_debugger_serial_create()
340 serial_config.data_bits = (token = strtok (NULL, ",")) ? (uint32_t) strtoul (token, NULL, 10) : 8; in jerryx_debugger_serial_create()
341 serial_config.parity = (token = strtok (NULL, ",")) ? token[0] : 'N'; in jerryx_debugger_serial_create()
342 serial_config.stop_bits = (token = strtok (NULL, ",")) ? (uint32_t) strtoul (token, NULL, 10) : 1; in jerryx_debugger_serial_create()
/third_party/musl/libc-test/src/functional/
H A Dstring.c70 TEST(s, strtok(b, " "), b, "%p != %p"); in main()
71 TEST_S(s, "abc", "strtok result"); in main()
73 TEST(s, strtok(NULL, ";"), b+4, "%p != %p"); in main()
74 TEST_S(s, " 123", "strtok result"); in main()
76 TEST(s, strtok(NULL, " ;"), b+11, "%p != %p"); in main()
77 TEST_S(s, "xyz", "strtok result"); in main()
79 TEST(s, strtok(NULL, " ;"), b+16, "%p != %p"); in main()
80 TEST_S(s, "foo", "strtok result"); in main()
/third_party/googletest/googletest/src/hwext/
H A Dgtest-utils.cc68 char *tokenptr = strtok(src, delim.c_str()); in SplitString()
73 tokenptr = strtok(NULL, delim.c_str()); in SplitString()
H A Dgtest-tag.cc80 pch = strtok(name_cpoy, kCandidateSeps); in eleForName()
102 pch = strtok(NULL, kCandidateSeps); in eleForName()
/third_party/ltp/testcases/kernel/fs/mongo/
H A Dmongo_slinks.c40 old_path = strtok(line_buffer, "\t "); in main()
41 new_path = strtok(NULL, "\t\n "); in main()
/third_party/ltp/testcases/network/nfsv4/locks/
H A Dnetsync.c184 p = strtok(conf, ":"); in getConfiguration()
187 p = strtok(NULL, ":"); in getConfiguration()
190 p = strtok(NULL, ":"); in getConfiguration()
/third_party/curl/src/
H A Dtool_dirhie.c120 /* Allow strtok() here since this isn't used threaded */ in create_dir_hierarchy()
122 tempdir = strtok(outdup, PATH_DELIMITERS); in create_dir_hierarchy()
126 tempdir2 = strtok(NULL, PATH_DELIMITERS); in create_dir_hierarchy()
127 /* since strtok returns a token for the last word even in create_dir_hierarchy()
/third_party/ltp/pan/
H A Dsplitstr.c104 * Use strtok() to parse 'arg_string', placing pointers to the in splitstr()
108 cur_tok = strtok(arg_string, separator); in splitstr()
111 cur_tok = strtok(NULL, separator); in splitstr()
/third_party/mesa3d/src/gallium/frontends/xvmc/tests/
H A Dxvmc_bench.c103 char *token = strtok(argv[++i], ","); in ParseArgs()
117 token = strtok(NULL, ","); in ParseArgs()
122 char *token = strtok(argv[++i], ","); in ParseArgs()
136 token = strtok(NULL, ","); in ParseArgs()
/third_party/cups-filters/filter/foomatic-rip/
H A Dpostscript.c677 p = strtok(tmp->data, " \t"); /* %%BeginFeature: */ in _print_ps()
678 p = strtok(NULL, " \t="); /* Option */ in _print_ps()
681 p = strtok(NULL, " \t\r\n"); /* value */ in _print_ps()
688 p = strtok(p, " \t"); /* FoomaticRIPOptionSetting */ in _print_ps()
689 p = strtok(NULL, " \t="); /* Option */ in _print_ps()
691 p = strtok(NULL, " \t\r\n"); /* value */ in _print_ps()
H A Dfoomaticrip.c215 key = strtok(line, " :\t\r\n"); in config_from_file()
218 value = strtok(NULL, " \t\r\n#"); in config_from_file()
366 p = strtok(value, ","); in process_cmdline_options()
383 } while ((p = strtok(NULL, ","))); in process_cmdline_options()
964 p = strtok(strdup(filelist->data), " "); in main()
974 p = strtok(NULL, " "); in main()
/third_party/ltp/lib/
H A Dself_exec.c87 child_dir = strtok(args, ","); in maybe_run_child()
97 tok = strtok(NULL, ","); in maybe_run_child()
H A Dtst_cgroup.c522 line = strtok(temp_config, "\n"); in tst_cg_load_config()
524 for (line = strtok(NULL, "\n"); line; line = strtok(NULL, "\n")) in tst_cg_load_config()
563 for (tok = strtok(buf, " "); tok; tok = strtok(NULL, " ")) { in cgroup_root_scan()
580 for (tok = strtok(mnt_opts, ","); tok; tok = strtok(NULL, ",")) { in cgroup_root_scan()
925 for (tok = strtok(pid_list, "\n"); tok; tok = strtok(NULL, "\n")) { in cgroup_drain()
/third_party/ltp/testcases/lib/
H A Dtst_kvcmp.c77 ver = strtok(kver, " "); in compare_kver()
79 while ((exver = strtok(NULL, " "))) { in compare_kver()
/third_party/ltp/testcases/kernel/uevents/
H A Duevent03.c176 handler1 = strtok(handlers, " "); in verify_uevent()
182 handler2 = strtok(NULL, " "); in verify_uevent()
/third_party/skia/third_party/externals/libwebp/examples/
H A Dexample_util.c109 for (cur = strtok((char*)args->argv_data_.bytes, sep); in ExUtilInitCommandLineArguments()
111 cur = strtok(NULL, sep)) { in ExUtilInitCommandLineArguments()
/third_party/cups-filters/filter/
H A Dbanner.c66 for (tok = strtok(s, " \t"); tok; tok = strtok(NULL, " \t")) { in parse_show()
/third_party/libexif/libexif/huawei/
H A Dmnote-huawei-entry.c101 token = strtok(pv, " "); in mnote_huawei_entry_rational_timestamp_process()
119 token = strtok(NULL, " "); in mnote_huawei_entry_rational_timestamp_process()
160 token = strtok(pv, " "); in mnote_huawei_entry_value_process()
175 token = strtok(NULL, " "); in mnote_huawei_entry_value_process()
/third_party/toybox/toys/pending/
H A Dsyslogd.c102 for (tk = strtok(config, "; \0"); tk; tk = strtok(NULL, "; \0")) { in resolve_config()
425 for (temp = strtok(TT.socket, ":"); temp; temp = strtok(NULL, ":")) { in syslogd_main()
/third_party/musl/porting/liteos_a/kernel/src/string/
H A Dstrtok.c3 char *strtok(char *restrict s, const char *restrict sep) in strtok() function
/third_party/musl/porting/uniproton/kernel/src/string/
H A Dstrtok.c3 char *strtok(char *restrict s, const char *restrict sep) in strtok() function

Completed in 13 milliseconds

1234