Home
last modified time | relevance | path

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

12

/external/valgrind/main/memcheck/tests/
Dstr_tester.c782 equal(strtok_r(one, ", ", &cp), "first", 1); /* Basic test. */ in test_strtok_r()
784 equal(strtok_r((char *)NULL, ", ", &cp), "second", 3); in test_strtok_r()
785 equal(strtok_r((char *)NULL, ", ", &cp), "third", 4); in test_strtok_r()
786 check(strtok_r((char *)NULL, ", ", &cp) == NULL, 5); in test_strtok_r()
789 equal(strtok_r(one, ", ", &cp), "first", 6); /* Extra delims, 1 tok. */ in test_strtok_r()
790 check(strtok_r((char *)NULL, ", ", &cp) == NULL, 7); in test_strtok_r()
793 equal(strtok_r(one, ", ", &cp), "1a", 8); /* Changing delim lists. */ in test_strtok_r()
794 equal(strtok_r((char *)NULL, "; ", &cp), "1b", 9); in test_strtok_r()
795 equal(strtok_r((char *)NULL, ", ", &cp), "2a", 10); in test_strtok_r()
798 equal(strtok_r(two, "-", &cp), "x", 11); /* New string before done. */ in test_strtok_r()
[all …]
/external/wpa_supplicant_8/src/utils/
Dwpa_debug.c144 line = strtok_r(buf, "\n", &tmp1); in wpa_debug_open_linux_tracing()
148 strtok_r(line, " ", &tmp2); in wpa_debug_open_linux_tracing()
149 tmp_path = strtok_r(NULL, " ", &tmp2); in wpa_debug_open_linux_tracing()
150 fstype = strtok_r(NULL, " ", &tmp2); in wpa_debug_open_linux_tracing()
156 line = strtok_r(NULL, "\n", &tmp1); in wpa_debug_open_linux_tracing()
/external/linux-tools-perf/util/
Dcgroup.c34 token = strtok_r(tokens, ",", &saved_ptr); in cgroupfs_find_mountpoint()
41 token = strtok_r(NULL, ",", &saved_ptr); in cgroupfs_find_mountpoint()
Dsort.c325 for (tok = strtok_r(str, ", ", &tmp); in setup_sorting()
326 tok; tok = strtok_r(NULL, ", ", &tmp)) { in setup_sorting()
Dtrace-event-parse.c98 line = strtok_r(file, "\n", &next); in parse_cmdlines()
105 line = strtok_r(NULL, "\n", &next); in parse_cmdlines()
159 line = strtok_r(file, "\n", &next); in parse_proc_kallsyms()
178 line = strtok_r(NULL, "\n", &next); in parse_proc_kallsyms()
298 line = strtok_r(file, "\n", &next); in parse_ftrace_printk()
311 line = strtok_r(NULL, "\n", &next); in parse_ftrace_printk()
/external/valgrind/main/coregrind/m_gdbserver/
Dserver.c134 wcmd = strtok_r (s, " ", &ssaveptr); in handle_gdb_valgrind_command()
147 wcmd = strtok_r (NULL, " ", &ssaveptr); in handle_gdb_valgrind_command()
184 wcmd = strtok_r (NULL, " ", &ssaveptr); in handle_gdb_valgrind_command()
193 wcmd = strtok_r (NULL, " ", &ssaveptr); in handle_gdb_valgrind_command()
236 wcmd = strtok_r (NULL, " ", &ssaveptr); in handle_gdb_valgrind_command()
275 wcmd = strtok_r (NULL, " ", &ssaveptr); in handle_gdb_valgrind_command()
Dserver.h172 #define strtok_r(p,s,ss) (char *) VG_(strtok_r) ((Char *)(p),(Char *)(s),(Char **)(ss)) macro
Dm_gdbserver.c1195 for (kw = VG_(strtok_r) (kwds, " ", &kwdssaveptr); in VG_()
1197 kw = VG_(strtok_r) (NULL, " ", &kwdssaveptr)) { in VG_()
1279 wa = VG_(strtok_r) (NULL, " ", ssaveptr); in VG_()
1287 ws = VG_(strtok_r) (NULL, " ", ssaveptr); in VG_()
/external/qemu/
Denvlist.c115 envvar = strtok_r(tmpenv, ",", &envsave); in envlist_parse()
121 envvar = strtok_r(NULL, ",", &envsave); in envlist_parse()
/external/libselinux/src/
Dbooleans.c256 char *tok = strtok_r(buffer, "=", &ptr); in process_boolean()
262 tok = strtok_r(NULL, "\0", &ptr); in process_boolean()
Dandroid.c161 token = strtok_r(p, " \t", &saveptr); in selinux_android_seapp_context_reload()
222 token = strtok_r(NULL, " \t", &saveptr); in selinux_android_seapp_context_reload()
/external/libsepol/src/
Dgenbools.c37 char *tok = strtok_r(buffer, "=", &ptr); in process_boolean()
43 tok = strtok_r(NULL, "\0", &ptr); in process_boolean()
/external/oprofile/daemon/
Dopd_ibs.c392 && (tok1 = strtok_r(ptr, ",", &tok2)) != NULL) { in ibs_parse_and_set_events()
446 tok1 = strtok_r(tmp, ":", &tok2); in ibs_parse_counts()
540 tok1 = strtok_r(ptr, "|", &tok2); in ibs_init()
619 tok1 = strtok_r(NULL, "|", &tok2); in ibs_init()
Dopd_extended.c96 if((name = strtok_r(tmp, ":", &args)) == NULL) in opd_ext_initialize()
/external/webkit/Tools/DumpRenderTree/chromium/
DImageDiff.cpp251 strtok_r(buffer, " ", &context); in untestedCompareImages()
252 int imageSize = strtol(strtok_r(0, " ", &context), 0, 10); in untestedCompareImages()
/external/valgrind/main/include/
Dpub_tool_libcbase.h103 extern Char* VG_(strtok_r) (Char* s, const Char* delim, Char** saveptr);
/external/sepolicy/check_seapp/
Dcheck_seapp.c855 token = strtok_r(p, " \t", &saveptr); in parse()
879 token = strtok_r(NULL, " \t", &saveptr); in parse()
/external/valgrind/main/coregrind/
Dm_libcbase.c422 return VG_(strtok_r) (s, delim, &olds); in VG_()
426 VG_(strtok_r) (Char* s, const Char* delim, Char** saveptr) in VG_() argument
/external/valgrind/main/massif/
Dms_main.c2398 wcmd = VG_(strtok_r) (s, " ", &ssaveptr); in handle_gdb_monitor_command()
2410 filename = VG_(strtok_r) (NULL, " ", &ssaveptr); in handle_gdb_monitor_command()
2416 filename = VG_(strtok_r) (NULL, " ", &ssaveptr); in handle_gdb_monitor_command()
/external/valgrind/main/callgrind/
Dmain.c1468 wcmd = VG_(strtok_r) (s, " ", &ssaveptr); in handle_gdb_monitor_command()
1488 Char* arg = VG_(strtok_r) (0, " ", &ssaveptr); in handle_gdb_monitor_command()
1509 Char* arg = VG_(strtok_r) (0, " ", &ssaveptr); in handle_gdb_monitor_command()
/external/chromium/third_party/libevent/
Dconfig.h.in129 /* Define to 1 if you have the `strtok_r' function. */
Dconfigure.in139 AC_CHECK_FUNCS(gettimeofday vasprintf fcntl clock_gettime strtok_r strsep getaddrinfo getnameinfo s…
Devdns.c2622 strtok_r(char *s, const char *delim, char **state) { in strtok_r() function
2698 #define NEXT_TOKEN strtok_r(NULL, delims, &strtok_state) in resolv_conf_parse_line()
2700 char *const first_token = strtok_r(start, delims, &strtok_state); in resolv_conf_parse_line()
/external/linux-tools-perf/
Dbuiltin-sched.c1862 for (tok = strtok_r(str, ", ", &tmp); in setup_sorting()
1863 tok; tok = strtok_r(NULL, ", ", &tmp)) { in setup_sorting()
/external/valgrind/main/memcheck/
Dmc_main.c5039 wcmd = VG_(strtok_r) (s, " ", &ssaveptr); in handle_gdb_monitor_command()
5099 for (kw = VG_(strtok_r) (NULL, " ", &ssaveptr); in handle_gdb_monitor_command()
5101 kw = VG_(strtok_r) (NULL, " ", &ssaveptr)) { in handle_gdb_monitor_command()
5142 VG_(strtok_r) (NULL, " ", &ssaveptr), kwd_report_all); in handle_gdb_monitor_command()
5171 VG_(strtok_r) (NULL, " ", &ssaveptr), kwd_report_all); in handle_gdb_monitor_command()

12