Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/re2/util/
Dmutex.h130 class WriterMutexLock {
132 explicit WriterMutexLock(Mutex *mu) : mu_(mu) { mu_->WriterLock(); } in WriterMutexLock() function
133 ~WriterMutexLock() { mu_->WriterUnlock(); } in ~WriterMutexLock()
137 WriterMutexLock(const WriterMutexLock&) = delete;
138 WriterMutexLock& operator=(const WriterMutexLock&) = delete;
144 #define WriterMutexLock(x) static_assert(false, "WriterMutexLock declaration missing variable name") macro
/external/gflags/src/
Dmutex.h329 class WriterMutexLock {
331 explicit WriterMutexLock(Mutex *mu) : mu_(mu) { mu_->WriterLock(); } in WriterMutexLock() function
332 ~WriterMutexLock() { mu_->WriterUnlock(); } in ~WriterMutexLock()
336 WriterMutexLock(const WriterMutexLock&);
337 void operator=(const WriterMutexLock&);
343 #define WriterMutexLock(x) COMPILE_ASSERT(0, wmutex_lock_decl_missing_var_name) macro
/external/angle/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 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()
/external/openscreen/third_party/abseil/src/absl/synchronization/
Dmutex.h582 class ABSL_SCOPED_LOCKABLE WriterMutexLock {
584 explicit WriterMutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in WriterMutexLock() function
589 explicit WriterMutexLock(Mutex *mu, const Condition &cond) in WriterMutexLock() function
595 WriterMutexLock(const WriterMutexLock&) = delete;
596 WriterMutexLock(WriterMutexLock&&) = delete;
597 WriterMutexLock& operator=(const WriterMutexLock&) = delete;
598 WriterMutexLock& operator=(WriterMutexLock&&) = delete;
600 ~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()
/external/libtextclassifier/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()
/external/rust/crates/grpcio-sys/grpc/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()
/external/abseil-cpp/absl/synchronization/
Dmutex.h581 class ABSL_SCOPED_LOCKABLE WriterMutexLock {
583 explicit WriterMutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in WriterMutexLock() function
588 WriterMutexLock(const WriterMutexLock&) = delete;
589 WriterMutexLock(WriterMutexLock&&) = delete;
590 WriterMutexLock& operator=(const WriterMutexLock&) = delete;
591 WriterMutexLock& operator=(WriterMutexLock&&) = delete;
593 ~WriterMutexLock() ABSL_UNLOCK_FUNCTION() { this->mu_->WriterUnlock(); } in ABSL_UNLOCK_FUNCTION()
Dmutex_test.cc124 absl::WriterMutexLock l(&cxt->mu); in TestRW()
/external/webrtc/third_party/abseil-cpp/absl/synchronization/
Dmutex.h581 class ABSL_SCOPED_LOCKABLE WriterMutexLock {
583 explicit WriterMutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in WriterMutexLock() function
588 WriterMutexLock(const WriterMutexLock&) = delete;
589 WriterMutexLock(WriterMutexLock&&) = delete;
590 WriterMutexLock& operator=(const WriterMutexLock&) = delete;
591 WriterMutexLock& operator=(WriterMutexLock&&) = delete;
593 ~WriterMutexLock() ABSL_UNLOCK_FUNCTION() { this->mu_->WriterUnlock(); } in ABSL_UNLOCK_FUNCTION()
Dmutex_test.cc124 absl::WriterMutexLock l(&cxt->mu); in TestRW()
/external/protobuf/src/google/protobuf/stubs/
Dmutex.h127 typedef MutexLock WriterMutexLock; typedef
175 using internal::WriterMutexLock;
/external/tensorflow/tensorflow/compiler/jit/
Dxla_activity_listener.cc95 absl::WriterMutexLock writer_lock(&listener_list->mutex); in RegisterXlaActivityListener()
/external/protobuf/src/google/protobuf/
Dmessage.cc634 WriterMutexLock lock(&mutex_); in GetPrototype()
Ddescriptor.cc1057 WriterMutexLock l(&unknown_enum_values_mu_); in FindEnumValueByNumberCreatingIfUnknown()