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.cc109 std::unique_ptr<ZipArchive> zip_archive( in GetMultiDexChecksums() local
111 if (zip_archive.get() == nullptr) { in GetMultiDexChecksums()
119 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(zip_entry_name.c_str(), error_msg)); in GetMultiDexChecksums()
140 zip_entry.reset(zip_archive->Find(zip_entry_name.c_str(), error_msg)); in GetMultiDexChecksums()
346 std::unique_ptr<ZipArchive> zip_archive(raw_zip_archive); in OpenZipInternal() local
347 if (zip_archive.get() == nullptr) { in OpenZipInternal()
352 *zip_archive, location, verify, verify_checksum, error_msg, dex_files); in OpenZipInternal()
426 const ZipArchive& zip_archive, in OpenOneDexFileFromZip() argument
435 std::unique_ptr<ZipEntry> zip_entry(zip_archive.Find(entry_name, error_msg)); in OpenOneDexFileFromZip()
530 const ZipArchive& zip_archive, in OpenAllDexFilesFromZip() argument
[all …]
Ddex_file_loader.cc307 std::unique_ptr<DexZipArchive> zip_archive(DexZipArchive::Open(base, size, error_msg)); in OpenAll() local
308 if (zip_archive.get() == nullptr) { in OpenAll()
312 return OpenAllDexFilesFromZip(*zip_archive.get(), in OpenAll()
416 const DexZipArchive& zip_archive, in OpenOneDexFileFromZip() argument
424 std::unique_ptr<DexZipEntry> zip_entry(zip_archive.Find(entry_name, error_msg)); in OpenOneDexFileFromZip()
477 const DexZipArchive& zip_archive, in OpenAllDexFilesFromZip() argument
485 std::unique_ptr<const DexFile> dex_file(OpenOneDexFileFromZip(zip_archive, in OpenAllDexFilesFromZip()
506 std::unique_ptr<const DexFile> next_dex_file(OpenOneDexFileFromZip(zip_archive, in OpenAllDexFilesFromZip()
Dart_dex_file_loader.h148 bool OpenAllDexFilesFromZip(const ZipArchive& zip_archive,
157 std::unique_ptr<const DexFile> OpenOneDexFileFromZip(const ZipArchive& zip_archive,
Ddex_file_loader.h197 bool OpenAllDexFilesFromZip(const DexZipArchive& zip_archive,
207 std::unique_ptr<const DexFile> OpenOneDexFileFromZip(const DexZipArchive& zip_archive,
/art/libartbase/
DAndroid.bp61 "base/zip_archive.cc",
/art/runtime/interpreter/
Dunstarted_runtime.cc518 std::unique_ptr<ZipArchive> zip_archive; in FindAndExtractEntry() local
520 zip_archive.reset(ZipArchive::OpenFromOwnedFd(jar_fd, bcp_jar_file.c_str(), error_msg)); in FindAndExtractEntry()
522 zip_archive.reset(ZipArchive::Open(bcp_jar_file.c_str(), error_msg)); in FindAndExtractEntry()
524 if (zip_archive == nullptr) { in FindAndExtractEntry()
527 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(entry_name, error_msg)); in FindAndExtractEntry()
/art/dex2oat/
Ddex2oat_test.cc2123 std::unique_ptr<ZipArchive> zip_archive( in TEST_F() local
2125 ASSERT_TRUE(zip_archive != nullptr); in TEST_F()
2128 std::unique_ptr<ZipEntry> entry(zip_archive->Find(entry_name.c_str(), &error_msg)); in TEST_F()
/art/libprofile/profile/
Dprofile_compilation_info.cc1372 std::unique_ptr<ZipArchive> zip_archive( in OpenSource() local
1374 if (zip_archive.get() == nullptr) { in OpenSource()
1378 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(kDexMetadataProfileEntry, error)); in OpenSource()
/art/dex2oat/linker/
Doat_writer.cc571 ZipArchive* zip_archive = zip_archives_.back().get(); in AddDexFileSource() local
572 if (zip_archive == nullptr) { in AddDexFileSource()
579 std::unique_ptr<ZipEntry> entry(zip_archive->Find(entry_name.c_str(), &error_msg)); in AddDexFileSource()