Searched refs:zip_entry (Results 1 – 7 of 7) sorted by relevance
/art/runtime/ |
D | zip_archive_test.cc | 38 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()
|
D | zip_archive.h | 49 ::ZipEntry* zip_entry) : handle_(handle), zip_entry_(zip_entry) {} in ZipEntry() argument
|
D | zip_archive.cc | 126 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()
|
D | dex_file.cc | 101 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/ |
D | unstarted_runtime.cc | 375 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/ |
D | dex2oat.cc | 2350 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/ |
D | oat_writer.cc | 94 explicit DexFileSource(ZipEntry* zip_entry) in DexFileSource() argument 95 : type_(kZipEntry), source_(zip_entry) { in DexFileSource()
|