Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_archive.cc449 const EocdRecord* eocd = reinterpret_cast<const EocdRecord*>(scan_buffer + i); in MapCentralDirectory0() local
455 + eocd->comment_length; in MapCentralDirectory0()
466 if (eocd->cd_start_offset + eocd->cd_size > eocd_offset) { in MapCentralDirectory0()
468 eocd->cd_start_offset, eocd->cd_size, static_cast<int64_t>(eocd_offset)); in MapCentralDirectory0()
471 if (eocd->num_records == 0) { in MapCentralDirectory0()
477 eocd->num_records, eocd->cd_size, eocd->cd_start_offset); in MapCentralDirectory0()
484 static_cast<off64_t>(eocd->cd_start_offset), in MapCentralDirectory0()
485 static_cast<size_t>(eocd->cd_size), true /* read only */) ) { in MapCentralDirectory0()
489 archive->num_entries = eocd->num_records; in MapCentralDirectory0()
490 archive->directory_offset = eocd->cd_start_offset; in MapCentralDirectory0()