Home
last modified time | relevance | path

Searched refs:MutexLock (Results 1 – 25 of 59) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/src/Common/
DMutexLock.hpp27 class MutexLock class
30 MutexLock() in MutexLock() function in sw::MutexLock
35 ~MutexLock() in ~MutexLock()
172 using MutexLock = BackoffLock; typedef
180 explicit LockGuard(sw::MutexLock &mutex) : mutex(&mutex) in LockGuard()
185 explicit LockGuard(sw::MutexLock *mutex) : mutex(mutex) in LockGuard()
196 sw::MutexLock *mutex;
DResource.hpp100 MutexLock criticalSection;
/third_party/protobuf/src/google/protobuf/stubs/
Dmutex.h116 class PROTOBUF_EXPORT MutexLock {
118 explicit MutexLock(Mutex *mu) : mu_(mu) { this->mu_->Lock(); } in MutexLock() function
119 ~MutexLock() { this->mu_->Unlock(); } in ~MutexLock()
122 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MutexLock);
126 typedef MutexLock ReaderMutexLock;
127 typedef MutexLock WriterMutexLock;
173 using internal::MutexLock;
/third_party/benchmark/src/
Dmutex.h87 class SCOPED_CAPABILITY MutexLock {
91 MutexLock(Mutex& m) ACQUIRE(m) : ml_(m.native_handle()) {} in MutexLock() function
92 ~MutexLock() RELEASE() {} in RELEASE()
107 MutexLock ml(lock_); in wait()
115 MutexLock ml(lock_); in removeThread()
132 bool createBarrier(MutexLock& ml) REQUIRES(lock_) { in createBarrier()
Dthread_manager.h28 MutexLock lock(end_cond_mutex_); in NotifyThreadComplete()
34 MutexLock lock(end_cond_mutex_); in WaitForAllThreads()
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dmutex.h518 class ABSL_SCOPED_LOCKABLE MutexLock {
525 explicit MutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) : mu_(mu) { in MutexLock() function
532 explicit MutexLock(Mutex *mu, const Condition &cond) in MutexLock() function
538 MutexLock(const MutexLock &) = delete; // NOLINT(runtime/mutex)
539 MutexLock(MutexLock&&) = delete; // NOLINT(runtime/mutex)
540 MutexLock& operator=(const MutexLock&) = delete;
541 MutexLock& operator=(MutexLock&&) = delete;
543 ~MutexLock() ABSL_UNLOCK_FUNCTION() { this->mu_->Unlock(); } in ABSL_UNLOCK_FUNCTION()
Dbarrier_test.cc40 absl::MutexLock lock(&mutex); in TEST()
60 absl::MutexLock lock(&mutex); in TEST()
73 absl::MutexLock lock(&mutex); in TEST()
Dnotification_test.cc32 MutexLock lock(&mutex_); in Increment()
37 MutexLock lock(&mutex_); in Get()
42 MutexLock lock(&mutex_); in WaitUntilGreaterOrEqual()
Dmutex_test.cc95 absl::MutexLock l(&cxt->mu); in TestMu()
155 absl::MutexLock l(&cxt->mu); in TestAwait()
171 absl::MutexLock l(&cxt->mu); in TestSignalAll()
189 absl::MutexLock l(&cxt->mu); in TestSignal()
206 absl::MutexLock l(&cxt->mu); in TestCVTimeout()
230 absl::MutexLock l(&cxt->mu); in TestTime()
302 absl::MutexLock l(&cxt->mu); in TestTime()
317 absl::MutexLock l(&cxt->mu); in TestTime()
328 absl::MutexLock l(&cxt->mu); in TestTime()
350 absl::MutexLock l(mu); in EndTest()
[all …]
Dblocking_counter.cc43 MutexLock l(&lock_); in DecrementCount()
51 MutexLock l(&this->lock_); in Wait()
Dnotification.cc28 MutexLock l(&this->mutex_); in Notify()
45 MutexLock l(&this->mutex_); in ~Notification()
Dlifetime_test.cc48 absl::MutexLock lock(mutex); in ThreadOne()
67 absl::MutexLock lock(mutex); in ThreadTwo()
Dbarrier.cc29 MutexLock l(&this->lock_); in Block()
Dmutex_benchmark.cc32 absl::MutexLock lock(mu); in BM_Mutex()
137 absl::MutexLock l(&shared->mu); in BM_MutexEnqueue()
/third_party/googletest/googlemock/src/
Dgmock-spec-builders.cc217 MutexLock l(&mutex_); in CheckActionCountIfNotDone()
323 MutexLock l(&g_gmock_mutex); in RegisterOwner()
337 MutexLock l(&g_gmock_mutex); in SetOwnerAndName()
350 MutexLock l(&g_gmock_mutex); in MockObject()
367 MutexLock l(&g_gmock_mutex); in Name()
563 internal::MutexLock l(&internal::g_gmock_mutex); in SetReactionOnUninterestingCalls()
594 internal::MutexLock l(&internal::g_gmock_mutex); in UnregisterCallReaction()
602 internal::MutexLock l(&internal::g_gmock_mutex); in GetReactionOnUninterestingCalls()
615 internal::MutexLock l(&internal::g_gmock_mutex); in AllowLeak()
624 internal::MutexLock l(&internal::g_gmock_mutex); in VerifyAndClearExpectations()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/
Dflag.cc278 absl::MutexLock l(DataGuard()); in IsSpecifiedOnCommandLine()
283 absl::MutexLock l(DataGuard()); in DefaultValue()
306 absl::MutexLock l(guard); in CurrentValue()
315 absl::MutexLock l(DataGuard()); in SetCallback()
344 absl::MutexLock lock(&callback_->guard); in InvokeCallback()
349 absl::MutexLock l(DataGuard()); in SaveState()
380 absl::MutexLock l(DataGuard()); in RestoreState()
461 absl::MutexLock l(guard); in Read()
500 absl::MutexLock l(DataGuard()); in Write()
526 absl::MutexLock l(DataGuard()); in ParseFrom()
[all …]
Dprogram_name.cc37 absl::MutexLock l(&program_name_guard); in ProgramInvocationName()
43 absl::MutexLock l(&program_name_guard); in ShortProgramInvocationName()
50 absl::MutexLock l(&program_name_guard); in SetProgramInvocationName()
Dusage.cc433 absl::MutexLock l(&help_attributes_guard); in GetFlagsHelpMatchSubstr()
439 absl::MutexLock l(&help_attributes_guard); in SetFlagsHelpMatchSubstr()
445 absl::MutexLock l(&help_attributes_guard); in GetFlagsHelpMode()
450 absl::MutexLock l(&help_attributes_guard); in SetFlagsHelpMode()
455 absl::MutexLock l(&help_attributes_guard); in GetFlagsHelpFormat()
460 absl::MutexLock l(&help_attributes_guard); in SetFlagsHelpFormat()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dhashtablez_sampler.cc88 absl::MutexLock l(&graveyard_.init_mu); in HashtablezSampler()
114 absl::MutexLock graveyard_lock(&graveyard_.init_mu); in PushDead()
115 absl::MutexLock sample_lock(&sample->init_mu); in PushDead()
121 absl::MutexLock graveyard_lock(&graveyard_.init_mu); in PopDead()
129 absl::MutexLock sample_lock(&sample->init_mu); in PopDead()
162 absl::MutexLock l(&s->init_mu); in Iterate()
Dhashtablez_sampler_test.cc81 absl::MutexLock l(&info.init_mu); in TEST()
120 absl::MutexLock l(&info.init_mu); in TEST()
132 absl::MutexLock l(&info.init_mu); in TEST()
154 absl::MutexLock l(&info.init_mu); in TEST()
167 absl::MutexLock l(&info.init_mu); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/
Dthread_pool.h46 absl::MutexLock l(&mu_); in ~ThreadPool()
59 absl::MutexLock l(&mu_); in Schedule()
72 absl::MutexLock l(&mu_); in WorkLoop()
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
Dparse.cc97 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anon82ede80f0202()
113 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anon82ede80f0302()
129 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anon82ede80f0402()
404 absl::MutexLock l(&flags_internal::processing_checks_guard); in HandleGeneratorFlags()
467 absl::MutexLock l(&flags_internal::processing_checks_guard); in ResetGeneratorFlags()
479 absl::MutexLock l(&flags_internal::processing_checks_guard); in ResetGeneratorFlags()
598 absl::MutexLock l(&specified_flags_guard); in WasPresentOnCommandLine()
643 absl::MutexLock l(&specified_flags_guard); in ParseCommandLineImpl()
Dusage.cc42 absl::MutexLock l(&flags_internal::usage_message_guard); in SetProgramUsageMessage()
57 absl::MutexLock l(&flags_internal::usage_message_guard); in ProgramUsageMessage()
Dusage_config.cc114 absl::MutexLock l(&custom_usage_config_guard); in GetUsageConfig()
139 absl::MutexLock l(&flags_internal::custom_usage_config_guard); in SetFlagsUsageConfig()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DResourceManager.h90 sw::MutexLock *getLock() { return &mMutex; } in getLock()
94 sw::MutexLock mMutex;

123