/art/libartbase/base/ |
D | zip_archive_test.cc | 39 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find("classes.dex", &error_msg)); in TEST_F() local 40 ASSERT_TRUE(zip_entry.get() != nullptr); in TEST_F() 47 bool success = zip_entry->ExtractToFile(*file, &error_msg); in TEST_F() 64 EXPECT_EQ(zip_entry->GetCrc32(), computed_crc); in TEST_F()
|
D | zip_archive.h | 78 ::ZipEntry* zip_entry, in ZipEntry() argument 80 : handle_(handle), zip_entry_(zip_entry), entry_name_(entry_name) {} in ZipEntry()
|
D | zip_archive.cc | 279 std::unique_ptr< ::ZipEntry> zip_entry(new ::ZipEntry); in Find() local 280 const int32_t error = FindEntry(handle_, name, zip_entry.get()); in Find() 286 return new ZipEntry(handle_, zip_entry.release(), name); in Find()
|
/art/libdexfile/dex/ |
D | art_dex_file_loader.cc | 119 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(zip_entry_name.c_str(), error_msg)); in GetMultiDexChecksums() local 120 if (zip_entry.get() == nullptr) { in GetMultiDexChecksums() 133 if (!(zip_entry->IsUncompressed() && zip_entry->IsAlignedTo(alignof(DexFile::Header)))) { in GetMultiDexChecksums() 137 checksums->push_back(zip_entry->GetCrc32()); in GetMultiDexChecksums() 140 zip_entry.reset(zip_archive->Find(zip_entry_name.c_str(), error_msg)); in GetMultiDexChecksums() 141 } while (zip_entry.get() != nullptr); in GetMultiDexChecksums() 435 std::unique_ptr<ZipEntry> zip_entry(zip_archive.Find(entry_name, error_msg)); in OpenOneDexFileFromZip() local 436 if (zip_entry == nullptr) { in OpenOneDexFileFromZip() 440 if (zip_entry->GetUncompressedLength() == 0) { in OpenOneDexFileFromZip() 447 if (zip_entry->IsUncompressed()) { in OpenOneDexFileFromZip() [all …]
|
D | dex_file_loader.cc | 95 ::ZipEntry* zip_entry, in DexZipEntry() argument 97 : handle_(handle), zip_entry_(zip_entry), entry_name_(entry_name) {} in DexZipEntry() 125 std::unique_ptr< ::ZipEntry> zip_entry(new ::ZipEntry); in Find() local 126 const int32_t error = FindEntry(handle_, name, zip_entry.get()); in Find() 131 return new DexZipEntry(handle_, zip_entry.release(), name); in Find() 424 std::unique_ptr<DexZipEntry> zip_entry(zip_archive.Find(entry_name, error_msg)); in OpenOneDexFileFromZip() local 425 if (zip_entry == nullptr) { in OpenOneDexFileFromZip() 429 if (zip_entry->GetUncompressedLength() == 0) { in OpenOneDexFileFromZip() 435 std::vector<uint8_t> map(zip_entry->Extract(error_msg)); in OpenOneDexFileFromZip() 451 zip_entry->GetCrc32(), in OpenOneDexFileFromZip()
|
/art/test/ |
D | run-test | 880 zip_entry="target/${TEST_NAME}" 883 zip_entry="jvm/${TEST_NAME}" 886 zip_entry="host/${TEST_NAME}" 888 unzip -q "${zip_file}" "${zip_entry}/*" -d "$tmp_dir/.unzipped" 889 mv "$tmp_dir"/.unzipped/${zip_entry}/* "$tmp_dir"
|
/art/runtime/ |
D | vdex_file.cc | 160 std::unique_ptr<ZipEntry> zip_entry(archive.Find(VdexFile::kVdexNameInDmFile, &error_msg)); in OpenFromDm() local 161 if (zip_entry == nullptr) { in OpenFromDm() 166 MemMap input_file = zip_entry->MapDirectlyOrExtract( in OpenFromDm()
|
/art/runtime/interpreter/ |
D | unstarted_runtime.cc | 527 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(entry_name, error_msg)); in FindAndExtractEntry() local 528 if (zip_entry == nullptr) { in FindAndExtractEntry() 531 MemMap tmp_map = zip_entry->ExtractToMemMap(bcp_jar_file.c_str(), entry_name, error_msg); in FindAndExtractEntry() 537 *size = zip_entry->GetUncompressedLength(); in FindAndExtractEntry()
|
/art/libprofile/profile/ |
D | profile_compilation_info.cc | 1378 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(kDexMetadataProfileEntry, error)); in OpenSource() local 1379 if (zip_entry == nullptr) { in OpenSource() 1388 if (zip_entry->GetUncompressedLength() == 0) { in OpenSource() 1394 MemMap map = zip_entry->MapDirectlyOrExtract( in OpenSource()
|
D | profile_compilation_info_test.cc | 125 void TestProfileLoadFromZip(const char* zip_entry, in TestProfileLoadFromZip() argument 147 writer.StartEntry(zip_entry, zip_flags); in TestProfileLoadFromZip()
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 151 explicit DexFileSource(ZipEntry* zip_entry) in DexFileSource() argument 152 : type_(kZipEntry), source_(zip_entry) { in DexFileSource() 3541 ZipEntry* zip_entry = oat_dex_file->source_.GetZipEntry(); in LayoutDexFile() local 3545 mem_map = zip_entry->ExtractToMemMap(location.c_str(), "classes.dex", &error_msg); in LayoutDexFile() 3553 zip_entry->GetCrc32(), in LayoutDexFile()
|