Lines Matching refs:zip_entry
118 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(zip_entry_name.c_str(), error_msg)); in GetMultiDexChecksums() local
119 if (zip_entry.get() == nullptr) { in GetMultiDexChecksums()
132 if (!(zip_entry->IsUncompressed() && zip_entry->IsAlignedTo(alignof(DexFile::Header)))) { in GetMultiDexChecksums()
136 checksums->push_back(zip_entry->GetCrc32()); in GetMultiDexChecksums()
138 zip_entry.reset(zip_archive->Find(zip_entry_name.c_str(), error_msg)); in GetMultiDexChecksums()
139 } while (zip_entry.get() != nullptr); in GetMultiDexChecksums()
390 std::unique_ptr<ZipEntry> zip_entry(zip_archive.Find(entry_name, error_msg)); in OpenOneDexFileFromZip() local
391 if (zip_entry == nullptr) { in OpenOneDexFileFromZip()
395 if (zip_entry->GetUncompressedLength() == 0) { in OpenOneDexFileFromZip()
402 if (zip_entry->IsUncompressed()) { in OpenOneDexFileFromZip()
403 if (!zip_entry->IsAlignedTo(alignof(DexFile::Header))) { in OpenOneDexFileFromZip()
411 map = zip_entry->MapDirectlyFromFile(location.c_str(), /*out*/error_msg); in OpenOneDexFileFromZip()
423 map = zip_entry->ExtractToMemMap(location.c_str(), entry_name, error_msg); in OpenOneDexFileFromZip()
440 zip_entry->GetCrc32(), in OpenOneDexFileFromZip()