Home
last modified time | relevance | path

Searched refs:zip_archive (Results 1 – 7 of 7) sorted by relevance

/art/runtime/
Dzip_archive_test.cc35 …std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(GetLibCoreDexFileNames()[0].c_str(), &err… in TEST_F() local
36 ASSERT_TRUE(zip_archive.get() != nullptr) << error_msg; in TEST_F()
38 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find("classes.dex", &error_msg)); in TEST_F()
Ddex_file.cc96 std::unique_ptr<ZipArchive> zip_archive( in GetMultiDexChecksums() local
98 if (zip_archive.get() == nullptr) { in GetMultiDexChecksums()
106 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(zip_entry_name.c_str(), error_msg)); in GetMultiDexChecksums()
116 zip_entry.reset(zip_archive->Find(zip_entry_name.c_str(), error_msg)); in GetMultiDexChecksums()
261 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::OpenFromFd(fd, location.c_str(), error_msg)); in OpenZip() local
262 if (zip_archive.get() == nullptr) { in OpenZip()
266 return DexFile::OpenAllDexFilesFromZip(*zip_archive, in OpenZip()
333 std::unique_ptr<const DexFile> DexFile::OpenOneDexFileFromZip(const ZipArchive& zip_archive, in OpenOneDexFileFromZip() argument
341 std::unique_ptr<ZipEntry> zip_entry(zip_archive.Find(entry_name, error_msg)); in OpenOneDexFileFromZip()
422 bool DexFile::OpenAllDexFilesFromZip(const ZipArchive& zip_archive, in OpenAllDexFilesFromZip() argument
[all …]
Ddex_file.h1125 static bool OpenAllDexFilesFromZip(const ZipArchive& zip_archive,
1133 static std::unique_ptr<const DexFile> OpenOneDexFileFromZip(const ZipArchive& zip_archive,
DAndroid.bp228 "zip_archive.cc",
/art/dex2oat/
Ddex2oat.cc2761 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(zip_filename, error_msg)); in ReadCommentedInputFromZip() local
2762 if (zip_archive.get() == nullptr) { in ReadCommentedInputFromZip()
2765 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(input_filename, error_msg)); in ReadCommentedInputFromZip()
/art/runtime/interpreter/
Dunstarted_runtime.cc485 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(jar_file.c_str(), error_msg)); in FindAndExtractEntry() local
486 if (zip_archive == nullptr) { in FindAndExtractEntry()
489 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(entry_name, error_msg)); in FindAndExtractEntry()
/art/compiler/
Doat_writer.cc425 ZipArchive* zip_archive = zip_archives_.back().get(); in AddZippedDexFilesSource() local
426 if (zip_archive == nullptr) { in AddZippedDexFilesSource()
433 std::unique_ptr<ZipEntry> entry(zip_archive->Find(entry_name.c_str(), &error_msg)); in AddZippedDexFilesSource()