Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_archive_common.h29 struct EocdRecord { struct
61 EocdRecord() = default; argument
62 DISALLOW_COPY_AND_ASSIGN(EocdRecord);
Dzip_archive.cc58 static const uint32_t kMaxEOCDSearch = kMaxCommentLen + sizeof(EocdRecord);
237 int i = read_amount - sizeof(EocdRecord); in MapCentralDirectory0()
241 if (get_unaligned<uint32_t>(sig_addr) == EocdRecord::kSignature) { in MapCentralDirectory0()
253 const EocdRecord* eocd = reinterpret_cast<const EocdRecord*>(scan_buffer + i); in MapCentralDirectory0()
258 const off64_t calculated_length = eocd_offset + sizeof(EocdRecord) in MapCentralDirectory0()
329 if (file_length < static_cast<off64_t>(sizeof(EocdRecord))) { in MapCentralDirectory()
Dzip_writer.cc504 EocdRecord er = {}; in Finish()
505 er.eocd_signature = EocdRecord::kSignature; in Finish()