Home
last modified time | relevance | path

Searched refs:MutexLock (Results 1 – 25 of 51) sorted by relevance

123

/external/regex-re2/util/
Dmutex.h149 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
Datomicops.h50 re2::MutexLock l(&mu); in WriteMemoryBarrier()
/external/google-breakpad/src/testing/src/
Dgmock-spec-builders.cc177 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 …]
Dgmock-internal-utils.cc138 MutexLock l(&g_log_mutex); in Log()
/external/llvm/test/CodeGen/ARM/
Dcall-tc.ll145 %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/
Dlock.h59 class MutexLock {
61 MutexLock(Mutex *) {} in MutexLock() function
64 DISALLOW_COPY_AND_ASSIGN(MutexLock);
Dgeneric-register.h55 MutexLock l(register_lock_); in SetEntry()
100 MutexLock l(register_lock_); in LookupEntry()
Dflags.h85 fst::MutexLock l(register_lock_); in GetFlagDescription()
92 fst::MutexLock l(register_lock_); in SetDescription()
/external/protobuf/src/google/protobuf/stubs/
Donce_unittest.cc88 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()
Dcommon.cc185 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()
Dcommon.h1125 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/
Dthread-safety-attrs.cpp43 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/
Dgtest-linked_ptr.h110 MutexLock lock(&g_linked_ptr_mutex); in join()
122 MutexLock lock(&g_linked_ptr_mutex); in depart()
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-linked_ptr.h110 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/
Dgtest-linked_ptr.h110 MutexLock lock(&g_linked_ptr_mutex); in join()
122 MutexLock lock(&g_linked_ptr_mutex); in depart()
/external/gtest/include/gtest/internal/
Dgtest-linked_ptr.h110 MutexLock lock(&g_linked_ptr_mutex); in join()
122 MutexLock lock(&g_linked_ptr_mutex); in depart()
/external/protobuf/gtest/include/gtest/internal/
Dgtest-linked_ptr.h110 MutexLock lock(&g_linked_ptr_mutex); in join()
122 MutexLock lock(&g_linked_ptr_mutex); in depart()
/external/valgrind/drd/tests/
Dtsan_thread_wrappers_pthread.h261 class MutexLock { // Scoped Mutex Locker/Unlocker
263 MutexLock(Mutex *mu) in MutexLock() function
267 ~MutexLock() { in ~MutexLock()
576 MutexLock lock(&mu_); in DecrementCount()
Dtsan_unittest.cpp55 #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/
Dwarn-thread-safety-analysis.cpp46 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/
Dtsan_interface_java.cc167 MutexLock(thr, pc, addr); in __tsan_java_mutex_lock()
210 MutexLock(thr, pc, addr, rec); in __tsan_java_mutex_lock_rec()
Dtsan_interceptors.cc1074 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/
Ddfa.cc962 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/
Dgtest-port_test.cc813 { MutexLock lock(&m); } in TEST()
821 MutexLock lock(&m); in TEST()
831 MutexLock lock(mutex_); in Increment()
/external/compiler-rt/lib/tsan/go/
Dtsan_go.cc182 MutexLock(thr, 0, addr); in __tsan_mutex_after_lock()

123