/external/llvm-project/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(), STRIP_PC(pc), (uptr)addr, kSizeLog1); in __tsan_read1_pc() 58 MemoryRead(cur_thread(), STRIP_PC(pc), (uptr)addr, kSizeLog2); in __tsan_read2_pc() [all …]
|
D | tsan_interface.cpp | 25 Initialize(cur_thread()); in __tsan_init() 33 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_read16() 34 MemoryRead(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8); in __tsan_read16() 38 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_write16() 39 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8); in __tsan_write16() 43 MemoryRead(cur_thread(), STRIP_PC(pc), (uptr)addr, kSizeLog8); in __tsan_read16_pc() 44 MemoryRead(cur_thread(), STRIP_PC(pc), (uptr)addr + 8, kSizeLog8); in __tsan_read16_pc() 48 MemoryWrite(cur_thread(), STRIP_PC(pc), (uptr)addr, kSizeLog8); in __tsan_write16_pc() 49 MemoryWrite(cur_thread(), STRIP_PC(pc), (uptr)addr + 8, kSizeLog8); in __tsan_write16_pc() 55 UnalignedMemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 2, false, false); in __tsan_unaligned_read2() [all …]
|
D | tsan_interceptors_mac.cpp | 187 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 188 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() 197 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 198 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() 209 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 210 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() 219 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 220 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() 229 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 230 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() [all …]
|
D | tsan_mutex.cpp | 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.cpp | 86 ThreadState *thr = cur_thread(); in ScopedGlobalProcessor() 109 ThreadState *thr = cur_thread(); in ~ScopedGlobalProcessor() 327 ThreadState *thr = cur_thread(); in invoke_malloc_hook() 335 ThreadState *thr = cur_thread(); in invoke_free_hook() 343 ThreadState *thr = cur_thread(); in internal_alloc() 352 ThreadState *thr = cur_thread(); in internal_free() 398 ThreadState *thr = cur_thread(); in __tsan_on_thread_idle()
|
D | tsan_interceptors.h | 27 return UNLIKELY(cur_thread()->in_symbolizer); in in_symbolizer() 35 ThreadState *thr = cur_thread(); \
|
D | tsan_malloc_mac.cpp | 24 #define COMMON_MALLOC_SANITIZER_INITIALIZED (cur_thread()->is_inited) 29 user_memalign(cur_thread(), StackTrace::GetCurrentPc(), alignment, size)
|
D | tsan_symbolize.cpp | 25 ThreadState *thr = cur_thread(); in EnterSymbolizer() 32 ThreadState *thr = cur_thread(); in ExitSymbolizer()
|
/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_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) return InternalAlloc(size); \ 35 if (cur_thread()->in_symbolizer) return InternalRealloc(ptr, size); \ 39 if (cur_thread()->in_symbolizer) return InternalCalloc(count, size); \ 43 if (cur_thread()->in_symbolizer) \ 48 if (cur_thread()->in_symbolizer) return InternalFree(ptr); \
|
D | tsan_interceptors_mac.cc | 176 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 177 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() 186 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 187 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() 198 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 199 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() 208 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 209 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() 218 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 219 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() [all …]
|
D | tsan_mman.cc | 83 ThreadState *thr = cur_thread(); in ScopedGlobalProcessor() 106 ThreadState *thr = cur_thread(); in ~ScopedGlobalProcessor() 227 ThreadState *thr = cur_thread(); in invoke_malloc_hook() 235 ThreadState *thr = cur_thread(); in invoke_free_hook() 243 ThreadState *thr = cur_thread(); in internal_alloc() 252 ThreadState *thr = cur_thread(); in internal_free() 298 ThreadState *thr = cur_thread(); in __tsan_on_thread_idle()
|
D | tsan_mutex.cc | 229 cur_thread()->internal_deadlock_detector.Lock(type_); in Lock() 241 StatInc(cur_thread(), stat_type_, backoff.Contention()); in Lock() 254 cur_thread()->internal_deadlock_detector.Unlock(type_); in Unlock() 260 cur_thread()->internal_deadlock_detector.Lock(type_); in ReadLock() 269 StatInc(cur_thread(), stat_type_, backoff.Contention()); in ReadLock() 282 cur_thread()->internal_deadlock_detector.Unlock(type_); in ReadUnlock()
|
D | tsan_platform_mac.cc | 76 ThreadState *cur_thread() { in cur_thread() function 136 ThreadState *thr = cur_thread(); in my_pthread_introspection_hook() 146 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 | 28 if (cur_thread()->in_symbolizer) \ 64 if (cur_thread()->in_symbolizer) \
|
/external/llvm-project/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_mman_test.cpp | 37 ThreadState *thr = cur_thread(); in TEST() 51 ThreadState *thr = cur_thread(); in TEST() 98 ThreadState *thr = cur_thread(); in TEST() 111 ThreadState *thr = cur_thread(); in TEST() 140 ThreadState *thr = cur_thread(); in TEST() 162 ThreadState *thr = cur_thread(); in TEST() 179 ThreadState *thr = cur_thread(); in TEST() 189 ThreadState *thr = cur_thread(); in TEST()
|
D | tsan_sync_test.cpp | 19 ThreadState *thr = cur_thread(); in TEST() 34 ThreadState *thr = cur_thread(); in TEST() 51 ThreadState *thr = cur_thread(); in TEST() 74 ThreadState *thr = cur_thread(); in TEST() 111 ThreadState *thr = cur_thread(); in TEST()
|
/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/llvm-project/lldb/examples/python/ |
D | diagnose_unwind.py | 64 cur_thread = process.GetSelectedThread() 66 initial_fp = cur_thread.GetFrameAtIndex(0).GetFP() 71 for reggroup in cur_thread.GetFrameAtIndex(1).registers: 78 address_list = [cur_thread.GetFrameAtIndex(0).GetPC()] 80 target, 0, cur_thread.GetFrameAtIndex(0).GetPC(), initial_fp) 85 if cur_thread.GetNumFrames() < 2:
|
/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/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()
|
/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()
|