Searched refs:file_hdr (Results 1 – 3 of 3) sorted by relevance
54 uint8_t file_hdr[kIvfFileHdrSize]; in Begin() local55 ASSERT_EQ(kIvfFileHdrSize, fread(file_hdr, 1, kIvfFileHdrSize, input_file_)) in Begin()58 ASSERT_TRUE(file_hdr[0] == 'D' && file_hdr[1] == 'K' && in Begin()59 file_hdr[2] == 'I' && file_hdr[3] == 'F') in Begin()
59 uint8_t file_hdr[kIvfFileHdrSize]; in Begin() local60 ASSERT_EQ(kIvfFileHdrSize, fread(file_hdr, 1, kIvfFileHdrSize, input_file_)) in Begin()63 ASSERT_TRUE(file_hdr[0] == 'D' && file_hdr[1] == 'K' && in Begin()64 file_hdr[2] == 'I' && file_hdr[3] == 'F') in Begin()
260 file_header_t *file_hdr; in split_and_load_bl2_image() local265 file_hdr = (file_header_t *)image; in split_and_load_bl2_image()267 if (file_hdr->magic != FILE_MAGIC) { in split_and_load_bl2_image()272 if (file_hdr->nr_of_imgs > MAX_NR_OF_FILES) { in split_and_load_bl2_image()279 sizeof(img_header_t) * file_hdr->nr_of_imgs; in split_and_load_bl2_image()282 file_hdr->nr_of_imgs); in split_and_load_bl2_image()283 for (i = 0; i < file_hdr->nr_of_imgs; i++) { in split_and_load_bl2_image()