Searched refs:ArchiveHelper (Results 1 – 5 of 5) sorted by relevance
37 TEST(utils, ArchiveHelper) { in TEST() argument38 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(GetTestData(APK_FILE)); in TEST()58 ASSERT_FALSE(ArchiveHelper::CreateInstance(GetTestData(ELF_FILE))); in TEST()59 ASSERT_FALSE(ArchiveHelper::CreateInstance("/dev/zero")); in TEST()
84 std::unique_ptr<ArchiveHelper> ArchiveHelper::CreateInstance(const std::string& filename) { in CreateInstance()107 return std::unique_ptr<ArchiveHelper>(new ArchiveHelper(handle, filename)); in CreateInstance()110 ArchiveHelper::~ArchiveHelper() { in ~ArchiveHelper()114 bool ArchiveHelper::IterateEntries( in IterateEntries()137 bool ArchiveHelper::FindEntry(const std::string& name, ZipEntry* entry) { in FindEntry()146 bool ArchiveHelper::GetEntryData(ZipEntry& entry, std::vector<uint8_t>* data) { in GetEntryData()155 int ArchiveHelper::GetFd() { in GetFd()
94 class ArchiveHelper {96 static std::unique_ptr<ArchiveHelper> CreateInstance(const std::string& filename);97 ~ArchiveHelper();105 ArchiveHelper(ZipArchiveHandle handle, const std::string& filename) in ArchiveHelper() function111 DISALLOW_COPY_AND_ASSIGN(ArchiveHelper);
74 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(apk_path); in FindElfInApkByOffsetWithoutCache()110 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(apk_path); in FindElfInApkByNameWithoutCache()
476 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(std::get<1>(tuple)); in LoadSymbolsImpl()