/external/compiler-rt/lib/tsan/go/ |
tsan_go.cc | 95 ThreadState *thr = (ThreadState*)internal_alloc(MBlockThreadContex, local 97 internal_memset(thr, 0, sizeof(*thr)); 98 return thr; 103 ThreadState *thr = AllocGoroutine(); local 104 main_thr = *thrp = thr; 105 Initialize(thr); 111 ThreadState *thr = main_thr; local 112 int res = Finalize(thr); 120 void __tsan_read(ThreadState *thr, void *addr, void *pc) 167 ThreadState *thr = AllocGoroutine(); local [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_mman.cc | 58 void AllocatorThreadStart(ThreadState *thr) { 59 allocator()->InitCache(&thr->alloc_cache); 60 internal_allocator()->InitCache(&thr->internal_alloc_cache); 63 void AllocatorThreadFinish(ThreadState *thr) { 64 allocator()->DestroyCache(&thr->alloc_cache); 65 internal_allocator()->DestroyCache(&thr->internal_alloc_cache); 72 static void SignalUnsafeCall(ThreadState *thr, uptr pc) { 73 if (!thr->in_signal_handler || !flags()->report_signal_unsafe) 76 stack.ObtainCurrent(thr, pc); 81 OutputReport(thr, rep) 147 ThreadState *thr = cur_thread(); local 155 ThreadState *thr = cur_thread(); local 163 ThreadState *thr = cur_thread(); local 173 ThreadState *thr = cur_thread(); local 240 ThreadState *thr = cur_thread(); local [all...] |
tsan_rtl_mutex.cc | 26 void ReportDeadlock(ThreadState *thr, uptr pc, DDReport *r); 29 ThreadState *thr; member in struct:__tsan::Callback 32 Callback(ThreadState *thr, uptr pc) 33 : thr(thr) 35 DDCallback::pt = thr->dd_pt; 36 DDCallback::lt = thr->dd_lt; 40 return CurrentStackId(thr, pc); 43 return thr->unique_id; 47 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s) 366 ThreadState *thr = reinterpret_cast<ThreadState*>(arg); local 409 ThreadState *thr = reinterpret_cast<ThreadState*>(arg); local [all...] |
tsan_rtl_thread.cc | 27 , thr() 49 ThreadState *thr; member in struct:__tsan::OnCreatedArgs 54 thr = 0; 58 args->thr->fast_state.IncrementEpoch(); 60 TraceAddEvent(args->thr, args->thr->fast_state, EventTypeMop, 0); 61 ReleaseImpl(args->thr, 0, &sync); 62 creation_stack_id = CurrentStackId(args->thr, args->pc); 64 StatInc(args->thr, StatThreadMaxTid); 74 ThreadState *thr; member in struct:__tsan::OnStartedArgs [all...] |
tsan_interceptors.cc | 147 static SignalContext *SigCtx(ThreadState *thr) { 148 SignalContext *ctx = (SignalContext*)thr->signal_ctx; 149 if (ctx == 0 && thr->is_alive) { 151 MemoryResetRange(thr, (uptr)&SigCtx, (uptr)ctx, sizeof(*ctx)); 152 thr->signal_ctx = ctx; 161 ScopedInterceptor(ThreadState *thr, const char *fname, uptr pc); 169 ScopedInterceptor::ScopedInterceptor(ThreadState *thr, const char *fname, 171 : thr_(thr) 175 Initialize(thr); 176 FuncEntry(thr, pc) 801 ThreadState *thr = cur_thread(); local 824 ThreadState *thr = cur_thread(); local 953 ThreadState *thr; member in struct:CondMutexUnlockCtx 1757 ThreadState *thr = cur_thread(); local 1981 ThreadState *thr; member in struct:TsanInterceptorContext 2090 ThreadState *thr; member in struct:ScopedSyscall 2197 ThreadState *thr = cur_thread(); local [all...] |
tsan_rtl.h | 409 ThreadState *thr; member in class:__tsan::ThreadContext 531 void ALWAYS_INLINE StatInc(ThreadState *thr, StatType typ, u64 n = 1) { 533 thr->stat[typ] += n; 535 void ALWAYS_INLINE StatSet(ThreadState *thr, StatType typ, u64 n) { 537 thr->stat[typ] = n; 548 void ForkBefore(ThreadState *thr, uptr pc); 549 void ForkParentAfter(ThreadState *thr, uptr pc); 550 void ForkChildAfter(ThreadState *thr, uptr pc); 552 void ReportRace(ThreadState *thr); 553 bool OutputReport(ThreadState *thr, const ScopedReport &srep) [all...] |
/external/libvpx/libvpx/vp8/common/ |
mfqe.c | 149 unsigned int act, actd, sad, usad, vsad, sse, thr, thrsq, actrisk; local 188 /* thr = qdiff/16 + log2(act) + log4(qprev) */ 189 thr = (qdiff >> 4); 190 while (actd >>= 1) thr++; 191 while (qprev >>= 2) thr++; 194 thrsq = thr * thr; 200 if (sad < thr && 203 2 * usad < thr && 2 * vsad < thr && !actrisk [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
mfqe.c | 149 unsigned int act, actd, sad, usad, vsad, sse, thr, thrsq, actrisk; local 188 /* thr = qdiff/16 + log2(act) + log4(qprev) */ 189 thr = (qdiff >> 4); 190 while (actd >>= 1) thr++; 191 while (qprev >>= 2) thr++; 194 thrsq = thr * thr; 200 if (sad < thr && 203 2 * usad < thr && 2 * vsad < thr && !actrisk [all...] |
/system/core/adb/ |
transport_local.c | 259 adb_thread_t thr; local 261 adb_thread_create(&thr, server_socket_thread, arg); 304 adb_thread_t thr; local 329 if(adb_thread_create(&thr, func, (void *) (uintptr_t) port)) {
|
commandline.c | 407 adb_thread_t thr; local 425 adb_thread_create(&thr, stdin_read_thread, fds); [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertReceiver.java | 95 HandlerThread thr = new HandlerThread("AlertReceiver async"); typedefs 96 thr.start(); 97 sAsyncHandler = new Handler(thr.getLooper()); [all...] |
/external/oprofile/libpp/ |
xml_utils.cpp | 841 thread_info & thr = my_threads[t]; local 842 thr.summarize(); 843 add_to_summary(thr.get_summary());
|
/external/valgrind/main/callgrind/ |
dump.c | 1458 thread_info** thr = CLG_(get_threads)(); local [all...] |
/external/valgrind/main/helgrind/ |
hg_errors.c | 298 Thread* thr; member in struct:__anon36539::__anon36540::__anon36541 312 Thread* thr; /* doing the unlocking */ member in struct:__anon36539::__anon36540::__anon36542 316 Thread* thr; /* doing the unlocking */ member in struct:__anon36539::__anon36540::__anon36543 321 Thread* thr; /* doing the unlocking */ member in struct:__anon36539::__anon36540::__anon36544 325 Thread* thr; member in struct:__anon36539::__anon36540::__anon36545 331 Thread* thr; member in struct:__anon36539::__anon36540::__anon36546 347 Thread* thr; member in struct:__anon36539::__anon36540::__anon36547 392 tl_assert(xe->XE.Race.thr); 396 xe->XE.Race.thr->locksetW, 416 Thr* thrp = NULL [all...] |
hg_main.c | 164 ThreadId map_threads_maybe_reverse_lookup_SLOW ( Thread* thr ); /*fwds*/ 168 static Thread* mk_Thread ( Thr* hbthr ) { 236 /* Update 'lk' to reflect that 'thr' now has a write-acquisition of 239 static void lockN_acquire_writer ( Lock* lk, Thread* thr ) 242 tl_assert(HG_(is_sane_Thread)(thr)); 252 tid = map_threads_maybe_reverse_lookup_SLOW(thr); 267 VG_(addToBag)( lk->heldBy, (UWord)thr ); 276 /* assert: .. and that thread is 'thr'. */ 277 tl_assert(VG_(elemBag)(lk->heldBy, (UWord)thr) 279 VG_(addToBag)(lk->heldBy, (UWord)thr); 356 Thread* thr; local 497 Thread* thr; local 589 Thread* thr; local 652 Thread* thr; local 661 Thread* thr; local 695 Thread* thr; local 851 Thread* thr; local 911 Thread* thr; local 1410 Thread* thr; local 1652 Thread* thr; local 1800 Thread* thr; local 1822 Thread* thr = get_current_Thread_in_C_C(); local 1829 Thread* thr = get_current_Thread_in_C_C(); local 1836 Thread* thr = get_current_Thread_in_C_C(); local 1843 Thread* thr = get_current_Thread_in_C_C(); local 1850 Thread* thr = get_current_Thread_in_C_C(); local 1857 Thread* thr = get_current_Thread_in_C_C(); local 1864 Thread* thr = get_current_Thread_in_C_C(); local 1871 Thread* thr = get_current_Thread_in_C_C(); local 1878 Thread* thr = get_current_Thread_in_C_C(); local 1885 Thread* thr = get_current_Thread_in_C_C(); local 1917 Thread* thr; local 1976 Thread* thr; local 2017 Thread* thr; local 2035 Thread* thr; local 2049 Thread* thr; local 2070 Thread* thr; local 2202 Thread* thr; local 2247 Thread* thr; local 2323 Thread* thr; local 2394 Thread* thr; local 2487 Thread* thr; local 2538 Thread* thr; local 2563 Thread* thr; local 2583 Thread* thr; local 2597 Thread* thr; local 2729 Thread* thr; local 2776 Thread* thr; local 2804 Thread* thr; local 2906 Thread* thr; local 2961 Thread* thr; local 3082 Thread* thr; local 3125 Thread* thr; local 3246 Thread* thr; local 3271 Thread* thr; local 3976 Thread* thr; \/* allocating thread *\/ member in struct:__anon36554 5101 Thread* thr = map_threads_maybe_lookup( tid ); local 5338 Thread* thr; local 5355 Thread* thr; local [all...] |
libhb_core.c | 142 a pair, (Thr*, ULong), but that takes 16 bytes on a 64-bit target. 143 We pack it into 64 bits by representing the Thr* using a ThrID, a 168 NB3: this probably also relies on the fact that Thr's are never 170 Thr's to thrid values (set up in Thr__new) persists forever. 257 // data decls: Thr, ULong_n_EC // 301 /* A small integer giving a unique identity to this Thr. See 311 1-1 mapping between Thread and Thr structures -- each Thr points 312 at its corresponding Thread, and vice versa. Really, Thr and 357 static void (*main_get_stacktrace)( Thr*, Addr*, UWord ) = NULL 3658 Thr* thr = *(Thr**)VG_(indexXA)( thrid_to_thr_map, thrid - 1024 ); local 3665 Thr* thr = HG_(zalloc)( "libhb.Thr__new.1", sizeof(Thr) ); local 6070 Thr* thr; local [all...] |
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/ |
_unixos.h | 124 struct PRThread *thr; member in struct:PRPollQueue 135 extern void _PR_Unblock_IO_Wait(struct PRThread *thr);
|
_win16.h | 94 struct PRThread *thr; member in struct:PRPollQueue 102 NSPR_API(void) _PR_Unblock_IO_Wait(struct PRThread *thr);
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
speed.c | 320 HANDLE thr; local 322 thr = CreateThread(NULL,4096,sleepy,NULL,0,NULL); 323 if (thr==NULL) 329 CloseHandle(thr); /* detach the thread */ [all...] |
/external/openssl/apps/ |
speed.c | 320 HANDLE thr; local 322 thr = CreateThread(NULL,4096,sleepy,NULL,0,NULL); 323 if (thr==NULL) 329 CloseHandle(thr); /* detach the thread */ [all...] |
/hardware/qcom/audio/legacy/libalsa-intf/ |
msm8960_use_cases.h | 173 pthread_t thr; member in struct:snd_use_case_mgr
|
/external/compiler-rt/lib/msan/tests/ |
msan_test.cc | 2962 pthread_t thr; local [all...] |
/development/ndk/platforms/android-9/arch-mips/include/asm/sn/ |
ioc3.h | 26 volatile u8 thr; member in union:ioc3_uartregs::__anon1678 49 #define iu_thr u1.thr
|
/prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/asm/sn/ |
ioc3.h | 26 volatile u8 thr; member in union:ioc3_uartregs::__anon60261 49 #define iu_thr u1.thr
|
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/asm/sn/ |
ioc3.h | 26 volatile u8 thr; member in union:ioc3_uartregs::__anon62986 49 #define iu_thr u1.thr
|