/external/chromium_org/third_party/re2/util/ |
mutex.h | 69 inline void ReaderLock(); // Block until free or shared then acquire a share 104 void Mutex::ReaderLock() { assert(++mutex_ > 0); } 117 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock(&mutex_)); } 132 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks 143 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks 167 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
|
/external/regex-re2/util/ |
mutex.h | 65 inline void ReaderLock(); // Block until free or shared then acquire a share 100 void Mutex::ReaderLock() { assert(++mutex_ > 0); } 113 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock(&mutex_)); } 128 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks 139 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks 163 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
|
/external/valgrind/unittest/ |
thread_wrappers_pthread.h | 140 /// so the methods like ReaderLock() aren't really reader locks. 169 void ReaderLock() { Lock(); } 237 // ReaderLock method of Mutex to be the real rw-lock. 245 void ReaderLock() { CHECK(0 == pthread_rwlock_rdlock(&mu_)); } 269 mu_->ReaderLock();
|
posix_tests.cc | 432 ANNOTATE_EXPECT_RACE_FOR_TSAN(&VAR1, "test122. TP. ReaderLock-ed while writing"); 433 ANNOTATE_EXPECT_RACE_FOR_TSAN(&VAR2, "test122. TP. ReaderLock-ed while writing"); 1136 mu.ReaderLock(); 1143 mu.ReaderLock();
|
thread_wrappers_win.h | 96 void ReaderLock() { Lock(); }
|
racecheck_unittest.cc | 911 // test23: TN. TryLock, ReaderLock, ReaderTryLock. {{{1 913 // Correct synchronization with TryLock, Lock, ReaderTryLock, ReaderLock. 944 MU.ReaderLock(); [all...] |
/external/ceres-solver/internal/ceres/ |
mutex.h | 163 inline void ReaderLock(); // Block until free or shared then acquire a share 207 void Mutex::ReaderLock() { assert(++mutex_ > 0); } 220 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks 241 void Mutex::ReaderLock() { CERES_SAFE_PTHREAD(pthread_rwlock_rdlock); } 262 void Mutex::ReaderLock() { Lock(); } 294 explicit CeresReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
|
/external/chromium/sdch/open-vcdiff/src/ |
mutex.h | 155 inline void ReaderLock(); // Block until free or shared then acquire a share 197 void Mutex::ReaderLock() { assert(++mutex_ > 0); } 210 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks 232 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock); } 254 void Mutex::ReaderLock() { Lock(); } 278 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
simple_mutex.h | 171 inline void ReaderLock(); // Block until free or shared then acquire a share 213 void Mutex::ReaderLock() { assert(++mutex_ > 0); } 231 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks 253 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock); } 276 void Mutex::ReaderLock() { Lock(); } 300 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
|
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
simple_mutex.h | 171 inline void ReaderLock(); // Block until free or shared then acquire a share 213 void Mutex::ReaderLock() { assert(++mutex_ > 0); } 231 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks 253 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock); } 276 void Mutex::ReaderLock() { Lock(); } 300 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
|
/external/open-vcdiff/gflags/src/ |
mutex.h | 181 inline void ReaderLock(); // Block until free or shared then acquire a share 225 void Mutex::ReaderLock() { assert(++mutex_ > 0); } 245 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks 269 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock); } 294 void Mutex::ReaderLock() { Lock(); } 318 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
|
/external/valgrind/main/drd/tests/ |
tsan_thread_wrappers_pthread.h | 181 /// so the methods like ReaderLock() aren't really reader locks. 210 void ReaderLock() { Lock(); } 296 // ReaderLock method of Mutex to be the real rw-lock. 304 void ReaderLock() { CHECK(0 == pthread_rwlock_rdlock(&mu_)); } 316 mu_->ReaderLock();
|
tsan_unittest.cpp | 1217 // test23: TN. TryLock, ReaderLock, ReaderTryLock. {{{1 1219 // Correct synchronization with TryLock, Lock, ReaderTryLock, ReaderLock. 1250 MU.ReaderLock(); [all...] |
/external/clang/test/SemaCXX/ |
warn-thread-safety-analysis.cpp | 33 void ReaderLock() __attribute__((shared_lock_function)); 609 sls_mu.ReaderLock(); // \ 630 sls_mu.ReaderLock(); 632 sls_mu.ReaderLock(); 642 sls_mu.ReaderLock(); // \ 652 sls_mu.ReaderLock(); // \ 663 sls_mu.ReaderLock(); // \ 671 sls_mu.ReaderLock(); // \ 713 aa_mu.ReaderLock(); 731 sls_mu2.ReaderLock(); 3672 void Foo::readerlock() { mu1_.ReaderLock(); mu2_.ReaderLock(); } function in class:MultipleAttributeTest::Foo [all...] |
warn-thread-safety-parsing.cpp | 30 void ReaderLock() SHARED_LOCK_FUNCTION(); [all...] |
/external/clang/test/PCH/ |
thread-safety-attrs.cpp | 36 void ReaderLock() __attribute__((shared_lock_function));
|
/art/runtime/base/ |
mutex.h | 245 void ReaderLock(Thread* self) SHARED_LOCK_FUNCTION() { SharedLock(self); }
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
ReentrantReadWriteLock.java | 191 private final ReentrantReadWriteLock.ReadLock readerLock; 213 readerLock = new ReadLock(this); 218 public ReentrantReadWriteLock.ReadLock readLock() { return readerLock; } [all...] |
/external/chromium_org/third_party/re2/re2/ |
dfa.cc | [all...] |
/external/regex-re2/re2/ |
dfa.cc | [all...] |