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
62 EocdRecord() = default; argument
63 DISALLOW_COPY_AND_ASSIGN(EocdRecord);
Dzip_archive.cc65 static const uint32_t kMaxEOCDSearch = kMaxCommentLen + sizeof(EocdRecord);
246 int i = read_amount - sizeof(EocdRecord); in MapCentralDirectory0()
250 if (get_unaligned<uint32_t>(sig_addr) == EocdRecord::kSignature) { in MapCentralDirectory0()
262 const EocdRecord* eocd = reinterpret_cast<const EocdRecord*>(scan_buffer + i); in MapCentralDirectory0()
267 const off64_t calculated_length = eocd_offset + sizeof(EocdRecord) + eocd->comment_length; in MapCentralDirectory0()
332 if (file_length < static_cast<off64_t>(sizeof(EocdRecord))) { in MapCentralDirectory()
Dzip_writer.cc507 EocdRecord er = {}; in Finish()
508 er.eocd_signature = EocdRecord::kSignature; in Finish()