Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_archive.cc57 struct EocdRecord { struct
89 EocdRecord() = default; argument
90 DISALLOW_COPY_AND_ASSIGN(EocdRecord);
208 static const uint32_t kMaxEOCDSearch = kMaxCommentLen + sizeof(EocdRecord);
433 int i = read_amount - sizeof(EocdRecord); in MapCentralDirectory0()
437 if (get_unaligned<uint32_t>(sig_addr) == EocdRecord::kSignature) { in MapCentralDirectory0()
449 const EocdRecord* eocd = reinterpret_cast<const EocdRecord*>(scan_buffer + i); in MapCentralDirectory0()
454 const off64_t calculated_length = eocd_offset + sizeof(EocdRecord) in MapCentralDirectory0()
520 if (file_length < static_cast<off64_t>(sizeof(EocdRecord))) { in MapCentralDirectory()