Lines Matching refs:subtests
29 char **subtests, in add_job_list_entry() argument
39 entry->subtests = subtests; in add_job_list_entry()
50 char **subtests = NULL; in add_subtests() local
92 subtests = realloc(subtests, num_subtests * sizeof(*subtests)); in add_subtests()
93 subtests[num_subtests - 1] = strdup(subtestname); in add_subtests()
95 subtests = malloc(sizeof(*subtests)); in add_subtests()
96 *subtests = strdup(subtestname); in add_subtests()
97 add_job_list_entry(job_list, strdup(binary), subtests, 1); in add_subtests()
98 subtests = NULL; in add_subtests()
105 add_job_list_entry(job_list, strdup(binary), subtests, num_subtests); in add_subtests()
234 char **subtests = NULL; in job_list_from_test_list() local
236 subtests = malloc(sizeof(char*)); in job_list_from_test_list()
237 subtests[0] = strdup(delim); in job_list_from_test_list()
240 subtests, (size_t)(subtests != NULL)); in job_list_from_test_list()
263 entry.subtests = realloc(entry.subtests, in job_list_from_test_list()
265 sizeof(*entry.subtests)); in job_list_from_test_list()
266 entry.subtests[entry.subtest_count - 1] = strdup(delim); in job_list_from_test_list()
273 add_job_list_entry(job_list, entry.binary, entry.subtests, entry.subtest_count); in job_list_from_test_list()
280 entry.subtests = malloc(sizeof(*entry.subtests)); in job_list_from_test_list()
281 entry.subtests[0] = strdup(delim); in job_list_from_test_list()
291 add_job_list_entry(job_list, entry.binary, entry.subtests, entry.subtest_count); in job_list_from_test_list()
317 generate_piglit_name(binary, current_entry->subtests[subtest_idx], in list_all_tests()
374 free(entry->subtests[k]); in free_job_list()
376 free(entry->subtests); in free_job_list()
483 fprintf(f, "%s%s", delim, entry->subtests[k]); in serialize_job_list()
522 char **subtests = NULL; in read_job_list() local
552 subtests = realloc(subtests, num_subtests * sizeof(*subtests)); in read_job_list()
553 subtests[num_subtests - 1] = strdup(sublist); in read_job_list()
557 add_job_list_entry(job_list, binary, subtests, num_subtests); in read_job_list()