Home
last modified time | relevance | path

Searched refs:LockResult (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/tokio/src/loom/std/
Dparking_lot.rs6 use std::sync::LockResult;
60 pub(crate) fn read(&self) -> LockResult<RwLockReadGuard<'_, T>> { in read()
64 pub(crate) fn write(&self) -> LockResult<RwLockWriteGuard<'_, T>> { in write()
89 ) -> LockResult<MutexGuard<'a, T>> { in wait()
99 ) -> LockResult<(MutexGuard<'a, T>, WaitTimeoutResult)> { in wait_timeout()
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteClientBase.cpp123 case ContinueLock::LockResult::Success: in SendContinuePacketAndWaitForResponse()
125 case ContinueLock::LockResult::Failed: in SendContinuePacketAndWaitForResponse()
127 case ContinueLock::LockResult::Cancelled: in SendContinuePacketAndWaitForResponse()
310 GDBRemoteClientBase::ContinueLock::LockResult
323 return LockResult::Cancelled; in lock()
327 return LockResult::Failed; in lock()
332 return LockResult::Success; in lock()
DGDBRemoteClientBase.h133 enum class LockResult { Success, Cancelled, Failed }; enum
139 LockResult lock();
/external/libchrome/base/memory/
Ddiscardable_shared_memory.h47 enum LockResult { SUCCESS, PURGED, FAILED }; enum
100 LockResult Lock(size_t offset, size_t length);
159 static LockResult LockPages(const UnsafeSharedMemoryRegion& region,
Ddiscardable_shared_memory_unittest.cc74 DiscardableSharedMemory::LockResult lock_rv = memory1.Lock(0, 0); in TEST()
147 DiscardableSharedMemory::LockResult lock_rv = memory2.Lock(0, 0); in TEST()
172 DiscardableSharedMemory::LockResult lock_rv = memory2.Lock(0, 0); in TEST()
240 DiscardableSharedMemory::LockResult lock_rv = memory2.Lock(0, 0); in TEST()
271 DiscardableSharedMemory::LockResult lock_rv = in TEST()
302 DiscardableSharedMemory::LockResult lock_rv = in TEST()
368 DiscardableSharedMemory::LockResult lock_rv = memory.Lock(0, 0); in TEST()
386 DiscardableSharedMemory::LockResult lock_rv = memory.Lock(0, 0); in TEST()
Ddiscardable_shared_memory.cc193 DiscardableSharedMemory::LockResult DiscardableSharedMemory::Lock( in Lock()
479 DiscardableSharedMemory::LockResult DiscardableSharedMemory::LockPages( in LockPages()
/external/rust/crates/crossbeam-utils/src/sync/
Dsharded_lock.rs8 use std::sync::{LockResult, PoisonError, TryLockError, TryLockResult};
133 pub fn into_inner(self) -> LockResult<T> { in into_inner()
189 pub fn get_mut(&mut self) -> LockResult<&mut T> { in get_mut()
284 pub fn read(&self) -> LockResult<ShardedLockReadGuard<'_, T>> { in read()
408 pub fn write(&self) -> LockResult<ShardedLockWriteGuard<'_, T>> { in write()
/external/minigbm/cros_gralloc/gralloc3/
DCrosGralloc3Mapper.h52 struct LockResult { struct
57 LockResult lockInternal(cros_gralloc_handle_t crosHandle, uint64_t cpuUsage, argument
DCrosGralloc3Mapper.cc211 LockResult result = lockInternal(crosHandle, cpuUsage, accessRegion, acquireFence); in lock()
251 LockResult result = lockInternal(crosHandle, cpuUsage, accessRegion, acquireFence); in lockYCbCr()
307 CrosGralloc3Mapper::LockResult CrosGralloc3Mapper::lockInternal( in lockInternal()
310 LockResult result = {}; in lockInternal()