Searched refs:zip_entry (Results 1 – 9 of 9) sorted by relevance
/art/runtime/ |
D | zip_archive_test.cc | 38 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find("classes.dex", &error_msg)); in TEST_F() local 39 ASSERT_TRUE(zip_entry.get() != nullptr); in TEST_F() 46 bool success = zip_entry->ExtractToFile(*file, &error_msg); in TEST_F() 63 EXPECT_EQ(zip_entry->GetCrc32(), computed_crc); in TEST_F()
|
D | zip_archive.h | 71 ::ZipEntry* zip_entry, in ZipEntry() argument 73 : handle_(handle), zip_entry_(zip_entry), entry_name_(entry_name) {} in ZipEntry()
|
D | zip_archive.cc | 258 std::unique_ptr< ::ZipEntry> zip_entry(new ::ZipEntry); in Find() local 259 const int32_t error = FindEntry(handle_, ZipString(name), zip_entry.get()); in Find() 265 return new ZipEntry(handle_, zip_entry.release(), name); in Find()
|
/art/runtime/dex/ |
D | art_dex_file_loader.cc | 117 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(zip_entry_name.c_str(), error_msg)); in GetMultiDexChecksums() local 118 if (zip_entry.get() == nullptr) { in GetMultiDexChecksums() 131 if (!(zip_entry->IsUncompressed() && zip_entry->IsAlignedToDexHeader())) { in GetMultiDexChecksums() 135 checksums->push_back(zip_entry->GetCrc32()); in GetMultiDexChecksums() 137 zip_entry.reset(zip_archive->Find(zip_entry_name.c_str(), error_msg)); in GetMultiDexChecksums() 138 } while (zip_entry.get() != nullptr); in GetMultiDexChecksums() 358 std::unique_ptr<ZipEntry> zip_entry(zip_archive.Find(entry_name, error_msg)); in OpenOneDexFileFromZip() local 359 if (zip_entry == nullptr) { in OpenOneDexFileFromZip() 363 if (zip_entry->GetUncompressedLength() == 0) { in OpenOneDexFileFromZip() 370 if (zip_entry->IsUncompressed()) { in OpenOneDexFileFromZip() [all …]
|
/art/libdexfile/dex/ |
D | dex_file_loader.cc | 99 ::ZipEntry* zip_entry, in DexZipEntry() argument 101 : handle_(handle), zip_entry_(zip_entry), entry_name_(entry_name) {} in DexZipEntry() 129 std::unique_ptr< ::ZipEntry> zip_entry(new ::ZipEntry); in Find() local 130 const int32_t error = FindEntry(handle_, ZipString(name), zip_entry.get()); in Find() 135 return new DexZipEntry(handle_, zip_entry.release(), name); in Find() 393 std::unique_ptr<DexZipEntry> zip_entry(zip_archive.Find(entry_name, error_msg)); in OpenOneDexFileFromZip() local 394 if (zip_entry == nullptr) { in OpenOneDexFileFromZip() 398 if (zip_entry->GetUncompressedLength() == 0) { in OpenOneDexFileFromZip() 404 std::vector<uint8_t> map(zip_entry->Extract(error_msg)); in OpenOneDexFileFromZip() 418 zip_entry->GetCrc32(), in OpenOneDexFileFromZip()
|
/art/dex2oat/ |
D | dex2oat.cc | 1457 std::unique_ptr<ZipEntry> zip_entry(dm_file_->Find(VdexFile::kVdexNameInDmFile, &error_msg)); in OpenFile() local 1458 if (zip_entry == nullptr) { in OpenFile() 1462 std::unique_ptr<MemMap> input_file(zip_entry->MapDirectlyOrExtract( in OpenFile() 2781 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(input_filename, error_msg)); in ReadCommentedInputFromZip() local 2782 if (zip_entry.get() == nullptr) { in ReadCommentedInputFromZip() 2787 std::unique_ptr<MemMap> input_file(zip_entry->ExtractToMemMap(zip_filename, in ReadCommentedInputFromZip()
|
/art/runtime/jit/ |
D | profile_compilation_info.cc | 1181 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(kDexMetadataProfileEntry, error)); in OpenSource() local 1182 if (zip_entry == nullptr) { in OpenSource() 1191 if (zip_entry->GetUncompressedLength() == 0) { in OpenSource() 1197 std::unique_ptr<MemMap> map(zip_entry->MapDirectlyOrExtract(kDexMetadataProfileEntry, in OpenSource()
|
D | profile_compilation_info_test.cc | 278 void TestProfileLoadFromZip(const char* zip_entry, in TestProfileLoadFromZip() argument 301 writer.StartEntry(zip_entry, zip_flags); in TestProfileLoadFromZip()
|
/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() 536 zip_entry->ExtractToMemMap(jar_file.c_str(), entry_name, error_msg)); in FindAndExtractEntry() 542 *size = zip_entry->GetUncompressedLength(); in FindAndExtractEntry()
|