Home
last modified time | relevance | path

Searched refs:ReaderMutexLock (Results 1 – 7 of 7) sorted by relevance

/external/gflags/src/
Dmutex.h318 class ReaderMutexLock {
320 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } in ReaderMutexLock() function
321 ~ReaderMutexLock() { mu_->ReaderUnlock(); } in ~ReaderMutexLock()
325 ReaderMutexLock(const ReaderMutexLock&);
326 void operator=(const ReaderMutexLock&);
342 #define ReaderMutexLock(x) COMPILE_ASSERT(0, rmutex_lock_decl_missing_var_name) macro
/external/protobuf/src/google/protobuf/stubs/
Dmutex.h77 #undef ReaderMutexLock
92 typedef MutexLock ReaderMutexLock; typedef
140 using internal::ReaderMutexLock;
/external/clang/test/PCH/
Dthread-safety-attrs.cpp49 class __attribute__((scoped_lockable)) ReaderMutexLock { class
51 ReaderMutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu)));
52 ~ReaderMutexLock() __attribute__((unlock_function));
/external/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp53 class SCOPED_LOCKABLE ReaderMutexLock { class
55 ReaderMutexLock(Mutex *mu) SHARED_LOCK_FUNCTION(mu);
56 ReaderMutexLock(Mutex *mu, bool adopt) SHARED_LOCKS_REQUIRED(mu);
57 ~ReaderMutexLock() UNLOCK_FUNCTION();
1651 ReaderMutexLock mulock1(&mu1); in foo2()
2712 ReaderMutexLock lock(getMutexPtr().get()); in test()
5076 ReaderMutexLock slock(&mu, true); in test2()
5086 ReaderMutexLock slock(&mu, true); in test4()
/external/protobuf/src/google/protobuf/
Dmessage.cc355 ReaderMutexLock lock(&mutex_); in GetPrototype()
Ddescriptor.cc857 ReaderMutexLock l(&unknown_enum_values_mu_); in FindEnumValueByNumberCreatingIfUnknown()
/external/valgrind/drd/tests/
Dtsan_unittest.cpp56 #define ReaderLockScoped ReaderMutexLock