Home
last modified time | relevance | path

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

/linux-6.15/samples/check-exec/
H A Dinc.c36 char *line, *saveptr = NULL; in interpret_buffer() local
40 saveptr = NULL; in interpret_buffer()
41 line = strtok_r(buffer, "\n", &saveptr); in interpret_buffer()
69 line = strtok_r(NULL, "\n", &saveptr); in interpret_buffer()
/linux-6.15/tools/perf/util/
H A Dcallchain.c173 char *endptr, *saveptr = NULL; in __parse_callchain_report_opt() local
184 while ((tok = strtok_r((char *)arg, ",", &saveptr)) != NULL) { in __parse_callchain_report_opt()
254 char *tok, *name, *saveptr = NULL; in parse_callchain_record() local
265 tok = strtok_r((char *)buf, ",", &saveptr); in parse_callchain_record()
274 tok = strtok_r(NULL, ",", &saveptr); in parse_callchain_record()
293 tok = strtok_r(NULL, ",", &saveptr); in parse_callchain_record()
301 if (!strtok_r(NULL, ",", &saveptr)) { in parse_callchain_record()
H A Dmem-events.c144 char *tok, *saveptr = NULL; in perf_pmu__mem_events_parse() local
156 tok = strtok_r((char *)buf, ",", &saveptr); in perf_pmu__mem_events_parse()
169 tok = strtok_r(NULL, ",", &saveptr); in perf_pmu__mem_events_parse()
H A Dbpf_counter.c171 char *bpf_str, *bpf_str_, *tok, *saveptr = NULL, *p; in bpf_program_profiler__load() local
179 while ((tok = strtok_r(bpf_str, ",", &saveptr)) != NULL) { in bpf_program_profiler__load()
/linux-6.15/tools/testing/selftests/bpf/
H A Dtest_loader.c291 char *token = NULL, *saveptr = NULL; in parse_caps() local
299 token = strtok_r(str_cpy, "|", &saveptr); in parse_caps()
312 token = strtok_r(NULL, "|", &saveptr); in parse_caps()