/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | MonitorTestCase.java | 56 private TestThread<Monitor> thread2; field in MonitorTestCase 66 tearDownStack.addTearDown(thread2 = new TestThread<Monitor>(monitor, "TestThread #2")); in setUp() 103 thread2.callAndAssertBlocks(enter()); in testMutualExclusion() 105 thread2.assertPriorCallReturns(enter()); in testMutualExclusion() 110 thread2.callAndAssertReturns(false, tryEnter()); in testTryEnter() 112 thread2.callAndAssertReturns(false, tryEnter()); in testTryEnter() 114 thread2.callAndAssertReturns(false, tryEnter()); in testTryEnter() 116 thread2.callAndAssertReturns(true, tryEnter()); in testTryEnter() 136 thread2.callAndAssertReturns(enterCount != 0, "isOccupied"); in checkSystemStateMethods() 137 thread2.callAndAssertReturns(false, "isOccupiedByCurrentThread"); in checkSystemStateMethods() [all …]
|
D | ThreadFactoryBuilderTest.java | 76 Thread thread2 = threadFactory.newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults() local 77 checkThreadPoolName(thread2, 2); in testThreadFactoryBuilder_defaults() 80 thread2.getName().substring(0, thread.getName().lastIndexOf('-'))); in testThreadFactoryBuilder_defaults() 87 thread2.getName().substring(0, thread.getName().lastIndexOf('-'))) in testThreadFactoryBuilder_defaults()
|
D | ExecutionListTest.java | 88 Thread thread2 = new Thread(execute); in testExecute_idempotentConcurrently() local 90 thread2.start(); in testExecute_idempotentConcurrently() 94 thread2.join(); in testExecute_idempotentConcurrently()
|
/external/boringssl/src/crypto/pool/ |
D | pool_test.cc | 77 std::thread thread2([&] { in TEST() local 82 thread2.join(); in TEST() 143 std::thread thread2([&] { buf3.reset(); }); in TEST() local 146 thread2.join(); in TEST()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/ |
D | 1-1.c | 74 pthread_t thread1, thread2; in main() local 153 if (pthread_create(&thread2, NULL, fn_wr, NULL) != 0) { in main() 178 if (pthread_join(thread2, 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 142 if (pthread_create(&thread2, NULL, fn_wr, NULL) != 0) { in main() 173 if (pthread_join(thread2, NULL) != 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/ |
D | 5-1.c | 140 pthread_t thread1, thread2; in main() local 179 if (pthread_create(&thread2, NULL, fn_wr_2, NULL) != 0) { in main() 207 if (pthread_join(thread2, NULL) != 0) { in main()
|
D | 1-1.c | 94 pthread_t thread0, thread1, thread2; in main() local 208 if (pthread_create(&thread2, NULL, fn_wr, NULL) != 0) { in main()
|
D | 3-1.c | 114 pthread_t thread0, thread1, thread2; in main() local 229 if (pthread_create(&thread2, NULL, fn_wr, NULL) != 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/ |
D | 5-1.c | 134 pthread_t thread1, thread2; in main() local 175 if (pthread_create(&thread2, NULL, fn_rd_2, NULL) != 0) { in main() 205 if (pthread_join(thread2, NULL) != 0) { in main()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/ |
D | context_switch.c | 160 void *(*thread2)(void *); member 209 .thread2 = pipe_thread2, 248 .thread2 = yield_thread2, 378 .thread2 = futex_thread2, 489 start_fn(actions->thread2, NULL, cpu2); in main()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowProcessTest.java | 61 Thread thread2 = in myTid_returnsDifferentValuesForDifferentThreads() local 67 thread2.start(); in myTid_returnsDifferentValuesForDifferentThreads() 69 thread2.join(); in myTid_returnsDifferentValuesForDifferentThreads()
|
/external/libcap-ng/libcap-ng-0.7/src/test/ |
D | thread_test.c | 9 pthread_t thread1, thread2; variable 50 pthread_create(&thread2, NULL, thread2_main, NULL); in main()
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/ |
D | cpuset_memory_test.c | 326 pthread_t thread2; in main() local 339 pthread_create(&thread2, NULL, thread2_routine, NULL); in main() 382 pthread_cancel(thread2); in main() 383 pthread_join(thread2, &retv); in main()
|
/external/elfutils/tests/ |
D | dwfl-proc-attach.c | 45 static pthread_t thread2; variable 82 if ((err = pthread_create (&thread2, 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 49 thread2.join(); in TEST()
|
/external/libchrome/base/process/ |
D | process_metrics_unittest.cc | 336 Thread thread2("thread2"); in TEST_F() local 340 thread2.StartAndWaitForTesting(); in TEST_F() 344 ASSERT_TRUE(thread2.IsRunning()); in TEST_F() 352 thread2.task_runner()->PostTask(FROM_HERE, BindOnce(&BusyWork, &vec2)); in TEST_F() 365 thread2.Stop(); in TEST_F()
|
/external/boringssl/src/crypto/chacha/asm/ |
D | chacha-armv8.pl | 453 my @thread2=&NEONROUND($A2,$B2,$C2,$D2,$T2,0); 459 eval(shift(@thread2)); eval(shift(@thread3)); 464 @thread2=&NEONROUND($A2,$B2,$C2,$D2,$T2,1); 470 eval(shift(@thread2)); eval(shift(@thread3)); 797 my @thread2=&NEONROUND($A2,$B2,$C2,$D2,$T2,0); 808 eval(shift(@thread2)); eval(shift(@thread67)); 816 @thread2=&NEONROUND($A2,$B2,$C2,$D2,$T2,1); 825 eval(shift(@thread2)); eval(shift(@thread67)); 911 @thread2=&NEONROUND($A2,$B2,$C2,$D2,$T2,0); 920 eval(shift(@thread2)); eval(shift(@thread67)); [all …]
|
D | chacha-armv4.pl | 738 my @thread2=&NEONROUND($a2,$b2,$c2,$d2,$t2,0); 744 eval(shift(@thread2)); eval(shift(@thread3)); 749 @thread2=&NEONROUND($a2,$b2,$c2,$d2,$t2,1); 755 eval(shift(@thread2)); eval(shift(@thread3));
|
/external/webrtc/webrtc/base/ |
D | logging_unittest.cc | 105 LogThread thread1, thread2, thread3; in TEST() local 107 thread2.Start(); in TEST()
|
/external/sfntly/cpp/src/test/ |
D | lock_test.cc | 211 MutexLockTestThread thread2(&lock, &value); in MutexFourThreads() local 218 EXPECT_TRUE(PlatformThread::Create(&thread2, &handle2)); in MutexFourThreads()
|
/external/libchrome/base/synchronization/ |
D | lock_unittest.cc | 238 MutexLockTestThread thread2(&lock, &value); in TEST() local 245 ASSERT_TRUE(PlatformThread::Create(0, &thread2, &handle2)); in TEST()
|
/external/llvm/test/Transforms/JumpThreading/ |
D | select.ll | 283 ; CHECK: br i1 %cmp.i, label %.exit.thread2, label %cond.false.i 285 ; CHECK: br i1 %cmp8.i, label %.exit.thread2, label %cond.false.10.i 287 ; CHECK: br i1 %phitmp, label %.exit.thread, label %.exit.thread2 288 ; CHECK: br label %.exit.thread2
|
/external/libxml2/python/tests/ |
D | Makefile.am | 40 thread2.py \
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/JumpThreading/ |
D | select.ll | 284 ; CHECK: br i1 %cmp.i, label %.exit.thread2, label %cond.false.i 286 ; CHECK: br i1 %cmp8.i, label %.exit.thread2, label %cond.false.10.i 288 ; CHECK: br i1 %phitmp, label %.exit.thread, label %.exit.thread2 289 ; CHECK: br label %.exit.thread2
|