Searched refs:zip_sections (Results 1 – 3 of 3) sorted by relevance
20 use apkzip::{set_central_directory_offset, zip_sections};55 let zip_sections = zip_sections(&mut reader)?; in new() localVariable57 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()
45 pub fn zip_sections<R: Read + Seek>(mut reader: R) -> Result<ZipSections> { in zip_sections() function125 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()
21 use apkzip::zip_sections;48 let sections = zip_sections(&mut reader).unwrap(); in test_zip_sections_with_apk()