/external/ImageMagick/Magick++/lib/Magick++/ |
H A D | Thread.h | 27 class MagickPPExport MutexLock class in namespace:Magick 32 MutexLock(void); 35 ~MutexLock(void); 46 MutexLock(const MutexLock& original_); 49 MutexLock& operator=(const MutexLock& original );
|
/external/ImageMagick/Magick++/lib/ |
H A D | Thread.cpp | 18 Magick::MutexLock::MutexLock(void) function in class:Magick::MutexLock 65 Magick::MutexLock::~MutexLock(void) 84 void Magick::MutexLock::lock(void) 103 void Magick::MutexLock::unlock(void)
|
/external/protobuf/src/google/protobuf/stubs/ |
H A D | mutex.h | 74 // MutexLock implementation. 76 #undef MutexLock macro 81 // MutexLock(mu) acquires mu when constructed and releases it when destroyed. 82 class LIBPROTOBUF_EXPORT MutexLock { class in namespace:google::protobuf::internal 84 explicit MutexLock(Mutex *mu) : mu_(mu) { this->mu_->Lock(); } function in class:google::protobuf::internal::MutexLock 85 ~MutexLock() { this->mu_->Unlock(); } 88 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MutexLock); 92 typedef MutexLock ReaderMutexLock; 93 typedef MutexLock WriterMutexLock; 95 // MutexLockMaybe is like MutexLock, bu [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/google-benchmark/src/ |
H A D | mutex.h | 87 class SCOPED_CAPABILITY MutexLock { class in namespace:benchmark 91 MutexLock(Mutex& m) ACQUIRE(m) : ml_(m.native_handle()) {} 92 ~MutexLock() RELEASE() {} 107 MutexLock ml(lock_); 115 MutexLock ml(lock_); 132 bool createBarrier(MutexLock& ml) REQUIRES(lock_) {
|
/external/libcxx/utils/google-benchmark/src/ |
H A D | mutex.h | 87 class SCOPED_CAPABILITY MutexLock { class in namespace:benchmark 91 MutexLock(Mutex& m) ACQUIRE(m) : ml_(m.native_handle()) {} 92 ~MutexLock() RELEASE() {} 107 MutexLock ml(lock_); 115 MutexLock ml(lock_); 132 bool createBarrier(MutexLock& ml) REQUIRES(lock_) {
|
/external/clang/test/PCH/ |
H A D | thread-safety-attrs.cpp | 43 class __attribute__((scoped_lockable)) MutexLock { class 45 MutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu))); 46 ~MutexLock() __attribute__((unlock_function));
|
/external/clang/test/SemaCXX/ |
H A D | warn-comma-operator.cpp | 197 class MutexLock { class in namespace:test12 199 MutexLock(Mutex &); 200 MutexLock(); 201 ~MutexLock(); 210 return (MutexLock(StatusMutex), Status); 215 return (MutexLock(), Status);
|
H A D | warn-thread-safety-analysis.cpp | 46 class SCOPED_LOCKABLE MutexLock { class 48 MutexLock(Mutex *mu) EXCLUSIVE_LOCK_FUNCTION(mu); 49 MutexLock(Mutex *mu, bool adopt) EXCLUSIVE_LOCKS_REQUIRED(mu); 50 ~MutexLock() UNLOCK_FUNCTION(); 1646 MutexLock mulock(&mu1); 1653 MutexLock mulock2a(&mu2); 1657 MutexLock mulock2b(&mu2); 1663 MutexLock mulock_a(&mu1); 1664 MutexLock mulock_b(&mu1); // \ 1669 MutexLock mulock [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_rtl_mutex.cc | 144 void MutexLock(ThreadState *thr, uptr pc, uptr addr, int rec, bool try_lock) { function in namespace:__tsan 145 DPrintf("#%d: MutexLock %zx rec=%d\n", thr->tid, addr, rec);
|
/external/valgrind/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/llvm/utils/unittest/googletest/include/gtest/internal/ |
H A D | gtest-port.h | 138 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 1199 // are used in conjunction with class MutexLock: 1203 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the end 1275 // We cannot name this class MutexLock as the ctor declaration would 1276 // conflict with a macro named MutexLock, which is defined on some 1291 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal 1428 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal
|
/external/mesa3d/src/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 135 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 1186 // are used in conjunction with class MutexLock: 1190 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the end 1262 // We cannot name this class MutexLock as the ctor declaration would 1263 // conflict with a macro named MutexLock, which is defined on some 1278 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal 1415 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal
|
/external/protobuf/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 124 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 960 // are used in conjunction with class MutexLock: 964 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the end 1036 // We cannot name this class MutexLock as the ctor declaration would 1037 // conflict with a macro named MutexLock, which is defined on some 1052 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal 1189 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal
|
/external/swiftshader/third_party/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/google-breakpad/src/testing/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 137 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 1226 // are used in conjunction with class MutexLock: 1230 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the end 1316 // We cannot name this class MutexLock as the ctor declaration would 1317 // conflict with a macro named MutexLock, which is defined on some 1332 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal 1471 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal
|
/external/googletest/googletest/include/gtest/internal/ |
H A D | gtest-port.h | 212 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 1647 // with class MutexLock: 1651 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the 1707 // We cannot name this class MutexLock because the ctor declaration would 1708 // conflict with a macro named MutexLock, which is defined on some 1710 // inadvertent misuses of MutexLock like "MutexLock(&mu)" rather than 1711 // "MutexLock l(&mu)". Hence the typedef trick below. 1725 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal 1991 // We cannot name this class MutexLock becaus 2009 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal 2159 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal [all...] |
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/ |
H A D | gtest-port.h | 212 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 1647 // with class MutexLock: 1651 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the 1707 // We cannot name this class MutexLock because the ctor declaration would 1708 // conflict with a macro named MutexLock, which is defined on some 1710 // inadvertent misuses of MutexLock like "MutexLock(&mu)" rather than 1711 // "MutexLock l(&mu)". Hence the typedef trick below. 1725 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal 1991 // We cannot name this class MutexLock becaus 2009 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal 2159 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal [all...] |
/external/v8/testing/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 212 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 1646 // with class MutexLock: 1650 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the 1706 // We cannot name this class MutexLock because the ctor declaration would 1707 // conflict with a macro named MutexLock, which is defined on some 1709 // inadvertent misuses of MutexLock like "MutexLock(&mu)" rather than 1710 // "MutexLock l(&mu)". Hence the typedef trick below. 1724 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal 1995 // We cannot name this class MutexLock becaus 2013 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal 2163 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/ |
H A D | gtest-port.h | 145 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 1393 // with class MutexLock: 1397 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the 1453 // We cannot name this class MutexLock because the ctor declaration would 1454 // conflict with a macro named MutexLock, which is defined on some 1456 // inadvertent misuses of MutexLock like "MutexLock(&mu)" rather than 1457 // "MutexLock l(&mu)". Hence the typedef trick below. 1471 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal 1708 // We cannot name this class MutexLock becaus 1726 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal 1842 typedef GTestMutexLock MutexLock; typedef in namespace:testing::internal [all...] |
/external/protobuf/gtest/fused-src/gtest/ |
H A D | gtest.h | 219 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 2022 // are used in conjunction with class MutexLock: 2026 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the end 2098 // We cannot name this class MutexLock as the ctor declaration would 2099 // conflict with a macro named MutexLock, which is defined on some 2114 typedef GTestMutexLock MutexLock; typedef in namespace:std::tr1 2251 typedef GTestMutexLock MutexLock; typedef in namespace:std::tr1 8411 MutexLock lock(&g_linked_ptr_mutex); 8423 MutexLock lock(&g_linked_ptr_mutex);
|
/external/fmtlib/test/gtest/ |
H A D | gtest.h | 241 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 2425 // are used in conjunction with class MutexLock: 2429 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the end 2515 // We cannot name this class MutexLock as the ctor declaration would 2516 // conflict with a macro named MutexLock, which is defined on some 2531 typedef GTestMutexLock MutexLock; typedef in namespace:std::tr1 2670 typedef GTestMutexLock MutexLock; typedef in namespace:std::tr1 9070 MutexLock lock(&g_linked_ptr_mutex); 9082 MutexLock lock(&g_linked_ptr_mutex);
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/fused-src/gtest/ |
H A D | gtest.h | 241 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 2425 // are used in conjunction with class MutexLock: 2429 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the end 2515 // We cannot name this class MutexLock as the ctor declaration would 2516 // conflict with a macro named MutexLock, which is defined on some 2531 typedef GTestMutexLock MutexLock; typedef in namespace:std::tr1 2670 typedef GTestMutexLock MutexLock; typedef in namespace:std::tr1 9071 MutexLock lock(&g_linked_ptr_mutex); 9083 MutexLock lock(&g_linked_ptr_mutex);
|