Home
last modified time | relevance | path

Searched refs:thread1 (Results 1 – 25 of 28) sorted by relevance

12

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DMonitorTestCase.java55 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 …]
DExecutionListTest.java87 Thread thread1 = new Thread(execute); in testExecute_idempotentConcurrently() local
89 thread1.start(); in testExecute_idempotentConcurrently()
93 thread1.join(); in testExecute_idempotentConcurrently()
/external/libchrome/sandbox/linux/services/
Dthread_helpers_unittests.cc116 base::Thread thread1("sandbox_tests"); in SANDBOX_TEST() local
121 ThreadHelpers::StartThreadAndWatchProcFS(proc_fd.fd(), &thread1)); in SANDBOX_TEST()
126 thread1.Stop(); in SANDBOX_TEST()
143 base::Thread thread1("sandbox_tests"); in SANDBOX_DEATH_TEST() local
144 SANDBOX_ASSERT(thread1.Start()); in SANDBOX_DEATH_TEST()
/external/ltrace/testsuite/ltrace.main/
Dmain-threaded.c18 pthread_t thread1; in main() local
21 pthread_create (&thread1, NULL, th_main, "aaa"); in main()
24 pthread_join (thread1, NULL); in main()
/external/valgrind/drd/tests/
Drwlock_race.c37 pthread_t thread1; in main() local
47 pthread_create(&thread1, 0, thread_func, 0); in main()
49 pthread_join(thread1, 0); in main()
Dstd_atomic.cpp33 pthread_t thread1; in main() local
41 err = pthread_create(&thread1, NULL, &func1, NULL); in main()
48 err = pthread_join(thread1, NULL); in main()
Dstd_list.cpp80 pthread_t thread1; in main() local
86 err = pthread_create(&thread1, NULL, &func1, &instance1); in main()
93 err = pthread_join(thread1, NULL); in main()
/external/v8/test/unittests/libplatform/
Dtask-queue-unittest.cc50 TaskQueueThread thread1(&queue); in TEST() local
52 thread1.Start(); in TEST()
55 thread1.Join(); in TEST()
Dworker-thread-unittest.cc40 WorkerThread thread1(&queue); in TEST() local
/external/libcap-ng/libcap-ng-0.7/src/test/
Dthread_test.c9 pthread_t thread1, thread2; variable
49 pthread_create(&thread1, NULL, thread1_main, NULL); in main()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_vs_state.c59 vs->thread1.floating_point_mode = BRW_FLOATING_POINT_NON_IEEE_754; in brw_upload_vs_unit()
72 vs->thread1.single_program_flow = (intel->gen == 5); in brw_upload_vs_unit()
74 vs->thread1.binding_table_entry_count = 0; in brw_upload_vs_unit()
Dbrw_gs_state.c61 gs->thread1.floating_point_mode = BRW_FLOATING_POINT_NON_IEEE_754; in brw_upload_gs_unit()
62 gs->thread1.single_program_flow = 1; in brw_upload_gs_unit()
Dbrw_clip_state.c57 clip->thread1.floating_point_mode = BRW_FLOATING_POINT_NON_IEEE_754; in brw_upload_clip_unit()
58 clip->thread1.single_program_flow = 1; in brw_upload_clip_unit()
Dbrw_structs.h106 struct thread1 struct
163 } thread1; member
404 struct thread1 thread1; member
471 struct thread1 thread1; member
515 struct thread1 thread1; member
550 struct thread1 thread1; member
Dbrw_wm_state.c113 wm->thread1.depth_coef_urb_read_offset = 1; in brw_upload_wm_unit()
114 wm->thread1.floating_point_mode = BRW_FLOATING_POINT_NON_IEEE_754; in brw_upload_wm_unit()
116 wm->thread1.binding_table_entry_count = 0; in brw_upload_wm_unit()
/external/libchrome/base/process/
Dprocess_metrics_unittest.cc310 Thread thread1("thread1"); in TEST_F() local
314 thread1.StartAndWaitForTesting(); in TEST_F()
318 ASSERT_TRUE(thread1.IsRunning()); in TEST_F()
326 thread1.task_runner()->PostTask(FROM_HERE, Bind(&BusyWork, &vec1)); in TEST_F()
332 thread1.Stop(); in TEST_F()
/external/elfutils/tests/
Ddwfl-proc-attach.c44 static pthread_t thread1; variable
80 if ((err = pthread_create (&thread1, NULL, sleeper, NULL)) != 0) in main()
/external/valgrind/exp-bbv/tests/x86-linux/
Dclone_test.S56 # thread1 #
59 thread1: label
/external/valgrind/exp-bbv/tests/amd64-linux/
Dclone_test.S56 # thread1 #
59 thread1: label
/external/webrtc/webrtc/base/
Dlogging_unittest.cc105 LogThread thread1, thread2, thread3; in TEST() local
106 thread1.Start(); in TEST()
Dthread_unittest.cc356 Thread* thread1, Thread* thread2, LockedBool* out) { in TEST()
362 thread1, Bind(&SetAndInvokeSet, &async_invoked, thread2, out)); in TEST()
/external/sfntly/cpp/src/test/
Dlock_test.cc210 MutexLockTestThread thread1(&lock, &value); in MutexFourThreads() local
217 EXPECT_TRUE(PlatformThread::Create(&thread1, &handle1)); in MutexFourThreads()
/external/libchrome/base/synchronization/
Dlock_unittest.cc195 MutexLockTestThread thread1(&lock, &value); in TEST() local
202 ASSERT_TRUE(PlatformThread::Create(0, &thread1, &handle1)); in TEST()
/external/v8/test/cctest/
Dtest-lockers.cc103 v8::base::SmartPointer<KangarooThread> thread1; in TEST() local
112 thread1.Reset(new KangarooThread(isolate, context)); in TEST()
114 thread1->Start(); in TEST()
115 thread1->Join(); in TEST()
/external/opencv3/samples/gpu/
Dstereo_multi.cpp250 Thread thread1(launchGpuStereoAlg, &launchDatas[1]); in compute() local
253 thread1.wait(); in compute()

12