/external/compiler-rt/test/tsan/ |
D | atomic_race.cc | 8 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()
|
D | atomic_norace.cc | 8 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/google-breakpad/src/client/mac/tests/ |
D | minidump_generator_test.cc | 124 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); in TEST_F() local 125 ASSERT_TRUE(main_thread); in TEST_F() 126 MinidumpContext* context = main_thread->GetContext(); in TEST_F() 215 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); in TEST_F() local 216 ASSERT_TRUE(main_thread); in TEST_F() 217 MinidumpContext* context = main_thread->GetContext(); in TEST_F() 305 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); in TEST_F() local 306 ASSERT_TRUE(main_thread); in TEST_F() 307 MinidumpContext* context = main_thread->GetContext(); in TEST_F()
|
D | crash_generation_server_test.cc | 264 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/ |
D | 2-1.c | 23 pthread_t main_thread; in main() local 25 main_thread = pthread_self(); in main() 27 if (pthread_kill(main_thread, 0) != 0) { in main()
|
D | 7-1.c | 23 pthread_t main_thread; in main() local 25 main_thread = pthread_self(); in main() 27 if (EINVAL != pthread_kill(main_thread, -1)) { in main()
|
D | 3-1.c | 21 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/valgrind/none/tests/ |
D | pth_blockedsig.c | 11 static pthread_t main_thread; variable 23 if (pthread_kill (main_thread, SIGUSR1) != 0) in child_main() 49 main_thread = pthread_self (); in main()
|
/external/squashfs-tools/squashfs-tools/ |
D | restore.c | 49 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()
|
D | mksquashfs.c | 287 pthread_t reader_thread, writer_thread, main_thread; variable 4449 main_thread = pthread_self(); in initialise_threads()
|
/external/python/cpython2/Modules/ |
D | signalmodule.c | 80 static long main_thread; variable 189 if (PyThread_get_thread_ident() != main_thread) { in signal_handler() 190 pth_raise(*(pth_t *) main_thread, sig_num); in signal_handler() 294 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() 901 if (PyThread_get_thread_ident() != main_thread) in PyErr_CheckSignals() 973 if (PyThread_get_thread_ident() != main_thread) in PyOS_InterruptOccurred() 1006 main_thread = PyThread_get_thread_ident(); in PyOS_AfterFork()
|
D | timemodule.c | 56 static long main_thread; variable 878 main_thread = PyThread_get_thread_ident(); in inittime() 981 main_thread != PyThread_get_thread_ident())
|
/external/python/cpython2/Demo/pysvr/ |
D | pysvr.c | 45 static void main_thread(int); 87 main_thread(port); in main() 104 main_thread(int port) in main_thread() function
|
D | pysvr.py | 35 main_thread(port) 44 def main_thread(port): function
|
/external/linux-kselftest/tools/testing/selftests/mqueue/ |
D | mq_perf_tests.c | 80 pthread_t main_thread; variable 210 if (pthread_self() != main_thread) in sig_action_SIGUSR1() 223 if (pthread_self() != main_thread) in sig_action() 224 pthread_kill(main_thread, signum); in sig_action() 545 main_thread = pthread_self(); in main()
|
/external/compiler-rt/lib/asan/ |
D | asan_rtl.cc | 541 AsanThread *main_thread = AsanThread::Create( in AsanInitInternal() local 544 CHECK_EQ(0, main_thread->tid()); in AsanInitInternal() 545 SetCurrentThread(main_thread); in AsanInitInternal() 546 main_thread->ThreadStart(internal_getpid(), in AsanInitInternal()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_thread_registry_test.cc | 133 ThreadContextBase *main_thread = registry->GetThreadLocked(0); in TestRegistry() local 134 EXPECT_EQ(main_thread, registry->FindThreadContextLocked( in TestRegistry()
|
/external/ltp/testcases/realtime/func/matrix_mult/ |
D | matrix_mult.c | 191 void main_thread(void) in main_thread() function 351 main_thread(); in main()
|
/external/compiler-rt/lib/msan/ |
D | msan.cc | 419 MsanThread *main_thread = MsanThread::Create(nullptr, nullptr); in __msan_init() local 420 SetCurrentThread(main_thread); in __msan_init() 421 main_thread->ThreadStart(); in __msan_init()
|
/external/python/cpython2/Python/ |
D | ceval.c | 240 static long main_thread = 0; variable 255 main_thread = PyThread_get_thread_ident(); in PyEval_InitThreads() 313 main_thread = PyThread_get_thread_ident(); in PyEval_ReInitThreads() 465 if (main_thread && PyThread_get_thread_ident() != main_thread) in Py_MakePendingCalls()
|