Home
last modified time | relevance | path

Searched refs:zip_sections (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Virtualization/libs/apkverify/src/
Dsigutil.rs20 use apkzip::{set_central_directory_offset, zip_sections};
55 let zip_sections = zip_sections(&mut reader)?; in new() localVariable
57 find_signing_block(&mut reader, zip_sections.central_directory_offset)?; in new()
62 central_directory_offset: zip_sections.central_directory_offset, in new()
63 central_directory_size: zip_sections.central_directory_size, in new()
64 eocd_offset: zip_sections.eocd_offset, in new()
65 eocd_size: zip_sections.eocd_size, in new()
/packages/modules/Virtualization/libs/apkzip/src/
Dziputil.rs45 pub fn zip_sections<R: Read + Seek>(mut reader: R) -> Result<ZipSections> { in zip_sections() function
125 let sections = zip_sections(&mut cursor).unwrap(); in test_zip_sections()
151 let res = zip_sections(Cursor::new([pre_eocd, cd, eocd].concat())); in test_reject_if_extra_data_between_cd_and_eocd()
/packages/modules/Virtualization/libs/apkverify/tests/
Dapkverify_test.rs21 use apkzip::zip_sections;
48 let sections = zip_sections(&mut reader).unwrap(); in test_zip_sections_with_apk()