Home
last modified time | relevance | path

Searched refs:zip_entry (Results 1 – 6 of 6) 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.cc125 std::unique_ptr< ::ZipEntry> zip_entry(new ::ZipEntry); in Find() local
126 const int32_t error = FindEntry(handle_, name, zip_entry.get()); in Find()
132 return new ZipEntry(handle_, zip_entry.release()); in Find()
Dzip_archive.h49 ::ZipEntry* zip_entry) : handle_(handle), zip_entry_(zip_entry) {} in ZipEntry() argument
Ddex_file.cc100 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(zip_entry_name, error_msg)); in GetChecksum() local
101 if (zip_entry.get() == NULL) { in GetChecksum()
106 *checksum = zip_entry->GetCrc32(); in GetChecksum()
252 std::unique_ptr<ZipEntry> zip_entry(zip_archive.Find(entry_name, error_msg)); in Open() local
253 if (zip_entry.get() == NULL) { in Open()
257 std::unique_ptr<MemMap> map(zip_entry->ExtractToMemMap(location.c_str(), entry_name, error_msg)); in Open()
264 std::unique_ptr<const DexFile> dex_file(OpenMemory(location, zip_entry->GetCrc32(), map.release(), in Open()
/art/runtime/native/
Djava_lang_VMClassLoader.cc93 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(name.c_str(), &error_msg)); in VMClassLoader_getBootClassPathResource() local
94 if (zip_entry.get() == nullptr) { in VMClassLoader_getBootClassPathResource()
/art/dex2oat/
Ddex2oat.cc317 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(image_classes_filename, error_msg)); in ReadImageClassesFromZip() local
318 if (zip_entry.get() == nullptr) { in ReadImageClassesFromZip()
323 std::unique_ptr<MemMap> image_classes_file(zip_entry->ExtractToMemMap(zip_filename, in ReadImageClassesFromZip()