Searched refs:buf_len (Results 1 – 1 of 1) sorted by relevance
1773 let buf_len = 2 * core::mem::size_of::<ZbiHeader>() - 1; in zbi_test_container_new_entry_no_space_for_header() localVariable1774 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() localVariable1794 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() localVariable1816 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() localVariable1834 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()