/external/valgrind/unittest/ |
D | demo_tests.cc | 47 MutexLock lock(&mu1); // Correct Mutex. in Thread1() 52 MutexLock lock(&mu2); // Wrong Mutex. in Thread2() 335 MutexLock lock3(&mu3); // This lock is unrelated to PTR. in Writer1() 336 MutexLock lock1(&mu1); // Protect PTR. in Writer1() 341 MutexLock lock2(&mu2); // This lock is unrelated to PTR. in Writer2() 342 MutexLock lock1(&mu1); // Protect PTR. in Writer2() 351 MutexLock lock2(&mu2); // Oh, gosh, this is a wrong mutex! in Reader() 393 MutexLock lock3(&mu3); // This lock is unrelated to PTR. in GoodWriter1() 394 MutexLock lock1(&mu1); // Protect PTR. in GoodWriter1() 399 MutexLock lock2(&mu2); // This lock is unrelated to PTR. in GoodWriter2() [all …]
|
D | atomicity_tests.cc | 48 MutexLock l(&mu_); in size() 53 MutexLock l(&mu_); in push_back() 58 MutexLock l(&mu_); in pop_back()
|
D | thread_wrappers.h | 282 class MutexLock { // Scoped Mutex Locker/Unlocker 284 MutexLock(Mutex *mu) in MutexLock() function 288 ~MutexLock() { in ~MutexLock() 300 MutexLock lock(&mu_); in DecrementCount()
|
/external/regex-re2/util/ |
D | mutex.h | 149 class MutexLock { 151 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } in MutexLock() function 152 ~MutexLock() { mu_->Unlock(); } in ~MutexLock() 156 MutexLock(const MutexLock&); 157 void operator=(const MutexLock&); 184 #define MutexLock(x) COMPILE_ASSERT(0, mutex_lock_decl_missing_var_name) macro
|
D | atomicops.h | 50 re2::MutexLock l(&mu); in WriteMemoryBarrier()
|
/external/chromium/sdch/open-vcdiff/src/ |
D | mutex.h | 264 class MutexLock { 266 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } in MutexLock() function 267 ~MutexLock() { mu_->Unlock(); } in ~MutexLock() 271 MutexLock(const MutexLock&); 272 void operator=(const MutexLock&); 299 #define MutexLock(x) COMPILE_ASSERT(0, mutex_lock_decl_missing_var_name) macro
|
/external/llvm/test/CodeGen/ARM/ |
D | call-tc.ll | 146 %class.MutexLock = type { i8 } 155 %lock = alloca %class.MutexLock, align 1 156 %1 = call %class.MutexLock* @_ZN9MutexLockC1Ev(%class.MutexLock* %lock) 159 %4 = call %class.MutexLock* @_ZN9MutexLockD1Ev(%class.MutexLock* %lock) 163 declare %class.MutexLock* @_ZN9MutexLockC1Ev(%class.MutexLock*) unnamed_addr nounwind align 2 165 declare %class.MutexLock* @_ZN9MutexLockD1Ev(%class.MutexLock*) unnamed_addr nounwind align 2
|
/external/chromium/testing/gmock/src/ |
D | gmock-spec-builders.cc | 177 MutexLock l(&mutex_); in CheckActionCountIfNotDone() 272 MutexLock l(&g_gmock_mutex); in RegisterOwner() 286 MutexLock l(&g_gmock_mutex); in SetOwnerAndName() 299 MutexLock l(&g_gmock_mutex); in MockObject() 316 MutexLock l(&g_gmock_mutex); in Name() 584 internal::MutexLock l(&internal::g_gmock_mutex); in SetReactionOnUninterestingCalls() 615 internal::MutexLock l(&internal::g_gmock_mutex); in UnregisterCallReaction() 624 internal::MutexLock l(&internal::g_gmock_mutex); in GetReactionOnUninterestingCalls() 633 internal::MutexLock l(&internal::g_gmock_mutex); in AllowLeak() 642 internal::MutexLock l(&internal::g_gmock_mutex); in VerifyAndClearExpectations() [all …]
|
/external/openfst/src/include/fst/ |
D | lock.h | 56 class MutexLock { 58 MutexLock(Mutex *) {} in MutexLock() function 61 DISALLOW_COPY_AND_ASSIGN(MutexLock);
|
D | generic-register.h | 55 MutexLock l(register_lock_); in SetEntry() 100 MutexLock l(register_lock_); in LookupEntry()
|
D | flags.h | 77 fst::MutexLock l(register_lock_); in GetFlagDescription() 84 fst::MutexLock l(register_lock_); in SetDescription()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | once_unittest.cc | 88 MutexLock lock(&done_mutex_); in IsDone() 124 MutexLock lock(&done_mutex_); in Start() 142 MutexLock lock(&mutex_); in CurrentState() 162 MutexLock lock(&mutex_); in Init()
|
D | common.cc | 185 MutexLock lock(log_silencer_count_mutex_); in Finish() 219 MutexLock lock(internal::log_silencer_count_mutex_); in LogSilencer() 225 MutexLock lock(internal::log_silencer_count_mutex_); in ~LogSilencer() 339 MutexLock lock(shutdown_functions_mutex); in OnShutdown()
|
D | common.h | 1072 class LIBPROTOBUF_EXPORT MutexLock { 1074 explicit MutexLock(Mutex *mu) : mu_(mu) { this->mu_->Lock(); } in MutexLock() function 1075 ~MutexLock() { this->mu_->Unlock(); } in ~MutexLock() 1078 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MutexLock); 1082 typedef MutexLock ReaderMutexLock; 1083 typedef MutexLock WriterMutexLock; 1101 using internal::MutexLock;
|
/external/valgrind/unittest/output_tests/ |
D | output_test1.cc | 7 MutexLock lock(&mu1); // Correct Mutex. in Thread1() 12 MutexLock lock(&mu2); // Wrong Mutex. in Thread2()
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
D | compat.h | 62 class MutexLock { 64 MutexLock(Mutex *); 67 DISALLOW_EVIL_CONSTRUCTORS(MutexLock); 98 MutexLock l(register_lock_); in GetFlagDescription() 104 MutexLock l(register_lock_); in SetDescription()
|
D | compat.cpp | 135 MutexLock::MutexLock(Mutex *mutex) {} // ?OP? in MutexLock() function in MutexLock
|
D | register.h | 67 MutexLock l(register_lock_); in SetEntry() 78 MutexLock l(register_lock_); in LookupEntry()
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-linked_ptr.h | 110 MutexLock lock(&g_linked_ptr_mutex); in join() 122 MutexLock lock(&g_linked_ptr_mutex); in depart()
|
/external/gtest/include/gtest/internal/ |
D | gtest-linked_ptr.h | 110 MutexLock lock(&g_linked_ptr_mutex); in join() 122 MutexLock lock(&g_linked_ptr_mutex); in depart()
|
/external/protobuf/gtest/include/gtest/internal/ |
D | gtest-linked_ptr.h | 110 MutexLock lock(&g_linked_ptr_mutex); in join() 122 MutexLock lock(&g_linked_ptr_mutex); in depart()
|
/external/chromium/testing/gtest/include/gtest/internal/ |
D | gtest-linked_ptr.h | 110 MutexLock lock(&g_linked_ptr_mutex); in join() 122 MutexLock lock(&g_linked_ptr_mutex); in depart()
|
/external/valgrind/main/drd/tests/ |
D | tsan_thread_wrappers_pthread.h | 261 class MutexLock { // Scoped Mutex Locker/Unlocker 263 MutexLock(Mutex *mu) in MutexLock() function 267 ~MutexLock() { in ~MutexLock() 576 MutexLock lock(&mu_); in DecrementCount()
|
D | tsan_unittest.cpp | 55 #define WriterLockScoped MutexLock 4690 MutexLock a(&A); in Thread1() 4691 MutexLock b(&B); in Thread1() 4696 MutexLock b(&B); in Thread2() 4697 MutexLock c(&C); in Thread2() 4702 MutexLock a(&A); in Thread3() 4703 MutexLock c(&C); in Thread3() 5720 MutexLock lock(&mu); in InitMe() 6266 MutexLock lock(&mu); in Swapper() 6275 MutexLock lock(&mu); in Worker() [all …]
|
/external/clang/test/SemaCXX/ |
D | warn-thread-safety-analysis.cpp | 39 class __attribute__((scoped_lockable)) MutexLock { class 41 MutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu))); 42 ~MutexLock() __attribute__((unlock_function)); 1564 MutexLock mulock(&mu1); in foo1() 1571 MutexLock mulock2a(&mu2); in foo2() 1575 MutexLock mulock2b(&mu2); in foo2() 1581 MutexLock mulock_a(&mu1); in foo3() 1582 MutexLock mulock_b(&mu1); // \ in foo3() 1587 MutexLock mulock1(&mu1), mulock2(&mu2); in foo4() 2106 MutexLock lock(&mu_); in test1()
|