Home
last modified time | relevance | path

Searched refs:zip_archive (Results 1 – 9 of 9) 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()
DAndroid.bp216 "zip_archive.cc",
/art/runtime/dex/
Dart_dex_file_loader.cc107 std::unique_ptr<ZipArchive> zip_archive( in GetMultiDexChecksums() local
109 if (zip_archive.get() == nullptr) { in GetMultiDexChecksums()
117 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(zip_entry_name.c_str(), error_msg)); in GetMultiDexChecksums()
137 zip_entry.reset(zip_archive->Find(zip_entry_name.c_str(), error_msg)); in GetMultiDexChecksums()
271 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::OpenFromFd(fd, location.c_str(), error_msg)); in OpenZip() local
272 if (zip_archive.get() == nullptr) { in OpenZip()
277 *zip_archive, location, verify, verify_checksum, error_msg, dex_files); in OpenZip()
349 const ZipArchive& zip_archive, in OpenOneDexFileFromZip() argument
358 std::unique_ptr<ZipEntry> zip_entry(zip_archive.Find(entry_name, error_msg)); in OpenOneDexFileFromZip()
447 const ZipArchive& zip_archive, in OpenAllDexFilesFromZip() argument
[all …]
Dart_dex_file_loader.h107 bool OpenAllDexFilesFromZip(const ZipArchive& zip_archive,
116 std::unique_ptr<const DexFile> OpenOneDexFileFromZip(const ZipArchive& zip_archive,
/art/libdexfile/dex/
Ddex_file_loader.cc277 std::unique_ptr<DexZipArchive> zip_archive(DexZipArchive::Open(base, size, error_msg)); in OpenAll() local
278 if (zip_archive.get() == nullptr) { in OpenAll()
282 return OpenAllDexFilesFromZip(*zip_archive.get(), in OpenAll()
385 const DexZipArchive& zip_archive, in OpenOneDexFileFromZip() argument
393 std::unique_ptr<DexZipEntry> zip_entry(zip_archive.Find(entry_name, error_msg)); in OpenOneDexFileFromZip()
448 const DexZipArchive& zip_archive, in OpenAllDexFilesFromZip() argument
456 std::unique_ptr<const DexFile> dex_file(OpenOneDexFileFromZip(zip_archive, in OpenAllDexFilesFromZip()
477 std::unique_ptr<const DexFile> next_dex_file(OpenOneDexFileFromZip(zip_archive, in OpenAllDexFilesFromZip()
Ddex_file_loader.h179 bool OpenAllDexFilesFromZip(const DexZipArchive& zip_archive,
188 std::unique_ptr<const DexFile> OpenOneDexFileFromZip(const DexZipArchive& zip_archive,
/art/runtime/jit/
Dprofile_compilation_info.cc1176 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::OpenFromFd(fd, "profile", error)); in OpenSource() local
1177 if (zip_archive.get() == nullptr) { in OpenSource()
1181 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(kDexMetadataProfileEntry, error)); in OpenSource()
/art/runtime/interpreter/
Dunstarted_runtime.cc527 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(jar_file.c_str(), error_msg)); in FindAndExtractEntry() local
528 if (zip_archive == nullptr) { in FindAndExtractEntry()
531 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(entry_name, error_msg)); in FindAndExtractEntry()
/art/dex2oat/
Ddex2oat.cc2777 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(zip_filename, error_msg)); in ReadCommentedInputFromZip() local
2778 if (zip_archive.get() == nullptr) { in ReadCommentedInputFromZip()
2781 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(input_filename, error_msg)); in ReadCommentedInputFromZip()