Lines Matching refs:it

1145 handle_input_arg (const char *arg, input_test *it, size_t num_prev_args,  in handle_input_arg()  argument
1254 if (it->num_input_cases >= SIZE_MAX / num_values) in handle_input_arg()
1256 generic_value **old_inputs = it->inputs; in handle_input_arg()
1257 size_t new_num_input_cases = it->num_input_cases * num_values; in handle_input_arg()
1260 for (size_t i = 0; i < it->num_input_cases; i++) in handle_input_arg()
1278 it->inputs = new_inputs; in handle_input_arg()
1279 it->num_input_cases = new_num_input_cases; in handle_input_arg()
1351 input_test *it = &tf->tests[tf->num_tests]; in add_test() local
1352 it->line = line; in add_test()
1353 it->num_input_cases = 1; in add_test()
1354 it->inputs = xmalloc (sizeof (it->inputs[0])); in add_test()
1355 it->inputs[0] = NULL; in add_test()
1356 it->old_output = NULL; in add_test()
1375 handle_input_arg (p, it, j, in add_test()
1381 it->num_flags = num_tokens - 1 - tf->num_args; in add_test()
1382 it->flags = xmalloc (it->num_flags * sizeof (it->flags[0])); in add_test()
1383 for (size_t j = 0; j < it->num_flags; j++) in add_test()
1400 handle_input_flag (p, &it->flags[j], filename, lineno); in add_test()
1752 bool narrow, input_test *it, generic_value *inputs) in output_for_one_input_case() argument
2047 for (size_t i = 0; i < it->num_flags; i++) in output_for_one_input_case()
2048 switch (it->flags[i].type) in output_for_one_input_case()
2053 input_flags[it->flags[i].type], in output_for_one_input_case()
2054 (it->flags[i].cond in output_for_one_input_case()
2055 ? it->flags[i].cond in output_for_one_input_case()
2063 (it->flags[i].cond in output_for_one_input_case()
2064 ? it->flags[i].cond in output_for_one_input_case()
2164 for (size_t i = 0; i < it->num_flags; i++) in output_for_one_input_case()
2165 if (it->flags[i].type == okflag) in output_for_one_input_case()
2168 (it->flags[i].cond in output_for_one_input_case()
2169 ? it->flags[i].cond in output_for_one_input_case()
2197 for (size_t i = 0; i < it->num_flags; i++) in output_for_one_input_case()
2198 if (it->flags[i].type == okflag) in output_for_one_input_case()
2200 (it->flags[i].cond in output_for_one_input_case()
2201 ? it->flags[i].cond in output_for_one_input_case()
2226 for (size_t i = 0; i < it->num_flags; i++) in output_for_one_input_case()
2227 if (it->flags[i].type == okflag) in output_for_one_input_case()
2229 (it->flags[i].cond in output_for_one_input_case()
2230 ? it->flags[i].cond in output_for_one_input_case()
2271 input_test *it = &tf->tests[j]; in generate_output() local
2272 if (fputs (it->line, fp) < 0) in generate_output()
2274 for (size_t k = 0; k < it->num_input_cases; k++) in generate_output()
2276 it, it->inputs[k]); in generate_output()