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

1 2

  /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/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/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/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, int rec) {
84 DPrintf("#%d: MutexLock %zx rec=%d\n", thr->tid, addr, rec);
  /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_);
  /art/runtime/base/
mutex.h 354 class SCOPED_LOCKABLE MutexLock {
356 explicit MutexLock(Thread* self, Mutex& mu) EXCLUSIVE_LOCK_FUNCTION(mu) : self_(self), mu_(mu) {
360 ~MutexLock() UNLOCK_FUNCTION() {
367 DISALLOW_COPY_AND_ASSIGN(MutexLock);
369 // Catch bug where variable name is omitted. "MutexLock (lock);" instead of "MutexLock mu(lock)".
370 #define MutexLock(x) COMPILE_ASSERT(0, mutex_lock_declaration_missing_variable_name)
  /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/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_);
  /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/chromium_org/testing/gtest/include/gtest/internal/
gtest-port.h 141 // 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...]

Completed in 765 milliseconds

1 2