Home
last modified time | relevance | path

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

/art/runtime/
Dzip_archive_test.cc38 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find("classes.dex", &error_msg)); in TEST_F() local
39 ASSERT_TRUE(zip_entry.get() != nullptr); in TEST_F()
46 bool success = zip_entry->ExtractToFile(*file, &error_msg); in TEST_F()
63 EXPECT_EQ(zip_entry->GetCrc32(), computed_crc); in TEST_F()
Dzip_archive.h49 ::ZipEntry* zip_entry) : handle_(handle), zip_entry_(zip_entry) {} in ZipEntry() argument
Dzip_archive.cc126 std::unique_ptr< ::ZipEntry> zip_entry(new ::ZipEntry); in Find() local
127 const int32_t error = FindEntry(handle_, ZipString(name), zip_entry.get()); in Find()
133 return new ZipEntry(handle_, zip_entry.release()); in Find()
Ddex_file.cc101 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(zip_entry_name, error_msg)); in GetChecksum() local
102 if (zip_entry.get() == nullptr) { in GetChecksum()
107 *checksum = zip_entry->GetCrc32(); in GetChecksum()
156 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(DexFile::kClassesDex, &error_msg)); in ContainsClassesDex() local
157 return (zip_entry.get() != nullptr); in ContainsClassesDex()
318 std::unique_ptr<ZipEntry> zip_entry(zip_archive.Find(entry_name, error_msg)); in Open() local
319 if (zip_entry.get() == nullptr) { in Open()
323 std::unique_ptr<MemMap> map(zip_entry->ExtractToMemMap(location.c_str(), entry_name, error_msg)); in Open()
330 std::unique_ptr<const DexFile> dex_file(OpenMemory(location, zip_entry->GetCrc32(), map.release(), in Open()
/art/runtime/interpreter/
Dunstarted_runtime.cc375 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(entry_name, error_msg)); in FindAndExtractEntry() local
376 if (zip_entry == nullptr) { in FindAndExtractEntry()
380 zip_entry->ExtractToMemMap(jar_file.c_str(), entry_name, error_msg)); in FindAndExtractEntry()
386 *size = zip_entry->GetUncompressedLength(); in FindAndExtractEntry()
/art/dex2oat/
Ddex2oat.cc2350 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(input_filename, error_msg)); in ReadCommentedInputFromZip() local
2351 if (zip_entry.get() == nullptr) { in ReadCommentedInputFromZip()
2356 std::unique_ptr<MemMap> input_file(zip_entry->ExtractToMemMap(zip_filename, in ReadCommentedInputFromZip()
/art/compiler/
Doat_writer.cc94 explicit DexFileSource(ZipEntry* zip_entry) in DexFileSource() argument
95 : type_(kZipEntry), source_(zip_entry) { in DexFileSource()