Home
last modified time | relevance | path

Searched refs:ReaderMutexLock (Results 1 – 9 of 9) sorted by relevance

/third_party/re2/util/
Dmutex.h102 class ReaderMutexLock {
104 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } in ReaderMutexLock() function
105 ~ReaderMutexLock() { mu_->ReaderUnlock(); } in ~ReaderMutexLock()
109 ReaderMutexLock(const ReaderMutexLock&) = delete;
110 ReaderMutexLock& operator=(const ReaderMutexLock&) = delete;
126 #define ReaderMutexLock(x) static_assert(false, "ReaderMutexLock declaration missing variable name") macro
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dmutex.h553 class ABSL_SCOPED_LOCKABLE ReaderMutexLock {
555 explicit ReaderMutexLock(Mutex *mu) ABSL_SHARED_LOCK_FUNCTION(mu) : mu_(mu) { in ReaderMutexLock() function
559 explicit ReaderMutexLock(Mutex *mu, const Condition &cond) in ReaderMutexLock() function
565 ReaderMutexLock(const ReaderMutexLock&) = delete;
566 ReaderMutexLock(ReaderMutexLock&&) = delete;
567 ReaderMutexLock& operator=(const ReaderMutexLock&) = delete;
568 ReaderMutexLock& operator=(ReaderMutexLock&&) = delete;
570 ~ReaderMutexLock() ABSL_UNLOCK_FUNCTION() { this->mu_->ReaderUnlock(); } in ABSL_UNLOCK_FUNCTION()
Dmutex_test.cc116 absl::ReaderMutexLock l(&cxt->mu); in TestR20ms()
133 absl::ReaderMutexLock l(&cxt->mu); in TestRW()
720 absl::ReaderMutexLock lock(&mu, absl::Condition(cond_eq_10, &n)); in TEST()
/third_party/abseil-cpp/absl/synchronization/
Dmutex.h559 class ABSL_SCOPED_LOCKABLE ReaderMutexLock {
561 explicit ReaderMutexLock(Mutex *mu) ABSL_SHARED_LOCK_FUNCTION(mu) : mu_(mu) { in ReaderMutexLock() function
565 ReaderMutexLock(const ReaderMutexLock&) = delete;
566 ReaderMutexLock(ReaderMutexLock&&) = delete;
567 ReaderMutexLock& operator=(const ReaderMutexLock&) = delete;
568 ReaderMutexLock& operator=(ReaderMutexLock&&) = delete;
570 ~ReaderMutexLock() ABSL_UNLOCK_FUNCTION() { this->mu_->ReaderUnlock(); } in ABSL_UNLOCK_FUNCTION()
Dmutex_test.cc116 absl::ReaderMutexLock l(&cxt->mu); in TestR20ms()
133 absl::ReaderMutexLock l(&cxt->mu); in TestRW()
/third_party/protobuf/src/google/protobuf/stubs/
Dmutex.h126 typedef MutexLock ReaderMutexLock; typedef
174 using internal::ReaderMutexLock;
/third_party/protobuf/src/google/protobuf/
Dmessage.cc229 ReaderMutexLock lock(&mutex_); in GetPrototype()
Ddescriptor.cc918 ReaderMutexLock lock(pool->mutex_); in FindByNameHelper()
1036 ReaderMutexLock l(&unknown_enum_values_mu_); in FindEnumValueByNumberCreatingIfUnknown()
1486 ReaderMutexLock lock(mutex_); in FindExtensionByNumber()
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/
Dflag.cc493 absl::ReaderMutexLock l(DataGuard()); in ReadSequenceLockedData()