/external/rust/crates/grpcio-sys/grpc/third_party/re2/util/ |
D | mutex.h | 52 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/ |
D | mutex.h | 183 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/ |
D | warn-thread-safety-verbose.cpp | 9 void ReaderLock() SHARED_LOCK_FUNCTION(); 47 mu.ReaderLock(); in test5() 53 mu.ReaderLock(); in test6()
|
D | warn-thread-safety-analysis.cpp | 14 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 …]
|
D | warn-thread-safety-negative.cpp | 12 void ReaderLock() SHARED_LOCK_FUNCTION();
|
/external/clang/test/SemaCXX/ |
D | warn-thread-safety-verbose.cpp | 30 void ReaderLock() __attribute__((shared_lock_function)); 69 mu.ReaderLock(); in test5() 75 mu.ReaderLock(); in test6()
|
D | warn-thread-safety-analysis.cpp | 33 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 …]
|
D | warn-thread-safety-negative.cpp | 33 void ReaderLock() __attribute__((shared_lock_function));
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/ |
D | mutex_nonprod.cc | 209 void Mutex::ReaderLock() { Lock(); } in ReaderLock() function in absl::Mutex 241 ReaderLock(); in ReaderLockWhen()
|
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/ |
D | mutex_nonprod.cc | 204 void Mutex::ReaderLock() { Lock(); } in ReaderLock() function in absl::Mutex 236 ReaderLock(); in ReaderLockWhen()
|
/external/abseil-cpp/absl/synchronization/internal/ |
D | mutex_nonprod.cc | 204 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/ |
D | mutex_test.cc | 552 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();
|
D | mutex.h | 229 void ReaderLock() ABSL_SHARED_LOCK_FUNCTION(); 562 mu->ReaderLock(); in ReaderMutexLock()
|
/external/abseil-cpp/absl/synchronization/ |
D | mutex_test.cc | 551 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();
|
D | mutex.h | 229 void ReaderLock() ABSL_SHARED_LOCK_FUNCTION(); 563 mu->ReaderLock(); in ReaderMutexLock()
|
/external/webrtc/third_party/abseil-cpp/absl/synchronization/ |
D | mutex_test.cc | 551 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();
|
D | mutex.h | 229 void ReaderLock() ABSL_SHARED_LOCK_FUNCTION(); 563 mu->ReaderLock(); in ReaderMutexLock()
|
/external/libtextclassifier/abseil-cpp/absl/synchronization/ |
D | mutex_test.cc | 552 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();
|
D | mutex.h | 229 void ReaderLock() ABSL_SHARED_LOCK_FUNCTION(); 562 mu->ReaderLock(); in ReaderMutexLock()
|
/external/openscreen/third_party/abseil/src/absl/synchronization/ |
D | mutex_test.cc | 552 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();
|
D | mutex.h | 221 void ReaderLock() ABSL_SHARED_LOCK_FUNCTION(); 558 mu->ReaderLock(); in ReaderMutexLock()
|
/external/angle/third_party/abseil-cpp/absl/synchronization/ |
D | mutex_test.cc | 552 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();
|
D | mutex.h | 221 void ReaderLock() ABSL_SHARED_LOCK_FUNCTION(); 556 mu->ReaderLock(); in ReaderMutexLock()
|
/external/llvm-project/clang/test/PCH/ |
D | thread-safety-attrs.cpp | 36 void ReaderLock() __attribute__((shared_lock_function));
|
/external/clang/test/PCH/ |
D | thread-safety-attrs.cpp | 36 void ReaderLock() __attribute__((shared_lock_function));
|