Searched refs:zip_entry (Results 1 – 10 of 10) sorted by relevance
/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 | 297 std::unique_ptr< ::ZipEntry> zip_entry(new ::ZipEntry); in Find() local 298 const int32_t error = FindEntry(handle_, name, zip_entry.get()); in Find() 304 return new ZipEntry(handle_, zip_entry.release(), name); in Find()
|
/art/libdexfile/dex/ |
D | dex_file_loader.cc | 190 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(name.c_str(), error_msg)); in GetMultiDexChecksum() local 191 if (zip_entry == nullptr) { in GetMultiDexChecksum() 195 if (!(zip_entry->IsUncompressed() && zip_entry->IsAlignedTo(alignof(DexFile::Header)))) { in GetMultiDexChecksum() 199 *checksum = checksum->value_or(kEmptyMultiDexChecksum) ^ zip_entry->GetCrc32(); in GetMultiDexChecksum() 503 std::unique_ptr<ZipEntry> zip_entry(zip_archive.Find(entry_name, error_msg)); in OpenFromZipEntry() local 504 if (zip_entry == nullptr) { in OpenFromZipEntry() 508 if (zip_entry->GetUncompressedLength() == 0) { in OpenFromZipEntry() 517 if (file_->IsValid() && zip_entry->IsUncompressed()) { in OpenFromZipEntry() 518 if (!zip_entry->IsAlignedTo(alignof(DexFile::Header))) { in OpenFromZipEntry() 526 map = zip_entry->MapDirectlyFromFile(location.c_str(), /*out*/ error_msg); in OpenFromZipEntry() [all …]
|
/art/test/ |
D | run-test | 904 zip_entry = f"target/{TEST_NAME}/" variable 907 zip_entry = f"jvm/{TEST_NAME}/" variable 910 zip_entry = f"host/{TEST_NAME}/" variable 912 zip_entries = [e for e in zip.namelist() if e.startswith(zip_entry)] 914 for entry in (Path(tmp_dir) / ".unzipped" / zip_entry).iterdir():
|
/art/runtime/ |
D | vdex_file.cc | 155 std::unique_ptr<ZipEntry> zip_entry(archive.Find(VdexFile::kVdexNameInDmFile, &error_msg)); in OpenFromDm() local 156 if (zip_entry == nullptr) { in OpenFromDm() 161 MemMap input_file = zip_entry->MapDirectlyOrExtract( in OpenFromDm()
|
/art/artd/ |
D | artd.cc | 375 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find("primary.prof", &error_msg)); in AnalyzeCopyAndRewriteProfileFailure() local 376 if (zip_entry == nullptr || zip_entry->GetUncompressedLength() == 0) { in AnalyzeCopyAndRewriteProfileFailure() 413 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(kEmbeddedProfileEntry, &error_msg)); in ExtractEmbeddedProfileToFd() local 415 if (zip_entry == nullptr || (size = zip_entry->GetUncompressedLength()) == 0) { in ExtractEmbeddedProfileToFd() 450 if (!zip_entry->ExtractToMemory(mem_map.Begin(), &error_msg)) { in ExtractEmbeddedProfileToFd()
|
/art/libprofile/profile/ |
D | profile_compilation_info.cc | 1492 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(kDexMetadataProfileEntry, error)); in OpenSource() local 1493 if (zip_entry == nullptr) { in OpenSource() 1502 if (zip_entry->GetUncompressedLength() == 0) { in OpenSource() 1508 MemMap map = zip_entry->MapDirectlyOrExtract( in OpenSource()
|
D | profile_compilation_info_test.cc | 131 void TestProfileLoadFromZip(const char* zip_entry, in TestProfileLoadFromZip() argument 153 writer.StartEntry(zip_entry, zip_flags); in TestProfileLoadFromZip()
|
/art/runtime/interpreter/ |
D | unstarted_runtime.cc | 540 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(entry_name, error_msg)); in FindAndExtractEntry() local 541 if (zip_entry == nullptr) { in FindAndExtractEntry() 544 MemMap tmp_map = zip_entry->ExtractToMemMap(bcp_jar_file.c_str(), entry_name, error_msg); in FindAndExtractEntry() 550 *size = zip_entry->GetUncompressedLength(); in FindAndExtractEntry()
|