Home
last modified time | relevance | path

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

/system/libziparchive/
Dzip_archive.cc246 const auto zip64EocdRecord = reinterpret_cast<const Zip64EocdRecord*>( in FindCentralDirectoryInfoForZip64() local
249 if (!zip64EocdRecord) { in FindCentralDirectoryInfoForZip64()
255 if (zip64EocdRecord->record_signature != Zip64EocdRecord::kSignature) { in FindCentralDirectoryInfoForZip64()
261 if (zip64EocdOffset <= zip64EocdRecord->cd_size || in FindCentralDirectoryInfoForZip64()
262 zip64EocdRecord->cd_start_offset > zip64EocdOffset - zip64EocdRecord->cd_size) { in FindCentralDirectoryInfoForZip64()
265 debugFileName, zip64EocdRecord->cd_start_offset, zip64EocdRecord->cd_size, in FindCentralDirectoryInfoForZip64()
270 *cdInfo = {.num_records = zip64EocdRecord->num_records, in FindCentralDirectoryInfoForZip64()
271 .cd_size = zip64EocdRecord->cd_size, in FindCentralDirectoryInfoForZip64()
272 .cd_start_offset = zip64EocdRecord->cd_start_offset}; in FindCentralDirectoryInfoForZip64()