Searched refs:eocd (Results 1 – 1 of 1) sorted by relevance
262 const EocdRecord* eocd = reinterpret_cast<const EocdRecord*>(scan_buffer + i); in MapCentralDirectory0() local267 const off64_t calculated_length = eocd_offset + sizeof(EocdRecord) + eocd->comment_length; in MapCentralDirectory0()278 if (static_cast<off64_t>(eocd->cd_start_offset) + eocd->cd_size > eocd_offset) { in MapCentralDirectory0()280 eocd->cd_start_offset, eocd->cd_size, static_cast<int64_t>(eocd_offset)); in MapCentralDirectory0()283 if (eocd->num_records == 0) { in MapCentralDirectory0()290 ALOGV("+++ num_entries=%" PRIu32 " dir_size=%" PRIu32 " dir_offset=%" PRIu32, eocd->num_records, in MapCentralDirectory0()291 eocd->cd_size, eocd->cd_start_offset); in MapCentralDirectory0()298 if (!archive->InitializeCentralDirectory(static_cast<off64_t>(eocd->cd_start_offset), in MapCentralDirectory0()299 static_cast<size_t>(eocd->cd_size))) { in MapCentralDirectory0()304 archive->num_entries = eocd->num_records; in MapCentralDirectory0()[all …]