Searched refs:container (Results 1 – 2 of 2) sorted by relevance
1652 let mut container = ZbiContainer::parse(&mut buffer.0[..]).unwrap(); in zbi_test_container_parse_bad_first_entry_marked() localVariable1654 container in zbi_test_container_parse_bad_first_entry_marked()1667 let mut container = ZbiContainer::parse(&mut buffer.0[..]).unwrap(); in zbi_test_container_parse_bad_entry_magic() localVariable1669 container in zbi_test_container_parse_bad_entry_magic()1680 let mut container = ZbiContainer::parse(&mut buffer.0[..]).unwrap(); in zbi_test_container_parse_bad_entry_version() localVariable1682 container in zbi_test_container_parse_bad_entry_version()1693 let mut container = ZbiContainer::parse(&mut buffer.0[..]).unwrap(); in zbi_test_container_parse_bad_entry_crc() localVariable1695 container.iter_mut().filter(|e| ZbiType::CmdLine as u32 == e.header.type_).for_each( in zbi_test_container_parse_bad_entry_crc()1710 let mut container = ZbiContainer::new(&mut buffer.0[..]).unwrap(); in zbi_test_container_new_entry() localVariable1712 container.get_next_payload().unwrap()[..payload.len()].copy_from_slice(payload); in zbi_test_container_new_entry()[all …]
45 let container = ZbiContainer::parse(&kernel[..])?; in relocate_kernel() localVariable46 container.is_bootable()?; in relocate_kernel()