Lines Matching refs:TooBig
143 return Err(ZbiError::TooBig); in parse()
226 return Err(ZbiError::TooBig); in new()
353 let length: usize = header.length.try_into().map_err(|_| ZbiError::TooBig)?; in parse()
459 return Err(ZbiError::TooBig); in get_next_payload()
621 return Err(ZbiError::TooBig); in extend()
1149 TooBig, enumerator
1172 ZbiError::TooBig => "Too big", in fmt()
1190 return Err(ZbiError::TooBig); in get_align_buffer_offset()
1353 Err(ZbiError::TooBig) in zbi_test_item_new_too_small()
1423 assert_eq!(ZbiContainer::new(&mut buffer.0[..ZBI_HEADER_SIZE - 1]), Err(ZbiError::TooBig)); in zbi_test_container_new_too_small()
1764 Err(ZbiError::TooBig) in zbi_test_container_new_entry_no_space_left()
1784 Err(ZbiError::TooBig) in zbi_test_container_new_entry_no_space_for_header()
1804 Err(ZbiError::TooBig) in zbi_test_container_new_entry_no_space_for_payload()
1858 Err(ZbiError::TooBig) in zbi_test_container_new_entry_payload_too_big()
1888 Err(ZbiError::TooBig) in zbi_test_container_new_entry_no_space_left_unaligned()
1967 assert_eq!(container_full.extend(&container), Err(ZbiError::TooBig)); in zbi_test_container_extend_full()
1991 assert_eq!(container_small.extend(&container), Err(ZbiError::TooBig)); in zbi_test_container_extend_1_byte_short()
2120 assert_eq!(container.get_next_payload(), Err(ZbiError::TooBig)); in zbi_test_container_get_next_paylad_header_cant_fit()
2641 assert_eq!(align_buffer(&buffer.0[1..ZBI_ALIGNMENT_USIZE - 1]), Err(ZbiError::TooBig)); in zby_test_container_align_buffer_too_short()