Searched refs:cd_size (Results 1 – 5 of 5) sorted by relevance
/system/libziparchive/ |
D | zip_archive.cc | 134 uint64_t cd_size; member 197 if (zip64EocdOffset <= zip64EocdRecord.cd_size || in FindCentralDirectoryInfoForZip64() 198 zip64EocdRecord.cd_start_offset > zip64EocdOffset - zip64EocdRecord.cd_size) { in FindCentralDirectoryInfoForZip64() 201 debugFileName, zip64EocdRecord.cd_start_offset, zip64EocdRecord.cd_size, zip64EocdOffset); in FindCentralDirectoryInfoForZip64() 206 .cd_size = zip64EocdRecord.cd_size, in FindCentralDirectoryInfoForZip64() 260 if (eocd->cd_size == UINT32_MAX || eocd->cd_start_offset == UINT32_MAX) { in FindCentralDirectoryInfo() 262 eocd->cd_size, eocd->cd_start_offset); in FindCentralDirectoryInfo() 270 if (static_cast<off64_t>(eocd->cd_start_offset) + eocd->cd_size > eocd_offset) { in FindCentralDirectoryInfo() 272 eocd->cd_start_offset, eocd->cd_size, static_cast<int64_t>(eocd_offset)); in FindCentralDirectoryInfo() 277 .cd_size = eocd->cd_size, in FindCentralDirectoryInfo() [all …]
|
D | zip_archive_private.h | 81 void Initialize(const void* map_base_ptr, off64_t cd_start_offset, size_t cd_size); 106 bool InitializeCentralDirectory(off64_t cd_start_offset, size_t cd_size);
|
D | zip_archive_common.h | 56 uint32_t cd_size; member 233 uint64_t cd_size; member
|
D | zip_archive_test.cc | 1129 zip64_eocd.cd_size = 0; in ConstructEocd() 1132 [&zip64_eocd](const CdRecordEntry& cd_entry) { zip64_eocd.cd_size += cd_entry.GetSize(); }); in ConstructEocd() 1144 zip64_locator.zip64_eocd_offset = zip64_eocd.cd_start_offset + zip64_eocd.cd_size; in ConstructEocd() 1154 eocd.cd_size = UINT32_MAX; in ConstructEocd()
|
D | zip_writer.cc | 557 er.cd_size = static_cast<uint32_t>(current_offset_ - startOfCdr); in Finish()
|