Home
last modified time | relevance | path

Searched refs:BootConfigError (Results 1 – 3 of 3) sorted by relevance

/bootable/libbootloader/gbl/libbootconfig/src/
Dlib.rs23 pub enum BootConfigError { enum
31 pub type Result<T> = core::result::Result<T, BootConfigError>;
52 return Err(BootConfigError::BufferTooSmall); in new()
99 return Err(BootConfigError::BufferTooSmall); in add()
113 self.current_size.try_into().map_err(|_| BootConfigError::ArithmeticOverflow)?; in update_trailer()
147 .ok_or(BootConfigError::BufferTooSmall)? in write_str()
273 assert!(builder.add_with(|_| Err(BootConfigError::GenericReaderError(123))).is_err()); in test_add_with_error()
/bootable/libbootloader/gbl/efi/src/
Derror.rs17 use bootconfig::BootConfigError;
50 BootConfigError(BootConfigError),
Dandroid_boot.rs19 use bootconfig::{BootConfigBuilder, BootConfigError};
241 .map_err(|_| BootConfigError::GenericReaderError(-1))?; in load_android_simple()
256 .map_err(|_| BootConfigError::GenericReaderError(-1))?; in load_android_simple()
259 .map_err(|_| BootConfigError::GenericReaderError(-1))? in load_android_simple()