/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | MonitorTestCase.java | 55 private TestThread<Monitor> thread1; field in MonitorTestCase 65 tearDownStack.addTearDown(thread1 = new TestThread<Monitor>(monitor, "TestThread #1")); in setUp() 102 thread1.callAndAssertReturns(enter()); in testMutualExclusion() 104 thread1.callAndAssertReturns(leave()); in testMutualExclusion() 109 thread1.callAndAssertReturns(true, tryEnter()); in testTryEnter() 111 thread1.callAndAssertReturns(true, tryEnter()); in testTryEnter() 113 thread1.callAndAssertReturns(leave()); in testTryEnter() 115 thread1.callAndAssertReturns(leave()); in testTryEnter() 121 thread1.callAndAssertReturns(enter()); in testSystemStateMethods() 123 thread1.callAndAssertReturns(enter()); in testSystemStateMethods() [all …]
|
D | ExecutionListTest.java | 87 Thread thread1 = new Thread(execute); in testExecute_idempotentConcurrently() local 89 thread1.start(); in testExecute_idempotentConcurrently() 93 thread1.join(); in testExecute_idempotentConcurrently()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/ |
D | 1-1.c | 26 pthread_t thread1; variable 35 pthread_cancel(thread1); in alarm_handler() 80 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { in main() 112 pthread_join(thread1, NULL); in main()
|
D | 3-1.c | 25 pthread_t thread1; variable 34 pthread_cancel(thread1); in alarm_handler() 91 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { in main() 113 pthread_join(thread1, NULL); in main()
|
D | 2-1.c | 26 pthread_t thread1; variable 35 pthread_cancel(thread1); in alarm_handler() 94 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { in main() 126 pthread_join(thread1, NULL); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/ |
D | 3-2.c | 33 pthread_t thread1; variable 74 if (pthread_create(&thread1, NULL, a_thread_func, NULL) != 0) { in main() 80 pthread_join(thread1, NULL); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
D | 4-1.c | 68 pthread_t thread1; in main() local 80 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { in main() 87 pthread_join(thread1, &th_ret); in main()
|
D | 2-3.c | 70 pthread_t thread1; in main() local 83 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { in main() 93 if (pthread_join(thread1, (void *)&th_ret) != 0) { in main()
|
D | 2-2.c | 79 pthread_t thread1; in main() local 91 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { in main() 114 if (pthread_join(thread1, &th_ret) != 0) { in main()
|
D | 1-1.c | 81 pthread_t thread1; in main() local 92 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { in main() 117 pthread_join(thread1, NULL); in main()
|
D | 3-1.c | 85 pthread_t thread1; in main() local 96 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { in main() 121 pthread_join(thread1, NULL); in main()
|
D | 2-1.c | 100 pthread_t thread1; in main() local 111 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { in main() 136 pthread_join(thread1, NULL); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/ |
D | 2-1.c | 95 pthread_t thread1; in main() local 112 if (pthread_create(&thread1, NULL, fn, NULL) != 0) { in main() 151 if (pthread_join(thread1, NULL) != 0) { in main()
|
D | 5-1.c | 140 pthread_t thread1, thread2; in main() local 144 if (pthread_create(&thread1, NULL, fn_wr_1, NULL) != 0) { in main() 172 if (pthread_join(thread1, NULL) != 0) { in main()
|
D | 1-1.c | 94 pthread_t thread0, thread1, thread2; in main() local 147 if (pthread_create(&thread1, NULL, fn_wr, NULL) != 0) { in main() 193 if (pthread_join(thread1, NULL) != 0) { in main()
|
D | 3-1.c | 114 pthread_t thread0, thread1, thread2; in main() local 167 if (pthread_create(&thread1, NULL, fn_wr, NULL) != 0) { in main() 214 if (pthread_join(thread1, NULL) != 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/ |
D | 2-1.c | 90 pthread_t thread1; in main() local 108 if (pthread_create(&thread1, NULL, fn_rd, NULL) != 0) { in main() 143 if (pthread_join(thread1, NULL) != 0) { in main()
|
D | 5-1.c | 134 pthread_t thread1, thread2; in main() local 138 if (pthread_create(&thread1, NULL, fn_rd_1, NULL) != 0) { in main() 168 if (pthread_join(thread1, NULL) != 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/ |
D | 1-1.c | 74 pthread_t thread1, thread2; in main() local 91 if (pthread_create(&thread1, NULL, fn_wr, NULL) != 0) { in main() 137 if (pthread_join(thread1, NULL) != 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/ |
D | 1-1.c | 67 pthread_t thread1, thread2; in main() local 86 if (pthread_create(&thread1, NULL, fn_wr, NULL) != 0) { in main() 121 if (pthread_join(thread1, NULL) != 0) { in main()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/ |
D | context_switch.c | 159 void *(*thread1)(void *); member 208 .thread1 = pipe_thread1, 247 .thread1 = yield_thread1, 377 .thread1 = futex_thread1, 488 start_fn(actions->thread1, NULL, cpu1); in main()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowProcessTest.java | 56 Thread thread1 = in myTid_returnsDifferentValuesForDifferentThreads() local 66 thread1.start(); in myTid_returnsDifferentValuesForDifferentThreads() 68 thread1.join(); in myTid_returnsDifferentValuesForDifferentThreads()
|
/external/libcap-ng/libcap-ng-0.7/src/test/ |
D | thread_test.c | 9 pthread_t thread1, thread2; variable 49 pthread_create(&thread1, NULL, thread1_main, NULL); in main()
|
/external/elfutils/tests/ |
D | dwfl-proc-attach.c | 44 static pthread_t thread1; variable 80 if ((err = pthread_create (&thread1, NULL, sleeper, NULL)) != 0) in main()
|
/external/boringssl/src/crypto/ |
D | thread_test.cc | 47 std::thread thread1(call_once_func), thread2(call_once_func); in TEST() local 48 thread1.join(); in TEST()
|