Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cpp124 *total = threads_.size(); in GetNumberOfThreads()
143 tid = threads_.size(); in CreateThread()
145 threads_.push_back(tctx); in CreateThread()
174 ThreadContextBase *tctx = threads_[tid]; in RunCallbackForEachThreadLocked()
184 ThreadContextBase *tctx = threads_[tid]; in FindThread()
195 ThreadContextBase *tctx = threads_[tid]; in FindThreadContextLocked()
215 ThreadContextBase *tctx = threads_[tid]; in SetThreadName()
236 ThreadContextBase *tctx = threads_[tid]; in DetachThread()
281 ThreadContextBase *tctx = threads_[tid]; in FinishThread()
306 ThreadContextBase *tctx = threads_[tid]; in StartThread()
[all …]
H A Dsanitizer_stoptheworld_mac.cpp32 SuspendedThreadsListMac() : threads_(1024) {} in SuspendedThreadsListMac()
45 InternalMmapVector<SuspendedThreadInfo> threads_; member in __sanitizer::SuspendedThreadsListMac
112 CHECK_LT(index, threads_.size()); in GetThreadID()
113 return threads_[index].tid; in GetThreadID()
117 CHECK_LT(index, threads_.size()); in GetThread()
118 return threads_[index].thread; in GetThread()
122 return threads_.size(); in ThreadCount()
126 for (uptr i = 0; i < threads_.size(); i++) { in ContainsThread()
127 if (threads_[i].thread == thread) return true; in ContainsThread()
141 threads_.push_back({info.thread_id, thread}); in Append()
H A Dsanitizer_thread_registry.h103 return threads_.empty() ? nullptr : threads_[tid]; in GetThreadLocked()
146 InternalMmapVector<ThreadContextBase *> threads_; variable