Home
last modified time | relevance | path

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

/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_ptrace_dumper.cc157 if (index >= threads_.size()) in GetThreadInfoByIndex()
160 pid_t tid = threads_[index]; in GetThreadInfoByIndex()
281 for (size_t i = 0; i < threads_.size(); ++i) { in ThreadsSuspend()
282 if (!SuspendThread(threads_[i])) { in ThreadsSuspend()
286 if (i < threads_.size() - 1) { in ThreadsSuspend()
287 my_memmove(&threads_[i], &threads_[i + 1], in ThreadsSuspend()
288 (threads_.size() - i - 1) * sizeof(threads_[i])); in ThreadsSuspend()
290 threads_.resize(threads_.size() - 1); in ThreadsSuspend()
295 return threads_.size() > 0; in ThreadsSuspend()
302 for (size_t i = 0; i < threads_.size(); ++i) in ThreadsResume()
[all …]
Dlinux_dumper.h91 const wasteful_vector<pid_t> &threads() { return threads_; } in threads()
178 wasteful_vector<pid_t> threads_; variable
Dlinux_core_dumper.cc211 threads_.push_back(pid); in EnumerateThreads()
Dlinux_dumper.cc80 threads_(&allocator_, 8), in LinuxDumper()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_thread_registry.cc102 threads_ = (ThreadContextBase **)MmapOrDie(max_threads_ * sizeof(threads_[0]), in ThreadRegistry()
132 threads_[tid] = tctx; in CreateThread()
161 ThreadContextBase *tctx = threads_[tid]; in RunCallbackForEachThreadLocked()
171 ThreadContextBase *tctx = threads_[tid]; in FindThread()
182 ThreadContextBase *tctx = threads_[tid]; in FindThreadContextLocked()
203 ThreadContextBase *tctx = threads_[tid]; in SetThreadName()
212 ThreadContextBase *tctx = threads_[tid]; in SetThreadNameByUserId()
224 ThreadContextBase *tctx = threads_[tid]; in DetachThread()
242 ThreadContextBase *tctx = threads_[tid]; in JoinThread()
259 ThreadContextBase *tctx = threads_[tid]; in FinishThread()
[all …]
Dsanitizer_thread_registry.h93 return threads_[tid]; in GetThreadLocked()
136 ThreadContextBase **threads_; // Array of thread contexts is leaked. variable
/external/libchrome/base/threading/
Dsimple_thread.cc109 DCHECK(threads_.empty()); in ~DelegateSimpleThreadPool()
115 DCHECK(threads_.empty()) << "Start() called with outstanding threads."; in Start()
119 threads_.push_back(thread); in Start()
124 DCHECK(!threads_.empty()) << "JoinAll() called with no outstanding threads."; in JoinAll()
131 threads_[i]->Join(); in JoinAll()
132 delete threads_[i]; in JoinAll()
134 threads_.clear(); in JoinAll()
Dsequenced_worker_pool.cc451 ThreadMap threads_; member in base::SequencedWorkerPool::Inner
585 for (ThreadMap::iterator it = threads_.begin(); it != threads_.end(); ++it) in ~Inner()
587 threads_.clear(); in ~Inner()
635 threads_.find(PlatformThread::CurrentId()); in PostTask()
636 if (found != threads_.end() && found->second->is_processing_task() && in PostTask()
681 return ContainsKey(threads_, PlatformThread::CurrentId()); in RunsTasksOnCurrentThread()
687 ThreadMap::const_iterator found = threads_.find(PlatformThread::CurrentId()); in IsRunningSequenceOnCurrentThread()
688 if (found == threads_.end()) in IsRunningSequenceOnCurrentThread()
705 ThreadMap::const_iterator found = threads_.find(PlatformThread::CurrentId()); in SetRunningTaskInfoForCurrentThread()
706 DCHECK(found != threads_.end()); in SetRunningTaskInfoForCurrentThread()
[all …]
Dsimple_thread.h185 std::vector<DelegateSimpleThread*> threads_; variable
/external/libchrome/base/win/
Dscoped_handle_test_dll.cc39 std::vector<HANDLE> threads_; in InternalRunThreadTest() local
63 threads_.push_back(thread_handle); in InternalRunThreadTest()
68 if (threads_.size() != kNumThreads) { in InternalRunThreadTest()
69 for (const auto& thread : threads_) in InternalRunThreadTest()
77 for (const auto& thread : threads_) { in InternalRunThreadTest()
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/
DNonBlockingThreadPool.h24 threads_(num_threads), in env_()
58 threads_.push_back(env_.CreateThread([this, i]() { WorkerLoop(i); })); in env_()
70 for (size_t i = 0; i < threads_.size(); i++) delete threads_[i]; in ~NonBlockingThreadPoolTempl() local
71 for (size_t i = 0; i < threads_.size(); i++) delete queues_[i]; in ~NonBlockingThreadPoolTempl()
101 return static_cast<int>(threads_.size()); in NumThreads()
125 MaxSizeVector<Thread*> threads_; variable
211 if (done_ && blocked_ == threads_.size()) { in WaitForWork()
DSimpleThreadPool.h25 : env_(env), threads_(num_threads), waiters_(num_threads) { in env_()
27 threads_.push_back(env.CreateThread([this, i]() { WorkerLoop(i); })); in env_()
51 for (auto t : threads_) { in ~SimpleThreadPoolTempl()
73 return static_cast<int>(threads_.size()); in NumThreads()
138 MaxSizeVector<Thread*> threads_; // All threads variable
/external/google-breakpad/src/processor/
Dprocess_state.cc54 for (vector<CallStack *>::const_iterator iterator = threads_.begin(); in Clear()
55 iterator != threads_.end(); in Clear()
59 threads_.clear(); in Clear()
Dmicrodump_processor.cc91 process_state->threads_.push_back(stack.release()); in Process()
Dminidump_processor.cc206 process_state->requesting_thread_ = process_state->threads_.size(); in Process()
267 process_state->threads_.push_back(stack.release()); in Process()
Dminidump.cc1542 threads_(NULL), in MinidumpThreadList()
1548 delete threads_; in ~MinidumpThreadList()
1555 delete threads_; in Read()
1556 threads_ = NULL; in Read()
1640 threads_ = threads.release(); in Read()
1663 return &(*threads_)[index]; in GetThreadAtIndex()
1689 (*threads_)[thread_index].Print(); in Print()
/external/libvpx/libvpx/test/
Dencode_perf_test.cc62 encoding_mode_(GET_PARAM(1)), speed_(0), threads_(1) {} in VP9EncodePerfTest()
82 cfg_.g_threads = threads_; in SetUp()
114 void set_threads(unsigned int threads) { threads_ = threads; } in set_threads()
121 unsigned int threads_; member in __anonab559df50111::VP9EncodePerfTest
Dvp9_ethread_test.cc226 tiles_(GET_PARAM(3)), threads_(GET_PARAM(4)), in VPxEncoderThreadTest()
309 int threads_; member in __anon858d93960111::VPxEncoderThreadTest
334 cfg_.g_threads = threads_; in TEST_P()
370 cfg_.g_threads = threads_; in TEST_P()
388 cfg_.g_threads = threads_; in TEST_P()
/external/google-breakpad/src/google_breakpad/processor/
Dprocess_state.h106 const vector<CallStack*>* threads() const { return &threads_; } in threads()
165 vector<CallStack*> threads_; variable
Dminidump.h355 MinidumpThreads* threads_; variable
/external/v8/src/wasm/
Dwasm-interpreter.cc1764 ZoneVector<ThreadImpl*> threads_; member in v8::internal::wasm::WasmInterpreterInternals
1769 threads_(zone) { in WasmInterpreterInternals()
1770 threads_.push_back(new ThreadImpl(zone, &codemap_, instance)); in WasmInterpreterInternals()
1775 for (auto t : threads_) delete t; in Delete()
1776 threads_.resize(0); in Delete()
1790 void WasmInterpreter::Run() { internals_->threads_[0]->Run(); } in Run()
1792 void WasmInterpreter::Pause() { internals_->threads_[0]->Pause(); } in Pause()
1837 return internals_->threads_[id]; in GetThread()