/external/compiler-rt/lib/tsan/go/ |
D | tsan_go.cc | 78 ThreadState *thr = (ThreadState*)internal_alloc(MBlockThreadContex, in AllocGoroutine() local 86 ThreadState *thr = AllocGoroutine(); in __tsan_init() local 94 ThreadState *thr = main_thr; in __tsan_fini() local 103 void __tsan_read(ThreadState *thr, void *addr, void *pc) { in __tsan_read() 107 void __tsan_read_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc) { in __tsan_read_pc() 115 void __tsan_write(ThreadState *thr, void *addr, void *pc) { in __tsan_write() 119 void __tsan_write_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc) { in __tsan_write_pc() 127 void __tsan_read_range(ThreadState *thr, void *addr, uptr size, uptr pc) { in __tsan_read_range() 131 void __tsan_write_range(ThreadState *thr, void *addr, uptr size, uptr pc) { in __tsan_write_range() 135 void __tsan_func_enter(ThreadState *thr, void *pc) { in __tsan_func_enter() [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_mutex.cc | 29 ThreadState *thr; member 43 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s) { in DDMutexInit() 49 static void ReportMutexMisuse(ThreadState *thr, uptr pc, ReportType typ, in ReportMutexMisuse() 65 void MutexCreate(ThreadState *thr, uptr pc, uptr addr, in MutexCreate() 84 void MutexDestroy(ThreadState *thr, uptr pc, uptr addr) { in MutexDestroy() 143 void MutexLock(ThreadState *thr, uptr pc, uptr addr, int rec, bool try_lock) { in MutexLock() 188 int MutexUnlock(ThreadState *thr, uptr pc, uptr addr, bool all) { in MutexUnlock() 231 void MutexReadLock(ThreadState *thr, uptr pc, uptr addr, bool trylock) { in MutexReadLock() 266 void MutexReadUnlock(ThreadState *thr, uptr pc, uptr addr) { in MutexReadUnlock() 298 void MutexReadOrWriteUnlock(ThreadState *thr, uptr pc, uptr addr) { in MutexReadOrWriteUnlock() [all …]
|
D | tsan_mman.cc | 51 void AllocatorThreadStart(ThreadState *thr) { in AllocatorThreadStart() 56 void AllocatorThreadFinish(ThreadState *thr) { in AllocatorThreadFinish() 65 static void SignalUnsafeCall(ThreadState *thr, uptr pc) { in SignalUnsafeCall() 79 void *user_alloc(ThreadState *thr, uptr pc, uptr sz, uptr align, bool signal) { in user_alloc() 92 void *user_calloc(ThreadState *thr, uptr pc, uptr size, uptr n) { in user_calloc() 101 void user_free(ThreadState *thr, uptr pc, void *p, bool signal) { in user_free() 109 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write) { in OnUserAlloc() 118 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write) { in OnUserFree() 126 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz) { in user_realloc() 152 ThreadState *thr = cur_thread(); in invoke_malloc_hook() local [all …]
|
D | tsan_fd.cc | 50 static FdSync *allocsync(ThreadState *thr, uptr pc) { in allocsync() 63 static void unref(ThreadState *thr, uptr pc, FdSync *s) { in unref() 74 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) { in fddesc() 94 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s) { in init() 122 void FdOnFork(ThreadState *thr, uptr pc) { in FdOnFork() 154 void FdAcquire(ThreadState *thr, uptr pc, int fd) { in FdAcquire() 165 void FdRelease(ThreadState *thr, uptr pc, int fd) { in FdRelease() 176 void FdAccess(ThreadState *thr, uptr pc, int fd) { in FdAccess() 184 void FdClose(ThreadState *thr, uptr pc, int fd) { in FdClose() 200 void FdFileCreate(ThreadState *thr, uptr pc, int fd) { in FdFileCreate() [all …]
|
D | tsan_rtl_thread.cc | 49 ThreadState *thr; member 79 ThreadState *thr; member 195 static void ThreadCheckIgnore(ThreadState *thr) { in ThreadCheckIgnore() 204 static void ThreadCheckIgnore(ThreadState *thr) {} in ThreadCheckIgnore() 207 void ThreadFinalize(ThreadState *thr) { in ThreadFinalize() 225 int ThreadCount(ThreadState *thr) { in ThreadCount() 231 int ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) { in ThreadCreate() 240 void ThreadStart(ThreadState *thr, int tid, uptr os_id) { in ThreadStart() 285 void ThreadFinish(ThreadState *thr) { in ThreadFinish() 305 int ThreadTid(ThreadState *thr, uptr pc, uptr uid) { in ThreadTid() [all …]
|
D | tsan_rtl.cc | 303 void Initialize(ThreadState *thr) { in Initialize() 365 int Finalize(ThreadState *thr) { in Finalize() 416 void ForkBefore(ThreadState *thr, uptr pc) { in ForkBefore() 421 void ForkParentAfter(ThreadState *thr, uptr pc) { in ForkParentAfter() 426 void ForkChildAfter(ThreadState *thr, uptr pc) { in ForkChildAfter() 450 void GrowShadowStack(ThreadState *thr) { in GrowShadowStack() 463 u32 CurrentStackId(ThreadState *thr, uptr pc) { in CurrentStackId() 483 void TraceSwitch(ThreadState *thr) { in TraceSwitch() 499 uptr TraceTopPC(ThreadState *thr) { in TraceTopPC() 541 void HandleRace(ThreadState *thr, u64 *shadow_mem, in HandleRace() [all …]
|
D | tsan_sync.cc | 27 void SyncVar::Init(ThreadState *thr, uptr pc, uptr addr, u64 uid) { in Init() 39 void SyncVar::Reset(ThreadState *thr) { in Reset() 63 void MetaMap::AllocBlock(ThreadState *thr, uptr pc, uptr p, uptr sz) { in AllocBlock() 74 uptr MetaMap::FreeBlock(ThreadState *thr, uptr pc, uptr p) { in FreeBlock() 83 bool MetaMap::FreeRange(ThreadState *thr, uptr pc, uptr p, uptr sz) { in FreeRange() 122 void MetaMap::ResetRange(ThreadState *thr, uptr pc, uptr p, uptr sz) { in ResetRange() 187 SyncVar* MetaMap::GetOrCreateAndLock(ThreadState *thr, uptr pc, in GetOrCreateAndLock() 196 SyncVar* MetaMap::GetAndLock(ThreadState *thr, uptr pc, in GetAndLock() 282 void MetaMap::OnThreadIdle(ThreadState *thr) { in OnThreadIdle()
|
D | tsan_interface_atomic.cc | 246 static T AtomicLoad(ThreadState *thr, uptr pc, const volatile T *a, in AtomicLoad() 276 static void AtomicStore(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicStore() 299 static T AtomicRMW(ThreadState *thr, uptr pc, volatile T *a, T v, morder mo) { in AtomicRMW() 356 static T AtomicExchange(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicExchange() 362 static T AtomicFetchAdd(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchAdd() 368 static T AtomicFetchSub(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchSub() 374 static T AtomicFetchAnd(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchAnd() 380 static T AtomicFetchOr(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchOr() 386 static T AtomicFetchXor(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchXor() 392 static T AtomicFetchNand(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchNand() [all …]
|
D | tsan_symbolize.cc | 26 ThreadState *thr = cur_thread(); in EnterSymbolizer() local 33 ThreadState *thr = cur_thread(); in ExitSymbolizer() local
|
D | tsan_rtl_report.cc | 226 ThreadState *thr = tctx->thr; in IsInStackOrTls() local 239 ThreadState *thr = tctx->thr; in IsThreadStackOrTls() local 434 static bool HandleRacyStacks(ThreadState *thr, VarSizeStackTrace traces[2], in HandleRacyStacks() 473 static void AddRacyStacks(ThreadState *thr, VarSizeStackTrace traces[2], in AddRacyStacks() 487 bool OutputReport(ThreadState *thr, const ScopedReport &srep) { in OutputReport() 552 static bool RaceBetweenAtomicAndFree(ThreadState *thr) { in RaceBetweenAtomicAndFree() 565 void ReportRace(ThreadState *thr) { in ReportRace() 657 void PrintCurrentStack(ThreadState *thr, uptr pc) { in PrintCurrentStack()
|
D | tsan_interface_inl.h | 56 ThreadState *thr = cur_thread(); in __tsan_vptr_update() local 65 ThreadState *thr = cur_thread(); in __tsan_vptr_read() local
|
/external/compiler-rt/lib/tsan/dd/ |
D | dd_rtl.cc | 22 static u32 CurrentStackTrace(Thread *thr, uptr skip) { in CurrentStackTrace() 32 static void PrintStackTrace(Thread *thr, u32 stk) { in PrintStackTrace() 39 static void ReportDeadlock(Thread *thr, DDReport *rep) { in ReportDeadlock() 58 Callback::Callback(Thread *thr) in Callback() 100 void ThreadInit(Thread *thr) { in ThreadInit() 107 void ThreadDestroy(Thread *thr) { in ThreadDestroy() 112 void MutexBeforeLock(Thread *thr, uptr m, bool writelock) { in MutexBeforeLock() 125 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock) { in MutexAfterLock() 138 void MutexBeforeUnlock(Thread *thr, uptr m, bool writelock) { in MutexBeforeUnlock() 149 void MutexDestroy(Thread *thr, uptr m) { in MutexDestroy()
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_sync_test.cc | 20 ThreadState *thr = cur_thread(); in TEST() local 35 ThreadState *thr = cur_thread(); in TEST() local 52 ThreadState *thr = cur_thread(); in TEST() local 75 ThreadState *thr = cur_thread(); in TEST() local 112 ThreadState *thr = cur_thread(); in TEST() local
|
D | tsan_mman_test.cc | 38 ThreadState *thr = cur_thread(); in TEST() local 52 ThreadState *thr = cur_thread(); in TEST() local 97 ThreadState *thr = cur_thread(); in TEST() local 110 ThreadState *thr = cur_thread(); in TEST() local
|
D | tsan_stack_test.cc | 22 ThreadState thr(0, 0, 0, 0, 0, 0, 0, 0, 0); in TestStackTrace() local 51 ThreadState thr(0, 0, 0, 0, 0, 0, 0, 0, 0); in TestTrim() local
|
/external/valgrind/helgrind/ |
D | hg_main.c | 239 static void lockN_acquire_writer ( Lock* lk, Thread* thr ) in lockN_acquire_writer() 290 static void lockN_acquire_reader ( Lock* lk, Thread* thr ) in lockN_acquire_reader() 331 static void lockN_release ( Lock* lk, Thread* thr ) in lockN_release() 356 Thread* thr; in remove_Lock_from_locksets_of_all_owning_Threads() local 497 Thread* thr; in pp_Lock() local 589 Thread* thr; in initialise_data_structures() local 650 Thread* thr; in map_threads_maybe_lookup() local 659 Thread* thr; in map_threads_lookup() local 668 static ThreadId map_threads_maybe_reverse_lookup_SLOW ( Thread* thr ) in map_threads_maybe_reverse_lookup_SLOW() 682 static ThreadId map_threads_reverse_lookup_SLOW ( Thread* thr ) in map_threads_reverse_lookup_SLOW() [all …]
|
D | hg_errors.c | 312 Thread* thr; member 326 Thread* thr; /* doing the unlocking */ member 330 Thread* thr; /* doing the unlocking */ member 335 Thread* thr; /* doing the unlocking */ member 339 Thread* thr; member 345 Thread* thr; member 361 Thread* thr; member 735 static Bool announce_one_thread ( Thread* thr ) in announce_one_thread() 898 Thread* thr = get_admin_threads(); in HG_() local
|
/external/compiler-rt/test/tsan/ |
D | malloc_stack.cc | 6 void *thr(void *a) { in thr() function
|
/external/compiler-rt/test/tsan/Linux/ |
D | mutex_robust.cc | 10 void *thr(void *p) { in thr() function
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
D | dll_thread_stack_array_left_oob.cc | 26 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); in test_function() local
|
D | beginthreadex.cc | 15 HANDLE thr = (HANDLE)_beginthreadex(NULL, 0, thread_proc, NULL, 0, NULL); in main() local
|
D | thread_stack_array_left_oob.cc | 19 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); in main() local
|
D | thread_simple.cc | 15 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); in main() local
|
D | thread_suspended.cc | 15 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, CREATE_SUSPENDED, NULL); in main() local
|
D | thread_stack_array_right_oob.cc | 19 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); in main() local
|