/external/google-breakpad/src/client/linux/minidump_writer/ |
D | linux_ptrace_dumper.cc | 157 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 …]
|
D | linux_dumper.h | 91 const wasteful_vector<pid_t> &threads() { return threads_; } in threads() 178 wasteful_vector<pid_t> threads_; variable
|
D | linux_core_dumper.cc | 211 threads_.push_back(pid); in EnumerateThreads()
|
D | linux_dumper.cc | 80 threads_(&allocator_, 8), in LinuxDumper()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_thread_registry.cc | 102 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 …]
|
D | sanitizer_thread_registry.h | 93 return threads_[tid]; in GetThreadLocked() 136 ThreadContextBase **threads_; // Array of thread contexts is leaked. variable
|
/external/libchrome/base/threading/ |
D | simple_thread.cc | 104 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()
|
D | sequenced_worker_pool.cc | 511 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 …]
|
D | simple_thread.h | 189 std::vector<DelegateSimpleThread*> threads_; variable
|
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/ |
D | NonBlockingThreadPool.h | 24 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()
|
D | SimpleThreadPool.h | 25 : 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/ |
D | grpc_worker_cache.cc | 45 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::__anon26c1acdf0111::GrpcWorkerCache
|
D | grpc_worker_service.cc | 62 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::__anon0b19fc1c0111::GrpcWorkerService
|
/external/google-breakpad/src/processor/ |
D | process_state.cc | 54 for (vector<CallStack *>::const_iterator iterator = threads_.begin(); in Clear() 55 iterator != threads_.end(); in Clear() 59 threads_.clear(); in Clear()
|
D | microdump_processor.cc | 91 process_state->threads_.push_back(stack.release()); in Process()
|
D | minidump.cc | 1542 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()
|
D | minidump_processor.cc | 206 process_state->requesting_thread_ = process_state->threads_.size(); in Process() 267 process_state->threads_.push_back(stack.release()); in Process()
|
/external/libvpx/libvpx/test/ |
D | encode_perf_test.cc | 62 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 __anon4ad7cc120111::VP9EncodePerfTest
|
D | vp9_ethread_test.cc | 227 tiles_(GET_PARAM(3)), threads_(GET_PARAM(4)), in VPxEncoderThreadTest() 309 int threads_; member in __anon250fc1b30111::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/ |
D | process_state.h | 106 const vector<CallStack*>* threads() const { return &threads_; } in threads() 165 vector<CallStack*> threads_; variable
|
D | minidump.h | 355 MinidumpThreads* threads_; variable
|
/external/tensorflow/tensorflow/core/framework/ |
D | rendezvous_test.cc | 68 LocalRendezvousTest() : threads_(Env::Default(), "test", 16) { in LocalRendezvousTest() 75 threads_.Schedule(std::move(fn)); in SchedClosure() 81 thread::ThreadPool threads_; member in tensorflow::__anon0330640f0111::LocalRendezvousTest
|
/external/v8/src/wasm/ |
D | wasm-interpreter.cc | 1825 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()
|