Home
last modified time | relevance | path

Searched refs:ReadLockError (Results 1 – 4 of 4) sorted by relevance

/external/rust/android-crates-io/crates/vulkano/src/buffer/
Dmod.rs110 subbuffer::{ReadLockError, WriteLockError},
607 pub(crate) fn check_cpu_read(&self, range: Range<DeviceSize>) -> Result<(), ReadLockError> { in check_cpu_read() argument
610 CurrentAccess::CpuExclusive { .. } => return Err(ReadLockError::CpuWriteLocked), in check_cpu_read()
611 CurrentAccess::GpuExclusive { .. } => return Err(ReadLockError::GpuWriteLocked), in check_cpu_read()
1026 impl From<ReadLockError> for BufferError {
1027 fn from(err: ReadLockError) -> Self { in from()
1029 ReadLockError::CpuWriteLocked => Self::InUseByHost, in from()
1030 ReadLockError::GpuWriteLocked => Self::InUseByDevice, in from()
Dsubbuffer.rs667 pub enum ReadLockError { enum
674 impl Error for ReadLockError {} implementation
676 impl Display for ReadLockError { implementation
682 ReadLockError::CpuWriteLocked => { in fmt()
685 ReadLockError::GpuWriteLocked => { in fmt()
/external/crosvm/base/src/
Dperiodic_logger.rs73 Err(e) => Err(PeriodicLoggerError::ReadLockError(e.to_string())), in increment_counter()
118 PeriodicLoggerError::ReadLockError(e.to_string()) in start_logging_thread()
150 ReadLockError(String), enumerator
/external/rust/android-crates-io/crates/vulkano/src/image/
Dsys.rs22 buffer::subbuffer::{ReadLockError, WriteLockError},
2417 pub(crate) fn check_cpu_read(&self, range: Range<DeviceSize>) -> Result<(), ReadLockError> { in check_cpu_read() argument
2420 CurrentAccess::CpuExclusive { .. } => return Err(ReadLockError::CpuWriteLocked), in check_cpu_read()
2421 CurrentAccess::GpuExclusive { .. } => return Err(ReadLockError::GpuWriteLocked), in check_cpu_read()