/external/compiler-rt/lib/tsan/go/ |
D | tsan_go.cc | 95 ThreadState *thr = (ThreadState*)internal_alloc(MBlockThreadContex, in AllocGoroutine() local 103 ThreadState *thr = AllocGoroutine(); in __tsan_init() local 111 ThreadState *thr = main_thr; in __tsan_fini() local 120 void __tsan_read(ThreadState *thr, void *addr, void *pc) { in __tsan_read() 124 void __tsan_read_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc) { in __tsan_read_pc() 132 void __tsan_write(ThreadState *thr, void *addr, void *pc) { in __tsan_write() 136 void __tsan_write_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc) { in __tsan_write_pc() 144 void __tsan_read_range(ThreadState *thr, void *addr, uptr size, uptr pc) { in __tsan_read_range() 148 void __tsan_write_range(ThreadState *thr, void *addr, uptr size, uptr pc) { in __tsan_write_range() 152 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 47 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s) { in DDMutexInit() 53 static void ReportMutexMisuse(ThreadState *thr, uptr pc, ReportType typ, in ReportMutexMisuse() 69 void MutexCreate(ThreadState *thr, uptr pc, uptr addr, in MutexCreate() 88 void MutexDestroy(ThreadState *thr, uptr pc, uptr addr) { in MutexDestroy() 147 void MutexLock(ThreadState *thr, uptr pc, uptr addr, int rec, bool try_lock) { in MutexLock() 192 int MutexUnlock(ThreadState *thr, uptr pc, uptr addr, bool all) { in MutexUnlock() 234 void MutexReadLock(ThreadState *thr, uptr pc, uptr addr, bool trylock) { in MutexReadLock() 269 void MutexReadUnlock(ThreadState *thr, uptr pc, uptr addr) { in MutexReadUnlock() 301 void MutexReadOrWriteUnlock(ThreadState *thr, uptr pc, uptr addr) { in MutexReadOrWriteUnlock() [all …]
|
D | tsan_fd.cc | 50 static FdSync *allocsync(ThreadState *thr, uptr pc) { in allocsync() 62 static void unref(ThreadState *thr, uptr pc, FdSync *s) { in unref() 73 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) { in fddesc() 93 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s) { in init() 121 void FdOnFork(ThreadState *thr, uptr pc) { in FdOnFork() 153 void FdAcquire(ThreadState *thr, uptr pc, int fd) { in FdAcquire() 164 void FdRelease(ThreadState *thr, uptr pc, int fd) { in FdRelease() 175 void FdAccess(ThreadState *thr, uptr pc, int fd) { in FdAccess() 183 void FdClose(ThreadState *thr, uptr pc, int fd) { in FdClose() 199 void FdFileCreate(ThreadState *thr, uptr pc, int fd) { in FdFileCreate() [all …]
|
D | tsan_mman.cc | 58 void AllocatorThreadStart(ThreadState *thr) { in AllocatorThreadStart() 63 void AllocatorThreadFinish(ThreadState *thr) { in AllocatorThreadFinish() 72 static void SignalUnsafeCall(ThreadState *thr, uptr pc) { in SignalUnsafeCall() 85 void *user_alloc(ThreadState *thr, uptr pc, uptr sz, uptr align) { in user_alloc() 97 void user_free(ThreadState *thr, uptr pc, void *p) { in user_free() 104 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write) { in OnUserAlloc() 113 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write) { in OnUserFree() 121 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz) { in user_realloc() 147 ThreadState *thr = cur_thread(); in invoke_malloc_hook() local 155 ThreadState *thr = cur_thread(); in invoke_free_hook() local [all …]
|
D | tsan_rtl_thread.cc | 49 ThreadState *thr; member 74 ThreadState *thr; member 186 static void ThreadCheckIgnore(ThreadState *thr) { in ThreadCheckIgnore() 195 static void ThreadCheckIgnore(ThreadState *thr) {} in ThreadCheckIgnore() 198 void ThreadFinalize(ThreadState *thr) { in ThreadFinalize() 216 int ThreadCount(ThreadState *thr) { in ThreadCount() 222 int ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) { in ThreadCreate() 231 void ThreadStart(ThreadState *thr, int tid, uptr os_id) { in ThreadStart() 274 void ThreadFinish(ThreadState *thr) { in ThreadFinish() 294 int ThreadTid(ThreadState *thr, uptr pc, uptr uid) { in ThreadTid() [all …]
|
D | tsan_rtl.cc | 282 void Initialize(ThreadState *thr) { in Initialize() 341 int Finalize(ThreadState *thr) { in Finalize() 391 void ForkBefore(ThreadState *thr, uptr pc) { in ForkBefore() 396 void ForkParentAfter(ThreadState *thr, uptr pc) { in ForkParentAfter() 401 void ForkChildAfter(ThreadState *thr, uptr pc) { in ForkChildAfter() 425 void GrowShadowStack(ThreadState *thr) { in GrowShadowStack() 438 u32 CurrentStackId(ThreadState *thr, uptr pc) { in CurrentStackId() 458 void TraceSwitch(ThreadState *thr) { in TraceSwitch() 474 uptr TraceTopPC(ThreadState *thr) { in TraceTopPC() 516 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() 58 void MetaMap::AllocBlock(ThreadState *thr, uptr pc, uptr p, uptr sz) { in AllocBlock() 69 uptr MetaMap::FreeBlock(ThreadState *thr, uptr pc, uptr p) { in FreeBlock() 78 void MetaMap::FreeRange(ThreadState *thr, uptr pc, uptr p, uptr sz) { in FreeRange() 120 SyncVar* MetaMap::GetOrCreateAndLock(ThreadState *thr, uptr pc, in GetOrCreateAndLock() 129 SyncVar* MetaMap::GetAndLock(ThreadState *thr, uptr pc, in GetAndLock() 215 void MetaMap::OnThreadIdle(ThreadState *thr) { in OnThreadIdle()
|
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 | 21 static u32 CurrentStackTrace(Thread *thr, uptr skip) { in CurrentStackTrace() 31 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() 96 void ThreadInit(Thread *thr) { in ThreadInit() 103 void ThreadDestroy(Thread *thr) { in ThreadDestroy() 108 void MutexBeforeLock(Thread *thr, uptr m, bool writelock) { in MutexBeforeLock() 121 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock) { in MutexAfterLock() 134 void MutexBeforeUnlock(Thread *thr, uptr m, bool writelock) { in MutexBeforeUnlock() 145 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 | 21 ThreadState thr(0, 0, 0, 0, 0, 0, 0, 0, 0); in TestStackTrace() local 65 ThreadState thr(0, 0, 0, 0, 0, 0, 0, 0, 0); in TEST() local
|
/external/valgrind/main/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 652 Thread* thr; in map_threads_maybe_lookup() local 661 Thread* thr; in map_threads_lookup() local 670 static ThreadId map_threads_maybe_reverse_lookup_SLOW ( Thread* thr ) in map_threads_maybe_reverse_lookup_SLOW() 684 static ThreadId map_threads_reverse_lookup_SLOW ( Thread* thr ) in map_threads_reverse_lookup_SLOW() [all …]
|
/external/compiler-rt/test/tsan/ |
D | malloc_stack.cc | 7 void *thr(void *a) { in thr() function
|
D | mutex_robust.cc | 10 void *thr(void *p) { in thr() function
|
D | mutex_robust2.cc | 11 void *thr(void *p) { in thr() function
|
D | sunrpc.cc | 7 void *thr(void *p) { in thr() function
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
D | thread_stack_array_left_oob.cc | 19 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); in main() local
|
D | beginthreadex.cc | 15 HANDLE thr = (HANDLE)_beginthreadex(NULL, 0, thread_proc, NULL, 0, NULL); in main() local
|
D | dll_thread_stack_array_left_oob.cc | 26 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); in test_function() local
|
D | thread_stack_array_right_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
|
/external/valgrind/main/drd/tests/ |
D | pth_create_glibc_2_0.c | 28 pthread_t thr; in main() local
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
D | testutil.cc | 182 pthread_t thr; in RunThread() local 190 pthread_t* thr = new pthread_t[count]; in RunManyThreads() local 205 pthread_t* thr = new pthread_t[count]; in RunManyThreadsWithId() local
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
D | testutil.cc | 182 pthread_t thr; in RunThread() local 190 pthread_t* thr = new pthread_t[count]; in RunManyThreads() local 205 pthread_t* thr = new pthread_t[count]; in RunManyThreadsWithId() local
|