/external/chromium_org/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/ |
mutex.h | 15 class MutexLock { 17 explicit MutexLock(Mutex* m) : auto_lock_(*m) {} 21 DISALLOW_COPY_AND_ASSIGN(MutexLock);
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
mutexlock.h | 14 // the destructor of the MutexLock object is invoked. 19 // MutexLock l(&mu_); // mu_ is an instance variable 23 class SCOPED_LOCKABLE MutexLock { 25 explicit MutexLock(port::Mutex *mu) EXCLUSIVE_LOCK_FUNCTION(mu) 29 ~MutexLock() UNLOCK_FUNCTION() { this->mu_->Unlock(); } 34 MutexLock(const MutexLock&); 35 void operator=(const MutexLock&);
|
/external/chromium_org/mojo/public/cpp/utility/ |
mutex.h | 54 class MutexLock { 56 explicit MutexLock(Mutex* mutex) : mutex_(mutex) { mutex_->Lock(); } 57 ~MutexLock() { mutex_->Unlock(); } 62 MOJO_DISALLOW_COPY_AND_ASSIGN(MutexLock); 65 // Catch bug where variable name is omitted (e.g., |MutexLock (&mu)|). 66 #define MutexLock(x) MOJO_COMPILE_ASSERT(0, mutex_lock_missing_variable_name);
|
/external/openfst/src/include/fst/ |
lock.h | 59 class MutexLock { 61 MutexLock(Mutex *) {} 64 DISALLOW_COPY_AND_ASSIGN(MutexLock);
|
/external/chromium_org/third_party/re2/util/ |
mutex.h | 78 // Catch the error of writing Mutex when intending MutexLock. 152 // MutexLock(mu) acquires mu when constructed and releases it when destroyed. 153 class MutexLock { 155 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } 156 ~MutexLock() { mu_->Unlock(); } 160 MutexLock(const MutexLock&); 161 void operator=(const MutexLock&); 187 // Catch bug where variable name is omitted, e.g. MutexLock (&mu); 188 #define MutexLock(x) COMPILE_ASSERT(0, mutex_lock_decl_missing_var_name [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
simple_mutex.h | 187 // Catch the error of writing Mutex when intending MutexLock. 285 // MutexLock(mu) acquires mu when constructed and releases it when destroyed. 286 class MutexLock { 288 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } 289 ~MutexLock() { mu_->Unlock(); } 293 MutexLock(const MutexLock&); 294 void operator=(const MutexLock&); 320 // Catch bug where variable name is omitted, e.g. MutexLock (&mu); 321 #define MutexLock(x) COMPILE_ASSERT(0, mutex_lock_decl_missing_var_name [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
simple_mutex.h | 187 // Catch the error of writing Mutex when intending MutexLock. 285 // MutexLock(mu) acquires mu when constructed and releases it when destroyed. 286 class MutexLock { 288 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } 289 ~MutexLock() { mu_->Unlock(); } 293 MutexLock(const MutexLock&); 294 void operator=(const MutexLock&); 320 // Catch bug where variable name is omitted, e.g. MutexLock (&mu); 321 #define MutexLock(x) COMPILE_ASSERT(0, mutex_lock_decl_missing_var_name [all...] |
/external/clang/test/PCH/ |
thread-safety-attrs.cpp | 43 class __attribute__((scoped_lockable)) MutexLock { 45 MutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu))); 46 ~MutexLock() __attribute__((unlock_function));
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_rtl_mutex.cc | 147 void MutexLock(ThreadState *thr, uptr pc, uptr addr, int rec, bool try_lock) { 148 DPrintf("#%d: MutexLock %zx rec=%d\n", thr->tid, addr, rec);
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
common.h | [all...] |
/art/runtime/base/ |
mutex.h | 419 class SCOPED_LOCKABLE MutexLock { 421 explicit MutexLock(Thread* self, Mutex& mu) EXCLUSIVE_LOCK_FUNCTION(mu) : self_(self), mu_(mu) { 425 ~MutexLock() UNLOCK_FUNCTION() { 432 DISALLOW_COPY_AND_ASSIGN(MutexLock); 434 // Catch bug where variable name is omitted. "MutexLock (lock);" instead of "MutexLock mu(lock)". 435 #define MutexLock(x) COMPILE_ASSERT(0, mutex_lock_declaration_missing_variable_name)
|
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/ |
gtest-port.h | 135 // Mutex, MutexLock, ThreadLocal, GetThreadCount() [all...] |
/external/gtest/include/gtest/internal/ |
gtest-port.h | 145 // Mutex, MutexLock, ThreadLocal, GetThreadCount() [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-port.h | 137 // Mutex, MutexLock, ThreadLocal, GetThreadCount() [all...] |
/external/mesa3d/src/gtest/include/gtest/internal/ |
gtest-port.h | 135 // Mutex, MutexLock, ThreadLocal, GetThreadCount() [all...] |
/external/chromium_org/testing/gtest/include/gtest/internal/ |
gtest-port.h | 212 // Mutex, MutexLock, ThreadLocal, GetThreadCount() [all...] |
/external/clang/test/SemaCXX/ |
warn-thread-safety-analysis.cpp | 43 class __attribute__((scoped_lockable)) MutexLock { 45 MutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu))); 46 ~MutexLock() __attribute__((unlock_function)); [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/googletest/src/include/gtest/ |
gtest.h | 241 // Mutex, MutexLock, ThreadLocal, GetThreadCount() [all...] |
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/ |
gtest.h | 241 // Mutex, MutexLock, ThreadLocal, GetThreadCount() [all...] |