Lines Matching refs:Truncated
326 return Err(ZbiError::Truncated); in is_bootable()
334 None => Err(ZbiError::Truncated), in is_bootable()
355 return Err(ZbiError::Truncated); in parse()
387 return Err(ZbiError::Truncated); in set_payload_length_usize()
668 self.state = Err(ZbiError::Truncated); in next()
1147 Truncated, enumerator
1171 ZbiError::Truncated => "Truncaded error", in fmt()
1622 assert_eq!(ZbiContainer::parse(&*buffer), Err(ZbiError::Truncated)); in zbi_test_container_parse_without_last_padding_fail_truncated()
1634 assert_eq!(ZbiContainer::parse(&buffer[..buffer.len() - 1]), Err(ZbiError::Truncated)); in zbi_test_container_parse_error_payload_truncated()
1646 assert_eq!(ZbiContainer::parse(&buffer[..buffer.len() - 1]), Err(ZbiError::Truncated)); in zbi_test_container_parse_error_truncated()
2417 assert_eq!(container.is_bootable(), Err(ZbiError::Truncated)); in zbi_test_is_bootable_empty_container()