Searched refs:boot_img_hdr_v0 (Results 1 – 5 of 5) sorted by relevance
/system/tools/mkbootimg/rust/ |
D | bootimg.rs | 19 boot_img_hdr_v0, boot_img_hdr_v1, boot_img_hdr_v2, boot_img_hdr_v3, boot_img_hdr_v4, 28 V0(LayoutVerified<B, boot_img_hdr_v0>), 115 0 => Ok(Self::V0(parse_header::<B, boot_img_hdr_v0>(buffer)?)), in parse() 188 let mut buffer = [0; core::mem::size_of::<boot_img_hdr_v0>()]; in buffer_too_small_valid_version() 189 add::<boot_img_hdr_v0>( in buffer_too_small_valid_version() 191 boot_img_hdr_v0 { in buffer_too_small_valid_version() 202 let mut buffer = [0; core::mem::size_of::<boot_img_hdr_v0>()]; in bad_magic() 203 add::<boot_img_hdr_v0>( in bad_magic() 205 boot_img_hdr_v0 { magic: *b"ANDROGEN", ..Default::default() }, in bad_magic() 212 let mut buffer = [0; core::mem::size_of::<boot_img_hdr_v0>()]; in bad_version() [all …]
|
D | bootimg_priv.rs | 36 pub struct boot_img_hdr_v0 { struct 55 const UNINIT: ::core::mem::MaybeUninit<boot_img_hdr_v0> = ::core::mem::MaybeUninit::uninit(); in bindgen_test_layout_boot_img_hdr_v0() argument 58 ::core::mem::size_of::<boot_img_hdr_v0>(), in bindgen_test_layout_boot_img_hdr_v0() 60 concat!("Size of: ", stringify!(boot_img_hdr_v0)) in bindgen_test_layout_boot_img_hdr_v0() 63 ::core::mem::align_of::<boot_img_hdr_v0>(), in bindgen_test_layout_boot_img_hdr_v0() 65 concat!("Alignment of ", stringify!(boot_img_hdr_v0)) in bindgen_test_layout_boot_img_hdr_v0() 70 concat!("Offset of field: ", stringify!(boot_img_hdr_v0), "::", stringify!(magic)) in bindgen_test_layout_boot_img_hdr_v0() 75 concat!("Offset of field: ", stringify!(boot_img_hdr_v0), "::", stringify!(kernel_size)) in bindgen_test_layout_boot_img_hdr_v0() 80 concat!("Offset of field: ", stringify!(boot_img_hdr_v0), "::", stringify!(kernel_addr)) in bindgen_test_layout_boot_img_hdr_v0() 85 concat!("Offset of field: ", stringify!(boot_img_hdr_v0), "::", stringify!(ramdisk_size)) in bindgen_test_layout_boot_img_hdr_v0() [all …]
|
/system/tools/mkbootimg/include/bootimg/ |
D | bootimg.h | 67 struct boot_img_hdr_v0 { struct 120 typedef struct boot_img_hdr_v0 boot_img_hdr; argument 156 struct boot_img_hdr_v1 : public boot_img_hdr_v0 {
|
/system/update_engine/payload_generator/ |
D | boot_img_filesystem.cc | 53 if (static_cast<size_t>(st.st_size) < sizeof(boot_img_hdr_v0)) { in CreateFromFile() 88 header_version == 3 ? sizeof(boot_img_hdr_v3) : sizeof(boot_img_hdr_v0); in CreateFromFile() 97 auto hdr_v0 = reinterpret_cast<boot_img_hdr_v0*>(header_blob.data()); in CreateFromFile()
|
D | boot_img_filesystem_unittest.cc | 51 boot_img_hdr_v0 hdr_v0{}; in GetBootImg()
|