/frameworks/ex/variablespeed/jni/ |
no_synchronization.h | 40 class MutexLock { 42 explicit MutexLock(Mutex* mu) : mu_(mu) {} 43 virtual ~MutexLock() {} 47 DISALLOW_COPY_AND_ASSIGN(MutexLock);
|
/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/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/regex-re2/util/ |
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 { 151 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } 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(x) COMPILE_ASSERT(0, mutex_lock_decl_missing_var_name [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
compat.cpp | 135 MutexLock::MutexLock(Mutex *mutex) {} // ?OP?
|
compat.h | 62 class MutexLock { 64 MutexLock(Mutex *); 67 DISALLOW_EVIL_CONSTRUCTORS(MutexLock); 98 MutexLock l(register_lock_); 104 MutexLock l(register_lock_);
|
/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...] |
/external/protobuf/src/google/protobuf/stubs/ |
common.h | [all...] |
/external/valgrind/main/drd/tests/ |
tsan_thread_wrappers_pthread.h | 261 class MutexLock { // Scoped Mutex Locker/Unlocker 263 MutexLock(Mutex *mu) 267 ~MutexLock() { 576 MutexLock lock(&mu_);
|
/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/protobuf/gtest/include/gtest/internal/ |
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; [all...] |
/external/chromium_org/testing/gtest/include/gtest/internal/ |
gtest-port.h | 210 // Mutex, MutexLock, ThreadLocal, GetThreadCount() [all...] |
/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...] |
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/ |
gtest-port.h | 145 // 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...] |