/external/llvm-project/compiler-rt/lib/lsan/ |
D | lsan_thread.cpp | 26 static ThreadRegistry *thread_registry; variable 38 thread_registry = new (thread_registry_placeholder) in InitializeThreadRegistry() 51 return thread_registry->CreateThread(user_id, detached, parent_tid, arg); in ThreadCreate() 56 thread_registry->StartThread(tid, os_id, thread_type, arg); in ThreadStart() 61 thread_registry->FinishThread(GetCurrentThread()); in ThreadFinish() 66 if (!thread_registry) in CurrentThreadContext() 71 return (ThreadContext *)thread_registry->GetThreadLocked(GetCurrentThread()); in CurrentThreadContext() 83 return thread_registry->FindThread(FindThreadByUid, (void *)uid); in ThreadTid() 88 thread_registry->DetachThread(tid, /* arg */ nullptr); in ThreadDetach() 93 thread_registry->JoinThread(tid, /* arg */ nullptr); in ThreadJoin() [all …]
|
/external/compiler-rt/lib/lsan/ |
D | lsan_thread.cc | 27 static ThreadRegistry *thread_registry; variable 40 thread_registry = new(thread_registry_placeholder) in InitializeThreadRegistry() 86 return thread_registry->CreateThread(user_id, detached, parent_tid, in ThreadCreate() 100 thread_registry->StartThread(tid, os_id, &args); in ThreadStart() 104 thread_registry->FinishThread(GetCurrentThread()); in ThreadFinish() 108 if (!thread_registry) return nullptr; in CurrentThreadContext() 112 return (ThreadContext *)thread_registry->GetThreadLocked(GetCurrentThread()); in CurrentThreadContext() 124 return thread_registry->FindThread(FindThreadByUid, (void*)uid); in ThreadTid() 129 thread_registry->JoinThread(tid, /* arg */nullptr); in ThreadJoin() 143 thread_registry->FindThreadContextByOsIDLocked(os_id)); in GetThreadRangesLocked() [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_thread.cc | 202 ThreadRegistryLock l(ctx->thread_registry); in ThreadFinalize() 204 ctx->thread_registry->RunCallbackForEachThreadLocked( in ThreadFinalize() 217 ctx->thread_registry->GetNumberOfThreads(0, 0, &result); in ThreadCount() 226 ctx->thread_registry->CreateThread(uid, detached, parent_tid, &args); in ThreadCreate() 228 StatSet(thr, StatThreadMaxAlive, ctx->thread_registry->GetMaxAliveThreads()); in ThreadCreate() 260 ThreadRegistry *tr = ctx->thread_registry; in ThreadStart() 285 ctx->thread_registry->FinishThread(thr->tid); in ThreadFinish() 298 int res = ctx->thread_registry->FindThread(FindThreadByUid, (void*)uid); in ThreadTid() 307 ctx->thread_registry->JoinThread(tid, thr); in ThreadJoin() 313 ctx->thread_registry->DetachThread(tid, thr); in ThreadDetach() [all …]
|
D | tsan_rtl_report.cc | 143 ctx->thread_registry->CheckLocked(); in ScopedReport() 214 ctx->thread_registry->CheckLocked(); in FindThreadByUidLocked() 216 ctx->thread_registry->FindThreadContextLocked( in FindThreadByUidLocked() 221 ctx->thread_registry->CheckLocked(); in FindThreadByTidLocked() 223 ctx->thread_registry->GetThreadLocked(tid)); in FindThreadByTidLocked() 238 ctx->thread_registry->CheckLocked(); in IsThreadStackOrTls() 240 ctx->thread_registry->FindThreadContextLocked(IsInStackOrTls, in IsThreadStackOrTls() 645 ThreadRegistryLock l0(ctx->thread_registry); in ReportRace() 655 ctx->thread_registry->GetThreadLocked(s.tid())); in ReportRace()
|
D | tsan_rtl_mutex.cc | 55 ThreadRegistryLock l(ctx->thread_registry); in ReportMutexMisuse() 113 ThreadRegistryLock l(ctx->thread_registry); in MutexDestroy() 386 ThreadRegistryLock l(ctx->thread_registry); in AcquireGlobal() 387 ctx->thread_registry->RunCallbackForEachThreadLocked( in AcquireGlobal() 430 ThreadRegistryLock l(ctx->thread_registry); in AfterSleep() 431 ctx->thread_registry->RunCallbackForEachThreadLocked( in AfterSleep() 475 ThreadRegistryLock l(ctx->thread_registry); in ReportDeadlock()
|
D | tsan_rtl.cc | 100 , thread_registry(new(thread_registry_placeholder) ThreadRegistry( in Context() 139 ctx->thread_registry->GetNumberOfThreads(&n_threads, &n_running_threads); in MemoryProfiler() 439 ctx->thread_registry->Lock(); in ForkBefore() 445 ctx->thread_registry->Unlock(); in ForkParentAfter() 450 ctx->thread_registry->Unlock(); in ForkChildAfter() 453 ctx->thread_registry->GetNumberOfThreads(0, 0, &nthread /* alive threads */); in ForkChildAfter()
|
D | tsan_mman.cc | 143 ThreadRegistryLock l(ctx->thread_registry); in SignalUnsafeCall()
|
D | tsan_rtl.h | 521 ThreadRegistry *thread_registry; member
|
D | tsan_interceptors.cc | 1818 ThreadRegistryLock l(ctx->thread_registry); in CallUserSignalHandler() 2230 __tsan::ctx->thread_registry->SetThreadNameByUserId(thread, name)
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_thread.cpp | 215 ThreadRegistryLock l(ctx->thread_registry); in ThreadFinalize() 217 ctx->thread_registry->RunCallbackForEachThreadLocked( in ThreadFinalize() 230 ctx->thread_registry->GetNumberOfThreads(0, 0, &result); in ThreadCount() 239 ctx->thread_registry->CreateThread(uid, detached, parent_tid, &args); in ThreadCreate() 241 StatSet(thr, StatThreadMaxAlive, ctx->thread_registry->GetMaxAliveThreads()); in ThreadCreate() 263 ThreadRegistry *tr = ctx->thread_registry; in ThreadStart() 288 ctx->thread_registry->FinishThread(thr->tid); in ThreadFinish() 315 ctx->thread_registry->FindThread(ConsumeThreadByUid, &findCtx); in ThreadConsumeTid() 325 ctx->thread_registry->JoinThread(tid, thr); in ThreadJoin() 331 ctx->thread_registry->DetachThread(tid, thr); in ThreadDetach() [all …]
|
D | tsan_rtl_report.cpp | 146 ctx->thread_registry->CheckLocked(); in ScopedReportBase() 219 ctx->thread_registry->CheckLocked(); in FindThreadByUidLocked() 221 ctx->thread_registry->FindThreadContextLocked( in FindThreadByUidLocked() 226 ctx->thread_registry->CheckLocked(); in FindThreadByTidLocked() 228 ctx->thread_registry->GetThreadLocked(tid)); in FindThreadByTidLocked() 243 ctx->thread_registry->CheckLocked(); in IsThreadStackOrTls() 245 ctx->thread_registry->FindThreadContextLocked(IsInStackOrTls, in IsThreadStackOrTls() 682 ThreadRegistryLock l0(ctx->thread_registry); in ReportRace() 693 ctx->thread_registry->GetThreadLocked(s.tid())); in ReportRace()
|
D | tsan_debugging.cpp | 218 ctx->thread_registry->Lock(); in __tsan_locate_address() 220 ctx->thread_registry->Unlock(); in __tsan_locate_address() 255 ThreadContextBase *tctx = ctx->thread_registry->GetThreadLocked(b->tid); in __tsan_get_alloc_stack()
|
D | tsan_rtl_mutex.cpp | 54 ThreadRegistryLock l(ctx->thread_registry); in ReportMutexMisuse() 111 ThreadRegistryLock l(ctx->thread_registry); in MutexDestroy() 429 ThreadRegistryLock l(ctx->thread_registry); in AcquireGlobal() 430 ctx->thread_registry->RunCallbackForEachThreadLocked( in AcquireGlobal() 485 ThreadRegistryLock l(ctx->thread_registry); in AfterSleep() 486 ctx->thread_registry->RunCallbackForEachThreadLocked( in AfterSleep() 539 ThreadRegistryLock l(ctx->thread_registry); in ReportDeadlock()
|
D | tsan_rtl.cpp | 101 , thread_registry(new(thread_registry_placeholder) ThreadRegistry( in Context() 141 ctx->thread_registry->GetNumberOfThreads(&n_threads, &n_running_threads); in MemoryProfiler() 500 ctx->thread_registry->Lock(); in ForkBefore() 514 ctx->thread_registry->Unlock(); in ForkParentAfter() 520 ctx->thread_registry->Unlock(); in ForkChildAfter() 523 ctx->thread_registry->GetNumberOfThreads(0, 0, &nthread /* alive threads */); in ForkChildAfter()
|
D | tsan_mman.cpp | 154 ThreadRegistryLock l(ctx->thread_registry); in SignalUnsafeCall()
|
D | tsan_rtl.h | 543 ThreadRegistry *thread_registry; member
|
D | tsan_interceptors_posix.cpp | 1980 ThreadRegistryLock l(ctx->thread_registry); in CallUserSignalHandler() 2333 __tsan::ctx->thread_registry->SetThreadNameByUserId(thread, name)
|
/external/webrtc/rtc_base/system/ |
D | BUILD.gn | 73 rtc_source_set("thread_registry") { 74 sources = [ "thread_registry.h" ] 80 sources += [ "thread_registry.cc" ]
|
D | DEPS | 2 "thread_registry\.cc": [
|
/external/webrtc/video/ |
D | BUILD.gn | 133 "../rtc_base/system:thread_registry",
|
/external/webrtc/sdk/android/ |
D | BUILD.gn | 747 "../../rtc_base/system:thread_registry",
|
/external/libabigail/tests/data/test-annotate/ |
D | test15-pr18892.so.abi | 9761 <!-- __sanitizer::ThreadRegistry* __tsan::Context::thread_registry --> 9762 …<var-decl name='thread_registry' type-id='type-id-511' visibility='default' filepath='../../.././l… 29872 <!-- __sanitizer::ThreadRegistry* __tsan::Context::thread_registry --> 29873 …<var-decl name='thread_registry' type-id='type-id-511' visibility='default' filepath='../../.././l…
|
/external/libabigail/tests/data/test-read-dwarf/ |
D | test15-pr18892.so.abi | 5769 …<var-decl name='thread_registry' type-id='type-id-511' visibility='default' filepath='../../.././l… 17509 …<var-decl name='thread_registry' type-id='type-id-511' visibility='default' filepath='../../.././l…
|
/external/webrtc/android_tools/ |
D | sorted_targets.txt | 74163 "//rtc_base/system:thread_registry",
|