Searched refs:ReaderLock (Results 1 - 12 of 12) sorted by relevance

/external/ceres-solver/internal/ceres/
H A Dmutex.h167 inline void ReaderLock(); // Block until free or shared then acquire a share
211 void Mutex::ReaderLock() { assert(++mutex_ > 0); } function in class:ceres::internal::Mutex
224 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks function in class:ceres::internal::Mutex
245 void Mutex::ReaderLock() { CERES_SAFE_PTHREAD(pthread_rwlock_rdlock); } function in class:ceres::internal::Mutex
266 void Mutex::ReaderLock() { Lock(); } function in class:ceres::internal::Mutex
298 explicit CeresReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
/external/chromium_org/third_party/re2/util/
H A Dmutex.h69 inline void ReaderLock(); // Block until free or shared then acquire a share
104 void Mutex::ReaderLock() { assert(++mutex_ > 0); } function in class:re2::Mutex
117 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock(&mutex_)); } function in class:re2::Mutex
132 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks function in class:re2::Mutex
143 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks function in class:re2::Mutex
167 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
/external/regex-re2/util/
H A Dmutex.h65 inline void ReaderLock(); // Block until free or shared then acquire a share
100 void Mutex::ReaderLock() { assert(++mutex_ > 0); } function in class:re2::Mutex
113 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock(&mutex_)); } function in class:re2::Mutex
128 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks function in class:re2::Mutex
139 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks function in class:re2::Mutex
163 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dsimple_mutex.h171 inline void ReaderLock(); // Block until free or shared then acquire a share
213 void Mutex::ReaderLock() { assert(++mutex_ > 0); } function in class:MUTEX_NAMESPACE::Mutex
231 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks function in class:MUTEX_NAMESPACE::Mutex
253 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock); } function in class:MUTEX_NAMESPACE::Mutex
276 void Mutex::ReaderLock() { Lock(); } function in class:MUTEX_NAMESPACE::Mutex
300 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dsimple_mutex.h171 inline void ReaderLock(); // Block until free or shared then acquire a share
213 void Mutex::ReaderLock() { assert(++mutex_ > 0); } function in class:MUTEX_NAMESPACE::Mutex
231 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks function in class:MUTEX_NAMESPACE::Mutex
253 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock); } function in class:MUTEX_NAMESPACE::Mutex
276 void Mutex::ReaderLock() { Lock(); } function in class:MUTEX_NAMESPACE::Mutex
300 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
/external/clang/test/SemaCXX/
H A Dwarn-thread-safety-analysis.cpp33 void ReaderLock() __attribute__((shared_lock_function));
610 sls_mu.ReaderLock(); // \
631 sls_mu.ReaderLock();
633 sls_mu.ReaderLock();
643 sls_mu.ReaderLock(); // \
653 sls_mu.ReaderLock(); // \
664 sls_mu.ReaderLock(); // \
672 sls_mu.ReaderLock(); // \
714 aa_mu.ReaderLock();
732 sls_mu2.ReaderLock();
[all...]
H A Dwarn-thread-safety-parsing.cpp30 void ReaderLock() SHARED_LOCK_FUNCTION();
/external/valgrind/main/drd/tests/
H A Dtsan_thread_wrappers_pthread.h181 /// so the methods like ReaderLock() aren't really reader locks.
210 void ReaderLock() { Lock(); } function in class:Mutex
296 // ReaderLock method of Mutex to be the real rw-lock.
304 void ReaderLock() { CHECK(0 == pthread_rwlock_rdlock(&mu_)); } function in class:RWLock
316 mu_->ReaderLock();
H A Dtsan_unittest.cpp1217 // test23: TN. TryLock, ReaderLock, ReaderTryLock. {{{1
1219 // Correct synchronization with TryLock, Lock, ReaderTryLock, ReaderLock.
1250 MU.ReaderLock();
5782 ANNOTATE_EXPECT_RACE_FOR_TSAN(&VAR1, "test122. TP. ReaderLock-ed while writing");
5783 ANNOTATE_EXPECT_RACE_FOR_TSAN(&VAR2, "test122. TP. ReaderLock-ed while writing");
/external/clang/test/PCH/
H A Dthread-safety-attrs.cpp36 void ReaderLock() __attribute__((shared_lock_function));
/external/chromium_org/third_party/re2/re2/
H A Ddfa.cc1121 mu_->ReaderLock();
/external/regex-re2/re2/
H A Ddfa.cc1119 mu_->ReaderLock();

Completed in 665 milliseconds