/external/compiler-rt/test/asan/TestCases/Windows/ |
beginthreadex.cc | 15 HANDLE thr = (HANDLE)_beginthreadex(NULL, 0, thread_proc, NULL, 0, NULL); local 16 if (thr == 0) 18 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) 20 CloseHandle(thr);
|
dll_thread_stack_array_left_oob.cc | 26 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); local 31 if (thr == 0) 33 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE))
|
thread_simple.cc | 15 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); local 16 if (thr == 0) 18 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) 21 GetExitCodeThread(thr, &exitcode); 24 CloseHandle(thr);
|
thread_stack_array_left_oob.cc | 19 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); local 24 if (thr == 0) return 0; 26 WaitForSingleObject(thr, INFINITE);
|
thread_stack_array_right_oob.cc | 19 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); local 24 if (thr == 0) return 0; 26 WaitForSingleObject(thr, INFINITE);
|
thread_stress.cc | 16 HANDLE thr[NUM_THREADS]; local 18 thr[i] = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); 19 if (thr[i] == 0) 23 if (WAIT_OBJECT_0 != WaitForSingleObject(thr[i], INFINITE)) 25 CloseHandle(thr[i]);
|
thread_suspended.cc | 15 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, CREATE_SUSPENDED, NULL); local 16 ResumeThread(thr); 17 if (thr == 0) 19 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) 22 GetExitCodeThread(thr, &exitcode); 25 CloseHandle(thr);
|
thread_stack_reuse.cc | 22 HANDLE thr = NULL; local 24 thr = CreateThread(NULL, 0, thread_proc_1, NULL, 0, NULL); 25 if (thr == 0) 27 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) 30 thr = CreateThread(NULL, 0, thread_proc_2, NULL, 0, NULL); 31 if (thr == 0) 33 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) 35 CloseHandle(thr);
|
/external/compiler-rt/test/tsan/ |
malloc_stack.cc | 6 void *thr(void *a) { function 16 pthread_create(&th, 0, thr, p);
|
sunrpc.cc | 8 void *thr(void *p) { function 18 pthread_create(&th[0], 0, thr, 0); 19 pthread_create(&th[1], 0, thr, 0);
|
cond_destruction.cc | 16 void *thr(void *p) { function 30 pthread_create(&th, 0, thr, 0);
|
cond_race.cc | 14 void *thr(void *p) { function 30 pthread_create(&th, 0, thr, c);
|
lots_of_threads.c | 4 void *thr(void *arg) { function 21 pthread_create(&t[i], &attr, thr, 0);
|
pthread_key.cc | 9 void* thr(void* arg) { function 29 pthread_create(&th, 0, thr, 0); 33 pthread_create(&th[0], 0, thr, 0); 34 pthread_create(&th[1], 0, thr, 0);
|
race_stress.cc | 9 void *thr(void *arg) { function 18 pthread_create(&th[i], 0, thr, 0);
|
signal_cond.cc | 36 pthread_t thr; local 37 pthread_create(&thr, 0, &my_thread, 0); 41 pthread_kill(thr, SIGUSR1); 47 pthread_join(thr, 0);
|
signal_thread.cc | 20 static void* thr(void *p) { function 43 pthread_create(&th, 0, thr, 0);
|
barrier.cc | 18 void *thr(void *p) { function 35 pthread_create(&th[i], 0, thr, (void*)(long)i);
|
/external/valgrind/drd/tests/ |
pth_create_glibc_2_0.c | 28 pthread_t thr; local 30 result = (*pthread_create_glibc_2_0)(&thr, 0, thread_func, 0); 36 pthread_join(thr, 0);
|
/external/compiler-rt/test/tsan/Linux/ |
mutex_robust.cc | 10 void *thr(void *p) { function 21 pthread_create(&th, 0, thr, 0);
|
mutex_robust2.cc | 11 void *thr(void *p) { function 23 pthread_create(&th, 0, thr, 0);
|
/frameworks/base/core/java/com/android/internal/app/ |
ShutdownActivity.java | 46 Thread thr = new Thread("ShutdownActivity") { local 63 thr.start(); 67 thr.join();
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
signal_during_stop_the_world.cc | 19 static void *thr(void *arg); 56 static void *thr(void *arg) { function
|
/art/test/579-inline-infinite/src/ |
Main.java | 33 Thread thr = new Thread(new Infinite()); local 34 thr.setDaemon(true); 35 thr.start();
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
current_allocated_bytes.cc | 29 pthread_t thr[4]; local 32 pthread_create(&thr[j], 0, (j < 2) ? allocate : check_stats, 0)); 35 assert(0 == pthread_join(thr[j], 0));
|