Home
last modified time | relevance | path

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

/art/libartbase/base/
Dzip_archive_test.cc36 …std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(GetLibCoreDexFileNames()[0].c_str(), &err… in TEST_F() local
37 ASSERT_TRUE(zip_archive.get() != nullptr) << error_msg; in TEST_F()
39 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find("classes.dex", &error_msg)); in TEST_F()
/art/libdexfile/dex/
Dart_dex_file_loader.cc108 std::unique_ptr<ZipArchive> zip_archive( in GetMultiDexChecksums() local
110 if (zip_archive.get() == nullptr) { in GetMultiDexChecksums()
118 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(zip_entry_name.c_str(), error_msg)); in GetMultiDexChecksums()
138 zip_entry.reset(zip_archive->Find(zip_entry_name.c_str(), error_msg)); in GetMultiDexChecksums()
301 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::OpenFromFd(fd, location.c_str(), error_msg)); in OpenZip() local
302 if (zip_archive.get() == nullptr) { in OpenZip()
307 *zip_archive, location, verify, verify_checksum, error_msg, dex_files); in OpenZip()
381 const ZipArchive& zip_archive, in OpenOneDexFileFromZip() argument
390 std::unique_ptr<ZipEntry> zip_entry(zip_archive.Find(entry_name, error_msg)); in OpenOneDexFileFromZip()
481 const ZipArchive& zip_archive, in OpenAllDexFilesFromZip() argument
[all …]
Ddex_file_loader.cc282 std::unique_ptr<DexZipArchive> zip_archive(DexZipArchive::Open(base, size, error_msg)); in OpenAll() local
283 if (zip_archive.get() == nullptr) { in OpenAll()
287 return OpenAllDexFilesFromZip(*zip_archive.get(), in OpenAll()
391 const DexZipArchive& zip_archive, in OpenOneDexFileFromZip() argument
399 std::unique_ptr<DexZipEntry> zip_entry(zip_archive.Find(entry_name, error_msg)); in OpenOneDexFileFromZip()
450 const DexZipArchive& zip_archive, in OpenAllDexFilesFromZip() argument
458 std::unique_ptr<const DexFile> dex_file(OpenOneDexFileFromZip(zip_archive, in OpenAllDexFilesFromZip()
479 std::unique_ptr<const DexFile> next_dex_file(OpenOneDexFileFromZip(zip_archive, in OpenAllDexFilesFromZip()
Dart_dex_file_loader.h123 bool OpenAllDexFilesFromZip(const ZipArchive& zip_archive,
132 std::unique_ptr<const DexFile> OpenOneDexFileFromZip(const ZipArchive& zip_archive,
Ddex_file_loader.h182 bool OpenAllDexFilesFromZip(const DexZipArchive& zip_archive,
192 std::unique_ptr<const DexFile> OpenOneDexFileFromZip(const DexZipArchive& zip_archive,
/art/libartbase/
DAndroid.bp49 "base/zip_archive.cc",
/art/libprofile/profile/
Dprofile_compilation_info.cc1289 std::unique_ptr<ZipArchive> zip_archive( in OpenSource() local
1291 if (zip_archive.get() == nullptr) { in OpenSource()
1295 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(kDexMetadataProfileEntry, error)); in OpenSource()
/art/runtime/interpreter/
Dunstarted_runtime.cc539 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(jar_file.c_str(), error_msg)); in FindAndExtractEntry() local
540 if (zip_archive == nullptr) { in FindAndExtractEntry()
543 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(entry_name, error_msg)); in FindAndExtractEntry()
/art/dex2oat/
Ddex2oat.cc2648 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(zip_filename, error_msg)); in ReadCommentedInputFromZip() local
2649 if (zip_archive.get() == nullptr) { in ReadCommentedInputFromZip()
2652 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(input_filename, error_msg)); in ReadCommentedInputFromZip()
/art/dex2oat/linker/
Doat_writer.cc544 ZipArchive* zip_archive = zip_archives_.back().get(); in AddZippedDexFilesSource() local
545 if (zip_archive == nullptr) { in AddZippedDexFilesSource()
552 std::unique_ptr<ZipEntry> entry(zip_archive->Find(entry_name.c_str(), &error_msg)); in AddZippedDexFilesSource()