Home
last modified time | relevance | path

Searched refs:ReaderLock (Results 1 – 25 of 49) sorted by relevance

12

/external/rust/crates/grpcio-sys/grpc/third_party/re2/util/
Dmutex.h52 inline void ReaderLock(); // Block until free or shared then acquire a share
73 void Mutex::ReaderLock() { AcquireSRWLockShared(&mutex_); } in ReaderLock() function
87 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock(&mutex_)); } in ReaderLock() function
98 void Mutex::ReaderLock() { Lock(); } // C++11 doesn't have std::shared_mutex. in ReaderLock() function
121 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } in ReaderMutexLock()
/external/gflags/src/
Dmutex.h183 inline void ReaderLock(); // Block until free or shared then acquire a share
227 void Mutex::ReaderLock() { assert(++mutex_ > 0); } in ReaderLock() function
247 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks in ReaderLock() function
271 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock); } in ReaderLock() function
296 void Mutex::ReaderLock() { Lock(); } in ReaderLock() function
320 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } in ReaderMutexLock()
/external/llvm-project/clang/test/SemaCXX/
Dwarn-thread-safety-verbose.cpp9 void ReaderLock() SHARED_LOCK_FUNCTION();
47 mu.ReaderLock(); in test5()
53 mu.ReaderLock(); in test6()
Dwarn-thread-safety-analysis.cpp14 void ReaderLock() SHARED_LOCK_FUNCTION();
637 sls_mu.ReaderLock(); // \ in shared_fun_1()
658 sls_mu.ReaderLock(); in shared_fun_4()
660 sls_mu.ReaderLock(); in shared_fun_4()
670 sls_mu.ReaderLock(); // \ in shared_fun_8()
679 sls_mu.ReaderLock(); in shared_fun_9()
690 sls_mu.ReaderLock(); in shared_fun_11()
700 sls_mu.ReaderLock(); // \ in shared_bad_0()
711 sls_mu.ReaderLock(); // \ in shared_bad_1()
719 sls_mu.ReaderLock(); // \ in shared_bad_2()
[all …]
Dwarn-thread-safety-negative.cpp12 void ReaderLock() SHARED_LOCK_FUNCTION();
/external/clang/test/SemaCXX/
Dwarn-thread-safety-verbose.cpp30 void ReaderLock() __attribute__((shared_lock_function));
69 mu.ReaderLock(); in test5()
75 mu.ReaderLock(); in test6()
Dwarn-thread-safety-analysis.cpp33 void ReaderLock() __attribute__((shared_lock_function));
652 sls_mu.ReaderLock(); // \ in shared_fun_1()
673 sls_mu.ReaderLock(); in shared_fun_4()
675 sls_mu.ReaderLock(); in shared_fun_4()
685 sls_mu.ReaderLock(); // \ in shared_fun_8()
695 sls_mu.ReaderLock(); // \ in shared_bad_0()
706 sls_mu.ReaderLock(); // \ in shared_bad_1()
714 sls_mu.ReaderLock(); // \ in shared_bad_2()
756 aa_mu.ReaderLock(); in es_fun_2()
774 sls_mu2.ReaderLock(); in es_fun_5()
[all …]
Dwarn-thread-safety-negative.cpp33 void ReaderLock() __attribute__((shared_lock_function));
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc209 void Mutex::ReaderLock() { Lock(); } in ReaderLock() function in absl::Mutex
241 ReaderLock(); in ReaderLockWhen()
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc204 void Mutex::ReaderLock() { Lock(); } in ReaderLock() function in absl::Mutex
236 ReaderLock(); in ReaderLockWhen()
/external/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc204 void Mutex::ReaderLock() { Lock(); } in ReaderLock() function in absl::Mutex
236 ReaderLock(); in ReaderLockWhen()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/
Dmutex_test.cc552 mu.ReaderLock(); in Waiter1()
635 x->mu.ReaderLock(); in AcquireAsReader()
761 x->mu.ReaderLock(); in GetReadLock()
793 x.mu.ReaderLock(); in TEST()
833 mu[j].ReaderLock();
855 mu->ReaderLock();
1545 logged_mutex.ReaderLock();
Dmutex.h229 void ReaderLock() ABSL_SHARED_LOCK_FUNCTION();
562 mu->ReaderLock(); in ReaderMutexLock()
/external/abseil-cpp/absl/synchronization/
Dmutex_test.cc551 mu.ReaderLock(); in Waiter1()
634 x->mu.ReaderLock(); in AcquireAsReader()
760 x->mu.ReaderLock(); in GetReadLock()
792 x.mu.ReaderLock(); in TEST()
832 mu[j].ReaderLock();
854 mu->ReaderLock();
1544 logged_mutex.ReaderLock();
Dmutex.h229 void ReaderLock() ABSL_SHARED_LOCK_FUNCTION();
563 mu->ReaderLock(); in ReaderMutexLock()
/external/webrtc/third_party/abseil-cpp/absl/synchronization/
Dmutex_test.cc551 mu.ReaderLock(); in Waiter1()
634 x->mu.ReaderLock(); in AcquireAsReader()
760 x->mu.ReaderLock(); in GetReadLock()
792 x.mu.ReaderLock(); in TEST()
832 mu[j].ReaderLock();
854 mu->ReaderLock();
1544 logged_mutex.ReaderLock();
Dmutex.h229 void ReaderLock() ABSL_SHARED_LOCK_FUNCTION();
563 mu->ReaderLock(); in ReaderMutexLock()
/external/libtextclassifier/abseil-cpp/absl/synchronization/
Dmutex_test.cc552 mu.ReaderLock(); in Waiter1()
635 x->mu.ReaderLock(); in AcquireAsReader()
761 x->mu.ReaderLock(); in GetReadLock()
793 x.mu.ReaderLock(); in TEST()
833 mu[j].ReaderLock();
855 mu->ReaderLock();
1545 logged_mutex.ReaderLock();
Dmutex.h229 void ReaderLock() ABSL_SHARED_LOCK_FUNCTION();
562 mu->ReaderLock(); in ReaderMutexLock()
/external/openscreen/third_party/abseil/src/absl/synchronization/
Dmutex_test.cc552 mu.ReaderLock(); in Waiter1()
635 x->mu.ReaderLock(); in AcquireAsReader()
795 x->mu.ReaderLock(); in GetReadLock()
827 x.mu.ReaderLock(); in TEST()
867 mu[j].ReaderLock();
889 mu->ReaderLock();
1575 logged_mutex.ReaderLock();
Dmutex.h221 void ReaderLock() ABSL_SHARED_LOCK_FUNCTION();
558 mu->ReaderLock(); in ReaderMutexLock()
/external/angle/third_party/abseil-cpp/absl/synchronization/
Dmutex_test.cc552 mu.ReaderLock(); in Waiter1()
635 x->mu.ReaderLock(); in AcquireAsReader()
795 x->mu.ReaderLock(); in GetReadLock()
827 x.mu.ReaderLock(); in TEST()
867 mu[j].ReaderLock();
889 mu->ReaderLock();
1575 logged_mutex.ReaderLock();
Dmutex.h221 void ReaderLock() ABSL_SHARED_LOCK_FUNCTION();
556 mu->ReaderLock(); in ReaderMutexLock()
/external/llvm-project/clang/test/PCH/
Dthread-safety-attrs.cpp36 void ReaderLock() __attribute__((shared_lock_function));
/external/clang/test/PCH/
Dthread-safety-attrs.cpp36 void ReaderLock() __attribute__((shared_lock_function));

12