Home
last modified time | relevance | path

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

/bootable/libbootloader/gbl/third_party/libzbi/src/
Dlib.rs1773 let buf_len = 2 * core::mem::size_of::<ZbiHeader>() - 1; in zbi_test_container_new_entry_no_space_for_header() localVariable
1774 let mut container = ZbiContainer::new(&mut buffer.0[..buf_len]).unwrap(); in zbi_test_container_new_entry_no_space_for_header()
1793 let buf_len = 2 * core::mem::size_of::<ZbiHeader>() + payload.len() - 1; in zbi_test_container_new_entry_no_space_for_payload() localVariable
1794 let mut container = ZbiContainer::new(&mut buffer.0[..buf_len]).unwrap(); in zbi_test_container_new_entry_no_space_for_payload()
1813 let buf_len = 2 * core::mem::size_of::<ZbiHeader>() in zbi_test_container_new_entry_with_payload_just_enough_to_fit_no_align() localVariable
1816 let mut container = ZbiContainer::new(&mut buffer.0[..buf_len]).unwrap(); in zbi_test_container_new_entry_with_payload_just_enough_to_fit_no_align()
1831 let buf_len = 2 * core::mem::size_of::<ZbiHeader>() in zbi_test_container_new_entry_with_payload_just_enough_to_fit_with_alignment() localVariable
1834 let mut container = ZbiContainer::new(&mut buffer.0[..buf_len]).unwrap(); in zbi_test_container_new_entry_with_payload_just_enough_to_fit_with_alignment()