Home
last modified time | relevance | path

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

/external/regex-re2/util/
Dmutex.h65 inline void ReaderLock(); // Block until free or shared then acquire a share
100 void Mutex::ReaderLock() { assert(++mutex_ > 0); } in ReaderLock() function
113 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock(&mutex_)); } in ReaderLock() function
128 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks in ReaderLock() function
139 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks in ReaderLock() function
163 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } in ReaderMutexLock()
/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));
Dwarn-thread-safety-parsing.cpp30 void ReaderLock() SHARED_LOCK_FUNCTION();
/external/valgrind/drd/tests/
Dtsan_thread_wrappers_pthread.h210 void ReaderLock() { Lock(); } in ReaderLock() function
304 void ReaderLock() { CHECK(0 == pthread_rwlock_rdlock(&mu_)); } in ReaderLock() function
316 mu_->ReaderLock(); in ReaderLockScoped()
Dtsan_unittest.cpp1254 MU.ReaderLock(); in Worker_ReaderLock()
/external/clang/test/PCH/
Dthread-safety-attrs.cpp36 void ReaderLock() __attribute__((shared_lock_function));
/external/regex-re2/re2/
Ddfa.cc1119 mu_->ReaderLock(); in RWLocker()
/external/clang/docs/
DThreadSafetyAnalysis.rst841 void ReaderLock() ACQUIRE_SHARED();