Searched refs:ThreadRegistry (Results 1 – 9 of 9) sorted by relevance
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_thread_registry.cc | 88 const u32 ThreadRegistry::kUnknownTid = ~0U; 90 ThreadRegistry::ThreadRegistry(ThreadContextFactory factory, u32 max_threads, in ThreadRegistry() function in __sanitizer::ThreadRegistry 108 void ThreadRegistry::GetNumberOfThreads(uptr *total, uptr *running, in GetNumberOfThreads() 116 uptr ThreadRegistry::GetMaxAliveThreads() { in GetMaxAliveThreads() 121 u32 ThreadRegistry::CreateThread(uptr user_id, bool detached, u32 parent_tid, in CreateThread() 157 void ThreadRegistry::RunCallbackForEachThreadLocked(ThreadCallback cb, in RunCallbackForEachThreadLocked() 168 u32 ThreadRegistry::FindThread(FindThreadCallback cb, void *arg) { in FindThread() 179 ThreadRegistry::FindThreadContextLocked(FindThreadCallback cb, void *arg) { in FindThreadContextLocked() 195 ThreadContextBase *ThreadRegistry::FindThreadContextByOsIDLocked(uptr os_id) { in FindThreadContextByOsIDLocked() 200 void ThreadRegistry::SetThreadName(u32 tid, const char *name) { in SetThreadName() [all …]
|
D | sanitizer_thread_registry.h | 76 class ThreadRegistry { 80 ThreadRegistry(ThreadContextFactory factory, u32 max_threads, 144 typedef GenericScopedLock<ThreadRegistry> ThreadRegistryLock;
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_thread_registry_test.cc | 35 static void CheckThreadQuantity(ThreadRegistry *registry, uptr exp_total, in CheckThreadQuantity() 67 static void TestRegistry(ThreadRegistry *registry, bool has_quarantine) { in TestRegistry() 102 EXPECT_EQ(ThreadRegistry::kUnknownTid, in TestRegistry() 106 EXPECT_EQ(ThreadRegistry::kUnknownTid, in TestRegistry() 141 ThreadRegistry quarantine_registry(GetThreadContext<ThreadContextBase>, in TEST() 146 ThreadRegistry no_quarantine_registry(GetThreadContext<ThreadContextBase>, in TEST() 162 ThreadRegistry *registry; 200 static void ThreadedTestRegistry(ThreadRegistry *registry) { in ThreadedTestRegistry() 227 ThreadRegistry registry(GetThreadContext<TestThreadContext>, in TEST()
|
/external/compiler-rt/lib/lsan/ |
D | lsan_thread.cc | 26 static ThreadRegistry *thread_registry; 38 static char thread_registry_placeholder[sizeof(ThreadRegistry)] ALIGNED(64); in InitializeThreadRegistry() 40 ThreadRegistry(CreateThreadContext, kMaxThreads, kThreadQuarantineSize); in InitializeThreadRegistry()
|
/external/compiler-rt/lib/asan/ |
D | asan_thread.cc | 49 static ALIGNED(16) char thread_registry_placeholder[sizeof(ThreadRegistry)]; 50 static ThreadRegistry *asan_thread_registry; 60 ThreadRegistry &asanThreadRegistry() { in asanThreadRegistry() 69 asan_thread_registry = new(thread_registry_placeholder) ThreadRegistry( in asanThreadRegistry()
|
D | asan_thread.h | 170 ThreadRegistry &asanThreadRegistry();
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl.cc | 66 static char thread_registry_placeholder[sizeof(ThreadRegistry)]; 100 , thread_registry(new(thread_registry_placeholder) ThreadRegistry( in Context()
|
D | tsan_rtl_thread.cc | 272 ThreadRegistry *tr = ctx->thread_registry; in ThreadStart()
|
D | tsan_rtl.h | 488 ThreadRegistry *thread_registry;
|