Home
last modified time | relevance | path

Searched refs:FindEntry (Results 1 – 18 of 18) sorted by relevance

/system/core/libunwindstack/tests/
DElfInterfaceArmTest.cpp67 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/
Dzip_writer_test.cc65 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 …]
Dzip_archive_test.cc105 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 …]
Dzip_archive_benchmark.cpp65 FindEntry(handle, name, &data); in FindEntry_no_match()
119 if (FindEntry(handle, "file0", &data)) { in ExtractEntry()
Dzip_archive.cc671 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/
DElfInterfaceArm.cpp37 bool ElfInterfaceArm::FindEntry(uint32_t pc, uint64_t* entry_offset) { in FindEntry() function in unwindstack::ElfInterfaceArm
122 if (!FindEntry(pc, &entry_offset)) { in StepExidx()
DElfInterfaceArm.h71 bool FindEntry(uint32_t pc, uint64_t* entry_offset);
/system/libziparchive/include/ziparchive/
Dzip_archive.h213 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/
Dapex_file.cpp74 ret = FindEntry(handle, kImageFilename, &entry); in Open()
82 ret = FindEntry(handle, kManifestFilenamePb, &entry); in Open()
98 ret = FindEntry(handle, kBundledPublicKeyFilename, &entry); in Open()
Dapex_file_test.cpp52 rc = FindEntry(handle, "apex_payload.img", &entry); in TEST()
/system/extras/simpleperf/
Dutils_test.cpp93 ASSERT_TRUE(ahelper->FindEntry(NATIVELIB_IN_APK, &entry)); in TEST()
Dutils.cpp129 bool ArchiveHelper::FindEntry(const std::string& name, ZipEntry* entry) { in FindEntry() function in ArchiveHelper
130 int result = ::FindEntry(handle_, name, entry); in FindEntry()
Dread_apk.cpp115 if (!ahelper->FindEntry(entry_name, &zentry)) { in FindElfInApkByNameWithoutCache()
Dutils.h79 bool FindEntry(const std::string& name, ZipEntry* entry);
Ddso.cpp457 ahelper->FindEntry(std::get<2>(tuple), &entry) && ahelper->GetEntryData(entry, &data)) { in LoadSymbols()
/system/core/libunwindstack/tools/
Dunwind_info.cpp61 if (!interface->FindEntry(pc, &entry)) { in DumpArm()
Dunwind_reg_info.cpp151 if (!interface->FindEntry(pc, &entry_offset)) { in PrintArmRegInformation()
/system/core/fastboot/
Dfastboot.cpp530 if (FindEntry(zip, entry_name, &zip_entry) != 0) { in UnzipToMemory()
641 if (FindEntry(zip, entry_name, &zip_entry) != 0) { in unzip_to_file()