Home | History | Annotate | Download | only in tsan

Lines Matching defs:Test

10 void Test(int test, T *p, bool main_thread) {
12 if (test == 0) {
17 } else if (test == 1) {
22 } else if (test == 2) {
27 } else if (test == 3) {
37 Test(i, &atomics[i], false);
41 fprintf(stderr, "Test %d reverse\n", i);
42 Test(i, &atomics[kTestCount + i], false);
52 fprintf(stderr, "Test %d\n", i);
53 Test(i, &atomics[i], true);
56 Test(i, &atomics[kTestCount + i], true);
61 // CHECK: Test 0
64 // CHECK: Test 1
67 // CHECK: Test 2
70 // CHECK: Test 3
73 // CHECK: Test 0 reverse
75 // CHECK: Test 1 reverse
77 // CHECK: Test 2 reverse
79 // CHECK: Test 3 reverse