HomeSort by relevance Sort by last modified time
    Searched defs:MutexLock (Results 1 - 25 of 25) sorted by null

  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/
mutex.h 74 // MutexLock implementation.
76 #undef MutexLock
81 // MutexLock(mu) acquires mu when constructed and releases it when destroyed.
82 class LIBPROTOBUF_EXPORT MutexLock {
84 explicit MutexLock(Mutex *mu) : mu_(mu) { this->mu_->Lock(); }
85 ~MutexLock() { this->mu_->Unlock(); }
88 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MutexLock);
92 typedef MutexLock ReaderMutexLock;
93 typedef MutexLock WriterMutexLock;
95 // MutexLockMaybe is like MutexLock, but is a no-op when mu is NULL
    [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/google-benchmark/src/
mutex.h 96 class SCOPED_CAPABILITY MutexLock
100 MutexLock(Mutex& m) ACQUIRE(m) : ml_(m.native_handle())
102 ~MutexLock() RELEASE() {}
115 MutexLock m_lock(mutex_);
124 MutexLock lock(mutex_);
  /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 143 void MutexLock(ThreadState *thr, uptr pc, uptr addr, int rec, bool try_lock) {
144 DPrintf("#%d: MutexLock %zx rec=%d\n", thr->tid, addr, rec);
  /external/protobuf/src/google/protobuf/stubs/
common.h     [all...]
  /external/valgrind/drd/tests/
tsan_thread_wrappers_pthread.h 261 class MutexLock { // Scoped Mutex Locker/Unlocker
263 MutexLock(Mutex *mu)
267 ~MutexLock() {
576 MutexLock lock(&mu_);
  /prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/stubs/
common.h     [all...]
  /prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/stubs/
common.h     [all...]
  /prebuilts/misc/windows/protobuf2.5/include/google/protobuf/stubs/
common.h     [all...]
  /prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/stubs/
common.h     [all...]
  /art/runtime/base/
mutex.h 482 class SCOPED_CAPABILITY MutexLock {
484 MutexLock(Thread* self, Mutex& mu) ACQUIRE(mu) : self_(self), mu_(mu) {
488 ~MutexLock() RELEASE() {
495 DISALLOW_COPY_AND_ASSIGN(MutexLock);
497 // Catch bug where variable name is omitted. "MutexLock (lock);" instead of "MutexLock mu(lock)".
498 #define MutexLock(x) static_assert(0, "MutexLock declaration missing variable name")
  /external/google-breakpad/src/testing/gtest/include/gtest/internal/
gtest-port.h 137 // 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/protobuf/gtest/include/gtest/internal/
gtest-port.h 124 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
    [all...]
  /external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
gtest-port.h 145 // 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 46 class SCOPED_LOCKABLE MutexLock {
48 MutexLock(Mutex *mu) EXCLUSIVE_LOCK_FUNCTION(mu);
49 MutexLock(Mutex *mu, bool adopt) EXCLUSIVE_LOCKS_REQUIRED(mu);
50 ~MutexLock() UNLOCK_FUNCTION();
    [all...]
  /external/libvpx/libvpx/third_party/googletest/src/include/gtest/
gtest.h 241 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
    [all...]
  /external/opencv3/modules/ts/include/opencv2/ts/
ts_gtest.h 241 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
    [all...]
  /external/protobuf/gtest/fused-src/gtest/
gtest.h 219 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
    [all...]
  /external/vulkan-validation-layers/tests/gtest-1.7.0/fused-src/gtest/
gtest.h 241 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
    [all...]
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/include/gtest/
gtest.h 241 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
    [all...]

Completed in 936 milliseconds