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

/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cc86 // ThreadRegistry implementation.
88 const u32 ThreadRegistry::kUnknownTid = ~0U;
90 ThreadRegistry::ThreadRegistry(ThreadContextFactory factory, u32 max_threads, function in class:__sanitizer::ThreadRegistry
103 "ThreadRegistry");
108 void ThreadRegistry::GetNumberOfThreads(uptr *total, uptr *running,
116 uptr ThreadRegistry::GetMaxAliveThreads() {
121 u32 ThreadRegistry::CreateThread(uptr user_id, bool detached, u32 parent_tid,
157 void ThreadRegistry::RunCallbackForEachThreadLocked(ThreadCallback cb,
168 u32 ThreadRegistry
[all...]
H A Dsanitizer_thread_registry.h75 class ThreadRegistry { class in namespace:__sanitizer
79 ThreadRegistry(ThreadContextFactory factory, u32 max_threads,
142 typedef GenericScopedLock<ThreadRegistry> ThreadRegistryLock;
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_thread_registry_test.cc35 static void CheckThreadQuantity(ThreadRegistry *registry, uptr exp_total,
67 static void TestRegistry(ThreadRegistry *registry, bool has_quarantine) {
102 EXPECT_EQ(ThreadRegistry::kUnknownTid,
106 EXPECT_EQ(ThreadRegistry::kUnknownTid,
141 ThreadRegistry quarantine_registry(GetThreadContext<ThreadContextBase>,
146 ThreadRegistry no_quarantine_registry(GetThreadContext<ThreadContextBase>,
162 ThreadRegistry *registry;
200 static void ThreadedTestRegistry(ThreadRegistry *registry) {
227 ThreadRegistry registry(GetThreadContext<TestThreadContext>,
/external/compiler-rt/lib/lsan/
H A Dlsan_thread.cc26 static ThreadRegistry *thread_registry;
38 static char thread_registry_placeholder[sizeof(ThreadRegistry)] ALIGNED(64);
40 ThreadRegistry(CreateThreadContext, kMaxThreads, kThreadQuarantineSize);
/external/compiler-rt/lib/asan/
H A Dasan_thread.cc44 static ALIGNED(16) char thread_registry_placeholder[sizeof(ThreadRegistry)];
45 static ThreadRegistry *asan_thread_registry;
55 ThreadRegistry &asanThreadRegistry() {
64 asan_thread_registry = new(thread_registry_placeholder) ThreadRegistry(
H A Dasan_thread.h151 ThreadRegistry &asanThreadRegistry();
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_thread.cc257 ThreadRegistry *tr = ctx->thread_registry;
H A Dtsan_rtl.cc65 static char thread_registry_placeholder[sizeof(ThreadRegistry)];
87 , thread_registry(new(thread_registry_placeholder) ThreadRegistry(
H A Dtsan_rtl.h465 ThreadRegistry *thread_registry;

Completed in 1306 milliseconds