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/core/libziparchive/
Dzip_writer_test.cc65 ASSERT_EQ(0, FindEntry(handle, ZipString("file.txt"), &data)); in TEST_F()
98 ASSERT_EQ(0, FindEntry(handle, ZipString("file.txt"), &data)); in TEST_F()
104 ASSERT_EQ(0, FindEntry(handle, ZipString("file/file.txt"), &data)); in TEST_F()
110 ASSERT_EQ(0, FindEntry(handle, ZipString("file/file2.txt"), &data)); in TEST_F()
132 ASSERT_EQ(0, FindEntry(handle, ZipString("align.txt"), &data)); in TEST_F()
166 ASSERT_EQ(0, FindEntry(handle, ZipString("align.txt"), &data)); in TEST_F()
194 ASSERT_EQ(0, FindEntry(handle, ZipString("align.txt"), &data)); in TEST_F()
216 ASSERT_EQ(0, FindEntry(handle, ZipString("align.txt"), &data)); in TEST_F()
244 ASSERT_EQ(0, FindEntry(handle, ZipString("file.txt"), &data)); in TEST_F()
276 ASSERT_EQ(0, FindEntry(handle, ZipString("file.txt"), &data)); in TEST_F()
[all …]
Dzip_archive_test.cc188 TEST(ziparchive, FindEntry) { in TEST() argument
195 ASSERT_EQ(0, FindEntry(handle, name, &data)); in TEST()
208 ASSERT_LT(FindEntry(handle, absent_name, &data), 0); in TEST()
237 ASSERT_EQ(0, FindEntry(handle, a_name, &data)); in TEST()
248 ASSERT_EQ(0, FindEntry(handle, b_name, &data)); in TEST()
305 ASSERT_EQ(0, FindEntry(handle, empty_name, &entry)); in TEST()
330 ASSERT_EQ(0, FindEntry(handle, ab_name, &entry)); in TEST()
389 ASSERT_EQ(0, FindEntry(handle, name, &entry)); in TEST()
427 ASSERT_EQ(0, FindEntry(handle, binary_path, &binary_entry)); in TEST()
438 ASSERT_EQ(0, FindEntry(handle, name, entry)); in ZipArchiveStreamTest()
[all …]
Dzip_archive_benchmark.cpp63 FindEntry(handle, name, &data); in FindEntry_no_match()
Dzip_archive.cc548 static int32_t FindEntry(const ZipArchive* archive, const int ent, ZipEntry* data) { in FindEntry() function
757 int32_t FindEntry(const ZipArchiveHandle archive, const ZipString& entryName, ZipEntry* data) { in FindEntry() function
769 return FindEntry(archive, ent, data); in FindEntry()
795 const int error = FindEntry(archive, i, 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/extras/simpleperf/
Dutils_test.cpp93 ASSERT_TRUE(ahelper->FindEntry(NATIVELIB_IN_APK, &entry)); in TEST()
Dutils.h78 bool FindEntry(const std::string& name, ZipEntry* entry);
Dutils.cpp130 bool ArchiveHelper::FindEntry(const std::string& name, ZipEntry* entry) { in FindEntry() function in ArchiveHelper
131 int result = ::FindEntry(handle_, ZipString(name.c_str()), entry); in FindEntry()
Dread_apk.cpp119 if (!ahelper->FindEntry(entry_name, &zentry)) { in FindElfInApkByNameWithoutCache()
Ddso.cpp433 ahelper->FindEntry(std::get<2>(tuple), &entry) && ahelper->GetEntryData(entry, &data)) { in LoadSymbols()
/system/core/libziparchive/include/ziparchive/
Dzip_archive.h167 int32_t FindEntry(const ZipArchiveHandle archive, const ZipString& entryName, ZipEntry* data);
/system/apex/apexd/
Dapex_file.cpp125 ret = FindEntry(handle, ZipString(kImageFilename), &entry); in Open()
135 ret = FindEntry(handle, ZipString(kManifestFilename), &entry); in Open()
155 ret = FindEntry(handle, ZipString(kBundledPublicKeyFilename), &entry); in Open()
Dapex_file_test.cpp50 rc = FindEntry(handle, ZipString("apex_payload.img"), &entry); in TEST()
/system/core/libunwindstack/tools/
Dunwind_info.cpp60 if (!interface->FindEntry(pc, &entry)) { in DumpArm()
Dunwind_reg_info.cpp144 if (!interface->FindEntry(pc, &entry_offset)) { in PrintArmRegInformation()
/system/core/fastboot/
Dfastboot.cpp507 if (FindEntry(zip, zip_entry_name, &zip_entry) != 0) { in UnzipToMemory()
619 if (FindEntry(zip, zip_entry_name, &zip_entry) != 0) { in unzip_to_file()