/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_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 | 7 void *thr(void *a) { function 16 pthread_create(&th, 0, thr, p);
|
mutex_robust.cc | 10 void *thr(void *p) { function 21 pthread_create(&th, 0, thr, 0);
|
sunrpc.cc | 7 void *thr(void *p) { function 17 pthread_create(&th[0], 0, thr, 0); 18 pthread_create(&th[1], 0, thr, 0);
|
cond_race.cc | 17 void *thr(void *p) { function 31 pthread_create(&th, 0, thr, c);
|
mutex_robust2.cc | 11 void *thr(void *p) { function 23 pthread_create(&th, 0, thr, 0);
|
barrier.cc | 15 void *thr(void *p) { function 32 pthread_create(&th[i], 0, thr, (void*)(long)i);
|
/external/valgrind/main/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);
|
/frameworks/base/services/core/java/com/android/server/ |
ShutdownActivity.java | 43 Thread thr = new Thread("ShutdownActivity") { local 58 thr.start(); 62 thr.join();
|
MasterClearReceiver.java | 45 Thread thr = new Thread("Reboot") { local 58 thr.start();
|
/external/compiler-rt/test/asan/TestCases/ |
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));
|
/external/valgrind/main/helgrind/ |
hg_lock_n_thread.c | 48 inline Bool HG_(is_sane_Thread) ( Thread* thr ) { 49 return thr != NULL && thr->magic == Thread_MAGIC; 54 Thread* thr; local 57 while (VG_(nextIterBag)( bag, (UWord*)&thr, &count )) { 59 if (!HG_(is_sane_Thread)(thr)) return False;
|
/external/valgrind/main/helgrind/tests/ |
bar_trivial.c | 38 pthread_t thr[NTHR]; local 44 r = pthread_create(&thr[i], NULL, child_fn, (void*)i); 49 r = pthread_join(thr[i], NULL);
|
/external/valgrind/main/memcheck/tests/ |
reach_thread_register.c | 46 pthread_t thr; local 47 pthread_create(&thr, NULL, &helper, &bar); 51 pthread_detach(thr);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
AlarmService_Service.java | 55 Thread thr = new Thread(null, mTask, "AlarmService_Service"); local 56 thr.start();
|
/packages/apps/Browser/src/com/android/browser/ |
OpenDownloadReceiver.java | 37 HandlerThread thr = new HandlerThread("Open browser download async"); typedefs 38 thr.start(); 39 sAsyncHandler = new Handler(thr.getLooper());
|
/external/compiler-rt/lib/tsan/dd/ |
dd_rtl.h | 36 Thread *thr; member in struct:__dsan::Callback 38 Callback(Thread *thr); 59 void ThreadInit(Thread *thr); 60 void ThreadDestroy(Thread *thr); 62 void MutexBeforeLock(Thread *thr, uptr m, bool writelock); 63 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock); 64 void MutexBeforeUnlock(Thread *thr, uptr m, bool writelock); 65 void MutexDestroy(Thread *thr, uptr m);
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
tsan_test_util_linux.cc | 54 pthread_t thr; local 55 pthread_create(&thr, 0, BeforeInitThread, 0); 56 pthread_join(thr, 0);
|
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_mman_test.cc | 38 ThreadState *thr = cur_thread(); local 40 char *p = (char*)user_alloc(thr, pc, 10); 42 char *p2 = (char*)user_alloc(thr, pc, 20); 47 user_free(thr, pc, p); 48 user_free(thr, pc, p2); 52 ThreadState *thr = cur_thread(); local 55 void *p = user_realloc(thr, pc, 0, 0); 61 void *p = user_realloc(thr, pc, 0, 100); 64 user_free(thr, pc, p); 67 void *p = user_alloc(thr, pc, 100) 97 ThreadState *thr = cur_thread(); local 110 ThreadState *thr = cur_thread(); local [all...] |