Home
last modified time | relevance | path

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

/external/chromium/sdch/open-vcdiff/src/
Dmutex.h276 class ReaderMutexLock {
278 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } in ReaderMutexLock() function
279 ~ReaderMutexLock() { mu_->ReaderUnlock(); } in ~ReaderMutexLock()
283 ReaderMutexLock(const ReaderMutexLock&);
284 void operator=(const ReaderMutexLock&);
300 #define ReaderMutexLock(x) COMPILE_ASSERT(0, rmutex_lock_decl_missing_var_name) macro
/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/open-vcdiff/gflags/src/
Dmutex.h316 class ReaderMutexLock {
318 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } in ReaderMutexLock() function
319 ~ReaderMutexLock() { mu_->ReaderUnlock(); } in ~ReaderMutexLock()
323 ReaderMutexLock(const ReaderMutexLock&);
324 void operator=(const ReaderMutexLock&);
340 #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/valgrind/unittest/
Dtest_utils.h46 #define ReaderLockScoped ReaderMutexLock
/external/protobuf/src/google/protobuf/
Dmessage.cc262 ReaderMutexLock lock(&mutex_); in GetPrototype()
/external/openfst/src/lib/
Dsymbol-table.cc84 ReaderMutexLock check_sum_lock(&check_sum_mutex_); in MaybeRecomputeCheckSum()
/external/protobuf/src/google/protobuf/stubs/
Dcommon.h1082 typedef MutexLock ReaderMutexLock; typedef
1102 using internal::ReaderMutexLock;
/external/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp44 class __attribute__((scoped_lockable)) ReaderMutexLock { class
46 ReaderMutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu)));
47 ~ReaderMutexLock() __attribute__((unlock_function));
1603 ReaderMutexLock mulock1(&mu1); in foo2()
2649 ReaderMutexLock lock(getMutexPtr().get()); in test()
/external/valgrind/main/drd/tests/
Dtsan_unittest.cpp56 #define ReaderLockScoped ReaderMutexLock