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. 73 typedef ThreadContextBase* (*ThreadContextFactory)(u32 tid); 89 ThreadContextBase *GetThreadLocked(u32 tid) { in GetThreadLocked() 96 typedef void (*ThreadCallback)(ThreadContextBase *tctx, void *arg); 101 typedef bool (*FindThreadCallback)(ThreadContextBase *tctx, void *arg); 107 ThreadContextBase *FindThreadContextLocked(FindThreadCallback cb, 109 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 | 29 static ThreadContextBase *CreateThreadContext(u32 tid) { in CreateThreadContext() 52 : ThreadContextBase(tid), in ThreadContext() 109 static bool FindThreadByUid(ThreadContextBase *tctx, void *arg) { in FindThreadByUid()
|
D | lsan_thread.h | 22 class ThreadContext : public ThreadContextBase {
|
/external/compiler-rt/lib/asan/ |
D | asan_thread.h | 34 class AsanThreadContext : public ThreadContextBase { 37 : ThreadContextBase(tid), in AsanThreadContext()
|
D | asan_thread.cc | 50 static ThreadContextBase *GetAsanThreadContext(u32 tid) { in GetAsanThreadContext() 239 static bool ThreadStackContainsAddress(ThreadContextBase *tctx_base, in ThreadStackContainsAddress()
|
D | asan_stats.cc | 79 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() 152 static void MaybeReportThreadLeak(ThreadContextBase *tctx_base, void *arg) { in MaybeReportThreadLeak() 285 static bool FindThreadByUid(ThreadContextBase *tctx, void *arg) { in FindThreadByUid()
|
D | tsan_rtl_mutex.cc | 365 static void UpdateClockCallback(ThreadContextBase *tctx_base, void *arg) { in UpdateClockCallback() 408 static void UpdateSleepClockCallback(ThreadContextBase *tctx_base, void *arg) { in UpdateSleepClockCallback()
|
D | tsan_rtl.h | 405 class ThreadContext : public ThreadContextBase {
|
D | tsan_rtl.cc | 67 static ThreadContextBase *CreateThreadContext(u32 tid) { in CreateThreadContext()
|
D | tsan_rtl_report.cc | 234 static bool IsInStackOrTls(ThreadContextBase *tctx_base, void *arg) { in IsInStackOrTls()
|