/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interface_inl.h | 22 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog1); in __tsan_read1() 26 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog2); in __tsan_read2() 30 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog4); in __tsan_read4() 34 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_read8() 38 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog1); in __tsan_write1() 42 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog2); in __tsan_write2() 46 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog4); in __tsan_write4() 50 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_write8() 54 MemoryRead(cur_thread(), (uptr)pc, (uptr)addr, kSizeLog1); in __tsan_read1_pc() 58 MemoryRead(cur_thread(), (uptr)pc, (uptr)addr, kSizeLog2); in __tsan_read2_pc() [all …]
|
D | tsan_interface.cc | 28 Initialize(cur_thread()); in __tsan_init() 32 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_read16() 33 MemoryRead(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8); in __tsan_read16() 37 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_write16() 38 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8); in __tsan_write16() 42 MemoryRead(cur_thread(), (uptr)pc, (uptr)addr, kSizeLog8); in __tsan_read16_pc() 43 MemoryRead(cur_thread(), (uptr)pc, (uptr)addr + 8, kSizeLog8); in __tsan_read16_pc() 47 MemoryWrite(cur_thread(), (uptr)pc, (uptr)addr, kSizeLog8); in __tsan_write16_pc() 48 MemoryWrite(cur_thread(), (uptr)pc, (uptr)addr + 8, kSizeLog8); in __tsan_write16_pc() 54 UnalignedMemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 2, false, false); in __tsan_unaligned_read2() [all …]
|
D | tsan_interceptors_mac.cc | 26 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 27 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() 36 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 37 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() 48 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 49 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() 58 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 59 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() 68 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 69 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() [all …]
|
D | tsan_malloc_mac.cc | 24 #define COMMON_MALLOC_SANITIZER_INITIALIZED (cur_thread()->is_inited) 29 user_alloc(cur_thread(), StackTrace::GetCurrentPc(), size, alignment) 31 if (cur_thread()->in_symbolizer) \ 36 if (cur_thread()->in_symbolizer) \ 41 if (cur_thread()->in_symbolizer) \ 46 if (cur_thread()->in_symbolizer) \ 51 if (cur_thread()->in_symbolizer) \
|
D | tsan_mutex.cc | 228 cur_thread()->internal_deadlock_detector.Lock(type_); in Lock() 240 StatInc(cur_thread(), stat_type_, backoff.Contention()); in Lock() 253 cur_thread()->internal_deadlock_detector.Unlock(type_); in Unlock() 259 cur_thread()->internal_deadlock_detector.Lock(type_); in ReadLock() 268 StatInc(cur_thread(), stat_type_, backoff.Contention()); in ReadLock() 281 cur_thread()->internal_deadlock_detector.Unlock(type_); in ReadUnlock()
|
D | tsan_mman.cc | 171 ThreadState *thr = cur_thread(); in invoke_malloc_hook() 178 ThreadState *thr = cur_thread(); in invoke_free_hook() 185 ThreadState *thr = cur_thread(); in internal_alloc() 194 ThreadState *thr = cur_thread(); in internal_free() 240 ThreadState *thr = cur_thread(); in __tsan_on_thread_idle()
|
D | tsan_platform_mac.cc | 76 ThreadState *cur_thread() { in cur_thread() function 137 ThreadState *thr = cur_thread(); in my_pthread_introspection_hook() 142 ThreadState *thr = cur_thread(); in my_pthread_introspection_hook()
|
D | tsan_symbolize.cc | 26 ThreadState *thr = cur_thread(); in EnterSymbolizer() 33 ThreadState *thr = cur_thread(); in ExitSymbolizer()
|
D | tsan_new_delete.cc | 32 if (cur_thread()->in_symbolizer) \ 68 if (cur_thread()->in_symbolizer) \
|
D | tsan_interceptors.cc | 213 (!cur_thread()->is_inited) 385 ThreadState *thr = cur_thread(); in at_exit_wrapper() 398 if (cur_thread()->in_symbolizer) in TSAN_INTERCEPTOR() 408 if (cur_thread()->in_symbolizer) in TSAN_INTERCEPTOR() 430 ThreadState *thr = cur_thread(); in on_exit_wrapper() 439 if (cur_thread()->in_symbolizer) in TSAN_INTERCEPTOR() 525 SetJmp(cur_thread(), sp, mangled_sp); in __tsan_setjmp() 577 LongJmp(cur_thread(), env); in DEFINE_REAL() 585 LongJmp(cur_thread(), env); in TSAN_INTERCEPTOR() 591 if (cur_thread()->in_symbolizer) in TSAN_INTERCEPTOR() [all …]
|
D | tsan_interceptors.h | 24 ThreadState *thr = cur_thread(); \
|
D | tsan_rtl.h | 415 ThreadState *cur_thread(); 420 INLINE ThreadState *cur_thread() { in cur_thread() function 512 cur_thread()->ignore_interceptors++; in ScopedIgnoreInterceptors() 518 cur_thread()->ignore_interceptors--; in ~ScopedIgnoreInterceptors()
|
D | tsan_rtl.cc | 150 cur_thread()->ignore_interceptors++; in BackgroundThread() 529 TraceSwitch(cur_thread()); in __tsan_trace_switch() 533 ReportRace(cur_thread()); in __tsan_report_race()
|
D | tsan_interface_java.cc | 62 ThreadState *thr = cur_thread(); \
|
D | tsan_clock.cc | 86 # define CPP_STAT_INC(typ) StatInc(cur_thread(), typ)
|
D | tsan_interface_ann.cc | 52 ThreadState *thr = cur_thread(); \
|
D | tsan_interface_atomic.cc | 480 ThreadState *const thr = cur_thread(); \
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_mman_test.cc | 38 ThreadState *thr = cur_thread(); in TEST() 52 ThreadState *thr = cur_thread(); in TEST() 97 ThreadState *thr = cur_thread(); in TEST() 110 ThreadState *thr = cur_thread(); in TEST() 144 ThreadState *thr = cur_thread(); in TEST()
|
D | tsan_sync_test.cc | 20 ThreadState *thr = cur_thread(); in TEST() 35 ThreadState *thr = cur_thread(); in TEST() 52 ThreadState *thr = cur_thread(); in TEST() 75 ThreadState *thr = cur_thread(); in TEST() 112 ThreadState *thr = cur_thread(); in TEST()
|
/external/libmpeg2/common/ |
D | ithread.c | 162 pthread_t cur_thread = pthread_self(); in ithread_set_affinity() local 170 return pthread_setaffinity_np(cur_thread, sizeof(cpu_set_t), &cpuset); in ithread_set_affinity()
|
/external/libhevc/common/ |
D | ithread.c | 155 pthread_t cur_thread = pthread_self(); in ithread_set_affinity() local 163 return pthread_setaffinity_np(cur_thread, sizeof(cpu_set_t), &cpuset); in ithread_set_affinity()
|
/external/libavc/common/ |
D | ithread.c | 180 pthread_t cur_thread = pthread_self(); in ithread_set_affinity() local 188 return pthread_setaffinity_np(cur_thread, sizeof(cpu_set_t), &cpuset); in ithread_set_affinity()
|