/external/openfst/src/include/fst/ |
H A D | lock.h | 56 class MutexLock { class in namespace:fst 58 MutexLock(Mutex *) {} function in class:fst::MutexLock 61 DISALLOW_COPY_AND_ASSIGN(MutexLock);
|
/external/chromium/sdch/open-vcdiff/src/ |
H A D | mutex.h | 169 // Catch the error of writing Mutex when intending MutexLock. 263 // MutexLock(mu) acquires mu when constructed and releases it when destroyed. 264 class MutexLock { class 266 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } function in class:MutexLock 267 ~MutexLock() { mu_->Unlock(); } 271 MutexLock(const MutexLock&); 272 void operator=(const MutexLock&); 298 // Catch bug where variable name is omitted, e.g. MutexLock (&mu); 299 #define MutexLock( macro [all...] |
/external/regex-re2/util/ |
H A D | mutex.h | 74 // Catch the error of writing Mutex when intending MutexLock. 148 // MutexLock(mu) acquires mu when constructed and releases it when destroyed. 149 class MutexLock { class in namespace:re2 151 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } function in class:re2::MutexLock 152 ~MutexLock() { mu_->Unlock(); } 156 MutexLock(const MutexLock&); 157 void operator=(const MutexLock&); 183 // Catch bug where variable name is omitted, e.g. MutexLock (&mu); 184 #define MutexLock( macro [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_rtl_mutex.cc | 72 void MutexLock(ThreadState *thr, uptr pc, uptr addr) { function in namespace:__tsan 74 DPrintf("#%d: MutexLock %zx\n", thr->tid, addr);
|
/external/valgrind/unittest/ |
H A D | thread_wrappers.h | 282 class MutexLock { // Scoped Mutex Locker/Unlocker class 284 MutexLock(Mutex *mu) function in class:MutexLock 288 ~MutexLock() { 300 MutexLock lock(&mu_);
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | compat.cpp | 135 MutexLock::MutexLock(Mutex *mutex) {} // ?OP? function in class:MutexLock
|
H A D | compat.h | 62 class MutexLock { class 64 MutexLock(Mutex *); 67 DISALLOW_EVIL_CONSTRUCTORS(MutexLock); 98 MutexLock l(register_lock_); 104 MutexLock l(register_lock_);
|
/external/protobuf/src/google/protobuf/stubs/ |
H A D | common.h | 1071 // MutexLock(mu) acquires mu when constructed and releases it when destroyed. 1072 class LIBPROTOBUF_EXPORT MutexLock { class in namespace:google::protobuf::internal 1074 explicit MutexLock(Mutex *mu) : mu_(mu) { this->mu_->Lock(); } function in class:google::protobuf::internal::MutexLock 1075 ~MutexLock() { this->mu_->Unlock(); } 1078 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MutexLock); 1082 typedef MutexLock ReaderMutexLock; 1083 typedef MutexLock WriterMutexLock; 1085 // MutexLockMaybe is like MutexLock, but is a no-op when mu is NULL. 1101 using internal::MutexLock;
|
/external/valgrind/main/drd/tests/ |
H A D | tsan_thread_wrappers_pthread.h | 261 class MutexLock { // Scoped Mutex Locker/Unlocker class 263 MutexLock(Mutex *mu) function in class:MutexLock 267 ~MutexLock() { 576 MutexLock lock(&mu_);
|
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
H A D | gtest-port.h | 86 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 438 // We cannot call it MutexLock directly as the ctor declaration would 439 // conflict with a macro named MutexLock, which is defined on some 446 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal
|
/external/protobuf/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 115 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 756 // We cannot call it MutexLock directly as the ctor declaration would 757 // conflict with a macro named MutexLock, which is defined on some 764 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal
|
/external/chromium/testing/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 134 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 1170 // are used in conjunction with class MutexLock: 1174 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the end 1246 // We cannot name this class MutexLock as the ctor declaration would 1247 // conflict with a macro named MutexLock, which is defined on some 1262 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal 1399 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal
|
/external/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 135 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 1204 // are used in conjunction with class MutexLock: 1208 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the end 1280 // We cannot name this class MutexLock as the ctor declaration would 1281 // conflict with a macro named MutexLock, which is defined on some 1296 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal 1433 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
H A D | gtest-port.h | 136 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 1191 // are used in conjunction with class MutexLock: 1195 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the end 1267 // We cannot name this class MutexLock as the ctor declaration would 1268 // conflict with a macro named MutexLock, which is defined on some 1283 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal 1420 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal
|
/external/clang/test/SemaCXX/ |
H A D | warn-thread-safety-analysis.cpp | 38 class __attribute__((scoped_lockable)) MutexLock { class 40 MutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu))); 41 ~MutexLock() __attribute__((unlock_function)); 1604 MutexLock mulock(&mu1); 1611 MutexLock mulock2a(&mu2); 1615 MutexLock mulock2b(&mu2); 1621 MutexLock mulock_a(&mu1); 1622 MutexLock mulock_b(&mu1); // \ 1627 MutexLock mulock1(&mu1), mulock2(&mu2); 2146 MutexLock loc [all...] |