Searched refs:ahelper (Results 1 – 3 of 3) sorted by relevance
38 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(GetTestData(APK_FILE)); in TEST() local39 ASSERT_TRUE(ahelper); in TEST()42 ASSERT_TRUE(ahelper->IterateEntries([&](ZipEntry& entry, const std::string& name) { in TEST()52 ASSERT_TRUE(ahelper->FindEntry(NATIVELIB_IN_APK, &entry)); in TEST()55 ASSERT_TRUE(ahelper->GetEntryData(entry, &data)); in TEST()
74 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(apk_path); in FindElfInApkByOffsetWithoutCache() local75 if (!ahelper) { in FindElfInApkByOffsetWithoutCache()85 bool result = ahelper->IterateEntries([&](ZipEntry& entry, const std::string& name) { in FindElfInApkByOffsetWithoutCache()100 if (IsValidElfFile(ahelper->GetFd(), found_entry.offset) != ElfStatus::NO_ERROR) { in FindElfInApkByOffsetWithoutCache()110 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(apk_path); in FindElfInApkByNameWithoutCache() local111 if (!ahelper) { in FindElfInApkByNameWithoutCache()115 if (!ahelper->FindEntry(entry_name, &zentry)) { in FindElfInApkByNameWithoutCache()
476 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(std::get<1>(tuple)); in LoadSymbolsImpl() local479 if (ahelper && ahelper->FindEntry(std::get<2>(tuple), &entry) && in LoadSymbolsImpl()480 ahelper->GetEntryData(entry, &data)) { in LoadSymbolsImpl()