Home
last modified time | relevance | path

Searched refs:ThreadRegistry (Results 1 – 9 of 9) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_thread_registry.cc88 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 …]
Dsanitizer_thread_registry.h76 class ThreadRegistry {
80 ThreadRegistry(ThreadContextFactory factory, u32 max_threads,
144 typedef GenericScopedLock<ThreadRegistry> ThreadRegistryLock;
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_thread_registry_test.cc35 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/
Dlsan_thread.cc26 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/
Dasan_thread.cc49 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()
Dasan_thread.h170 ThreadRegistry &asanThreadRegistry();
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.cc66 static char thread_registry_placeholder[sizeof(ThreadRegistry)];
100 , thread_registry(new(thread_registry_placeholder) ThreadRegistry( in Context()
Dtsan_rtl_thread.cc272 ThreadRegistry *tr = ctx->thread_registry; in ThreadStart()
Dtsan_rtl.h488 ThreadRegistry *thread_registry;