/system/core/libunwindstack/tests/ |
D | ElfInterfaceArmTest.cpp | 67 ASSERT_FALSE(interface.FindEntry(0x1000, &entry_offset)); in TEST_F() 76 ASSERT_FALSE(interface.FindEntry(0x1000, &entry_offset)); in TEST_F() 85 ASSERT_FALSE(interface.FindEntry(0x1000, &entry_offset)); in TEST_F() 95 ASSERT_FALSE(interface.FindEntry(0x1000, &entry_offset)); in TEST_F() 105 ASSERT_TRUE(interface.FindEntry(0x7ff0, &entry_offset)); in TEST_F() 117 ASSERT_TRUE(interface.FindEntry(0x7000, &entry_offset)); in TEST_F() 128 ASSERT_TRUE(interface.FindEntry(0x7000, &entry_offset)); in TEST_F() 134 ASSERT_TRUE(interface.FindEntry(0x7004, &entry_offset)); in TEST_F() 146 ASSERT_TRUE(interface.FindEntry(0x9008, &entry_offset)); in TEST_F() 153 ASSERT_TRUE(interface.FindEntry(0x9100, &entry_offset)); in TEST_F() [all …]
|
/system/libziparchive/ |
D | zip_writer_test.cc | 65 ASSERT_EQ(0, FindEntry(handle, "file.txt", &data)); in TEST_F() 98 ASSERT_EQ(0, FindEntry(handle, "file.txt", &data)); in TEST_F() 104 ASSERT_EQ(0, FindEntry(handle, "file/file.txt", &data)); in TEST_F() 110 ASSERT_EQ(0, FindEntry(handle, "file/file2.txt", &data)); in TEST_F() 132 ASSERT_EQ(0, FindEntry(handle, "align.txt", &data)); in TEST_F() 166 ASSERT_EQ(0, FindEntry(handle, "align.txt", &data)); in TEST_F() 194 ASSERT_EQ(0, FindEntry(handle, "align.txt", &data)); in TEST_F() 216 ASSERT_EQ(0, FindEntry(handle, "align.txt", &data)); in TEST_F() 244 ASSERT_EQ(0, FindEntry(handle, "file.txt", &data)); in TEST_F() 277 ASSERT_EQ(0, FindEntry(handle, "file.txt", &data)); in TEST_F() [all …]
|
D | zip_archive_test.cc | 105 TEST_F(CdEntryMapTest, FindEntry) { in TEST_F() argument 337 TEST(ziparchive, FindEntry) { in TEST() argument 342 ASSERT_EQ(0, FindEntry(handle, "a.txt", &data)); in TEST() 353 ASSERT_LT(FindEntry(handle, "this file does not exist", &data), 0); in TEST() 363 ASSERT_EQ(kInvalidEntryName, FindEntry(handle, "", &data)); in TEST() 374 ASSERT_EQ(kInvalidEntryName, FindEntry(handle, very_long_name, &data)); in TEST() 419 ASSERT_EQ(0, FindEntry(handle, "a.txt", &data)); in TEST() 427 ASSERT_EQ(0, FindEntry(handle, "b.txt", &data)); in TEST() 443 ASSERT_EQ(0, FindEntry(handle, "a.txt", &data)); in TEST() 452 ASSERT_EQ(0, FindEntry(handle, "b.txt", &data)); in TEST() [all …]
|
D | zip_archive_benchmark.cpp | 65 FindEntry(handle, name, &data); in FindEntry_no_match() 119 if (FindEntry(handle, "file0", &data)) { in ExtractEntry()
|
D | zip_archive.cc | 671 static int32_t FindEntry(const ZipArchive* archive, std::string_view entryName, in FindEntry() function 946 int32_t FindEntry(const ZipArchiveHandle archive, const std::string_view entryName, in FindEntry() function 949 if (auto status = FindEntry(archive, entryName, &entry64); status != kSuccess) { in FindEntry() 956 int32_t FindEntry(const ZipArchiveHandle archive, const std::string_view entryName, in FindEntry() function 970 return FindEntry(archive, entryName, offset, data); in FindEntry() 1017 const int error = FindEntry(archive, entry_name, offset, data); in Next()
|
/system/core/libunwindstack/ |
D | ElfInterfaceArm.cpp | 37 bool ElfInterfaceArm::FindEntry(uint32_t pc, uint64_t* entry_offset) { in FindEntry() function in unwindstack::ElfInterfaceArm 122 if (!FindEntry(pc, &entry_offset)) { in StepExidx()
|
D | ElfInterfaceArm.h | 71 bool FindEntry(uint32_t pc, uint64_t* entry_offset);
|
/system/libziparchive/include/ziparchive/ |
D | zip_archive.h | 213 int32_t FindEntry(const ZipArchiveHandle archive, const std::string_view entryName, 292 int32_t FindEntry(const ZipArchiveHandle archive, const std::string_view entryName, ZipEntry* data);
|
/system/apex/apexd/ |
D | apex_file.cpp | 74 ret = FindEntry(handle, kImageFilename, &entry); in Open() 82 ret = FindEntry(handle, kManifestFilenamePb, &entry); in Open() 98 ret = FindEntry(handle, kBundledPublicKeyFilename, &entry); in Open()
|
D | apex_file_test.cpp | 52 rc = FindEntry(handle, "apex_payload.img", &entry); in TEST()
|
/system/extras/simpleperf/ |
D | utils_test.cpp | 93 ASSERT_TRUE(ahelper->FindEntry(NATIVELIB_IN_APK, &entry)); in TEST()
|
D | utils.cpp | 129 bool ArchiveHelper::FindEntry(const std::string& name, ZipEntry* entry) { in FindEntry() function in ArchiveHelper 130 int result = ::FindEntry(handle_, name, entry); in FindEntry()
|
D | read_apk.cpp | 115 if (!ahelper->FindEntry(entry_name, &zentry)) { in FindElfInApkByNameWithoutCache()
|
D | utils.h | 79 bool FindEntry(const std::string& name, ZipEntry* entry);
|
D | dso.cpp | 457 ahelper->FindEntry(std::get<2>(tuple), &entry) && ahelper->GetEntryData(entry, &data)) { in LoadSymbols()
|
/system/core/libunwindstack/tools/ |
D | unwind_info.cpp | 61 if (!interface->FindEntry(pc, &entry)) { in DumpArm()
|
D | unwind_reg_info.cpp | 151 if (!interface->FindEntry(pc, &entry_offset)) { in PrintArmRegInformation()
|
/system/core/fastboot/ |
D | fastboot.cpp | 530 if (FindEntry(zip, entry_name, &zip_entry) != 0) { in UnzipToMemory() 641 if (FindEntry(zip, entry_name, &zip_entry) != 0) { in unzip_to_file()
|