/external/compiler-rt/lib/tsan/lit_tests/ |
malloc_stack.cc | 7 void *thr(void *a) { function 16 pthread_create(&th, 0, thr, p);
|
/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/java/com/android/server/ |
ShutdownActivity.java | 46 Thread thr = new Thread("ShutdownActivity") { local 61 thr.start(); 65 thr.join();
|
MasterClearReceiver.java | 42 Thread thr = new Thread("Reboot") { local 53 thr.start();
|
/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, (Word*)&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);
|
tc17_sembar.c | 190 pthread_t thr[4]; local 196 res = pthread_create( &thr[i], NULL, child, (void*)(i+2) ); 201 res = pthread_join( thr[i], NULL );
|
/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/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_sync_test.cc | 29 ThreadState *thr = cur_thread(); local 39 SyncVar *v = tab.GetOrCreateAndLock(thr, pc, addr, true); 46 SyncVar *v = tab.GetAndRemove(thr, pc, addr); 58 SyncVar *v = tab.GetAndRemove(thr, pc, addr);
|
tsan_mman_test.cc | 49 ThreadState *thr = cur_thread(); local 51 char *p = (char*)user_alloc(thr, pc, 10); 53 char *p2 = (char*)user_alloc(thr, pc, 20); 56 MBlock *b = user_mblock(thr, p); 59 MBlock *b2 = user_mblock(thr, p2); 64 EXPECT_EQ(b, user_mblock(thr, p + i)); 68 EXPECT_EQ(b2, user_mblock(thr, p2 + i)); 70 user_free(thr, pc, p); 71 user_free(thr, pc, p2); 76 ThreadState *thr = cur_thread() local 122 ThreadState *thr = cur_thread(); local 135 ThreadState *thr = cur_thread(); local [all...] |
/external/valgrind/main/none/tests/ |
thread-exits.c | 40 static void *thr(void *v) function 72 ret = pthread_create(&t, NULL, thr, NULL);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
testutil.cc | 182 pthread_t thr; local 185 SAFE_PTHREAD(pthread_create(&thr, NULL, RunFunctionInThread, &fn)); 186 SAFE_PTHREAD(pthread_join(thr, NULL)); 190 pthread_t* thr = new pthread_t[count]; local 192 SAFE_PTHREAD(pthread_create(&thr[i], NULL, RunFunctionInThread, &fn)); 195 SAFE_PTHREAD(pthread_join(thr[i], NULL)); 197 delete[] thr; 205 pthread_t* thr = new pthread_t[count]; local 210 SAFE_PTHREAD(pthread_create(&thr[i], &attr, 214 SAFE_PTHREAD(pthread_join(thr[i], NULL)) [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
testutil.cc | 182 pthread_t thr; local 185 SAFE_PTHREAD(pthread_create(&thr, NULL, RunFunctionInThread, &fn)); 186 SAFE_PTHREAD(pthread_join(thr, NULL)); 190 pthread_t* thr = new pthread_t[count]; local 192 SAFE_PTHREAD(pthread_create(&thr[i], NULL, RunFunctionInThread, &fn)); 195 SAFE_PTHREAD(pthread_join(thr[i], NULL)); 197 delete[] thr; 205 pthread_t* thr = new pthread_t[count]; local 210 SAFE_PTHREAD(pthread_create(&thr[i], &attr, 214 SAFE_PTHREAD(pthread_join(thr[i], NULL)) [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_symbolize.cc | 27 ThreadState *thr = cur_thread(); local 28 CHECK(!thr->in_symbolizer); 29 thr->in_symbolizer = true; 33 ThreadState *thr = cur_thread(); local 34 CHECK(thr->in_symbolizer); 35 thr->in_symbolizer = false;
|
tsan_interface_inl.h | 56 ThreadState *thr = cur_thread(); local 57 thr->is_vptr_access = true; 58 MemoryWrite(thr, CALLERPC, (uptr)vptr_p, kSizeLog8); 59 thr->is_vptr_access = false; 65 ThreadState *thr = cur_thread(); local 66 thr->is_vptr_access = true; 67 MemoryRead(thr, CALLERPC, (uptr)vptr_p, kSizeLog8); 68 thr->is_vptr_access = false;
|
tsan_rtl_mutex.cc | 23 void MutexCreate(ThreadState *thr, uptr pc, uptr addr, 26 CHECK_GT(thr->in_rtl, 0); 27 DPrintf("#%d: MutexCreate %zx\n", thr->tid, addr); 28 StatInc(thr, StatMutexCreate); 30 CHECK(!thr->is_freeing); 31 thr->is_freeing = true; 32 MemoryWrite(thr, pc, addr, kSizeLog1); 33 thr->is_freeing = false; 35 SyncVar *s = ctx->synctab.GetOrCreateAndLock(thr, pc, addr, true); 42 void MutexDestroy(ThreadState *thr, uptr pc, uptr addr) 256 ThreadState *thr = reinterpret_cast<ThreadState*>(arg); local 292 ThreadState *thr = reinterpret_cast<ThreadState*>(arg); local [all...] |
/external/aac/libSBRdec/src/ |
psbitdec.cpp | 383 UCHAR thr; local 384 thr = (UCHAR)h_ps_d->noSubSamples - (pBsData->noEnv - env); 385 if (pBsData->aEnvStartStop[env] > thr) { 386 pBsData->aEnvStartStop[env] = thr; 389 thr = pBsData->aEnvStartStop[env-1]+1; 390 if (pBsData->aEnvStartStop[env] < thr) { 391 pBsData->aEnvStartStop[env] = thr;
|
/external/chromium_org/third_party/opus/src/silk/ |
A2NLSF.c | 120 opus_int32 ylo, yhi, ymid, thr; local 152 thr = 0; 159 if( ( ylo <= 0 && yhi >= thr ) || ( ylo >= 0 && yhi <= -thr ) ) { 163 thr = 1; 165 thr = 0; 219 thr = 0;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
deringing_luma.cpp | 41 int thr, blks, incr; local 94 thr = thres[blks]; 97 thr, width, max_diff); 148 thr = thres[blks]; 151 thr, width, max_diff); 210 thr = thres[blks]; 213 thr, width, max_diff); 216 width, thr, max_diff);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThrowableTest.java | 26 Throwable thr = new Throwable(message, npe); local 27 assertEquals("message is incorrect.", message, thr.getMessage()); 28 assertEquals("cause is incorrect.", npe, thr.getCause()); 30 thr = new Throwable(null, npe); 31 assertNull("message is not null.", thr.getMessage()); 32 assertEquals("cause is incorrect.", npe, thr.getCause()); 34 thr = new Throwable(message, null); 35 assertEquals("message is incorrect.", message, thr.getMessage()); 36 assertNull("cause is not null.", thr.getCause()); 42 Throwable thr = new Throwable(npe) local 74 Throwable thr = new Throwable(message, npe); local 83 Throwable thr = new Throwable(); local 118 Throwable thr = new Throwable(npe); local [all...] |
/system/core/debuggerd/ |
crasher.c | 84 pthread_t thr; local 88 pthread_create(&thr, &attr, noisy, (void*) 'A'); 89 pthread_create(&thr, &attr, noisy, (void*) 'B'); 90 pthread_create(&thr, &attr, noisy, (void*) 'C');
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
StorageNotification.java | 93 HandlerThread thr = new HandlerThread("SystemUI StorageNotification"); local 94 thr.start(); 95 mAsyncEventHandler = new Handler(thr.getLooper());
|
UsbStorageActivity.java | 111 HandlerThread thr = new HandlerThread("SystemUI UsbStorageActivity"); local 112 thr.start(); 113 mAsyncStorageHandler = new Handler(thr.getLooper());
|