Home
last modified time | relevance | path

Searched refs:other_thread (Results 1 – 19 of 19) sorted by relevance

/external/llvm-project/lldb/test/API/lang/objc/print-obj/
DTestPrintObj.py63 other_thread = None
66 other_thread = t
71 self.assertTrue(other_thread)
72 process.SetSelectedThread(other_thread)
74 print("selected thread:" + lldbutil.get_description(other_thread))
80 depth = other_thread.GetNumFrames()
82 frame = other_thread.GetFrameAtIndex(i)
85 other_thread.SetSelectedFrame(i)
/external/libchrome/base/
Drun_loop_unittest.cc305 Thread other_thread("test"); in TEST_P() local
306 other_thread.Start(); in TEST_P()
308 other_thread.task_runner(); in TEST_P()
336 Thread other_thread("test"); in TEST_P() local
337 other_thread.Start(); in TEST_P()
339 other_thread.task_runner(); in TEST_P()
366 Thread other_thread("test"); in TEST_P() local
367 other_thread.Start(); in TEST_P()
369 other_thread.task_runner(); in TEST_P()
387 Thread other_thread("test"); in TEST_P() local
[all …]
/external/pthreadpool/src/
Dfastpath.c50 struct thread_info* other_thread = &threadpool->threads[tid]; in pthreadpool_thread_parallelize_1d_fastpath() local
51 …while (pthreadpool_decrement_fetch_relaxed_size_t(&other_thread->range_length) < range_threshold) { in pthreadpool_thread_parallelize_1d_fastpath()
52 const size_t index = pthreadpool_decrement_fetch_relaxed_size_t(&other_thread->range_end); in pthreadpool_thread_parallelize_1d_fastpath()
95 struct thread_info* other_thread = &threadpool->threads[tid]; in pthreadpool_thread_parallelize_1d_with_uarch_fastpath() local
96 …while (pthreadpool_decrement_fetch_relaxed_size_t(&other_thread->range_length) < range_threshold) { in pthreadpool_thread_parallelize_1d_with_uarch_fastpath()
97 const size_t index = pthreadpool_decrement_fetch_relaxed_size_t(&other_thread->range_end); in pthreadpool_thread_parallelize_1d_with_uarch_fastpath()
136 struct thread_info* other_thread = &threadpool->threads[tid]; in pthreadpool_thread_parallelize_1d_tile_1d_fastpath() local
137 …while (pthreadpool_decrement_fetch_relaxed_size_t(&other_thread->range_length) < range_threshold) { in pthreadpool_thread_parallelize_1d_tile_1d_fastpath()
138 const size_t tile_index = pthreadpool_decrement_fetch_relaxed_size_t(&other_thread->range_end); in pthreadpool_thread_parallelize_1d_tile_1d_fastpath()
182 struct thread_info* other_thread = &threadpool->threads[tid]; in pthreadpool_thread_parallelize_2d_fastpath() local
[all …]
Dportable-api.c52 struct thread_info* other_thread = &threadpool->threads[tid]; in thread_parallelize_1d() local
53 while (pthreadpool_try_decrement_relaxed_size_t(&other_thread->range_length)) { in thread_parallelize_1d()
54 const size_t index = pthreadpool_decrement_fetch_relaxed_size_t(&other_thread->range_end); in thread_parallelize_1d()
92 struct thread_info* other_thread = &threadpool->threads[tid]; in thread_parallelize_1d_with_uarch() local
93 while (pthreadpool_try_decrement_relaxed_size_t(&other_thread->range_length)) { in thread_parallelize_1d_with_uarch()
94 const size_t index = pthreadpool_decrement_fetch_relaxed_size_t(&other_thread->range_end); in thread_parallelize_1d_with_uarch()
128 struct thread_info* other_thread = &threadpool->threads[tid]; in thread_parallelize_1d_tile_1d() local
129 while (pthreadpool_try_decrement_relaxed_size_t(&other_thread->range_length)) { in thread_parallelize_1d_tile_1d()
130 const size_t tile_index = pthreadpool_decrement_fetch_relaxed_size_t(&other_thread->range_end); in thread_parallelize_1d_tile_1d()
169 struct thread_info* other_thread = &threadpool->threads[tid]; in thread_parallelize_2d() local
[all …]
/external/llvm-project/lldb/test/API/functionalities/thread/state_after_expression/
DTestStateAfterExpression.py35 other_thread = threads[0]
37 self.assertNotEqual(thread.GetThreadID(), other_thread.GetThreadID(),
48 stop_reason = other_thread.GetStopReason()
53 self.assertEqual(other_thread.GetStopReasonDataAtIndex(0), 1,
/external/llvm-project/lldb/test/API/macosx/thread-names/
Dmain.c28 pthread_t other_thread; in main() local
29 pthread_create (&other_thread, NULL, second_thread, NULL); in main()
30 pthread_create (&other_thread, NULL, third_thread, NULL); in main()
/external/tensorflow/tensorflow/core/profiler/convert/
Dxplane_to_tf_functions_test.cc72 auto other_thread = host_plane_builder.GetOrCreateLine(1); in TEST() local
73 CreateTfFunctionCallEvent(&host_plane_builder, &other_thread, kFunctionName, in TEST()
75 CreateTfFunctionCallEvent(&host_plane_builder, &other_thread, kFunctionName, in TEST()
77 CreateTfFunctionCallEvent(&host_plane_builder, &other_thread, kFunctionName, in TEST()
152 auto other_thread = host_plane_builder.GetOrCreateLine(1); in TEST() local
153 CreateTfFunctionCallEvent(&host_plane_builder, &other_thread, in TEST()
/external/libchrome/base/task/
Dcancelable_task_tracker_unittest.cc194 Thread other_thread("other thread"); in TEST_F() local
195 ASSERT_TRUE(other_thread.Start()); in TEST_F()
196 other_thread.task_runner()->PostTask( in TEST_F()
198 other_thread.Stop(); in TEST_F()
202 ASSERT_TRUE(other_thread.Start()); in TEST_F()
203 other_thread.task_runner()->PostTask( in TEST_F()
205 other_thread.Stop(); in TEST_F()
/external/llvm-project/lldb/test/API/macosx/safe-to-func-call/
Dmain.c27 pthread_t other_thread; in main() local
28 pthread_create (&other_thread, NULL, select_thread, NULL); in main()
/external/llvm-project/compiler-rt/test/xray/TestCases/Posix/
Dfdr-mode.cpp62 std::thread other_thread([]() { in main() local
68 other_thread.join(); in main()
/external/webrtc/rtc_base/synchronization/
Dyield_policy_unittest.cc45 std::thread other_thread([&]() { in TEST() local
66 other_thread.join(); in TEST()
/external/python/cpython3/Lib/test/
Dtest_threadsignals.py129 def other_thread(): function
133 thread.start_new_thread(other_thread, ())
155 def other_thread(): function
169 thread.start_new_thread(other_thread, ())
/external/libchrome/base/task_scheduler/
Ddelayed_task_manager_unittest.cc184 Thread other_thread("Test"); in TEST_F() local
185 other_thread.StartAndWaitForTesting(); in TEST_F()
189 other_thread.task_runner()->PostTask(FROM_HERE, BindLambdaForTesting([&]() { in TEST_F()
/external/llvm-project/lldb/test/API/functionalities/tsan/thread_numbers/
DTestTsanThreadNumbers.py71 other_thread = self.dbg.GetSelectedTarget(
73 self.assertTrue(other_thread.IsValid())
/external/libchrome/base/timer/
Dtimer_unittest.cc415 Thread other_thread("OneShotTimer_CustomTaskRunner"); in TEST() local
416 other_thread.Start(); in TEST()
421 f.SetTaskRunner(other_thread.task_runner()); in TEST()
/external/libchrome/base/trace_event/
Dmemory_dump_manager_unittest.cc667 TestIOThread* other_thread = threads[other_idx].get(); in TEST_F() local
671 auto on_dump = [other_thread, main_runner, &on_memory_dump_call_count]( in TEST_F()
675 base::BindOnce(&TestIOThread::Stop, base::Unretained(other_thread))); in TEST_F()
/external/webrtc/rtc_base/
Dthread_unittest.cc376 auto other_thread = Thread::CreateWithSocketServer(); in TEST() local
377 other_thread->Start(); in TEST()
378 other_thread->Invoke<void>(RTC_FROM_HERE, [main_thread] { in TEST()
/external/llvm-project/openmp/runtime/src/
Dkmp_tasking.cpp2815 kmp_info_t *other_thread; in __kmp_execute_tasks_template() local
2855 other_thread = threads_data[victim_tid].td.td_thr; in __kmp_execute_tasks_template()
2870 other_thread = threads_data[victim_tid].td.td_thr; in __kmp_execute_tasks_template()
2882 (TCR_PTR(CCAST(void *, other_thread->th.th_sleep_loc)) != in __kmp_execute_tasks_template()
2885 __kmp_null_resume_wrapper(__kmp_gtid_from_thread(other_thread), in __kmp_execute_tasks_template()
2886 other_thread->th.th_sleep_loc); in __kmp_execute_tasks_template()
2899 task = __kmp_steal_task(other_thread, gtid, task_team, in __kmp_execute_tasks_template()
/external/llvm-project/lldb/source/Target/
DProcess.cpp948 ThreadSP other_thread; in HandleProcessStateChangedEvent() local
966 if (!other_thread) in HandleProcessStateChangedEvent()
967 other_thread = thread; in HandleProcessStateChangedEvent()
978 if (!other_thread) in HandleProcessStateChangedEvent()
979 other_thread = thread; in HandleProcessStateChangedEvent()
989 else if (other_thread) in HandleProcessStateChangedEvent()
990 thread_list.SetSelectedThreadByID(other_thread->GetID()); in HandleProcessStateChangedEvent()