Searched refs:ThreadContextBase (Results 1 – 13 of 13) sorted by relevance
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_thread_registry.cc | 19 ThreadContextBase::ThreadContextBase(u32 tid) in ThreadContextBase() function in __sanitizer::ThreadContextBase 26 ThreadContextBase::~ThreadContextBase() { in ~ThreadContextBase() 31 void ThreadContextBase::SetName(const char *new_name) { in SetName() 39 void ThreadContextBase::SetDead() { in SetDead() 47 void ThreadContextBase::SetJoined(void *arg) { in SetJoined() 56 void ThreadContextBase::SetFinished() { in SetFinished() 62 void ThreadContextBase::SetStarted(uptr _os_id, void *arg) { in SetStarted() 68 void ThreadContextBase::SetCreated(uptr _user_id, u64 _unique_id, in SetCreated() 80 void ThreadContextBase::Reset() { in Reset() 102 threads_ = (ThreadContextBase **)MmapOrDie(max_threads_ * sizeof(threads_[0]), in ThreadRegistry() [all …]
|
D | sanitizer_thread_registry.h | 34 class ThreadContextBase { 36 explicit ThreadContextBase(u32 tid); 37 ~ThreadContextBase(); // Should never be called. 50 ThreadContextBase *next; // For storing thread contexts in a list. 74 typedef ThreadContextBase* (*ThreadContextFactory)(u32 tid); 91 ThreadContextBase *GetThreadLocked(u32 tid) { in GetThreadLocked() 98 typedef void (*ThreadCallback)(ThreadContextBase *tctx, void *arg); 103 typedef bool (*FindThreadCallback)(ThreadContextBase *tctx, void *arg); 109 ThreadContextBase *FindThreadContextLocked(FindThreadCallback cb, 111 ThreadContextBase *FindThreadContextByOsIDLocked(uptr os_id); [all …]
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_thread_registry_test.cc | 27 static ThreadContextBase *GetThreadContext(u32 tid) { in GetThreadContext() 52 static bool HasName(ThreadContextBase *tctx, void *arg) { in HasName() 57 static bool HasUid(ThreadContextBase *tctx, void *arg) { in HasUid() 62 static void MarkUidAsPresent(ThreadContextBase *tctx, void *arg) { in MarkUidAsPresent() 133 ThreadContextBase *main_thread = registry->GetThreadLocked(0); in TestRegistry() 141 ThreadRegistry quarantine_registry(GetThreadContext<ThreadContextBase>, in TEST() 146 ThreadRegistry no_quarantine_registry(GetThreadContext<ThreadContextBase>, in TEST() 166 class TestThreadContext : public ThreadContextBase { 168 explicit TestThreadContext(int tid) : ThreadContextBase(tid) {} in TestThreadContext()
|
/external/compiler-rt/lib/lsan/ |
D | lsan_thread.cc | 30 static ThreadContextBase *CreateThreadContext(u32 tid) { in CreateThreadContext() 53 : ThreadContextBase(tid), in ThreadContext() 115 static bool FindThreadByUid(ThreadContextBase *tctx, void *arg) { in FindThreadByUid()
|
D | lsan_thread.h | 26 class ThreadContext : public ThreadContextBase {
|
/external/compiler-rt/lib/asan/ |
D | asan_thread.h | 39 class AsanThreadContext : public ThreadContextBase { 42 : ThreadContextBase(tid), announced(false), in AsanThreadContext()
|
D | asan_thread.cc | 55 static ThreadContextBase *GetAsanThreadContext(u32 tid) { in GetAsanThreadContext() 326 static bool ThreadStackContainsAddress(ThreadContextBase *tctx_base, in ThreadStackContainsAddress()
|
D | asan_stats.cc | 75 static void MergeThreadStats(ThreadContextBase *tctx_base, void *arg) { in MergeThreadStats()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_thread.cc | 26 : ThreadContextBase(tid) in ThreadContext() 151 static void MaybeReportThreadLeak(ThreadContextBase *tctx_base, void *arg) { in MaybeReportThreadLeak() 288 static bool FindThreadByUid(ThreadContextBase *tctx, void *arg) { in FindThreadByUid()
|
D | tsan_rtl_mutex.cc | 373 static void UpdateClockCallback(ThreadContextBase *tctx_base, void *arg) { in UpdateClockCallback() 416 static void UpdateSleepClockCallback(ThreadContextBase *tctx_base, void *arg) { in UpdateSleepClockCallback()
|
D | tsan_rtl_report.cc | 208 static bool FindThreadByUidLockedCallback(ThreadContextBase *tctx, void *arg) { in FindThreadByUidLockedCallback() 226 static bool IsInStackOrTls(ThreadContextBase *tctx_base, void *arg) { in IsInStackOrTls()
|
D | tsan_rtl.h | 460 class ThreadContext : public ThreadContextBase {
|
D | tsan_rtl.cc | 68 static ThreadContextBase *CreateThreadContext(u32 tid) { in CreateThreadContext()
|