Home
last modified time | relevance | path

Searched refs:FormattedBytes (Results 1 – 2 of 2) sorted by relevance

/bootable/libbootloader/gbl/libfastboot/src/
Dlib.rs177 pub struct CommandError(FormattedBytes<[u8; COMMAND_ERROR_LENGTH]>);
194 let mut res = CommandError(FormattedBytes([0u8; COMMAND_ERROR_LENGTH], 0)); in from()
362 let mut formatted_bytes = FormattedBytes::new(&mut $arr[..]);
783 let mut formatted_bytes = FormattedBytes::new(&mut res); in get_var_all()
921 pub struct FormattedBytes<T: AsMut<[u8]>>(T, usize); struct
923 impl<T: AsMut<[u8]>> FormattedBytes<T> { implementation
945 impl<T: AsMut<[u8]>> core::fmt::Write for FormattedBytes<T> { implementation
957 let mut formatted_bytes = FormattedBytes::new(&mut $arr[..]);
/bootable/libbootloader/gbl/libgbl/src/fastboot/
Dvars.rs18 use fastboot::{next_arg, next_arg_u64, snprintf, CommandError, FormattedBytes};