Home
last modified time | relevance | path

Searched refs:main_thread (Results 1 – 25 of 64) sorted by relevance

123

/external/llvm-project/compiler-rt/test/tsan/
Datomic_race.cpp8 void Test(int test, T *p, bool main_thread) { in Test() argument
11 if (main_thread) in Test()
16 if (main_thread) in Test()
21 if (main_thread) in Test()
26 if (main_thread) in Test()
Datomic_norace.cpp8 void Test(int test, T *p, bool main_thread) { in Test() argument
11 if (main_thread) in Test()
16 if (main_thread) in Test()
21 if (main_thread) in Test()
26 if (main_thread) in Test()
/external/compiler-rt/test/tsan/
Datomic_race.cc8 void Test(int test, T *p, bool main_thread) { in Test() argument
11 if (main_thread) in Test()
16 if (main_thread) in Test()
21 if (main_thread) in Test()
26 if (main_thread) in Test()
Datomic_norace.cc8 void Test(int test, T *p, bool main_thread) { in Test() argument
11 if (main_thread) in Test()
16 if (main_thread) in Test()
21 if (main_thread) in Test()
26 if (main_thread) in Test()
/external/tensorflow/tensorflow/core/profiler/convert/
Dxplane_to_tf_functions_test.cc64 auto main_thread = host_plane_builder.GetOrCreateLine(0); in TEST() local
65 CreateTfFunctionCallEvent(&host_plane_builder, &main_thread, kFunctionName, in TEST()
67 CreateTfFunctionCallEvent(&host_plane_builder, &main_thread, kFunctionName, in TEST()
69 CreateTfFunctionCallEvent(&host_plane_builder, &main_thread, kFunctionName, in TEST()
109 auto main_thread = host_plane_builder.GetOrCreateLine(0); in TEST() local
110 CreateTfFunctionCallEvent(&host_plane_builder, &main_thread, in TEST()
112 CreateTfFunctionCallEvent(&host_plane_builder, &main_thread, in TEST()
149 auto main_thread = host_plane_builder.GetOrCreateLine(0); in TEST() local
150 CreateTfFunctionCallEvent(&host_plane_builder, &main_thread, in TEST()
Dxplane_to_step_events_test.cc52 auto main_thread = host_plane_builder.GetOrCreateLine(0); in TEST() local
53 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kTraceContext, in TEST()
55 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kFunctionRun, in TEST()
57 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kTraceContext, in TEST()
59 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kFunctionRun, in TEST()
Dxplane_to_op_stats_test.cc104 auto main_thread = host_plane_builder.GetOrCreateLine(0); in TEST() local
105 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kTraceContext, in TEST()
107 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kFunctionRun, in TEST()
135 auto main_thread = host_plane_builder.GetOrCreateLine(0); in TEST() local
136 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kTraceContext, in TEST()
138 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kFunctionRun, in TEST()
204 auto main_thread = host_plane_builder.GetOrCreateLine(0); in BuildAndStoreXSpaceForTest() local
205 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kTraceContext, in BuildAndStoreXSpaceForTest()
207 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kFunctionRun, in BuildAndStoreXSpaceForTest()
/external/perfetto/test/trace_processor/parsing/
Dandroid_thread_time_in_state.out13 main_thread: true
34 main_thread: true
44 main_thread: false
64 main_thread: true
/external/google-breakpad/src/client/mac/tests/
Dminidump_generator_test.cc125 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); in TEST_F() local
126 ASSERT_TRUE(main_thread); in TEST_F()
127 MinidumpContext* context = main_thread->GetContext(); in TEST_F()
216 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); in TEST_F() local
217 ASSERT_TRUE(main_thread); in TEST_F()
218 MinidumpContext* context = main_thread->GetContext(); in TEST_F()
306 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); in TEST_F() local
307 ASSERT_TRUE(main_thread); in TEST_F()
308 MinidumpContext* context = main_thread->GetContext(); in TEST_F()
Dcrash_generation_server_test.cc264 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); in TEST_F() local
265 ASSERT_TRUE(main_thread); in TEST_F()
266 MinidumpContext* context = main_thread->GetContext(); in TEST_F()
343 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); in TEST_F() local
344 ASSERT_TRUE(main_thread); in TEST_F()
345 MinidumpContext* context = main_thread->GetContext(); in TEST_F()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/
D2-1.c23 pthread_t main_thread; in main() local
25 main_thread = pthread_self(); in main()
27 if (pthread_kill(main_thread, 0) != 0) { in main()
D7-1.c23 pthread_t main_thread; in main() local
25 main_thread = pthread_self(); in main()
27 if (EINVAL != pthread_kill(main_thread, -1)) { in main()
D3-1.c21 pthread_t main_thread; in main() local
23 main_thread = pthread_self(); in main()
25 if (pthread_kill(main_thread, 0) != 0) { in main()
/external/llvm-project/lldb/test/API/macosx/safe-to-func-call/
DTestSafeFuncCalls.py37 main_thread = lldb.SBThread()
42 main_thread = t
47 main_thread.IsValid() and select_thread.IsValid(),
50 self.assertTrue(main_thread.SafeToCallFunctions(),
/external/tensorflow/tensorflow/core/profiler/utils/
Dgroup_events_test.cc49 auto main_thread = host_plane_builder.GetOrCreateLine(0); in TEST() local
51 &host_plane_builder, &main_thread, HostEventType::kTraceContext, 0, 100, in TEST()
53 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kFunctionRun, in TEST()
93 auto main_thread = host_plane_builder.GetOrCreateLine(0); in TEST() local
94 CreateXEvent(&host_plane_builder, &main_thread, "train", 0, 100, in TEST()
96 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kFunctionRun, in TEST()
224 auto main_thread = host_plane_builder.GetOrCreateLine(0); in TEST() local
225 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kTraceContext, in TEST()
227 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kFunctionRun, in TEST()
268 auto main_thread = host_plane_builder.GetOrCreateLine(0); in TEST() local
[all …]
/external/llvm-project/lldb/test/API/macosx/thread-names/
DTestInterruptThreadNames.py46 main_thread = lldb.SBThread()
52 main_thread = t
58 self.check_expected_threads_present(main_thread, second_thread, third_thread)
133 def check_expected_threads_present(self, main_thread, second_thread, third_thread): argument
135 main_thread.IsValid() and second_thread.IsValid() and third_thread.IsValid(),
/external/llvm-project/lldb/test/API/functionalities/thread/thread_specific_break/
DTestThreadSpecificBreakpoint.py39 (target, process, main_thread, main_breakpoint) = lldbutil.run_to_source_breakpoint(self,
54 setter_method(main_thread, thread_breakpoint)
70 main_thread.GetThreadID(),
/external/squashfs-tools/squashfs-tools/
Drestore.c49 extern pthread_t reader_thread, writer_thread, main_thread;
120 pthread_cancel(main_thread); in restore_thrd()
121 pthread_join(main_thread, NULL); in restore_thrd()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_thread.cpp158 MemprofThread *main_thread = MemprofThread::Create( in CreateMainThread() local
161 SetCurrentThread(main_thread); in CreateMainThread()
162 main_thread->ThreadStart(internal_getpid(), in CreateMainThread()
164 return main_thread; in CreateMainThread()
/external/python/cpython2/Modules/
Dsignalmodule.c80 static long main_thread; variable
186 if (PyThread_get_thread_ident() != main_thread) { in signal_handler()
187 pth_raise(*(pth_t *) main_thread, sig_num); in signal_handler()
291 if (PyThread_get_thread_ident() != main_thread) { in signal_signal()
412 if (PyThread_get_thread_ident() != main_thread) { in signal_set_wakeup_fd()
578 main_thread = PyThread_get_thread_ident(); in initsignal()
898 if (PyThread_get_thread_ident() != main_thread) in PyErr_CheckSignals()
970 if (PyThread_get_thread_ident() != main_thread) in PyOS_InterruptOccurred()
1003 main_thread = PyThread_get_thread_ident(); in PyOS_AfterFork()
/external/webrtc/api/test/
Dtest_dependency_factory.cc25 const rtc::PlatformThreadRef main_thread = rtc::CurrentThreadRef(); in IsValidTestDependencyFactoryThread() local
26 return rtc::IsThreadRefEqual(main_thread, rtc::CurrentThreadRef()); in IsValidTestDependencyFactoryThread()
/external/perfetto/src/trace_processor/metrics/android/
Dandroid_hwui_threads.sql18 DROP VIEW IF EXISTS {{table_name_prefix}}_main_thread;
19 CREATE VIEW {{table_name_prefix}}_main_thread AS
63 JOIN {{table_name_prefix}}_main_thread thread USING (utid)
/external/webrtc/test/time_controller/
Dsimulated_time_controller.cc180 auto main_thread = std::make_unique<SimulatedMainThread>(&impl_); in GlobalSimulatedTimeController() local
181 impl_.Register(main_thread.get()); in GlobalSimulatedTimeController()
182 main_thread_ = std::move(main_thread); in GlobalSimulatedTimeController()
/external/python/cpython2/Demo/pysvr/
Dpysvr.py35 main_thread(port)
44 def main_thread(port): function
Dpysvr.c45 static void main_thread(int);
87 main_thread(port); in main()
104 main_thread(int port) in main_thread() function

123