Home
last modified time | relevance | path

Searched refs:boot_img_hdr_v1 (Results 1 – 8 of 8) sorted by relevance

/system/tools/mkbootimg/rust/
Dbootimg.rs19 boot_img_hdr_v0, boot_img_hdr_v1, boot_img_hdr_v2, boot_img_hdr_v3, boot_img_hdr_v4,
30 V1(LayoutVerified<B, boot_img_hdr_v1>),
116 1 => Ok(Self::V1(parse_header::<B, boot_img_hdr_v1>(buffer)?)), in parse()
242 let mut buffer = [0; core::mem::size_of::<boot_img_hdr_v1>()]; in parse_v1()
243 add::<boot_img_hdr_v1>( in parse_v1()
245 boot_img_hdr_v1 { in parse_v1()
255 Ok(BootImage::V1(LayoutVerified::<&[u8], boot_img_hdr_v1>::new(&buffer).unwrap())); in parse_v1()
265 _base: boot_img_hdr_v1 { in parse_v2()
Dbootimg_priv.rs155 pub struct boot_img_hdr_v1 { struct
163 const UNINIT: ::core::mem::MaybeUninit<boot_img_hdr_v1> = ::core::mem::MaybeUninit::uninit(); in bindgen_test_layout_boot_img_hdr_v1() argument
166 ::core::mem::size_of::<boot_img_hdr_v1>(), in bindgen_test_layout_boot_img_hdr_v1()
168 concat!("Size of: ", stringify!(boot_img_hdr_v1)) in bindgen_test_layout_boot_img_hdr_v1()
171 ::core::mem::align_of::<boot_img_hdr_v1>(), in bindgen_test_layout_boot_img_hdr_v1()
173 concat!("Alignment of ", stringify!(boot_img_hdr_v1)) in bindgen_test_layout_boot_img_hdr_v1()
180 stringify!(boot_img_hdr_v1), in bindgen_test_layout_boot_img_hdr_v1()
190 stringify!(boot_img_hdr_v1), in bindgen_test_layout_boot_img_hdr_v1()
198 concat!("Offset of field: ", stringify!(boot_img_hdr_v1), "::", stringify!(header_size)) in bindgen_test_layout_boot_img_hdr_v1()
201 impl Default for boot_img_hdr_v1 { implementation
[all …]
/system/tools/mkbootimg/include/bootimg/
Dbootimg.h156 struct boot_img_hdr_v1 : public boot_img_hdr_v0 { struct
199 struct boot_img_hdr_v2 : public boot_img_hdr_v1 {
/system/core/fastboot/
Dbootimg_utils.cpp92 int64_t header_actual = (sizeof(boot_img_hdr_v1) + page_mask) & (~page_mask); in mkbootimg()
117 hdr->header_size = sizeof(boot_img_hdr_v1); in mkbootimg()
Dfastboot.h49 void ParseOsPatchLevel(boot_img_hdr_v1*, const char*);
50 void ParseOsVersion(boot_img_hdr_v1*, const char*);
Dfastboot_test.cpp24 boot_img_hdr_v1 hdr; in TEST()
39 boot_img_hdr_v1 hdr; in TEST()
Dfastboot.cpp2630 void FastBootTool::ParseOsPatchLevel(boot_img_hdr_v1* hdr, const char* arg) { in ParseOsPatchLevel()
2640 void FastBootTool::ParseOsVersion(boot_img_hdr_v1* hdr, const char* arg) { in ParseOsVersion()
/system/core/fastboot/fuzzer/
Dfastboot_fuzzer.cpp67 boot_img_hdr_v1 hdr = {}; in InvokeParseApi()