Searched refs:cd_length (Results 1 – 3 of 3) sorted by relevance
/system/libziparchive/ |
D | zip_cd_entry_map.cc | 127 size_t cd_length, uint16_t max_file_name_length) { in Create() argument 133 if (cd_length > ZipStringOffset20::offset_max || in Create()
|
D | zip_archive.cc | 552 const size_t cd_length = archive->central_directory.GetMapLength(); in ParseZipArchive() local 553 const uint8_t* const cd_end = cd_ptr + cd_length; in ParseZipArchive() 562 cd_length); in ParseZipArchive() 580 if (file_name_length >= cd_length || file_name > cd_end - file_name_length) { in ParseZipArchive() 583 i, file_name_length, cd_length); in ParseZipArchive() 590 if (extra_length >= cd_length || extra_field > cd_end - extra_length) { in ParseZipArchive() 593 i, extra_length, cd_length); in ParseZipArchive() 623 if ((ptr - cd_ptr) > static_cast<int64_t>(cd_length)) { in ParseZipArchive() 624 ALOGW("Zip: bad CD advance (%tu vs %zu) at entry %" PRIu64, ptr - cd_ptr, cd_length, i); in ParseZipArchive() 630 archive->cd_entry_map = CdEntryMapInterface::Create(num_entries, cd_length, max_file_name_length); in ParseZipArchive()
|
D | zip_cd_entry_map.h | 72 size_t cd_length, uint16_t max_file_name_length);
|