Home
last modified time | relevance | path

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

/external/chromium_org/v8/src/base/platform/
Dmutex-unittest.cc14 { 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()
Dcondition-variable-unittest.cc19 LockGuard<Mutex> lock_guard(&mutex); in TEST()
41 LockGuard<Mutex> lock_guard(&mutex_); in Run()
65 LockGuard<Mutex> lock_guard(&threads[n].mutex_); in TEST()
76 LockGuard<Mutex> lock_guard(&threads[n].mutex_); in TEST()
82 LockGuard<Mutex> lock_guard(&threads[n].mutex_); in TEST()
92 LockGuard<Mutex> lock_guard(&threads[n].mutex_); in TEST()
102 LockGuard<Mutex> lock_guard(&threads[n].mutex_); in TEST()
122 LockGuard<Mutex> lock_guard(mutex_); in Run()
154 LockGuard<Mutex> lock_guard(&mutex); in TEST()
164 LockGuard<Mutex> lock_guard(&mutex); in TEST()
[all …]
Dmutex.h202 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);
Dcondition-variable.cc153 LockGuard<Mutex> lock_guard(&mutex_);
181 LockGuard<Mutex> lock_guard(&mutex_);
227 LockGuard<Mutex> lock_guard(native_handle_.mutex());
253 LockGuard<Mutex> lock_guard(native_handle_.mutex());
Dtime.cc157 LockGuard<Mutex> lock_guard(&mutex_); in Now()
176 LockGuard<Mutex> lock_guard(&mutex_); in NowFromSystemTime()
439 LockGuard<Mutex> lock_guard(&mutex_); in Now()
Dplatform-posix.cc503 { LockGuard<Mutex> lock_guard(&thread->data()->thread_creation_mutex_); } in ThreadEntry()
531 LockGuard<Mutex> lock_guard(&data_->thread_creation_mutex_); in Start()
/external/chromium_org/v8/src/libplatform/
Dtask-queue.cc16 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()
Ddefault-platform.cc40 base::LockGuard<base::Mutex> guard(&lock_); in ~DefaultPlatform()
60 base::LockGuard<base::Mutex> guard(&lock_); in SetThreadPoolSize()
71 base::LockGuard<base::Mutex> guard(&lock_); in EnsureInitialized()
83 base::LockGuard<base::Mutex> guard(&lock_); in PumpMessageLoop()
105 base::LockGuard<base::Mutex> guard(&lock_); in CallOnForegroundThread()
/external/chromium_org/v8/src/
Doptimizing-compiler-thread.cc34 { base::LockGuard<base::Mutex> lock_guard(&thread_id_mutex_); in Run()
88 base::LockGuard<base::Mutex> access_input_queue_(&input_queue_mutex_); in NextInput()
264 base::LockGuard<base::Mutex> access_input_queue(&input_queue_mutex_); in QueueForOptimization()
272 base::LockGuard<base::Mutex> access_input_queue(&input_queue_mutex_); in QueueForOptimization()
371 base::LockGuard<base::Mutex> lock_guard(&thread_id_mutex_); in IsOptimizerThread()
Dsampler.cc282 base::LockGuard<base::Mutex> lock_guard(mutex_); in IncreaseSamplerCount()
287 base::LockGuard<base::Mutex> lock_guard(mutex_); in DecreaseSamplerCount()
502 base::LockGuard<base::Mutex> lock_guard(mutex_); in AddActiveSampler()
521 base::LockGuard<base::Mutex> lock_guard(mutex_); in RemoveActiveSampler()
545 base::LockGuard<base::Mutex> lock_guard(mutex_); in Run()
Dlog-utils.h88 base::LockGuard<base::Mutex> lock_guard_;
Doptimizing-compiler-thread.h66 base::LockGuard<base::Mutex> access_input_queue(&input_queue_mutex_); in IsQueueAvailable()
Disolate.cc125 base::LockGuard<base::Mutex> lock_guard(thread_data_table_mutex_.Pointer()); in FindOrAllocatePerThreadDataForThisThread()
147 base::LockGuard<base::Mutex> lock_guard(thread_data_table_mutex_.Pointer()); in FindPerThreadDataForThread()
155 base::LockGuard<base::Mutex> lock_guard(thread_data_table_mutex_.Pointer()); in InitializeOncePerProcess()
1521 base::LockGuard<base::Mutex> lock_guard(thread_data_table_mutex_.Pointer()); in Isolate()
1574 base::LockGuard<base::Mutex> lock_guard(thread_data_table_mutex_.Pointer()); in TearDown()
Dgdb-jit.cc2063 base::LockGuard<base::Mutex> lock_guard(mutex.Pointer()); in AddCode()
2110 base::LockGuard<base::Mutex> lock_guard(mutex.Pointer()); in RemoveCode()
2147 base::LockGuard<base::Mutex> lock_guard(mutex.Pointer()); in RegisterDetailedLineInfo()
Ddebug.cc3354 base::LockGuard<base::Mutex> lock_guard(&mutex_); in IsEmpty()
3360 base::LockGuard<base::Mutex> lock_guard(&mutex_); in Get()
3368 base::LockGuard<base::Mutex> lock_guard(&mutex_); in Put()
3375 base::LockGuard<base::Mutex> lock_guard(&mutex_); in Clear()
Dassembler.cc899 base::LockGuard<base::Mutex> lock_guard(math_exp_data_mutex); in InitializeMathExpData()
Dd8.cc962 base::LockGuard<base::Mutex> lock_guard(&context_mutex_); in CreateEvaluationContext()
/external/chromium_org/v8/src/base/utils/
Drandom-number-generator.cc25 LockGuard<Mutex> lock_guard(entropy_mutex.Pointer()); in SetEntropySource()
32 { LockGuard<Mutex> lock_guard(entropy_mutex.Pointer()); in RandomNumberGenerator()
/external/chromium_org/v8/src/heap/
Dspaces.cc2034 base::LockGuard<base::Mutex> target_lock_guard(mutex()); in Concatenate()
2035 base::LockGuard<base::Mutex> source_lock_guard(category->mutex()); in Concatenate()
Dheap.cc6101 base::LockGuard<base::Mutex> lock_guard( in CheckpointObjectStats()
/external/chromium_org/v8/test/cctest/
Dtest-debug.cc44 using ::v8::base::LockGuard;
4788 LockGuard<Mutex> lock_guard(&mutex_); in ~ThreadBarrier()
4795 LockGuard<Mutex> lock_guard(&mutex_); in Wait()