Searched refs:ZbiContainer (Results 1 – 2 of 2) sorted by relevance
/bootable/libbootloader/gbl/third_party/libzbi/src/ |
D | lib.rs | 260 pub struct ZbiContainer<B: ByteSlice> { struct 282 impl<B: ByteSlice> ZbiContainer<B> { implementation 384 impl<B: ByteSliceMut + PartialEq> ZbiContainer<B> { implementation 615 pub fn extend(&mut self, other: &ZbiContainer<impl ByteSlice + PartialEq>) -> ZbiResult<()> { in extend() 638 impl<B: ByteSlice + PartialEq + DerefMut> ZbiContainer<B> { implementation 1404 let _container = ZbiContainer::new(&mut buffer.0[..]).unwrap(); in zbi_test_container_new() 1423 assert_eq!(ZbiContainer::new(&mut buffer.0[..ZBI_HEADER_SIZE - 1]), Err(ZbiError::TooBig)); in zbi_test_container_new_too_small() 1431 ZbiContainer::new(&mut buffer.0[offset..ZBI_HEADER_SIZE + offset]), in zbi_test_container_new_unaligned() 1440 let _container = ZbiContainer::new(&mut buffer.0[..]).unwrap(); in zbi_test_container_parse_empty() 1451 let ZbiContainer { header, buffer: _, payload_length } = in zbi_test_container_parse_empty() localVariable [all …]
|
/bootable/libbootloader/gbl/efi/src/ |
D | fuchsia_boot.rs | 22 use zbi::{ZbiContainer, ZbiFlags, ZbiHeader, ZbiType, ZBI_ALIGNMENT_USIZE}; 45 let container = ZbiContainer::parse(&kernel[..])?; in relocate_kernel() 68 let payload_length = ZbiContainer::parse(&zbi[..])?.get_payload_length_usize(); in zbi_container_size() 110 (Some(ZbiContainer::parse(custom_zbi_buffer).unwrap()), remains) in load_fuchsia_simple() 133 let mut zbi = ZbiContainer::parse(&mut load[..])?; in load_fuchsia_simple()
|