Searched refs:MutexLock (Results 1 - 25 of 79) sorted by relevance

1234

/external/chromium_org/third_party/leveldatabase/src/util/
H A Dmutexlock.h14 // the destructor of the MutexLock object is invoked.
19 // MutexLock l(&mu_); // mu_ is an instance variable
23 class SCOPED_LOCKABLE MutexLock { class in namespace:leveldb
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&);
H A Dcache.cc210 MutexLock l(&mutex_);
221 MutexLock l(&mutex_);
228 MutexLock l(&mutex_);
259 MutexLock l(&mutex_);
314 MutexLock l(&id_mutex_);
/external/chromium_org/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/
H A Dmutex.h15 class MutexLock { class in namespace:invalidation
17 explicit MutexLock(Mutex* m) : auto_lock_(*m) {} function in class:invalidation::MutexLock
21 DISALLOW_COPY_AND_ASSIGN(MutexLock);
/external/chromium_org/mojo/public/cpp/utility/
H A Dmutex.h54 class MutexLock { class in namespace:mojo
56 explicit MutexLock(Mutex* mutex) : mutex_(mutex) { mutex_->Lock(); } function in class:mojo::MutexLock
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); macro
/external/openfst/src/include/fst/
H A Dlock.h59 class MutexLock { class in namespace:fst
61 MutexLock(Mutex *) {} function in class:fst::MutexLock
64 DISALLOW_COPY_AND_ASSIGN(MutexLock);
H A Dgeneric-register.h55 MutexLock l(register_lock_);
100 MutexLock l(register_lock_);
/external/chromium_org/third_party/re2/util/
H A Datomicops.h50 re2::MutexLock l(&mu);
H A Dmutex.h78 // Catch the error of writing Mutex when intending MutexLock.
152 // MutexLock(mu) acquires mu when constructed and releases it when destroyed.
153 class MutexLock { class in namespace:re2
155 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } function in class:re2::MutexLock
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( macro
[all...]
/external/regex-re2/util/
H A Datomicops.h50 re2::MutexLock l(&mu);
H A Dmutex.h74 // 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/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dprofiler_unittest.cc59 MutexLock ml(&mutex);
72 MutexLock ml(&mutex);
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dprofiler_unittest.cc59 MutexLock ml(&mutex);
72 MutexLock ml(&mutex);
/external/chromium_org/third_party/leveldatabase/src/helpers/memenv/
H A Dmemenv.cc28 MutexLock lock(&refs_mutex_);
37 MutexLock lock(&refs_mutex_);
242 MutexLock lock(&mutex_);
254 MutexLock lock(&mutex_);
266 MutexLock lock(&mutex_);
280 MutexLock lock(&mutex_);
286 MutexLock lock(&mutex_);
311 MutexLock lock(&mutex_);
329 MutexLock lock(&mutex_);
340 MutexLock loc
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dsimple_mutex.h187 // Catch the error of writing Mutex when intending MutexLock.
285 // MutexLock(mu) acquires mu when constructed and releases it when destroyed.
286 class MutexLock { class in namespace:MUTEX_NAMESPACE
288 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } function in class:MUTEX_NAMESPACE::MutexLock
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( macro
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dsimple_mutex.h187 // Catch the error of writing Mutex when intending MutexLock.
285 // MutexLock(mu) acquires mu when constructed and releases it when destroyed.
286 class MutexLock { class in namespace:MUTEX_NAMESPACE
288 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } function in class:MUTEX_NAMESPACE::MutexLock
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( macro
[all...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Donce_unittest.cc88 MutexLock lock(&done_mutex_);
124 MutexLock lock(&done_mutex_);
142 MutexLock lock(&mutex_);
162 MutexLock lock(&mutex_);
H A Dcommon.cc185 MutexLock lock(log_silencer_count_mutex_);
223 MutexLock lock(internal::log_silencer_count_mutex_);
229 MutexLock lock(internal::log_silencer_count_mutex_);
361 MutexLock lock(shutdown_functions_mutex);
/external/protobuf/src/google/protobuf/stubs/
H A Donce_unittest.cc88 MutexLock lock(&done_mutex_);
124 MutexLock lock(&done_mutex_);
142 MutexLock lock(&mutex_);
162 MutexLock lock(&mutex_);
H A Dcommon.cc185 MutexLock lock(log_silencer_count_mutex_);
219 MutexLock lock(internal::log_silencer_count_mutex_);
225 MutexLock lock(internal::log_silencer_count_mutex_);
339 MutexLock lock(shutdown_functions_mutex);
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dcompat.cpp135 MutexLock::MutexLock(Mutex *mutex) {} // ?OP? function in class:MutexLock
H A Dcompat.h62 class MutexLock { class
64 MutexLock(Mutex *);
67 DISALLOW_EVIL_CONSTRUCTORS(MutexLock);
98 MutexLock l(register_lock_);
104 MutexLock l(register_lock_);
/external/chromium_org/testing/gtest/include/gtest/internal/
H A Dgtest-linked_ptr.h110 MutexLock lock(&g_linked_ptr_mutex);
122 MutexLock lock(&g_linked_ptr_mutex);
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/
H A Dgtest-linked_ptr.h110 MutexLock lock(&g_linked_ptr_mutex);
122 MutexLock lock(&g_linked_ptr_mutex);
/external/gtest/include/gtest/internal/
H A Dgtest-linked_ptr.h110 MutexLock lock(&g_linked_ptr_mutex);
122 MutexLock lock(&g_linked_ptr_mutex);
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-linked_ptr.h110 MutexLock lock(&g_linked_ptr_mutex);
122 MutexLock lock(&g_linked_ptr_mutex);

Completed in 1265 milliseconds

1234