Home
last modified time | relevance | path

Searched refs:entry_name (Results 1 – 12 of 12) sorted by relevance

/system/extras/simpleperf/
Dread_apk_test.cpp32 ASSERT_EQ(NATIVELIB_IN_APK, ee->entry_name()); in TEST()
48 std::string entry_name; in TEST() local
51 "base.apk]", &zip_path, &entry_name)); in TEST()
54 ASSERT_EQ(entry_name, "classes.dex"); in TEST()
56 &zip_path, &entry_name)); in TEST()
59 " (deleted)", &zip_path, &entry_name)); in TEST()
62 ASSERT_EQ(entry_name, "classes.dex"); in TEST()
64 &zip_path, &entry_name)); in TEST()
69 "(deleted)", &zip_path, &entry_name)); in TEST()
71 ASSERT_EQ(entry_name, "classes2.dex"); in TEST()
Dread_apk.h39 const std::string& entry_name, in EmbeddedElf() argument
43 , entry_name_(entry_name) in EmbeddedElf()
53 const std::string &entry_name() const { return entry_name_; } in entry_name() function
73 const std::string& entry_name);
79 const std::string& apk_path, const std::string& entry_name);
96 std::string* entry_name);
Dread_apk.cpp49 node.name_map[result->entry_name()] = result; in FindElfInApkByOffset()
55 const std::string& entry_name) { in FindElfInApkByName() argument
57 auto it = node.name_map.find(entry_name); in FindElfInApkByName()
61 std::unique_ptr<EmbeddedElf> elf = FindElfInApkByNameWithoutCache(apk_path, entry_name); in FindElfInApkByName()
63 node.name_map[entry_name] = result; in FindElfInApkByName()
113 const std::string& apk_path, const std::string& entry_name) { in FindElfInApkByNameWithoutCache() argument
119 if (!ahelper->FindEntry(entry_name, &zentry)) { in FindElfInApkByNameWithoutCache()
125 return std::unique_ptr<EmbeddedElf>(new EmbeddedElf(apk_path, entry_name, zentry.offset, in FindElfInApkByNameWithoutCache()
145 std::string* entry_name) { in ParseExtractedInMemoryPath() argument
160 *entry_name = path.substr(entry_name_start, entry_name_end - entry_name_start); in ParseExtractedInMemoryPath()
Dcmd_record.cpp1374 r.SetDataAndFilename(data, GetUrlInApk(filename, ee->entry_name())); in UpdateMmapRecordForEmbeddedPath()
1379 std::string entry_name; in UpdateMmapRecordForEmbeddedPath() local
1380 if (ParseExtractedInMemoryPath(filename, &zip_path, &entry_name)) { in UpdateMmapRecordForEmbeddedPath()
1381 filename = GetUrlInApk(zip_path, entry_name); in UpdateMmapRecordForEmbeddedPath()
/system/core/libziparchive/
Dentry_name_utils-inl.h25 inline bool IsValidEntryName(const uint8_t* entry_name, const size_t length) { in IsValidEntryName() argument
27 const uint8_t byte = entry_name[i]; in IsValidEntryName()
47 const uint8_t continuation_byte = entry_name[i]; in IsValidEntryName()
Dzip_archive_test.cc434 static void ZipArchiveStreamTest(ZipArchiveHandle& handle, const std::string& entry_name, bool raw, in ZipArchiveStreamTest() argument
437 SetZipString(&name, entry_name); in ZipArchiveStreamTest()
465 const std::string& entry_name, in ZipArchiveStreamTestUsingContents() argument
472 ZipArchiveStreamTest(handle, entry_name, raw, true, &entry, &read_data); in ZipArchiveStreamTestUsingContents()
481 const std::string& entry_name) { in ZipArchiveStreamTestUsingMemory() argument
487 ZipArchiveStreamTest(handle, entry_name, false, true, &entry, &read_data); in ZipArchiveStreamTestUsingMemory()
Dzip_archive.cc431 ZipString entry_name; in ParseZipArchive() local
432 entry_name.name = file_name; in ParseZipArchive()
433 entry_name.name_length = file_name_length; in ParseZipArchive()
434 const int add_result = AddToHash(archive->hash_table, archive->hash_table_size, entry_name, in ParseZipArchive()
1166 ZipString::ZipString(const char* entry_name) : name(reinterpret_cast<const uint8_t*>(entry_name)) { in ZipString() argument
1167 size_t len = strlen(entry_name); in ZipString()
/system/core/bootstat/
Dboot_event_record_store_test.cpp78 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/
Dfastboot.cpp503 static bool UnzipToMemory(ZipArchiveHandle zip, const std::string& entry_name, in UnzipToMemory() argument
505 ZipString zip_entry_name(entry_name.c_str()); in UnzipToMemory()
508 fprintf(stderr, "archive does not contain '%s'\n", entry_name.c_str()); in UnzipToMemory()
514 fprintf(stderr, "extracting %s (%zu MB) to RAM...\n", entry_name.c_str(), in UnzipToMemory()
519 if (error != 0) die("failed to extract '%s': %s", entry_name.c_str(), ErrorCodeString(error)); in UnzipToMemory()
614 static int unzip_to_file(ZipArchiveHandle zip, const char* entry_name) { in unzip_to_file() argument
615 unique_fd fd(make_temporary_fd(entry_name)); in unzip_to_file()
617 ZipString zip_entry_name(entry_name); in unzip_to_file()
620 fprintf(stderr, "archive does not contain '%s'\n", entry_name); in unzip_to_file()
625 fprintf(stderr, "extracting %s (%" PRIu32 " MB) to disk...", entry_name, in unzip_to_file()
[all …]
/system/core/libziparchive/include/ziparchive/
Dzip_archive.h45 explicit ZipString(const char* entry_name);
/system/media/camera/docs/
Dhtml.mako57 ….entry_name { color: #333333; padding-left:1.0em; font-size:1.1em; font-family: monospace; vertica…
254 <td class="entry_name
/system/extras/boottime_tools/bootanalyze/
Dbootanalyze.py714 entry_name = entry_pair[0]
716 if entry_name != "SW":