Home
last modified time | relevance | path

Searched refs:zip_archive (Results 1 – 11 of 11) 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()
452 const DexZipArchive& zip_archive, in OpenAllDexFilesFromZip() argument
460 std::unique_ptr<const DexFile> dex_file(OpenOneDexFileFromZip(zip_archive, in OpenAllDexFilesFromZip()
481 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.bp55 "base/zip_archive.cc",
/art/libprofile/profile/
Dprofile_compilation_info.cc1208 std::unique_ptr<ZipArchive> zip_archive( in OpenSource() local
1210 if (zip_archive.get() == nullptr) { in OpenSource()
1214 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(kDexMetadataProfileEntry, error)); in OpenSource()
/art/dex2oat/
Ddex2oat_test.cc2275 std::unique_ptr<ZipArchive> zip_archive( in TEST_F() local
2277 ASSERT_TRUE(zip_archive != nullptr); in TEST_F()
2280 std::unique_ptr<ZipEntry> entry(zip_archive->Find(entry_name.c_str(), &error_msg)); in TEST_F()
Ddex2oat.cc2916 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(zip_filename, error_msg)); in ReadCommentedInputFromZip() local
2917 if (zip_archive.get() == nullptr) { in ReadCommentedInputFromZip()
2920 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(input_filename, error_msg)); in ReadCommentedInputFromZip()
/art/runtime/interpreter/
Dunstarted_runtime.cc488 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(jar_file.c_str(), error_msg)); in FindAndExtractEntry() local
489 if (zip_archive == nullptr) { in FindAndExtractEntry()
492 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(entry_name, error_msg)); in FindAndExtractEntry()
/art/dex2oat/linker/
Doat_writer.cc560 ZipArchive* zip_archive = zip_archives_.back().get(); in AddDexFileSource() local
561 if (zip_archive == nullptr) { in AddDexFileSource()
568 std::unique_ptr<ZipEntry> entry(zip_archive->Find(entry_name.c_str(), &error_msg)); in AddDexFileSource()