Home
last modified time | relevance | path

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

/external/ceres-solver/internal/ceres/
Dmutex.h167 inline void ReaderLock(); // Block until free or shared then acquire a share
211 void Mutex::ReaderLock() { assert(++mutex_ > 0); } in ReaderLock() function
224 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks in ReaderLock() function
245 void Mutex::ReaderLock() { CERES_SAFE_PTHREAD(pthread_rwlock_rdlock); } in ReaderLock() function
266 void Mutex::ReaderLock() { Lock(); } in ReaderLock() function
298 explicit CeresReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } in CeresReaderMutexLock()
/external/chromium_org/third_party/re2/util/
Dmutex.h69 inline void ReaderLock(); // Block until free or shared then acquire a share
104 void Mutex::ReaderLock() { assert(++mutex_ > 0); } in ReaderLock() function
117 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock(&mutex_)); } in ReaderLock() function
132 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks in ReaderLock() function
143 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks in ReaderLock() function
167 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } in ReaderMutexLock()
/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/chromium_org/third_party/tcmalloc/chromium/src/base/
Dsimple_mutex.h171 inline void ReaderLock(); // Block until free or shared then acquire a share
213 void Mutex::ReaderLock() { assert(++mutex_ > 0); } in ReaderLock() function
231 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks in ReaderLock() function
253 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock); } in ReaderLock() function
276 void Mutex::ReaderLock() { Lock(); } in ReaderLock() function
300 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } in ReaderMutexLock()
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Dsimple_mutex.h171 inline void ReaderLock(); // Block until free or shared then acquire a share
213 void Mutex::ReaderLock() { assert(++mutex_ > 0); } in ReaderLock() function
231 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks in ReaderLock() function
253 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock); } in ReaderLock() function
276 void Mutex::ReaderLock() { Lock(); } in ReaderLock() function
300 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } in ReaderMutexLock()
/external/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp33 void ReaderLock() __attribute__((shared_lock_function));
610 sls_mu.ReaderLock(); // \ in shared_fun_1()
631 sls_mu.ReaderLock(); in shared_fun_4()
633 sls_mu.ReaderLock(); in shared_fun_4()
643 sls_mu.ReaderLock(); // \ in shared_fun_8()
653 sls_mu.ReaderLock(); // \ in shared_bad_0()
664 sls_mu.ReaderLock(); // \ in shared_bad_1()
672 sls_mu.ReaderLock(); // \ in shared_bad_2()
714 aa_mu.ReaderLock(); in es_fun_2()
732 sls_mu2.ReaderLock(); in es_fun_5()
[all …]
Dwarn-thread-safety-parsing.cpp30 void ReaderLock() SHARED_LOCK_FUNCTION();
/external/valgrind/main/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.cpp1250 MU.ReaderLock(); in Worker_ReaderLock()
/external/clang/test/PCH/
Dthread-safety-attrs.cpp36 void ReaderLock() __attribute__((shared_lock_function));
/external/chromium_org/third_party/re2/re2/
Ddfa.cc1121 mu_->ReaderLock(); in RWLocker()
/external/regex-re2/re2/
Ddfa.cc1119 mu_->ReaderLock(); in RWLocker()
/external/clang/docs/
DThreadSafetyAnalysis.rst784 void ReaderLock() SHARED_LOCK_FUNCTION();