Home
last modified time | relevance | path

Searched refs:WriterMutexLock (Results 1 – 8 of 8) sorted by relevance

/third_party/re2/util/
Dmutex.h113 class WriterMutexLock {
115 explicit WriterMutexLock(Mutex *mu) : mu_(mu) { mu_->WriterLock(); } in WriterMutexLock() function
116 ~WriterMutexLock() { mu_->WriterUnlock(); } in ~WriterMutexLock()
120 WriterMutexLock(const WriterMutexLock&) = delete;
121 WriterMutexLock& operator=(const WriterMutexLock&) = delete;
127 #define WriterMutexLock(x) static_assert(false, "WriterMutexLock declaration missing variable name") macro
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dmutex.h580 class ABSL_SCOPED_LOCKABLE WriterMutexLock {
582 explicit WriterMutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in WriterMutexLock() function
587 explicit WriterMutexLock(Mutex *mu, const Condition &cond) in WriterMutexLock() function
593 WriterMutexLock(const WriterMutexLock&) = delete;
594 WriterMutexLock(WriterMutexLock&&) = delete;
595 WriterMutexLock& operator=(const WriterMutexLock&) = delete;
596 WriterMutexLock& operator=(WriterMutexLock&&) = delete;
598 ~WriterMutexLock() ABSL_UNLOCK_FUNCTION() { this->mu_->WriterUnlock(); } in ABSL_UNLOCK_FUNCTION()
Dmutex_test.cc125 absl::WriterMutexLock l(&cxt->mu); in TestRW()
727 absl::WriterMutexLock lock(&mu, absl::Condition(cond_lt_10, &n)); in TEST()
/third_party/abseil-cpp/absl/synchronization/
Dmutex.h580 class ABSL_SCOPED_LOCKABLE WriterMutexLock {
582 explicit WriterMutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in WriterMutexLock() function
587 WriterMutexLock(const WriterMutexLock&) = delete;
588 WriterMutexLock(WriterMutexLock&&) = delete;
589 WriterMutexLock& operator=(const WriterMutexLock&) = delete;
590 WriterMutexLock& operator=(WriterMutexLock&&) = delete;
592 ~WriterMutexLock() ABSL_UNLOCK_FUNCTION() { this->mu_->WriterUnlock(); } in ABSL_UNLOCK_FUNCTION()
Dmutex_test.cc125 absl::WriterMutexLock l(&cxt->mu); in TestRW()
/third_party/protobuf/src/google/protobuf/stubs/
Dmutex.h127 typedef MutexLock WriterMutexLock; typedef
175 using internal::WriterMutexLock;
/third_party/protobuf/src/google/protobuf/
Dmessage.cc248 WriterMutexLock lock(&mutex_); in GetPrototype()
Ddescriptor.cc1046 WriterMutexLock l(&unknown_enum_values_mu_); in FindEnumValueByNumberCreatingIfUnknown()