Home
last modified time | relevance | path

Searched refs:vendor_boot_img_hdr_v4 (Results 1 – 5 of 5) sorted by relevance

/system/tools/mkbootimg/rust/
Dbootimg.rs20 vendor_boot_img_hdr_v3, vendor_boot_img_hdr_v4, BOOT_MAGIC, BOOT_MAGIC_SIZE, VENDOR_BOOT_MAGIC,
45 V4(LayoutVerified<B, vendor_boot_img_hdr_v4>),
159 4 => Ok(Self::V4(parse_header::<B, vendor_boot_img_hdr_v4>(buffer)?)), in parse()
382 let mut buffer = [0; core::mem::size_of::<vendor_boot_img_hdr_v4>()]; in vendor_parse_v4()
383 add::<vendor_boot_img_hdr_v4>( in vendor_parse_v4()
385 vendor_boot_img_hdr_v4 { in vendor_parse_v4()
395 LayoutVerified::<&[u8], vendor_boot_img_hdr_v4>::new(&buffer).unwrap(), in vendor_parse_v4()
Dbootimg_priv.rs510 pub struct vendor_boot_img_hdr_v4 { struct
519 const UNINIT: ::core::mem::MaybeUninit<vendor_boot_img_hdr_v4> = in bindgen_test_layout_vendor_boot_img_hdr_v4() argument
523 ::core::mem::size_of::<vendor_boot_img_hdr_v4>(), in bindgen_test_layout_vendor_boot_img_hdr_v4()
525 concat!("Size of: ", stringify!(vendor_boot_img_hdr_v4)) in bindgen_test_layout_vendor_boot_img_hdr_v4()
528 ::core::mem::align_of::<vendor_boot_img_hdr_v4>(), in bindgen_test_layout_vendor_boot_img_hdr_v4()
530 concat!("Alignment of ", stringify!(vendor_boot_img_hdr_v4)) in bindgen_test_layout_vendor_boot_img_hdr_v4()
537 stringify!(vendor_boot_img_hdr_v4), in bindgen_test_layout_vendor_boot_img_hdr_v4()
549 stringify!(vendor_boot_img_hdr_v4), in bindgen_test_layout_vendor_boot_img_hdr_v4()
561 stringify!(vendor_boot_img_hdr_v4), in bindgen_test_layout_vendor_boot_img_hdr_v4()
571 stringify!(vendor_boot_img_hdr_v4), in bindgen_test_layout_vendor_boot_img_hdr_v4()
[all …]
/system/core/fastboot/
Dvendor_boot_img_utils.cpp132 if (hdr->header_version == 4) return sizeof(vendor_boot_img_hdr_v4); in get_vendor_boot_header_size()
231 auto new_hdr_v4 = static_cast<vendor_boot_img_hdr_v4*>(new_hdr); in replace_default_vendor_ramdisk()
251 auto hdr_v4 = static_cast<const vendor_boot_img_hdr_v4*>(hdr); in replace_default_vendor_ramdisk()
256 auto new_hdr_v4 = static_cast<const vendor_boot_img_hdr_v4*>(new_hdr); in replace_default_vendor_ramdisk()
308 auto hdr = reinterpret_cast<const vendor_boot_img_hdr_v4*>(vendor_boot.data()); in replace_vendor_ramdisk_fragment()
342 auto new_hdr = reinterpret_cast<vendor_boot_img_hdr_v4*>(updater.new_begin()); in replace_vendor_ramdisk_fragment()
Dvendor_boot_img_utils_test.cpp305 auto hdr_v4 = static_cast<const vendor_boot_img_hdr_v4*>(hdr); in TEST_P()
378 auto hdr = reinterpret_cast<const vendor_boot_img_hdr_v4*>(new_content.data()); in TEST_P()
/system/tools/mkbootimg/include/bootimg/
Dbootimg.h404 struct vendor_boot_img_hdr_v4 : public vendor_boot_img_hdr_v3 { struct