Home
last modified time | relevance | path

Searched refs:EocdRecord (Results 1 – 4 of 4) sorted by relevance

/system/libziparchive/
Dzip_archive_common.h31 struct EocdRecord { struct
63 EocdRecord() = default; argument
66 DISALLOW_COPY_AND_ASSIGN(EocdRecord);
Dzip_archive.cc68 static const uint32_t kMaxEOCDSearch = kMaxCommentLen + sizeof(EocdRecord);
236 int32_t i = read_amount - sizeof(EocdRecord); in FindCentralDirectoryInfo()
240 if (android::base::get_unaligned<uint32_t>(sig_addr) == EocdRecord::kSignature) { in FindCentralDirectoryInfo()
252 auto eocd = reinterpret_cast<const EocdRecord*>(scan_buffer.data() + i); in FindCentralDirectoryInfo()
257 const off64_t calculated_length = eocd_offset + sizeof(EocdRecord) + eocd->comment_length; in FindCentralDirectoryInfo()
307 if (file_length < static_cast<off64_t>(sizeof(EocdRecord))) { in MapCentralDirectory()
Dzip_writer.cc546 EocdRecord er = {}; in Finish()
547 er.eocd_signature = EocdRecord::kSignature; in Finish()
Dzip_archive_test.cc1149 EocdRecord eocd = {}; in ConstructEocd()
1150 eocd.eocd_signature = EocdRecord::kSignature, in ConstructEocd()
1157 reinterpret_cast<uint8_t*>(&eocd) + sizeof(EocdRecord)); in ConstructEocd()