Lines Matching refs:t
128 void print_test_case(struct test_case *t) in print_test_case() argument
133 if (t->sockopt.so_timestamp) in print_test_case()
135 if (t->sockopt.so_timestampns) in print_test_case()
137 if (t->sockopt.so_timestamping) { in print_test_case()
140 if (t->sockopt.so_timestamping & sof_flags[f].mask) in print_test_case()
145 if (t->expected.tstamp) in print_test_case()
147 if (t->expected.tstampns) in print_test_case()
149 if (t->expected.swtstamp || t->expected.hwtstamp) { in print_test_case()
151 if (t->expected.swtstamp) in print_test_case()
153 if (t->expected.swtstamp && t->expected.hwtstamp) in print_test_case()
155 if (t->expected.hwtstamp) in print_test_case()
362 int s, t, opt; in main() local
368 for (t = 0; t < ARRAY_SIZE(test_cases); t++) { in main()
369 printf("%d\t", t); in main()
370 print_test_case(&test_cases[t]); in main()
374 t = atoi(optarg); in main()
375 if (t >= ARRAY_SIZE(test_cases)) in main()
376 error(1, 0, "Invalid test case: %d", t); in main()
378 test_cases[t].enabled = true; in main()
414 for (t = 0; t < ARRAY_SIZE(test_cases); t++) { in main()
415 if (!all_tests && !test_cases[t].enabled) in main()
418 if (run_test_case(&socket_types[s], t, '4', in main()
422 if (run_test_case(&socket_types[s], t, '6', in main()