/external/v8/test/unittests/base/platform/ |
D | mutex-unittest.cc | 14 { LockGuard<Mutex> lock_guard(&mutex); } in TEST() 15 { LockGuard<Mutex> lock_guard(&mutex); } in TEST() 21 { LockGuard<RecursiveMutex> lock_guard(&recursive_mutex); } in TEST() 23 LockGuard<RecursiveMutex> lock_guard1(&recursive_mutex); in TEST() 24 LockGuard<RecursiveMutex> lock_guard2(&recursive_mutex); in TEST() 31 { LockGuard<Mutex> lock_guard(lazy_mutex.Pointer()); } in TEST() 32 { LockGuard<Mutex> lock_guard(lazy_mutex.Pointer()); } in TEST() 38 { LockGuard<RecursiveMutex> lock_guard(lazy_recursive_mutex.Pointer()); } in TEST() 40 LockGuard<RecursiveMutex> lock_guard1(lazy_recursive_mutex.Pointer()); in TEST() 41 LockGuard<RecursiveMutex> lock_guard2(lazy_recursive_mutex.Pointer()); in TEST()
|
D | condition-variable-unittest.cc | 19 LockGuard<Mutex> lock_guard(&mutex); in TEST() 40 LockGuard<Mutex> lock_guard(&mutex_); in Run() 64 LockGuard<Mutex> lock_guard(&threads[n].mutex_); in TEST() 75 LockGuard<Mutex> lock_guard(&threads[n].mutex_); in TEST() 81 LockGuard<Mutex> lock_guard(&threads[n].mutex_); in TEST() 91 LockGuard<Mutex> lock_guard(&threads[n].mutex_); in TEST() 101 LockGuard<Mutex> lock_guard(&threads[n].mutex_); in TEST() 120 LockGuard<Mutex> lock_guard(mutex_); in Run() 152 LockGuard<Mutex> lock_guard(&mutex); in TEST() 162 LockGuard<Mutex> lock_guard(&mutex); in TEST() [all …]
|
/external/llvm/lib/Support/ |
D | ThreadPool.cpp | 36 std::unique_lock<std::mutex> LockGuard(QueueLock); in ThreadPool() local 38 QueueCondition.wait(LockGuard, in ThreadPool() 50 std::unique_lock<std::mutex> LockGuard(CompletionLock); in ThreadPool() local 64 std::unique_lock<std::mutex> LockGuard(CompletionLock); in ThreadPool() local 77 std::unique_lock<std::mutex> LockGuard(CompletionLock); in wait() local 78 CompletionCondition.wait(LockGuard, in wait() 88 std::unique_lock<std::mutex> LockGuard(QueueLock); in asyncImpl() local 102 std::unique_lock<std::mutex> LockGuard(QueueLock); in ~ThreadPool() local
|
/external/v8/src/ |
D | optimizing-compile-dispatcher.cc | 45 base::LockGuard<base::Mutex> lock_guard(&dispatcher->ref_count_mutex_); in CompileTask() 71 base::LockGuard<base::Mutex> lock_guard(&dispatcher->ref_count_mutex_); in Run() 87 base::LockGuard<base::Mutex> lock_guard(&ref_count_mutex_); in ~OptimizingCompileDispatcher() 106 base::LockGuard<base::Mutex> access_input_queue_(&input_queue_mutex_); in NextInput() 136 base::LockGuard<base::Mutex> access_output_queue_(&output_queue_mutex_); in CompileNext() 146 base::LockGuard<base::Mutex> access_output_queue_(&output_queue_mutex_); in FlushOutputQueue() 174 base::LockGuard<base::Mutex> lock_guard(&ref_count_mutex_); in Flush() 190 base::LockGuard<base::Mutex> lock_guard(&ref_count_mutex_); in Stop() 219 base::LockGuard<base::Mutex> access_output_queue_(&output_queue_mutex_); in InstallOptimizedFunctions() 264 base::LockGuard<base::Mutex> access_input_queue(&input_queue_mutex_); in QueueForOptimization() [all …]
|
D | locked-queue-inl.h | 49 base::LockGuard<base::Mutex> guard(&tail_mutex_); 60 base::LockGuard<base::Mutex> guard(&head_mutex_); 74 base::LockGuard<base::Mutex> guard(&head_mutex_); 81 base::LockGuard<base::Mutex> guard(&head_mutex_);
|
D | cancelable-task.cc | 39 base::LockGuard<base::Mutex> guard(&mutex_); in Register() 54 base::LockGuard<base::Mutex> guard(&mutex_); in RemoveFinishedTask() 63 base::LockGuard<base::Mutex> guard(&mutex_); in TryAbort() 86 base::LockGuard<base::Mutex> guard(&mutex_); in CancelAndWait()
|
D | futex-emulation.cc | 33 base::LockGuard<base::Mutex> lock_guard(FutexEmulation::mutex_.Pointer()); in NotifyWake() 84 base::LockGuard<base::Mutex> lock_guard(mutex_.Pointer()); in Wait() 199 base::LockGuard<base::Mutex> lock_guard(mutex_.Pointer()); in Wake() 227 base::LockGuard<base::Mutex> lock_guard(mutex_.Pointer()); in WakeOrRequeue() 260 base::LockGuard<base::Mutex> lock_guard(mutex_.Pointer()); in NumWaitersForTesting()
|
D | log-utils.h | 94 base::LockGuard<base::Mutex> lock_guard_;
|
D | optimizing-compile-dispatcher.h | 62 base::LockGuard<base::Mutex> access_input_queue(&input_queue_mutex_); in IsQueueAvailable()
|
D | d8.cc | 773 base::LockGuard<base::Mutex> lock_guard(workers_mutex_.Pointer()); in WorkerNew() 1263 base::LockGuard<base::Mutex> lock_guard(context_mutex_.Pointer()); in CreateEvaluationContext() 1701 base::LockGuard<base::Mutex> lock_guard(&mutex_); in Enqueue() 1707 base::LockGuard<base::Mutex> lock_guard(&mutex_); in Dequeue() 1716 base::LockGuard<base::Mutex> lock_guard(&mutex_); in IsEmpty() 1722 base::LockGuard<base::Mutex> lock_guard(&mutex_); in Clear() 2191 base::LockGuard<base::Mutex> lock_guard(workers_mutex_.Pointer()); in SerializeValue() 2334 base::LockGuard<base::Mutex> lock_guard(workers_mutex_.Pointer()); in CleanupWorkers() 2347 base::LockGuard<base::Mutex> lock_guard(workers_mutex_.Pointer()); in CleanupWorkers()
|
D | isolate.cc | 126 base::LockGuard<base::Mutex> lock_guard(thread_data_table_mutex_.Pointer()); in FindOrAllocatePerThreadDataForThisThread() 143 base::LockGuard<base::Mutex> lock_guard(thread_data_table_mutex_.Pointer()); in DiscardPerThreadDataForThisThread() 164 base::LockGuard<base::Mutex> lock_guard(thread_data_table_mutex_.Pointer()); in FindPerThreadDataForThread() 172 base::LockGuard<base::Mutex> lock_guard(thread_data_table_mutex_.Pointer()); in InitializeOncePerProcess() 1793 base::LockGuard<base::Mutex> lock_guard(thread_data_table_mutex_.Pointer()); in Isolate() 1850 base::LockGuard<base::Mutex> lock_guard(thread_data_table_mutex_.Pointer()); in TearDown()
|
/external/v8/src/libplatform/ |
D | task-queue.cc | 16 base::LockGuard<base::Mutex> guard(&lock_); in ~TaskQueue() 23 base::LockGuard<base::Mutex> guard(&lock_); in Append() 33 base::LockGuard<base::Mutex> guard(&lock_); in GetNext() 50 base::LockGuard<base::Mutex> guard(&lock_); in Terminate()
|
D | default-platform.cc | 41 base::LockGuard<base::Mutex> guard(&lock_); in ~DefaultPlatform() 66 base::LockGuard<base::Mutex> guard(&lock_); in SetThreadPoolSize() 77 base::LockGuard<base::Mutex> guard(&lock_); in EnsureInitialized() 115 base::LockGuard<base::Mutex> guard(&lock_); in PumpMessageLoop() 144 base::LockGuard<base::Mutex> guard(&lock_); in CallOnForegroundThread() 152 base::LockGuard<base::Mutex> guard(&lock_); in CallDelayedOnForegroundThread()
|
/external/v8/src/base/platform/ |
D | mutex.h | 202 class LockGuard final { 204 explicit LockGuard(Mutex* mutex) : mutex_(mutex) { mutex_->Lock(); } in LockGuard() function 205 ~LockGuard() { mutex_->Unlock(); } in ~LockGuard() 210 DISALLOW_COPY_AND_ASSIGN(LockGuard);
|
D | condition-variable.cc | 147 LockGuard<Mutex> lock_guard(&mutex_); 175 LockGuard<Mutex> lock_guard(&mutex_); 221 LockGuard<Mutex> lock_guard(native_handle_.mutex()); 247 LockGuard<Mutex> lock_guard(native_handle_.mutex());
|
D | time.cc | 159 LockGuard<Mutex> lock_guard(&mutex_); in Now() 178 LockGuard<Mutex> lock_guard(&mutex_); in NowFromSystemTime()
|
D | platform-posix.cc | 582 { LockGuard<Mutex> lock_guard(&thread->data()->thread_creation_mutex_); } in ThreadEntry() 617 LockGuard<Mutex> lock_guard(&data_->thread_creation_mutex_); in Start()
|
/external/v8/src/snapshot/ |
D | snapshot-external.cc | 27 base::LockGuard<base::Mutex> lock_guard( in SetSnapshotFromFile() 39 base::LockGuard<base::Mutex> lock_guard( in DefaultSnapshotBlob()
|
/external/llvm/unittests/Support/ |
D | ThreadPool.cpp | 60 std::unique_lock<std::mutex> LockGuard(WaitMainThreadMutex); in waitForMainThread() local 61 WaitMainThread.wait(LockGuard, [&] { return MainThreadReady; }); in waitForMainThread() 67 std::unique_lock<std::mutex> LockGuard(WaitMainThreadMutex); in setMainThreadReady() local
|
/external/v8/src/base/utils/ |
D | random-number-generator.cc | 25 LockGuard<Mutex> lock_guard(entropy_mutex.Pointer()); in SetEntropySource() 32 { LockGuard<Mutex> lock_guard(entropy_mutex.Pointer()); in RandomNumberGenerator()
|
/external/v8/src/heap/ |
D | store-buffer-inl.h | 30 base::LockGuard<base::Mutex> lock_guard(&mutex_); in MarkSynchronized()
|
D | object-stats.cc | 38 base::LockGuard<base::Mutex> lock_guard(object_stats_mutex.Pointer()); in TraceObjectStats() 77 base::LockGuard<base::Mutex> lock_guard(object_stats_mutex.Pointer()); in CheckpointObjectStats()
|
D | spaces-inl.h | 386 base::LockGuard<base::Mutex> lock_guard(&space_mutex_); in AllocateRawUnalignedSynchronized() 507 base::LockGuard<base::Mutex> guard(&mutex_); in AllocateRawSynchronized()
|
/external/v8/src/profiler/ |
D | sampler.cc | 356 base::LockGuard<base::Mutex> lock_guard(mutex_); in IncreaseSamplerCount() 361 base::LockGuard<base::Mutex> lock_guard(mutex_); in DecreaseSamplerCount() 582 base::LockGuard<base::Mutex> lock_guard(mutex_); in AddActiveSampler() 601 base::LockGuard<base::Mutex> lock_guard(mutex_); in RemoveActiveSampler() 625 base::LockGuard<base::Mutex> lock_guard(mutex_); in Run()
|
D | heap-profiler.cc | 145 base::LockGuard<base::Mutex> guard(&profiler_mutex_); in ObjectMoveEvent()
|