/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/google-breakpad/src/testing/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() 600 internal::MutexLock l(&internal::g_gmock_mutex); in SetReactionOnUninterestingCalls() 631 internal::MutexLock l(&internal::g_gmock_mutex); in UnregisterCallReaction() 640 internal::MutexLock l(&internal::g_gmock_mutex); in GetReactionOnUninterestingCalls() 649 internal::MutexLock l(&internal::g_gmock_mutex); in AllowLeak() 658 internal::MutexLock l(&internal::g_gmock_mutex); in VerifyAndClearExpectations() [all …]
|
D | gmock-internal-utils.cc | 138 MutexLock l(&g_log_mutex); in Log()
|
/external/llvm/test/CodeGen/ARM/ |
D | call-tc.ll | 145 %class.MutexLock = type { i8 } 154 %lock = alloca %class.MutexLock, align 1 155 %1 = call %class.MutexLock* @_ZN9MutexLockC1Ev(%class.MutexLock* %lock) 158 %4 = call %class.MutexLock* @_ZN9MutexLockD1Ev(%class.MutexLock* %lock) 162 declare %class.MutexLock* @_ZN9MutexLockC1Ev(%class.MutexLock*) unnamed_addr nounwind align 2 164 declare %class.MutexLock* @_ZN9MutexLockD1Ev(%class.MutexLock*) unnamed_addr nounwind align 2
|
/external/openfst/src/include/fst/ |
D | lock.h | 59 class MutexLock { 61 MutexLock(Mutex *) {} in MutexLock() function 64 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 | 85 fst::MutexLock l(register_lock_); in GetFlagDescription() 92 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() 223 MutexLock lock(internal::log_silencer_count_mutex_); in LogSilencer() 229 MutexLock lock(internal::log_silencer_count_mutex_); in ~LogSilencer() 361 MutexLock lock(shutdown_functions_mutex); in OnShutdown()
|
D | common.h | 1125 class LIBPROTOBUF_EXPORT MutexLock { 1127 explicit MutexLock(Mutex *mu) : mu_(mu) { this->mu_->Lock(); } in MutexLock() function 1128 ~MutexLock() { this->mu_->Unlock(); } in ~MutexLock() 1131 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MutexLock); 1135 typedef MutexLock ReaderMutexLock; 1136 typedef MutexLock WriterMutexLock; 1154 using internal::MutexLock;
|
/external/clang/test/PCH/ |
D | thread-safety-attrs.cpp | 43 class __attribute__((scoped_lockable)) MutexLock { class 45 MutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu))); 46 ~MutexLock() __attribute__((unlock_function));
|
/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/mesa3d/src/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/google-breakpad/src/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/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/valgrind/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 | 46 class SCOPED_LOCKABLE MutexLock { class 48 MutexLock(Mutex *mu) EXCLUSIVE_LOCK_FUNCTION(mu); 49 MutexLock(Mutex *mu, bool adopt) EXCLUSIVE_LOCKS_REQUIRED(mu); 50 ~MutexLock() UNLOCK_FUNCTION(); 1646 MutexLock mulock(&mu1); in foo1() 1653 MutexLock mulock2a(&mu2); in foo2() 1657 MutexLock mulock2b(&mu2); in foo2() 1663 MutexLock mulock_a(&mu1); in foo3() 1664 MutexLock mulock_b(&mu1); // \ in foo3() 1669 MutexLock mulock1(&mu1), mulock2(&mu2); in foo4() [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interface_java.cc | 167 MutexLock(thr, pc, addr); in __tsan_java_mutex_lock() 210 MutexLock(thr, pc, addr, rec); in __tsan_java_mutex_lock_rec()
|
D | tsan_interceptors.cc | 1074 MutexLock(arg->thr, arg->pc, (uptr)arg->m); in cond_mutex_unlock() 1105 MutexLock(thr, pc, (uptr)m); in INTERCEPTOR() 1126 MutexLock(thr, pc, (uptr)m); in INTERCEPTOR() 1188 MutexLock(thr, pc, (uptr)m, /*rec=*/1, /*try_lock=*/true); in TSAN_INTERCEPTOR() 1196 MutexLock(thr, pc, (uptr)m); in TSAN_INTERCEPTOR() 1223 MutexLock(thr, pc, (uptr)m); in TSAN_INTERCEPTOR() 1232 MutexLock(thr, pc, (uptr)m, /*rec=*/1, /*try_lock=*/true); in TSAN_INTERCEPTOR() 1293 MutexLock(thr, pc, (uptr)m); in TSAN_INTERCEPTOR() 1302 MutexLock(thr, pc, (uptr)m, /*rec=*/1, /*try_lock=*/true); in TSAN_INTERCEPTOR() 1311 MutexLock(thr, pc, (uptr)m); in TSAN_INTERCEPTOR() [all …]
|
/external/regex-re2/re2/ |
D | dfa.cc | 962 MutexLock l(&mutex_); in RunStateOnByteUnlocked() 1242 MutexLock l(&dfa_->mutex_); in Restore() 1690 MutexLock l(&mutex_); in AnalyzeSearchHelper() 1829 MutexLock l(&dfa_mutex_); in GetDFA() 2120 MutexLock l(&dfa_mutex_); in PossibleMatchRange()
|
/external/protobuf/gtest/test/ |
D | gtest-port_test.cc | 813 { MutexLock lock(&m); } in TEST() 821 MutexLock lock(&m); in TEST() 831 MutexLock lock(mutex_); in Increment()
|
/external/compiler-rt/lib/tsan/go/ |
D | tsan_go.cc | 182 MutexLock(thr, 0, addr); in __tsan_mutex_after_lock()
|