Lines Matching refs:cdInfo
157 off64_t eocdOffset, CentralDirectoryInfo* cdInfo) { in FindCentralDirectoryInfoForZip64() argument
208 *cdInfo = {.num_records = zip64EocdRecord.num_records, in FindCentralDirectoryInfoForZip64()
219 CentralDirectoryInfo* cdInfo) { in FindCentralDirectoryInfo() argument
268 return FindCentralDirectoryInfoForZip64(debug_file_name, archive, eocd_offset, cdInfo); in FindCentralDirectoryInfo()
281 *cdInfo = {.num_records = eocd->num_records, in FindCentralDirectoryInfo()
329 CentralDirectoryInfo cdInfo = {}; in MapCentralDirectory() local
338 file_length, scan_buffer, &cdInfo); in MapCentralDirectory()
345 if (cdInfo.num_records == 0) { in MapCentralDirectory()
352 if (cdInfo.cd_size >= SIZE_MAX) { in MapCentralDirectory()
354 cdInfo.cd_size); in MapCentralDirectory()
358 ALOGV("+++ num_entries=%" PRIu64 " dir_size=%" PRIu64 " dir_offset=%" PRIu64, cdInfo.num_records, in MapCentralDirectory()
359 cdInfo.cd_size, cdInfo.cd_start_offset); in MapCentralDirectory()
362 if (!archive->InitializeCentralDirectory(static_cast<off64_t>(cdInfo.cd_start_offset), in MapCentralDirectory()
363 static_cast<size_t>(cdInfo.cd_size))) { in MapCentralDirectory()
367 archive->num_entries = cdInfo.num_records; in MapCentralDirectory()
368 archive->directory_offset = cdInfo.cd_start_offset; in MapCentralDirectory()