Searched refs:zip_entry (Results 1 – 10 of 10) sorted by relevance
/art/libdexfile/dex/ |
D | art_dex_file_loader.cc | 79 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(zip_entry_name.c_str(), error_msg)); in GetMultiDexChecksums() local 80 if (zip_entry.get() == nullptr) { in GetMultiDexChecksums() 92 if (!(zip_entry->IsUncompressed() && zip_entry->IsAlignedTo(alignof(DexFile::Header)))) { in GetMultiDexChecksums() 96 checksums->push_back(zip_entry->GetCrc32()); in GetMultiDexChecksums() 99 zip_entry.reset(zip_archive->Find(zip_entry_name.c_str(), error_msg)); in GetMultiDexChecksums() 100 } while (zip_entry.get() != nullptr); in GetMultiDexChecksums()
|
D | dex_file_loader.cc | 413 std::unique_ptr<ZipEntry> zip_entry(zip_archive.Find(entry_name, error_msg)); in OpenFromZipEntry() local 414 if (zip_entry == nullptr) { in OpenFromZipEntry() 418 if (zip_entry->GetUncompressedLength() == 0) { in OpenFromZipEntry() 427 if (file_.has_value() && zip_entry->IsUncompressed()) { in OpenFromZipEntry() 428 if (!zip_entry->IsAlignedTo(alignof(DexFile::Header))) { in OpenFromZipEntry() 436 map = zip_entry->MapDirectlyFromFile(location.c_str(), /*out*/ error_msg); in OpenFromZipEntry() 450 map = zip_entry->ExtractToMemMap(location.c_str(), entry_name, error_msg); in OpenFromZipEntry() 470 zip_entry->GetCrc32(), in OpenFromZipEntry()
|
/art/libartbase/base/ |
D | zip_archive_test.cc | 39 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find("classes.dex", &error_msg)); in TEST_F() local 40 ASSERT_TRUE(zip_entry.get() != nullptr); in TEST_F() 47 bool success = zip_entry->ExtractToFile(*file, &error_msg); in TEST_F() 64 EXPECT_EQ(zip_entry->GetCrc32(), computed_crc); in TEST_F()
|
D | zip_archive.h | 78 ::ZipEntry* zip_entry, in ZipEntry() argument 80 : handle_(handle), zip_entry_(zip_entry), entry_name_(entry_name) {} in ZipEntry()
|
D | zip_archive.cc | 297 std::unique_ptr< ::ZipEntry> zip_entry(new ::ZipEntry); in Find() local 298 const int32_t error = FindEntry(handle_, name, zip_entry.get()); in Find() 304 return new ZipEntry(handle_, zip_entry.release(), name); in Find()
|
/art/test/ |
D | run-test | 933 zip_entry = f"target/{TEST_NAME}/" variable 936 zip_entry = f"jvm/{TEST_NAME}/" variable 939 zip_entry = f"host/{TEST_NAME}/" variable 941 zip_entries = [e for e in zip.namelist() if e.startswith(zip_entry)] 943 for entry in (Path(tmp_dir) / ".unzipped" / zip_entry).iterdir():
|
/art/runtime/ |
D | vdex_file.cc | 156 std::unique_ptr<ZipEntry> zip_entry(archive.Find(VdexFile::kVdexNameInDmFile, &error_msg)); in OpenFromDm() local 157 if (zip_entry == nullptr) { in OpenFromDm() 162 MemMap input_file = zip_entry->MapDirectlyOrExtract( in OpenFromDm()
|
/art/runtime/interpreter/ |
D | unstarted_runtime.cc | 531 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(entry_name, error_msg)); in FindAndExtractEntry() local 532 if (zip_entry == nullptr) { in FindAndExtractEntry() 535 MemMap tmp_map = zip_entry->ExtractToMemMap(bcp_jar_file.c_str(), entry_name, error_msg); in FindAndExtractEntry() 541 *size = zip_entry->GetUncompressedLength(); in FindAndExtractEntry()
|
/art/libprofile/profile/ |
D | profile_compilation_info.cc | 1457 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(kDexMetadataProfileEntry, error)); in OpenSource() local 1458 if (zip_entry == nullptr) { in OpenSource() 1467 if (zip_entry->GetUncompressedLength() == 0) { in OpenSource() 1473 MemMap map = zip_entry->MapDirectlyOrExtract( in OpenSource()
|
D | profile_compilation_info_test.cc | 131 void TestProfileLoadFromZip(const char* zip_entry, in TestProfileLoadFromZip() argument 153 writer.StartEntry(zip_entry, zip_flags); in TestProfileLoadFromZip()
|