| /src/external/bsd/zstd/dist/contrib/pzstd/utils/ |
| ThreadPool.h | 21 std::vector<std::thread> threads_; member in class:pzstd::ThreadPool 28 threads_.reserve(numThreads); 30 threads_.emplace_back([this] { 42 for (auto& thread : threads_) {
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| sanitizer_stoptheworld_mac.cc | 33 SuspendedThreadsListMac() : threads_(1024) {} 46 InternalMmapVector<SuspendedThreadInfo> threads_; member in class:__sanitizer::SuspendedThreadsListMac 112 CHECK_LT(index, threads_.size()); 113 return threads_[index].tid; 117 CHECK_LT(index, threads_.size()); 118 return threads_[index].thread; 122 return threads_.size(); 126 for (uptr i = 0; i < threads_.size(); i++) { 127 if (threads_[i].thread == thread) return true; 141 threads_.push_back({info.thread_id, thread}) [all...] |
| sanitizer_thread_registry.cc | 117 threads_ = (ThreadContextBase **)MmapOrDie(max_threads_ * sizeof(threads_[0]), 147 threads_[tid] = tctx; 176 ThreadContextBase *tctx = threads_[tid]; 186 ThreadContextBase *tctx = threads_[tid]; 197 ThreadContextBase *tctx = threads_[tid]; 218 ThreadContextBase *tctx = threads_[tid]; 228 ThreadContextBase *tctx = threads_[tid]; 240 ThreadContextBase *tctx = threads_[tid]; 261 ThreadContextBase *tctx = threads_[tid] [all...] |
| sanitizer_thread_registry.h | 99 return threads_[tid]; 143 ThreadContextBase **threads_; // Array of thread contexts is leaked. member in class:__sanitizer::ThreadRegistry
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| sanitizer_stoptheworld_mac.cpp | 32 SuspendedThreadsListMac() : threads_(1024) {} 45 InternalMmapVector<SuspendedThreadInfo> threads_; member in class:__sanitizer::final 112 CHECK_LT(index, threads_.size()); 113 return threads_[index].tid; 117 CHECK_LT(index, threads_.size()); 118 return threads_[index].thread; 122 return threads_.size(); 126 for (uptr i = 0; i < threads_.size(); i++) { 127 if (threads_[i].thread == thread) return true; 141 threads_.push_back({info.thread_id, thread}) [all...] |
| sanitizer_thread_registry.cpp | 124 *total = threads_.size(); 141 } else if (threads_.size() < max_threads_) { 143 tid = threads_.size(); 145 threads_.push_back(tctx); 173 for (u32 tid = 0; tid < threads_.size(); tid++) { 174 ThreadContextBase *tctx = threads_[tid]; 183 for (u32 tid = 0; tid < threads_.size(); tid++) { 184 ThreadContextBase *tctx = threads_[tid]; 194 for (u32 tid = 0; tid < threads_.size(); tid++) { 195 ThreadContextBase *tctx = threads_[tid] [all...] |
| sanitizer_thread_registry.h | 103 return threads_.empty() ? nullptr : threads_[tid]; 146 InternalMmapVector<ThreadContextBase *> threads_; member in class:__sanitizer::ThreadRegistry
|
| /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| sanitizer_stoptheworld_mac.cpp | 45 InternalMmapVector<SuspendedThreadInfo> threads_; member in class:__sanitizer::final 115 CHECK_LT(index, threads_.size()); 116 return threads_[index].tid; 120 CHECK_LT(index, threads_.size()); 121 return threads_[index].thread; 125 return threads_.size(); 129 for (uptr i = 0; i < threads_.size(); i++) { 130 if (threads_[i].thread == thread) return true; 144 threads_.push_back({info.thread_id, thread});
|
| sanitizer_thread_registry.cpp | 126 *total = threads_.size(); 143 } else if (threads_.size() < max_threads_) { 145 tid = threads_.size(); 147 threads_.push_back(tctx); 181 for (u32 tid = 0; tid < threads_.size(); tid++) { 182 ThreadContextBase *tctx = threads_[tid]; 191 for (u32 tid = 0; tid < threads_.size(); tid++) { 192 ThreadContextBase *tctx = threads_[tid]; 202 for (u32 tid = 0; tid < threads_.size(); tid++) { 203 ThreadContextBase *tctx = threads_[tid] [all...] |
| sanitizer_thread_registry.h | 104 return threads_.empty() ? nullptr : threads_[tid]; 107 u32 NumThreadsLocked() const { return threads_.size(); } 155 InternalMmapVector<ThreadContextBase *> threads_; member in class:__sanitizer::ThreadRegistry
|