Home
last modified time | relevance | path

Searched refs:threads_ (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cpp126 *total = threads_.size(); in GetNumberOfThreads()
145 tid = threads_.size(); in CreateThread()
147 threads_.push_back(tctx); in CreateThread()
223 ThreadContextBase *tctx = threads_[tid]; in SetThreadName()
233 threads_[tid->second]->SetName(name); in SetThreadNameByUserId()
238 ThreadContextBase *tctx = threads_[tid]; in DetachThread()
287 ThreadContextBase *tctx = threads_[tid]; in FinishThread()
314 ThreadContextBase *tctx = threads_[tid]; in StartThread()
351 auto *tctx = threads_[tid]; in ConsumeThreadUserId()
359 ThreadContextBase *tctx = threads_[tid]; in SetThreadUserId()
[all …]
H A Dsanitizer_stoptheworld_mac.cpp45 InternalMmapVector<SuspendedThreadInfo> threads_; member in __sanitizer::SuspendedThreadsListMac
115 CHECK_LT(index, threads_.size()); in GetThreadID()
116 return threads_[index].tid; in GetThreadID()
120 CHECK_LT(index, threads_.size()); in GetThread()
121 return threads_[index].thread; in GetThread()
125 return threads_.size(); in ThreadCount()
129 for (uptr i = 0; i < threads_.size(); i++) { in ContainsThread()
130 if (threads_[i].thread == thread) return true; in ContainsThread()
144 threads_.push_back({info.thread_id, thread}); in Append()
H A Dsanitizer_thread_registry.h104 return threads_.empty() ? nullptr : threads_[tid]; in GetThreadLocked()
107 u32 NumThreadsLocked() const { return threads_.size(); } in NumThreadsLocked()
155 InternalMmapVector<ThreadContextBase *> threads_; variable