Home
last modified time | relevance | path

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

/system/unwinding/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.cc716 static int32_t FindEntry(const ZipArchive* archive, std::string_view entryName, in FindEntry() function
1008 int32_t FindEntry(const ZipArchiveHandle archive, const std::string_view entryName, in FindEntry() function
1011 if (auto status = FindEntry(archive, entryName, &entry64); status != kSuccess) { in FindEntry()
1018 int32_t FindEntry(const ZipArchiveHandle archive, const std::string_view entryName, in FindEntry() function
1032 return FindEntry(archive, entryName, offset, data); in FindEntry()
1081 const int error = FindEntry(archive, entry_name, offset, data); in Next()
/system/unwinding/libunwindstack/
DElfInterfaceArm.cpp37 bool ElfInterfaceArm::FindEntry(uint32_t pc, uint64_t* entry_offset) { in FindEntry() function in unwindstack::ElfInterfaceArm
123 if (!FindEntry(pc, &entry_offset)) { in StepExidx()
DElfInterfaceArm.h71 bool FindEntry(uint32_t pc, uint64_t* entry_offset);
/system/apex/apexd/
Dapex_file.cpp104 ret = FindEntry(handle, kCompressedApexFilename, &entry); in Open()
111 ret = FindEntry(handle, kImageFilename, &entry); in Open()
129 ret = FindEntry(handle, kManifestFilenamePb, &entry); in Open()
145 ret = FindEntry(handle, kBundledPublicKeyFilename, &entry); in Open()
432 ret = FindEntry(handle, kCompressedApexFilename, &entry); in Decompress()
Dapex_file_test.cpp68 rc = FindEntry(handle, "apex_payload.img", &entry); in TEST_P()
/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/extras/simpleperf/
Dutils_test.cpp52 ASSERT_TRUE(ahelper->FindEntry(NATIVELIB_IN_APK, &entry)); in TEST()
Dutils.cpp137 bool ArchiveHelper::FindEntry(const std::string& name, ZipEntry* entry) { in FindEntry() function in simpleperf::ArchiveHelper
138 int result = ::FindEntry(handle_, name, entry); in FindEntry()
Dread_apk.cpp115 if (!ahelper->FindEntry(entry_name, &zentry)) { in FindElfInApkByNameWithoutCache()
Dutils.h100 bool FindEntry(const std::string& name, ZipEntry* entry);
Ddso.cpp479 if (ahelper && ahelper->FindEntry(std::get<2>(tuple), &entry) && in LoadSymbolsImpl()
/system/core/fs_mgr/libsnapshot/
Destimate_cow_from_nonab_ota.cpp106 return !FindEntry(zip_.get(), path, &entry); in HasFile()
125 if (FindEntry(zip_.get(), path, &entry)) { in OpenFile()
Dmake_cow_from_ab_ota.cpp431 if (FindEntry(source_tf_zip_.get(), local_path, &entry)) { in OpenSourceImage()
/system/unwinding/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.cpp551 if (FindEntry(zip, entry_name, &zip_entry) != 0) { in UnzipToMemory()
665 if (FindEntry(zip, entry_name, &zip_entry) != 0) { in unzip_to_file()