Home
last modified time | relevance | path

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

/external/regex-re2/util/
Dmutex.h161 class ReaderMutexLock {
163 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } in ReaderMutexLock() function
164 ~ReaderMutexLock() { mu_->ReaderUnlock(); } in ~ReaderMutexLock()
168 ReaderMutexLock(const ReaderMutexLock&);
169 void operator=(const ReaderMutexLock&);
185 #define ReaderMutexLock(x) COMPILE_ASSERT(0, rmutex_lock_decl_missing_var_name) macro
/external/openfst/src/include/fst/
Dlock.h67 class ReaderMutexLock {
69 ReaderMutexLock(Mutex *) {} in ReaderMutexLock() function
72 DISALLOW_COPY_AND_ASSIGN(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/openfst/src/lib/
Dsymbol-table.cc84 ReaderMutexLock check_sum_lock(&check_sum_mutex_); in MaybeRecomputeCheckSum()
/external/protobuf/src/google/protobuf/
Dmessage.cc302 ReaderMutexLock lock(&mutex_); in GetPrototype()
/external/protobuf/src/google/protobuf/stubs/
Dcommon.h1135 typedef MutexLock ReaderMutexLock; typedef
1155 using internal::ReaderMutexLock;
/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/valgrind/drd/tests/
Dtsan_unittest.cpp56 #define ReaderLockScoped ReaderMutexLock