/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/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);
|
/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/valgrind/unittest/output_tests/ |
output_test1.cc | 7 MutexLock lock(&mu1); // Correct Mutex. 12 MutexLock lock(&mu2); // Wrong Mutex.
|
/art/runtime/ |
barrier.cc | 31 MutexLock mu(self, lock_); 40 MutexLock mu(self, lock_); 45 MutexLock mu(self, lock_);
|
thread_list.cc | 70 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); 103 MutexLock mu(self, *Locks::thread_list_lock_); 123 MutexLock mu(self, *Locks::thread_list_lock_); 124 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); 161 MutexLock mu(self, *Locks::thread_list_lock_); 171 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); 208 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); 216 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); 236 MutexLock mu(self, *Locks::thread_list_lock_); 238 MutexLock mu2(self, *Locks::thread_suspend_count_lock_) [all...] |
thread_pool.cc | 66 MutexLock mu(self, task_queue_lock_); 96 MutexLock mu(Thread::Current(), task_queue_lock_); 104 MutexLock mu(self, task_queue_lock_); 116 MutexLock mu(self, task_queue_lock_); 124 MutexLock mu(self, task_queue_lock_); 129 MutexLock mu(self, task_queue_lock_); 161 MutexLock mu(self, task_queue_lock_); 183 MutexLock mu(self, task_queue_lock_); 194 MutexLock mu(self, task_queue_lock_); 211 MutexLock mu(self, thread_pool->work_steal_lock_) [all...] |
atomic.cc | 60 MutexLock mu(Thread::Current(), GetSwapMutex(addr)); 82 MutexLock mu(Thread::Current(), GetSwapMutex(addr)); 111 MutexLock mu(Thread::Current(), GetSwapMutex(addr));
|
intern_table.cc | 36 MutexLock mu(Thread::Current(), intern_table_lock_); 41 MutexLock mu(Thread::Current(), intern_table_lock_); 48 MutexLock mu(Thread::Current(), intern_table_lock_); 118 MutexLock mu(self, intern_table_lock_); 125 MutexLock mu(self, intern_table_lock_); 131 MutexLock mu(self, intern_table_lock_); 214 MutexLock mu(Thread::Current(), intern_table_lock_); 220 MutexLock mu(Thread::Current(), intern_table_lock_);
|
/external/chromium_org/third_party/re2/util/ |
atomicops.h | 50 re2::MutexLock l(&mu);
|
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/regex-re2/util/ |
atomicops.h | 50 re2::MutexLock l(&mu);
|
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/valgrind/unittest/ |
atomicity_tests.cc | 48 MutexLock l(&mu_); 53 MutexLock l(&mu_); 58 MutexLock l(&mu_);
|
demo_tests.cc | 47 MutexLock lock(&mu1); // Correct Mutex. 52 MutexLock lock(&mu2); // Wrong Mutex. 335 MutexLock lock3(&mu3); // This lock is unrelated to PTR. 336 MutexLock lock1(&mu1); // Protect PTR. 341 MutexLock lock2(&mu2); // This lock is unrelated to PTR. 342 MutexLock lock1(&mu1); // Protect PTR. 351 MutexLock lock2(&mu2); // Oh, gosh, this is a wrong mutex! 393 MutexLock lock3(&mu3); // This lock is unrelated to PTR. 394 MutexLock lock1(&mu1); // Protect PTR. 399 MutexLock lock2(&mu2); // This lock is unrelated to PTR [all...] |
/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...] |
/art/runtime/jdwp/ |
object_registry.cc | 51 MutexLock mu(soa.Self(), lock_); 84 MutexLock mu(self, lock_); 90 MutexLock mu(self, lock_); 111 MutexLock mu(self, lock_); 122 MutexLock mu(self, lock_); 131 MutexLock mu(self, lock_); 141 MutexLock mu(self, lock_); 173 MutexLock mu(self, lock_); 190 MutexLock mu(self, lock_);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
profiler_unittest.cc | 59 MutexLock ml(&mutex); 72 MutexLock ml(&mutex);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
profiler_unittest.cc | 59 MutexLock ml(&mutex); 72 MutexLock ml(&mutex);
|
/external/chromium_org/third_party/leveldatabase/src/helpers/memenv/ |
memenv.cc | 10 #include "util/mutexlock.h" 28 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_) [all...] |
/external/chromium/testing/gmock/src/ |
gmock-spec-builders.cc | 177 MutexLock l(&mutex_); 272 MutexLock l(&g_gmock_mutex); 286 MutexLock l(&g_gmock_mutex); 299 MutexLock l(&g_gmock_mutex); 316 MutexLock l(&g_gmock_mutex); 584 internal::MutexLock l(&internal::g_gmock_mutex); 615 internal::MutexLock l(&internal::g_gmock_mutex); 624 internal::MutexLock l(&internal::g_gmock_mutex); 633 internal::MutexLock l(&internal::g_gmock_mutex); 642 internal::MutexLock l(&internal::g_gmock_mutex) [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...] |