Home
last modified time | relevance | path

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

12345

/external/grpc-grpc/src/core/lib/gprpp/
Dmutex_lock.h28 class MutexLock {
30 explicit MutexLock(gpr_mu* mu) : mu_(mu) { gpr_mu_lock(mu); } in MutexLock() function
31 ~MutexLock() { gpr_mu_unlock(mu_); } in ~MutexLock()
33 MutexLock(const MutexLock&) = delete;
34 MutexLock& operator=(const MutexLock&) = delete;
/external/ImageMagick/Magick++/lib/Magick++/
DThread.h27 class MagickPPExport MutexLock
32 MutexLock(void);
35 ~MutexLock(void);
46 MutexLock(const MutexLock& original_);
49 MutexLock& operator=(const MutexLock& original );
/external/protobuf/src/google/protobuf/stubs/
Dmutex.h76 #undef MutexLock
82 class LIBPROTOBUF_EXPORT MutexLock {
84 explicit MutexLock(Mutex *mu) : mu_(mu) { this->mu_->Lock(); } in MutexLock() function
85 ~MutexLock() { this->mu_->Unlock(); } in ~MutexLock()
88 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MutexLock);
92 typedef MutexLock ReaderMutexLock;
93 typedef MutexLock WriterMutexLock;
139 using internal::MutexLock;
Donce_unittest.cc89 MutexLock lock(&done_mutex_); in IsDone()
125 MutexLock lock(&done_mutex_); in Start()
144 MutexLock lock(&mutex_); in CurrentState()
164 MutexLock lock(&mutex_); in Init()
Dcommon.cc253 MutexLock lock(log_silencer_count_mutex_); in Finish()
291 MutexLock lock(internal::log_silencer_count_mutex_); in LogSilencer()
297 MutexLock lock(internal::log_silencer_count_mutex_); in ~LogSilencer()
429 MutexLock lock(shutdown_functions_mutex); in OnShutdown()
/external/swiftshader/src/System/
DMutexLock.hpp27 class MutexLock class
30 MutexLock() in MutexLock() function in sw::MutexLock
35 ~MutexLock() in ~MutexLock()
172 using MutexLock = BackoffLock; typedef
180 explicit LockGuard(sw::MutexLock &mutex) : mutex(&mutex) in LockGuard()
185 explicit LockGuard(sw::MutexLock *mutex) : mutex(mutex) in LockGuard()
196 sw::MutexLock *mutex;
/external/ImageMagick/Magick++/lib/
DThread.cpp18 Magick::MutexLock::MutexLock(void) in MutexLock() function in Magick::MutexLock
65 Magick::MutexLock::~MutexLock(void) in ~MutexLock()
76 void Magick::MutexLock::lock(void) in lock()
95 void Magick::MutexLock::unlock(void) in unlock()
/external/swiftshader/src/Common/
DMutexLock.hpp27 class MutexLock class
30 MutexLock() in MutexLock() function in sw::MutexLock
35 ~MutexLock() in ~MutexLock()
172 using MutexLock = BackoffLock; typedef
180 explicit LockGuard(sw::MutexLock &mutex) : mutex(mutex) in LockGuard()
191 sw::MutexLock &mutex;
/external/libcxx/utils/google-benchmark/src/
Dmutex.h87 class SCOPED_CAPABILITY MutexLock {
91 MutexLock(Mutex& m) ACQUIRE(m) : ml_(m.native_handle()) {} in MutexLock() function
92 ~MutexLock() RELEASE() {} in RELEASE()
107 MutexLock ml(lock_); in wait()
115 MutexLock ml(lock_); in removeThread()
132 bool createBarrier(MutexLock& ml) REQUIRES(lock_) { in createBarrier()
Dthread_manager.h28 MutexLock lock(end_cond_mutex_); in NotifyThreadComplete()
34 MutexLock lock(end_cond_mutex_); in WaitForAllThreads()
/external/google-benchmark/src/
Dmutex.h87 class SCOPED_CAPABILITY MutexLock {
91 MutexLock(Mutex& m) ACQUIRE(m) : ml_(m.native_handle()) {} in MutexLock() function
92 ~MutexLock() RELEASE() {} in RELEASE()
107 MutexLock ml(lock_); in wait()
115 MutexLock ml(lock_); in removeThread()
132 bool createBarrier(MutexLock& ml) REQUIRES(lock_) { in createBarrier()
Dthread_manager.h28 MutexLock lock(end_cond_mutex_); in NotifyThreadComplete()
34 MutexLock lock(end_cond_mutex_); in WaitForAllThreads()
/external/gflags/src/
Dmutex.h306 class MutexLock {
308 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } in MutexLock() function
309 ~MutexLock() { mu_->Unlock(); } in ~MutexLock()
313 MutexLock(const MutexLock&);
314 void operator=(const MutexLock&);
341 #define MutexLock(x) COMPILE_ASSERT(0, mutex_lock_decl_missing_var_name) macro
/external/clang/test/SemaCXX/
Dwarn-comma-operator.cpp197 class MutexLock { class
199 MutexLock(Mutex &);
200 MutexLock();
201 ~MutexLock();
210 return (MutexLock(StatusMutex), Status); in get_status()
215 return (MutexLock(), Status); in get_status()
/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/src/
Dgmock-spec-builders.cc177 MutexLock l(&mutex_); in CheckActionCountIfNotDone()
282 MutexLock l(&g_gmock_mutex); in RegisterOwner()
296 MutexLock l(&g_gmock_mutex); in SetOwnerAndName()
309 MutexLock l(&g_gmock_mutex); in MockObject()
326 MutexLock l(&g_gmock_mutex); in Name()
610 internal::MutexLock l(&internal::g_gmock_mutex); in SetReactionOnUninterestingCalls()
641 internal::MutexLock l(&internal::g_gmock_mutex); in UnregisterCallReaction()
650 internal::MutexLock l(&internal::g_gmock_mutex); in GetReactionOnUninterestingCalls()
659 internal::MutexLock l(&internal::g_gmock_mutex); in AllowLeak()
668 internal::MutexLock l(&internal::g_gmock_mutex); in VerifyAndClearExpectations()
[all …]
/external/swiftshader/src/Reactor/
DMutexLock.hpp27 class MutexLock class
30 MutexLock() in MutexLock() function in rr::MutexLock
35 ~MutexLock() in ~MutexLock()
172 using MutexLock = BackoffLock; typedef
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
Dcall-tc.ll147 %class.MutexLock = type { i8 }
156 %lock = alloca %class.MutexLock, align 1
157 %1 = call %class.MutexLock* @_ZN9MutexLockC1Ev(%class.MutexLock* %lock)
160 %4 = call %class.MutexLock* @_ZN9MutexLockD1Ev(%class.MutexLock* %lock)
164 declare %class.MutexLock* @_ZN9MutexLockC1Ev(%class.MutexLock*) unnamed_addr nounwind align 2
166 declare %class.MutexLock* @_ZN9MutexLockD1Ev(%class.MutexLock*) unnamed_addr nounwind align 2
/external/llvm/test/CodeGen/ARM/
Dcall-tc.ll147 %class.MutexLock = type { i8 }
156 %lock = alloca %class.MutexLock, align 1
157 %1 = call %class.MutexLock* @_ZN9MutexLockC1Ev(%class.MutexLock* %lock)
160 %4 = call %class.MutexLock* @_ZN9MutexLockD1Ev(%class.MutexLock* %lock)
164 declare %class.MutexLock* @_ZN9MutexLockC1Ev(%class.MutexLock*) unnamed_addr nounwind align 2
166 declare %class.MutexLock* @_ZN9MutexLockD1Ev(%class.MutexLock*) unnamed_addr nounwind align 2
/external/googletest/googlemock/src/
Dgmock-spec-builders.cc209 MutexLock l(&mutex_); in CheckActionCountIfNotDone()
316 MutexLock l(&g_gmock_mutex); in RegisterOwner()
330 MutexLock l(&g_gmock_mutex); in SetOwnerAndName()
343 MutexLock l(&g_gmock_mutex); in MockObject()
360 MutexLock l(&g_gmock_mutex); in Name()
657 internal::MutexLock l(&internal::g_gmock_mutex); in SetReactionOnUninterestingCalls()
688 internal::MutexLock l(&internal::g_gmock_mutex); in UnregisterCallReaction()
697 internal::MutexLock l(&internal::g_gmock_mutex); in GetReactionOnUninterestingCalls()
707 internal::MutexLock l(&internal::g_gmock_mutex); in AllowLeak()
716 internal::MutexLock l(&internal::g_gmock_mutex); in VerifyAndClearExpectations()
[all …]
/external/tensorflow/tensorflow/stream_executor/
Dmulti_platform_manager.cc75 absl::MutexLock lock(&mu_); in RegisterPlatform()
97 absl::MutexLock lock(&mu_); in PlatformWithName()
109 absl::MutexLock lock(&mu_); in PlatformWithId()
121 absl::MutexLock lock(&mu_); in InitializePlatformWithName()
137 absl::MutexLock lock(&mu_); in InitializePlatformWithId()
153 absl::MutexLock lock(&mu_); in RegisterListener()
161 absl::MutexLock lock(&mu_); in AllPlatforms()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ConsumeMutexLock.pbtxt6 A tensor returned by `MutexLock`.
9 summary: "This op consumes a lock created by `MutexLock`."
11 This op exists to consume a tensor created by `MutexLock` (other than
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_compilation_cache.cc77 absl::MutexLock lock(&mu_); in Release()
97 absl::MutexLock lock(&mu_); in DiscardEntryRef()
211 absl::MutexLock lock(&mu_); in CompileIfKeyAbsent()
265 absl::MutexLock lock(&mu_); in Lookup()
/external/grpc-grpc/src/core/lib/channel/
Dchannelz_registry.cc57 MutexLock lock(&mu_); in InternalRegister()
65 MutexLock lock(&mu_); in InternalUnregister()
71 MutexLock lock(&mu_); in InternalGet()
/external/grpc-grpc/src/core/tsi/ssl/session_cache/
Dssl_session_cache.cc101 grpc_core::MutexLock lock(&lock_); in Size()
121 grpc_core::MutexLock lock(&lock_); in Put()
144 grpc_core::MutexLock lock(&lock_); in Get()

12345