/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/openfst/src/include/fst/ |
lock.h | 59 class MutexLock { 61 MutexLock(Mutex *) {} 64 DISALLOW_COPY_AND_ASSIGN(MutexLock);
|
/external/chromium/sdch/open-vcdiff/src/ |
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 { 266 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } 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(x) COMPILE_ASSERT(0, mutex_lock_decl_missing_var_name [all...] |
/external/open-vcdiff/gflags/src/ |
mutex.h | 197 // Catch the error of writing Mutex when intending MutexLock. 303 // MutexLock(mu) acquires mu when constructed and releases it when destroyed. 304 class MutexLock { 306 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } 307 ~MutexLock() { mu_->Unlock(); } 311 MutexLock(const MutexLock&); 312 void operator=(const MutexLock&); 338 // Catch bug where variable name is omitted, e.g. MutexLock (&mu); 339 #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/compiler-rt/lib/tsan/rtl/ |
tsan_rtl_mutex.cc | 82 void MutexLock(ThreadState *thr, uptr pc, uptr addr) { 84 DPrintf("#%d: MutexLock %zx\n", thr->tid, addr);
|
/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/valgrind/unittest/ |
thread_wrappers.h | 282 class MutexLock { // Scoped Mutex Locker/Unlocker 284 MutexLock(Mutex *mu) 288 ~MutexLock() { 300 MutexLock lock(&mu_);
|
/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/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_);
|
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
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;
|
/external/open-vcdiff/gtest/include/gtest/internal/ |
gtest-port.h | 115 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 763 // We cannot call it MutexLock directly as the ctor declaration would 764 // conflict with a macro named MutexLock, which is defined on some 771 typedef GTestMutexLock MutexLock; [all...] |
/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/testing/gtest/include/gtest/internal/ |
gtest-port.h | 134 // Mutex, MutexLock, ThreadLocal, GetThreadCount() [all...] |
/external/gtest/include/gtest/internal/ |
gtest-port.h | 135 // Mutex, MutexLock, ThreadLocal, GetThreadCount() [all...] |
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/ |
gtest-port.h | 135 // Mutex, MutexLock, ThreadLocal, GetThreadCount() [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-port.h | 136 // Mutex, MutexLock, ThreadLocal, GetThreadCount() [all...] |
/external/clang/test/SemaCXX/ |
warn-thread-safety-analysis.cpp | 38 class __attribute__((scoped_lockable)) MutexLock { 40 MutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu))); 41 ~MutexLock() __attribute__((unlock_function)); [all...] |
/external/ceres-solver/internal/ceres/gtest/ |
gtest.h | 230 // Mutex, MutexLock, ThreadLocal, GetThreadCount() [all...] |