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
64 EocdRecord() = default; argument
65 DISALLOW_COPY_AND_ASSIGN(EocdRecord);
Dzip_archive.cc65 static const uint32_t kMaxEOCDSearch = kMaxCommentLen + sizeof(EocdRecord);
231 int32_t i = read_amount - sizeof(EocdRecord); in FindCentralDirectoryInfo()
235 if (android::base::get_unaligned<uint32_t>(sig_addr) == EocdRecord::kSignature) { in FindCentralDirectoryInfo()
247 auto eocd = reinterpret_cast<const EocdRecord*>(scan_buffer.data() + i); in FindCentralDirectoryInfo()
252 const off64_t calculated_length = eocd_offset + sizeof(EocdRecord) + eocd->comment_length; in FindCentralDirectoryInfo()
302 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()