Searched refs:ahelper (Results 1 – 3 of 3) sorted by relevance
79 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(GetTestData(APK_FILE)); in TEST() local80 ASSERT_TRUE(ahelper); in TEST()83 ASSERT_TRUE(ahelper->IterateEntries([&](ZipEntry& entry, const std::string& name) { in TEST()93 ASSERT_TRUE(ahelper->FindEntry(NATIVELIB_IN_APK, &entry)); in TEST()96 ASSERT_TRUE(ahelper->GetEntryData(entry, &data)); in TEST()
72 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(apk_path); in FindElfInApkByOffsetWithoutCache() local73 if (!ahelper) { in FindElfInApkByOffsetWithoutCache()83 bool result = ahelper->IterateEntries([&](ZipEntry& entry, const std::string& name) { in FindElfInApkByOffsetWithoutCache()99 if (lseek(ahelper->GetFd(), found_entry.offset, SEEK_SET) != found_entry.offset) { in FindElfInApkByOffsetWithoutCache()103 if (IsValidElfFile(ahelper->GetFd()) != ElfStatus::NO_ERROR) { in FindElfInApkByOffsetWithoutCache()114 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(apk_path); in FindElfInApkByNameWithoutCache() local115 if (!ahelper) { in FindElfInApkByNameWithoutCache()119 if (!ahelper->FindEntry(entry_name, &zentry)) { in FindElfInApkByNameWithoutCache()
429 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(std::get<1>(tuple)); in LoadSymbols() local432 if (ahelper && in LoadSymbols()433 ahelper->FindEntry(std::get<2>(tuple), &entry) && ahelper->GetEntryData(entry, &data)) { in LoadSymbols()