/external/compiler-rt/lib/tsan/go/ |
D | tsan_go.cc | 82 ThreadState *thr = (ThreadState*)internal_alloc(MBlockThreadContex, in AllocGoroutine() local 89 ThreadState *thr = AllocGoroutine(); in __tsan_init() local 98 ThreadState *thr = main_thr; in __tsan_fini() local 109 void __tsan_read(ThreadState *thr, void *addr, void *pc) { in __tsan_read() 113 void __tsan_write(ThreadState *thr, void *addr, void *pc) { in __tsan_write() 117 void __tsan_read_range(ThreadState *thr, void *addr, uptr size, uptr step, in __tsan_read_range() 123 void __tsan_write_range(ThreadState *thr, void *addr, uptr size, uptr step, in __tsan_write_range() 129 void __tsan_func_enter(ThreadState *thr, void *pc) { in __tsan_func_enter() 133 void __tsan_func_exit(ThreadState *thr) { in __tsan_func_exit() 137 void __tsan_malloc(ThreadState *thr, void *p, uptr sz, void *pc) { in __tsan_malloc() [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_mutex.cc | 23 void MutexCreate(ThreadState *thr, uptr pc, uptr addr, in MutexCreate() 42 void MutexDestroy(ThreadState *thr, uptr pc, uptr addr) { in MutexDestroy() 82 void MutexLock(ThreadState *thr, uptr pc, uptr addr, int rec) { in MutexLock() 116 int MutexUnlock(ThreadState *thr, uptr pc, uptr addr, bool all) { in MutexUnlock() 156 void MutexReadLock(ThreadState *thr, uptr pc, uptr addr) { in MutexReadLock() 177 void MutexReadUnlock(ThreadState *thr, uptr pc, uptr addr) { in MutexReadUnlock() 199 void MutexReadOrWriteUnlock(ThreadState *thr, uptr pc, uptr addr) { in MutexReadOrWriteUnlock() 245 void Acquire(ThreadState *thr, uptr pc, uptr addr) { in Acquire() 256 ThreadState *thr = reinterpret_cast<ThreadState*>(arg); in UpdateClockCallback() local 264 void AcquireGlobal(ThreadState *thr, uptr pc) { in AcquireGlobal() [all …]
|
D | tsan_fd.cc | 57 static void unref(ThreadState *thr, uptr pc, FdSync *s) { in unref() 71 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) { in fddesc() 90 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s) { in init() 118 void FdOnFork(ThreadState *thr, uptr pc) { in FdOnFork() 150 void FdAcquire(ThreadState *thr, uptr pc, int fd) { in FdAcquire() 159 void FdRelease(ThreadState *thr, uptr pc, int fd) { in FdRelease() 168 void FdAccess(ThreadState *thr, uptr pc, int fd) { in FdAccess() 174 void FdClose(ThreadState *thr, uptr pc, int fd) { in FdClose() 188 void FdFileCreate(ThreadState *thr, uptr pc, int fd) { in FdFileCreate() 193 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd) { in FdDup() [all …]
|
D | tsan_mman.cc | 76 void AllocatorThreadStart(ThreadState *thr) { in AllocatorThreadStart() 81 void AllocatorThreadFinish(ThreadState *thr) { in AllocatorThreadFinish() 90 static void SignalUnsafeCall(ThreadState *thr, uptr pc) { in SignalUnsafeCall() 104 void *user_alloc(ThreadState *thr, uptr pc, uptr sz, uptr align) { in user_alloc() 120 void user_free(ThreadState *thr, uptr pc, void *p) { in user_free() 143 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz) { in user_realloc() 163 uptr user_alloc_usable_size(ThreadState *thr, uptr pc, void *p) { in user_alloc_usable_size() 171 MBlock *user_mblock(ThreadState *thr, void *p) { in user_mblock() 182 ThreadState *thr = cur_thread(); in invoke_malloc_hook() local 190 ThreadState *thr = cur_thread(); in invoke_free_hook() local [all …]
|
D | tsan_rtl_thread.cc | 50 ThreadState *thr; member 82 ThreadState *thr; member 168 static void ThreadCheckIgnore(ThreadState *thr) { in ThreadCheckIgnore() 175 void ThreadFinalize(ThreadState *thr) { in ThreadFinalize() 194 int ThreadCount(ThreadState *thr) { in ThreadCount() 202 int ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) { in ThreadCreate() 213 void ThreadStart(ThreadState *thr, int tid, uptr os_id) { in ThreadStart() 244 void ThreadFinish(ThreadState *thr) { in ThreadFinish() 266 int ThreadTid(ThreadState *thr, uptr pc, uptr uid) { in ThreadTid() 274 void ThreadJoin(ThreadState *thr, uptr pc, int tid) { in ThreadJoin() [all …]
|
D | tsan_rtl.cc | 185 void Initialize(ThreadState *thr) { in Initialize() 248 int Finalize(ThreadState *thr) { in Finalize() 299 u32 CurrentStackId(ThreadState *thr, uptr pc) { in CurrentStackId() 314 void TraceSwitch(ThreadState *thr) { in TraceSwitch() 331 uptr TraceTopPC(ThreadState *thr) { in TraceTopPC() 372 static inline void HandleRace(ThreadState *thr, u64 *shadow_mem, in HandleRace() 384 static inline bool OldIsInSameSynchEpoch(Shadow old, ThreadState *thr) { in OldIsInSameSynchEpoch() 388 static inline bool HappensBefore(Shadow old, ThreadState *thr) { in HappensBefore() 393 void MemoryAccessImpl(ThreadState *thr, uptr addr, in MemoryAccessImpl() 466 void UnalignedMemoryAccess(ThreadState *thr, uptr pc, uptr addr, in UnalignedMemoryAccess() [all …]
|
D | tsan_sync.cc | 51 SyncVar* SyncTab::GetOrCreateAndLock(ThreadState *thr, uptr pc, in GetOrCreateAndLock() 60 SyncVar* SyncTab::Create(ThreadState *thr, uptr pc, uptr addr) { in Create() 71 SyncVar* SyncTab::GetAndLock(ThreadState *thr, uptr pc, in GetAndLock() 141 SyncVar* SyncTab::GetAndRemove(ThreadState *thr, uptr pc, uptr addr) { in GetAndRemove() 255 void StackTrace::ObtainCurrent(ThreadState *thr, uptr toppc) { in ObtainCurrent()
|
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
|
D | tsan_symbolize.cc | 27 ThreadState *thr = cur_thread(); in ScopedInSymbolizer() local 33 ThreadState *thr = cur_thread(); in ~ScopedInSymbolizer() local
|
D | tsan_interface_java.cc | 44 ThreadState *thr = cur_thread(); in ~BlockDesc() local 77 ScopedJavaFunc(ThreadState *thr, uptr pc) in ScopedJavaFunc() 121 SyncVar* GetJavaSync(ThreadState *thr, uptr pc, uptr addr, in GetJavaSync() 151 SyncVar* GetAndRemoveJavaSync(ThreadState *thr, uptr pc, uptr addr) { in GetAndRemoveJavaSync()
|
D | tsan_interface_atomic.cc | 57 ScopedAtomic(ThreadState *thr, uptr pc, const volatile void *a, in ScopedAtomic() 75 static void AtomicStatInc(ThreadState *thr, uptr size, morder mo, StatType t) { in AtomicStatInc() 247 static T AtomicLoad(ThreadState *thr, uptr pc, const volatile T *a, in AtomicLoad() 267 static void AtomicStore(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicStore() 291 static T AtomicRMW(ThreadState *thr, uptr pc, volatile T *a, T v, morder mo) { in AtomicRMW() 311 static T AtomicExchange(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicExchange() 317 static T AtomicFetchAdd(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchAdd() 323 static T AtomicFetchSub(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchSub() 329 static T AtomicFetchAnd(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchAnd() 335 static T AtomicFetchOr(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchOr() [all …]
|
D | tsan_rtl_report.cc | 242 ThreadState *thr = tctx->thr; in IsInStackOrTls() local 256 ThreadState *thr = tctx->thr; in IsThreadStackOrTls() local 455 static bool HandleRacyStacks(ThreadState *thr, const StackTrace (&traces)[2], in HandleRacyStacks() 495 static void AddRacyStacks(ThreadState *thr, const StackTrace (&traces)[2], in AddRacyStacks() 610 static bool RaceBetweenAtomicAndFree(ThreadState *thr) { in RaceBetweenAtomicAndFree() 623 void ReportRace(ThreadState *thr) { in ReportRace() 717 void PrintCurrentStack(ThreadState *thr, uptr pc) { in PrintCurrentStack()
|
/external/valgrind/main/helgrind/ |
D | hg_main.c | 235 static void lockN_acquire_writer ( Lock* lk, Thread* thr ) in lockN_acquire_writer() 286 static void lockN_acquire_reader ( Lock* lk, Thread* thr ) in lockN_acquire_reader() 327 static void lockN_release ( Lock* lk, Thread* thr ) in lockN_release() 352 Thread* thr; in remove_Lock_from_locksets_of_all_owning_Threads() local 472 Thread* thr; in pp_Lock() local 551 Thread* thr; in initialise_data_structures() local 616 Thread* thr; in map_threads_maybe_lookup() local 625 Thread* thr; in map_threads_lookup() local 634 static ThreadId map_threads_maybe_reverse_lookup_SLOW ( Thread* thr ) in map_threads_maybe_reverse_lookup_SLOW() 648 static ThreadId map_threads_reverse_lookup_SLOW ( Thread* thr ) in map_threads_reverse_lookup_SLOW() [all …]
|
D | libhb_core.c | 2041 static void VTS__singleton ( /*OUT*/VTS* out, Thr* thr, ULong tym ) in VTS__singleton() 2436 static void VTS__declare_thread_very_dead ( Thr* thr ) in VTS__declare_thread_very_dead() 3282 static VtsID VtsID__mk_Singleton ( Thr* thr, ULong tym ) { in VtsID__mk_Singleton() 3655 static ThrID Thr__to_ThrID ( Thr* thr ) { in Thr__to_ThrID() 3659 Thr* thr = *(Thr**)VG_(indexXA)( thrid_to_thr_map, thrid - 1024 ); in Thr__from_ThrID() local 3666 Thr* thr = HG_(zalloc)( "libhb.Thr__new.1", sizeof(Thr) ); in Thr__new() local 3701 static void note_local_Kw_n_stack_for ( Thr* thr ) in note_local_Kw_n_stack_for() 4053 static RCEC* get_RCEC ( Thr* thr ) in get_RCEC() 4147 static void event_map_bind ( Addr a, SizeT szB, Bool isW, Thr* thr ) in event_map_bind() 4286 Thr* thr, Addr a, SizeT szB, Bool isW ) in libhb_event_map_lookup() [all …]
|
D | hg_errors.c | 295 Thread* thr; member 316 Thread* thr; /* doing the unlocking */ member 320 Thread* thr; /* doing the unlocking */ member 325 Thread* thr; /* doing the unlocking */ member 329 Thread* thr; member 335 Thread* thr; member 351 Thread* thr; member 765 static Bool announce_one_thread ( Thread* thr ) in announce_one_thread()
|
D | hg_lock_n_thread.c | 54 Thread* thr; in is_sane_Bag_of_Threads() local
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_mman_test.cc | 49 ThreadState *thr = cur_thread(); in TEST() local 76 ThreadState *thr = cur_thread(); in TEST() local 122 ThreadState *thr = cur_thread(); in TEST() local 135 ThreadState *thr = cur_thread(); in TEST() local
|
D | tsan_stack_test.cc | 21 ThreadState thr(0, 0, 0, 0, 0, 0, 0, 0); in TestStackTrace() local 63 ThreadState thr(0, 0, 0, 0, 0, 0, 0, 0); in TEST() local
|
D | tsan_sync_test.cc | 29 ThreadState *thr = cur_thread(); in TEST() local
|
/external/compiler-rt/lib/tsan/lit_tests/ |
D | malloc_stack.cc | 7 void *thr(void *a) { in thr() function
|
/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
|
/external/valgrind/main/helgrind/tests/ |
D | bar_trivial.c | 38 pthread_t thr[NTHR]; in main() local
|
/external/valgrind/main/none/tests/ |
D | thread-exits.c | 40 static void *thr(void *v) in thr() function
|