| /external/valgrind/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/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 );
|
| /external/valgrind/memcheck/tests/ |
| reach_thread_register.c | 46 pthread_t thr; local 47 pthread_create(&thr, NULL, &helper, &bar); 51 pthread_detach(thr);
|
| thread_alloca.c | 7 Also, a high nr of threads in thr[] is needed to get 36 pthread_t thr[50]; local 39 for (i = 0; i < sizeof(thr) / sizeof(*thr); i++) { 40 err = pthread_create(&thr[i], NULL, nop, NULL); 47 for (i = 0; i < sizeof(thr) / sizeof(*thr); i++) 48 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();
|
| /external/compiler-rt/lib/tsan/rtl/ |
| tsan_symbolize.cc | 26 ThreadState *thr = cur_thread(); local 27 CHECK(!thr->in_symbolizer); 28 thr->in_symbolizer = true; 29 thr->ignore_interceptors++; 33 ThreadState *thr = cur_thread(); local 34 CHECK(thr->in_symbolizer); 35 thr->in_symbolizer = false; 36 thr->ignore_interceptors--;
|
| tsan_platform_mac.cc | 84 ThreadState *thr = (ThreadState *)SignalSafeGetOrAllocate( local 86 return thr; 137 ThreadState *thr = cur_thread(); local 138 ThreadStart(thr, tid, GetTid()); 142 ThreadState *thr = cur_thread(); local 143 if (thr->tctx) {
|
| /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...] |
| tsan_sync_test.cc | 20 ThreadState *thr = cur_thread(); local 23 m->AllocBlock(thr, 0, (uptr)&block[0], 1 * sizeof(u64)); 27 EXPECT_EQ(mb->tid, thr->tid); 28 uptr sz = m->FreeBlock(thr, 0, (uptr)&block[0]); 35 ThreadState *thr = cur_thread(); local 38 m->AllocBlock(thr, 0, (uptr)&block[0], 1 * sizeof(u64)); 39 m->AllocBlock(thr, 0, (uptr)&block[1], 3 * sizeof(u64)); 44 m->FreeRange(thr, 0, (uptr)&block[0], 4 * sizeof(u64)); 52 ThreadState *thr = cur_thread(); local 55 m->AllocBlock(thr, 0, (uptr)&block[0], 4 * sizeof(u64)) 75 ThreadState *thr = cur_thread(); local 112 ThreadState *thr = cur_thread(); local [all...] |
| /external/valgrind/none/tests/ |
| thread-exits.c | 40 static void *thr(void *v) function 72 ret = pthread_create(&t, NULL, thr, NULL);
|
| /prebuilts/go/darwin-x86/src/runtime/cgo/ |
| gcc_signal_darwin_armx.c | 183 pthread_t thr = NULL; local 199 ret = pthread_create(&thr, &attr, mach_exception_handler, (void*)port_set);
|
| /prebuilts/go/linux-x86/src/runtime/cgo/ |
| gcc_signal_darwin_armx.c | 183 pthread_t thr = NULL; local 199 ret = pthread_create(&thr, &attr, mach_exception_handler, (void*)port_set);
|
| /frameworks/base/services/core/java/com/android/server/ |
| MasterClearReceiver.java | 53 Thread thr = new Thread("Reboot") { local 68 // thr will be started at the end of this task. 69 new WipeAdoptableDisksTask(context, thr).execute(); 71 thr.start();
|
| /external/compiler-rt/lib/tsan/dd/ |
| dd_rtl.h | 35 Thread *thr; member in struct:__dsan::Callback 37 Callback(Thread *thr); 58 void ThreadInit(Thread *thr); 59 void ThreadDestroy(Thread *thr); 61 void MutexBeforeLock(Thread *thr, uptr m, bool writelock); 62 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock); 63 void MutexBeforeUnlock(Thread *thr, uptr m, bool writelock); 64 void MutexDestroy(Thread *thr, uptr m);
|
| dd_interceptors.cc | 22 static __thread Thread *thr; variable 32 if (thr != 0) 39 thr = (Thread*)InternalAlloc(sizeof(*thr)); 40 internal_memset(thr, 0, sizeof(*thr)); 41 ThreadInit(thr); 48 MutexDestroy(thr, (uptr)m); 54 MutexBeforeLock(thr, (uptr)m, true); 56 MutexAfterLock(thr, (uptr)m, true, false) [all...] |
| /hardware/qcom/audio/msm8909/mm-audio/aenc-aac/qdsp6/inc/ |
| aenc_svr.h | 74 pthread_t thr; member in struct:aac_ipc_info
|
| /hardware/qcom/audio/msm8909/mm-audio/aenc-amrnb/qdsp6/inc/ |
| aenc_svr.h | 74 pthread_t thr; member in struct:amr_ipc_info
|
| /hardware/qcom/audio/msm8909/mm-audio/aenc-evrc/qdsp6/inc/ |
| aenc_svr.h | 74 pthread_t thr; member in struct:evrc_ipc_info
|
| /hardware/qcom/audio/msm8909/mm-audio/aenc-qcelp13/qdsp6/inc/ |
| aenc_svr.h | 74 pthread_t thr; member in struct:qcelp13_ipc_info
|
| /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/libevent/ |
| evthread_pthread.c | 87 pthread_t thr; member in union:__anon15601 97 r.thr = pthread_self();
|
| /external/libopus/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;
|
| /external/libvpx/libvpx/vp9/encoder/x86/ |
| vp9_quantize_sse2.c | 26 __m128i thr; local 114 thr = _mm_srai_epi16(dequant, 1); 135 nzflag = _mm_movemask_epi8(_mm_cmpgt_epi16(qcoeff0, thr)) | 136 _mm_movemask_epi8(_mm_cmpgt_epi16(qcoeff1, thr));
|
| /external/valgrind/perf/ |
| memrw.c | 73 pthread_t thr; local 132 ret = pthread_create(&thr, NULL, memrw_fn, &nr_thr); 137 ret = pthread_join(thr, NULL);
|