Lines Matching refs:MemoryError
9 use crate::state::{InterpreterFunctionRef, MemoryError, State};
298 ) -> Result<Address, MemoryError> { in stack_address() argument
304 return Err(MemoryError::InvalidOffset { in stack_address()
326 ) -> Result<DataValue, MemoryError> { in checked_load() argument
334 return Err(MemoryError::OutOfBoundsLoad { in checked_load()
348 return Err(MemoryError::MisalignedLoad { addr, load_size }); in checked_load()
362 ) -> Result<(), MemoryError> { in checked_store() argument
370 return Err(MemoryError::OutOfBoundsStore { in checked_store()
384 return Err(MemoryError::MisalignedStore { addr, store_size }); in checked_store()
397 ) -> Result<Address, MemoryError> { in function_address() argument
451 fn resolve_global_value(&self, gv: GlobalValue) -> Result<DataValue, MemoryError> { in resolve_global_value() argument
523 .map_err(|_| MemoryError::InvalidAddressType(global_type))?; in resolve_global_value()
533 .map_err(|_| MemoryError::InvalidAddress(dv))?; in resolve_global_value()