Searched refs:line_ptr (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | align.c | 613 const char *line_ptr; in do_test_single() local 635 line_ptr = strtok(bpf_vlog_copy, "\n"); in do_test_single() 642 while (line_ptr) { in do_test_single() 644 sscanf(line_ptr, "%u: ", &cur_line); in do_test_single() 646 sscanf(line_ptr, "from %u to %u: ", &tmp, &cur_line); in do_test_single() 649 line_ptr = strtok(NULL, "\n"); in do_test_single() 651 if (!line_ptr) { in do_test_single() 670 while (!strstr(line_ptr, m.match)) { in do_test_single() 672 line_ptr = strtok(NULL, "\n"); in do_test_single() 673 sscanf(line_ptr ?: "", "%u: ", &cur_line); in do_test_single() [all …]
|