Searched defs:ReaderLock (Results 1 - 10 of 10) sorted by relevance

/external/ceres-solver/internal/ceres/
H A Dmutex.h163 inline void ReaderLock(); // Block until free or shared then acquire a share
207 void Mutex::ReaderLock() { assert(++mutex_ > 0); } function in class:ceres::internal::Mutex
220 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks function in class:ceres::internal::Mutex
241 void Mutex::ReaderLock() { CERES_SAFE_PTHREAD(pthread_rwlock_rdlock); } function in class:ceres::internal::Mutex
262 void Mutex::ReaderLock() { Lock(); } function in class:ceres::internal::Mutex
294 explicit CeresReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
/external/chromium/sdch/open-vcdiff/src/
H A Dmutex.h155 inline void ReaderLock(); // Block until free or shared then acquire a share
197 void Mutex::ReaderLock() { assert(++mutex_ > 0); } function in class:Mutex
210 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks function in class:Mutex
232 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock); } function in class:Mutex
254 void Mutex::ReaderLock() { Lock(); } function in class:Mutex
278 explicit ReaderMutexLock(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/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/open-vcdiff/gflags/src/
H A Dmutex.h181 inline void ReaderLock(); // Block until free or shared then acquire a share
225 void Mutex::ReaderLock() { assert(++mutex_ > 0); } function in class:MUTEX_NAMESPACE::Mutex
245 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks function in class:MUTEX_NAMESPACE::Mutex
269 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock); } function in class:MUTEX_NAMESPACE::Mutex
294 void Mutex::ReaderLock() { Lock(); } function in class:MUTEX_NAMESPACE::Mutex
318 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/valgrind/unittest/
H A Dthread_wrappers_win.h96 void ReaderLock() { Lock(); } function in class:Mutex
H A Dthread_wrappers_pthread.h140 /// so the methods like ReaderLock() aren't really reader locks.
169 void ReaderLock() { Lock(); } function in class:Mutex
237 // ReaderLock method of Mutex to be the real rw-lock.
245 void ReaderLock() { CHECK(0 == pthread_rwlock_rdlock(&mu_)); } function in class:RWLock
269 mu_->ReaderLock();
/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();

Completed in 1692 milliseconds