/system/extras/simpleperf/ |
D | read_apk_test.cpp | 35 ASSERT_EQ(NATIVELIB_IN_APK, ee->entry_name()); in TEST() 53 std::string entry_name; in TEST() local 58 &zip_path, &entry_name)); in TEST() 62 ASSERT_EQ(entry_name, "classes.dex"); in TEST() 64 ParseExtractedInMemoryPath("[anon:dalvik-thread local mark stack]", &zip_path, &entry_name)); in TEST() 69 &zip_path, &entry_name)); in TEST() 73 ASSERT_EQ(entry_name, "classes.dex"); in TEST() 75 &zip_path, &entry_name)); in TEST() 82 &zip_path, &entry_name)); in TEST() 84 ASSERT_EQ(entry_name, "classes2.dex"); in TEST()
|
D | read_apk.cpp | 51 node.name_map[result->entry_name()] = result; in FindElfInApkByOffset() 57 const std::string& entry_name) { in FindElfInApkByName() argument 59 auto it = node.name_map.find(entry_name); in FindElfInApkByName() 63 std::unique_ptr<EmbeddedElf> elf = FindElfInApkByNameWithoutCache(apk_path, entry_name); in FindElfInApkByName() 65 node.name_map[entry_name] = result; in FindElfInApkByName() 109 const std::string& apk_path, const std::string& entry_name) { in FindElfInApkByNameWithoutCache() argument 115 if (!ahelper->FindEntry(entry_name, &zentry)) { in FindElfInApkByNameWithoutCache() 122 new EmbeddedElf(apk_path, entry_name, zentry.offset, zentry.uncompressed_length)); in FindElfInApkByNameWithoutCache() 142 std::string* entry_name) { in ParseExtractedInMemoryPath() argument 157 *entry_name = path.substr(entry_name_start, entry_name_end - entry_name_start); in ParseExtractedInMemoryPath()
|
D | read_apk.h | 36 EmbeddedElf(const std::string& filepath, const std::string& entry_name, uint64_t entry_offset, in EmbeddedElf() argument 39 entry_name_(entry_name), in EmbeddedElf() 47 const std::string& entry_name() const { return entry_name_; } in entry_name() function 67 const std::string& entry_name); 73 const std::string& entry_name); 90 std::string* entry_name);
|
D | cmd_record.cpp | 1774 r.SetDataAndFilename(data, GetUrlInApk(filename, ee->entry_name())); in UpdateMmapRecordForEmbeddedPath() 1779 std::string entry_name; in UpdateMmapRecordForEmbeddedPath() local 1780 if (ParseExtractedInMemoryPath(filename, &zip_path, &entry_name)) { in UpdateMmapRecordForEmbeddedPath() 1781 filename = GetUrlInApk(zip_path, entry_name); in UpdateMmapRecordForEmbeddedPath()
|
/system/libziparchive/ |
D | entry_name_utils-inl.h | 28 inline bool IsValidEntryName(const uint8_t* entry_name, const size_t length) { in IsValidEntryName() argument 33 const uint8_t byte = entry_name[i]; in IsValidEntryName() 54 const uint8_t continuation_byte = entry_name[i]; in IsValidEntryName()
|
D | zip_archive.cc | 639 std::string_view entry_name{reinterpret_cast<const char*>(ptr + sizeof(*cdr)), in ParseZipArchive() local 641 auto add_result = archive->cd_entry_map->AddToMap(entry_name, cd_ptr); in ParseZipArchive() 1051 bool Match(std::string_view entry_name) const { return !matcher || matcher(entry_name); } in Match() 1174 const auto [entry_name, offset] = entry; in Next() 1175 if (handle->Match(entry_name)) { in Next() 1176 const int error = FindEntry(archive, entry_name, offset, data); in Next() 1178 *name = entry_name; in Next()
|
D | zip_archive_test.cc | 648 static void ZipArchiveStreamTest(ZipArchiveHandle& handle, const std::string& entry_name, bool raw, in ZipArchiveStreamTest() argument 650 ASSERT_EQ(0, FindEntry(handle, entry_name, entry)); in ZipArchiveStreamTest() 677 const std::string& entry_name, in ZipArchiveStreamTestUsingContents() argument 684 ZipArchiveStreamTest(handle, entry_name, raw, true, &entry, &read_data); in ZipArchiveStreamTestUsingContents() 693 const std::string& entry_name) { in ZipArchiveStreamTestUsingMemory() argument 699 ZipArchiveStreamTest(handle, entry_name, false, true, &entry, &read_data); in ZipArchiveStreamTestUsingMemory()
|
/system/update_engine/scripts/ |
D | simulate_ota.py | 33 def extract_file(zip_file_path, entry_name, target_file_path): argument 37 with zip_file_path.open(entry_name) as fp: 40 with open(os.path.join(zip_file_path, entry_name), "rb") as fp: 53 entry_name = "IMAGES/" + img_name + ".img" 55 extract_file(zip_archive, entry_name, output_path)
|
D | brillo_update_payload | 380 local entry_name="$2" 388 unzip "${zip_file}" "${entry_name}" -d "${output_directory}" || 389 { rm -rf "${output_directory}"; die "Failed to extract ${entry_name}"; } 391 mv "${output_directory}/${entry_name}" "${destination}"
|
/system/core/bootstat/ |
D | boot_event_record_store_test.cpp | 78 const std::string entry_name(entry->d_name); in DeleteDirectory() local 79 if (entry_name == "." || entry_name == "..") { in DeleteDirectory() 83 const std::string entry_path = path + "/" + entry_name; in DeleteDirectory()
|
/system/core/fastboot/ |
D | fastboot.cpp | 707 static bool UnzipToMemory(ZipArchiveHandle zip, const std::string& entry_name, in UnzipToMemory() argument 710 if (FindEntry(zip, entry_name, &zip_entry) != 0) { in UnzipToMemory() 711 fprintf(stderr, "archive does not contain '%s'\n", entry_name.c_str()); in UnzipToMemory() 716 die("entry '%s' is too large: %" PRIu64, entry_name.c_str(), zip_entry.uncompressed_length); in UnzipToMemory() 720 fprintf(stderr, "extracting %s (%zu MB) to RAM...\n", entry_name.c_str(), in UnzipToMemory() 725 if (error != 0) die("failed to extract '%s': %s", entry_name.c_str(), ErrorCodeString(error)); in UnzipToMemory() 781 static unique_fd UnzipToFile(ZipArchiveHandle zip, const char* entry_name) { in UnzipToFile() argument 782 unique_fd fd(make_temporary_fd(entry_name)); in UnzipToFile() 785 if (FindEntry(zip, entry_name, &zip_entry) != 0) { in UnzipToFile() 786 fprintf(stderr, "archive does not contain '%s'\n", entry_name); in UnzipToFile() [all …]
|
D | vendor_boot_img_utils.cpp | 287 std::string_view entry_name(entry_name_c_str, entry_name_len); in find_unique_ramdisk() local 288 if (entry_name == ramdisk_name) { in find_unique_ramdisk()
|
/system/libziparchive/include/ziparchive/ |
D | zip_archive.h | 245 std::function<bool(std::string_view entry_name)> matcher);
|
/system/media/camera/docs/ |
D | html.mako | 57 ….entry_name { color: #333333; padding-left:1.0em; font-size:1.1em; font-family: monospace; vertica… 258 <td class="entry_name
|
/system/extras/boottime_tools/bootanalyze/ |
D | bootanalyze.py | 777 entry_name = entry_pair[0] 779 if entry_name != "SW":
|