Searched refs:AftlImageHeader (Results 1 – 7 of 7) sorted by relevance
93 (AVB_AFTL_MAX_AFTL_IMAGE_SIZE - sizeof(AftlImageHeader))188 typedef struct AftlImageHeader { struct194 } AVB_ATTR_PACKED AftlImageHeader; argument198 AftlImageHeader header;
807 AftlImageHeader* image_header; in parse_aftl_image()814 if (aftl_blob_size < sizeof(AftlImageHeader)) { in parse_aftl_image()818 image_header = (AftlImageHeader*)aftl_blob; in parse_aftl_image()826 if (image_size < sizeof(AftlImageHeader) || in parse_aftl_image()837 avb_memcpy(&(image->header), aftl_blob, sizeof(AftlImageHeader)); in parse_aftl_image()855 aftl_blob += sizeof(AftlImageHeader); in parse_aftl_image()856 remaining_size = aftl_blob_size - sizeof(AftlImageHeader); in parse_aftl_image()
59 This structure contains the `AftlImageHeader` header that describes the number
74 void TestAftlImageHeader(AftlImageHeader* aftl_header, uint16_t icp_count) { in TestAftlImageHeader()112 AftlImageHeader* header; in TEST_F()120 AftlImageHeader* header; in TEST_F()
515 self.assertIsInstance(d.image_header, aftltool.AftlImageHeader)522 self.assertIsInstance(d.image_header, aftltool.AftlImageHeader)654 self.test_header_valid = aftltool.AftlImageHeader()657 self.test_header_invalid = aftltool.AftlImageHeader()671 header = aftltool.AftlImageHeader()677 self.assertEqual(header.aftl_image_size, aftltool.AftlImageHeader.SIZE)682 header = aftltool.AftlImageHeader(self.test_header_bytes)688 self.assertEqual(header.aftl_image_size, aftltool.AftlImageHeader.SIZE)705 header = aftltool.AftlImageHeader()709 header = aftltool.AftlImageHeader()[all …]
234 class AftlImageHeader(object): class298 if self.magic != AftlImageHeader.MAGIC:1328 image_header_bytes = data[0:AftlImageHeader.SIZE]1329 self.image_header = AftlImageHeader(image_header_bytes)1335 icp_index = AftlImageHeader.SIZE1351 self.image_header = AftlImageHeader()1600 tmp_header_bytes = image.read(AftlImageHeader.SIZE)1601 if not tmp_header_bytes or len(tmp_header_bytes) != AftlImageHeader.SIZE:1606 tmp_header = AftlImageHeader(tmp_header_bytes)