Home
last modified time | relevance | path

Searched refs:threads_ (Results 1 – 23 of 23) 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.cc104 DCHECK(threads_.empty()); in ~DelegateSimpleThreadPool()
110 DCHECK(threads_.empty()) << "Start() called with outstanding threads."; in Start()
114 threads_.push_back(thread); in Start()
119 DCHECK(!threads_.empty()) << "JoinAll() called with no outstanding threads."; in JoinAll()
126 threads_[i]->Join(); in JoinAll()
127 delete threads_[i]; in JoinAll()
129 threads_.clear(); in JoinAll()
Dsequenced_worker_pool.cc511 ThreadMap threads_; member in base::SequencedWorkerPool::Inner
675 for (ThreadMap::iterator it = threads_.begin(); it != threads_.end(); ++it) in ~Inner()
677 threads_.clear(); in ~Inner()
735 threads_.find(PlatformThread::CurrentId()); in PostTask()
736 if (found != threads_.end() && found->second->is_processing_task() && in PostTask()
907 return ContainsKey(threads_, PlatformThread::CurrentId()); in RunsTasksOnCurrentThread()
924 threads_.find(PlatformThread::CurrentId()); in IsRunningSequenceOnCurrentThread()
925 return found != threads_.end() && found->second->is_processing_task() && in IsRunningSequenceOnCurrentThread()
937 if (pending_tasks_.empty() && waiting_thread_count_ == threads_.size()) in CleanupForTesting()
1008 auto result = threads_.insert( in ThreadLoop()
[all …]
Dsimple_thread.h189 std::vector<DelegateSimpleThread*> threads_; variable
/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/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_worker_cache.cc45 threads_(kGrpcWorkerCacheThreadCount), in GrpcWorkerCache()
50 threads_.clear(); // Blocks until threads exit. in ~GrpcWorkerCache()
65 channel, threads_[AssignWorkerToThread(target)].completion_queue(), in CreateWorker()
125 target, (next_round_robin_assignment_++) % threads_.size())) in AssignWorkerToThread()
135 std::vector<GrpcWorkerCacheThread> threads_; member in tensorflow::__anon054a07220111::GrpcWorkerCache
Dgrpc_worker_service.cc62 threads_.emplace_back( in GrpcWorkerService()
78 for (auto& worker_thread : threads_) { in Shutdown()
110 for (auto& worker_thread : threads_) { in HandleRPCsLoop()
113 for (auto& worker_thread : threads_) { in HandleRPCsLoop()
347 std::vector<std::unique_ptr<GrpcWorkerServiceThread>> threads_; member in tensorflow::__anonad21f31f0111::GrpcWorkerService
/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.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()
Dminidump_processor.cc206 process_state->requesting_thread_ = process_state->threads_.size(); in Process()
267 process_state->threads_.push_back(stack.release()); in Process()
/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.cc227 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()
368 cfg_.g_threads = threads_; in TEST_P()
386 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/tensorflow/tensorflow/core/framework/
Drendezvous_test.cc68 LocalRendezvousTest() : threads_(Env::Default(), "test", 16) { in LocalRendezvousTest()
75 threads_.Schedule(std::move(fn)); in SchedClosure()
81 thread::ThreadPool threads_; member in tensorflow::__anon3cca98520111::LocalRendezvousTest
/external/v8/src/wasm/
Dwasm-interpreter.cc1825 ZoneVector<ThreadImpl> threads_; member in v8::internal::wasm::WasmInterpreterInternals
1833 threads_(zone) { in WasmInterpreterInternals()
1834 threads_.emplace_back(zone, &codemap_, env.module_env.instance); in WasmInterpreterInternals()
1837 void Delete() { threads_.clear(); } in Delete()
1850 void WasmInterpreter::Run() { internals_->threads_[0].Run(); } in Run()
1852 void WasmInterpreter::Pause() { internals_->threads_[0].Pause(); } in Pause()
1897 return ToThread(&internals_->threads_[id]); in GetThread()