Home
last modified time | relevance | path

Searched refs:GetLock (Results 1 – 19 of 19) sorted by relevance

/external/llvm-project/lldb/source/Host/windows/
DProcessRunLock.cpp12 static PSRWLOCK GetLock(lldb::rwlock_t lock) { in GetLock() function
17 ::AcquireSRWLockShared(GetLock(rwlock)); in ReadLock()
22 ::ReleaseSRWLockShared(GetLock(rwlock)); in ReadUnlock()
27 ::AcquireSRWLockExclusive(GetLock(rwlock)); in WriteLock()
32 return !!::TryAcquireSRWLockExclusive(GetLock(rwlock)); in WriteTryLock()
36 ::ReleaseSRWLockExclusive(GetLock(rwlock)); in WriteUnlock()
44 InitializeSRWLock(GetLock(m_rwlock)); in ProcessRunLock()
/external/tensorflow/tensorflow/core/platform/
Dmutex_test.cc28 mutex_lock GetLock() { return mutex_lock{mu}; } in GetLock() function
29 void Test() { mutex_lock lock = GetLock(); } in Test()
33 tf_shared_lock GetLock() { return tf_shared_lock{mu}; } in GetLock() function
34 void Test() { tf_shared_lock lock = GetLock(); } in Test()
/external/openscreen/third_party/abseil/src/absl/synchronization/internal/
Dwaiter.cc307 static SRWLOCK *GetLock(Waiter *w) { in GetLock() function in absl::synchronization_internal::Waiter::WinHelper
372 SRWLOCK *mu = WinHelper::GetLock(this); in Wait()
406 LockHolder h(WinHelper::GetLock(this)); in Post()
412 LockHolder h(WinHelper::GetLock(this)); in Poke()
/external/libchrome/libchrome_tools/patch/
Dhandle_table.patch83 - base::AutoLock lock(GetLock());
115 +// base::AutoLock lock(GetLock());
160 // HandleTable is thread-hostile. All access should be gated by GetLock().
161 base::Lock& GetLock();
/external/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc363 static SRWLOCK *GetLock(Waiter *w) { in GetLock() function in absl::synchronization_internal::Waiter::WinHelper
428 SRWLOCK *mu = WinHelper::GetLock(this); in Wait()
462 LockHolder h(WinHelper::GetLock(this)); in Post()
468 LockHolder h(WinHelper::GetLock(this)); in Poke()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc371 static SRWLOCK *GetLock(Waiter *w) { in GetLock() function in absl::synchronization_internal::Waiter::WinHelper
436 SRWLOCK *mu = WinHelper::GetLock(this); in Wait()
470 LockHolder h(WinHelper::GetLock(this)); in Post()
476 LockHolder h(WinHelper::GetLock(this)); in Poke()
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc363 static SRWLOCK *GetLock(Waiter *w) { in GetLock() function in absl::synchronization_internal::Waiter::WinHelper
428 SRWLOCK *mu = WinHelper::GetLock(this); in Wait()
462 LockHolder h(WinHelper::GetLock(this)); in Post()
468 LockHolder h(WinHelper::GetLock(this)); in Poke()
/external/libtextclassifier/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc371 static SRWLOCK *GetLock(Waiter *w) { in GetLock() function in absl::synchronization_internal::Waiter::WinHelper
436 SRWLOCK *mu = WinHelper::GetLock(this); in Wait()
470 LockHolder h(WinHelper::GetLock(this)); in Post()
476 LockHolder h(WinHelper::GetLock(this)); in Poke()
/external/webrtc/rtc_base/
Dthread_annotations_unittest.cc89 ScopeLock scope_lock(GetLock()); in CallWriteProtectedFunction()
106 const Lock& GetLock() RTC_LOCK_RETURNED(lock_) { return lock_; } in GetLock() function in __anone9cbecb10111::ThreadSafe
/external/libchrome/mojo/core/
Dcore.cc161 base::AutoLock lock(handles_->GetLock()); in GetDispatcher()
167 base::AutoLock lock(handles_->GetLock()); in GetAndRemoveDispatcher()
229 base::AutoLock lock(handles_->GetLock()); in AddDispatcher()
238 base::AutoLock lock(handles_->GetLock()); in AddDispatchersFromTransit()
256 base::AutoLock lock(handles_->GetLock()); in AcquireDispatchersForTransit()
266 base::AutoLock lock(handles_->GetLock()); in ReleaseDispatchersForTransit()
295 base::AutoLock lock(handles_->GetLock()); in Close()
548 base::AutoLock lock(handles_->GetLock()); in CreateMessagePipe()
602 base::AutoLock lock(handles_->GetLock()); in FuseMessagePipes()
728 base::AutoLock lock(handles_->GetLock()); in CreateDataPipe()
[all …]
Dhandle_table_unittest.cc58 base::AutoLock auto_lock(ht.GetLock()); in TEST()
Dhandle_table.h30 base::Lock& GetLock();
Dhandle_table.cc47 base::Lock& HandleTable::GetLock() { in GetLock() function in mojo::core::HandleTable
/external/vm_tools/p9/src/protocol/
Dmessages.rs110 GetLock(Tgetlock), enumerator
149 Tmessage::GetLock(ref getlock) => getlock.byte_size(), in byte_size()
187 Tmessage::GetLock(_) => TGETLOCK, in encode()
221 Tmessage::GetLock(ref getlock) => getlock.encode(writer), in encode()
273 TGETLOCK => Ok(Tmessage::GetLock(WireFormat::decode(reader)?)), in decode()
523 GetLock(Rgetlock), enumerator
563 Rmessage::GetLock(ref getlock) => getlock.byte_size(), in byte_size()
602 Rmessage::GetLock(_) => RGETLOCK, in encode()
637 Rmessage::GetLock(ref getlock) => getlock.encode(writer), in encode()
682 RGETLOCK => Ok(Rmessage::GetLock(WireFormat::decode(reader)?)), in decode()
/external/nos/host/generic/nugget/proto/nugget/app/avb/
Davb.proto33 rpc GetLock (GetLockRequest) returns (GetLockResponse); rpc
80 // GetLock
/external/libchrome/libchrome_tools/patches/
DMojo-Check-if-dispatcher-is-null-in-Core-UnwrapPlatf.patch28 base::AutoLock lock(handles_->GetLock());
/external/libchrome/mojo/core/test/
Dmojo_test_base.cc66 base::AutoLock lock(g_mach_broker->GetLock()); in ClientController()
85 base::AutoLock lock(g_mach_broker->GetLock()); in WaitForShutdown()
/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_alloc.cc59 subtle::SpinLock* GetLock() { in GetLock() function
175 subtle::SpinLock::Guard guard(*GetLock()); in PartitionAllocBaseInit()
/external/vm_tools/p9/src/server/
Dmod.rs435 Tmessage::GetLock(ref get_lock) => self.get_lock(get_lock).map(Rmessage::GetLock), in handle_message()