Searched refs:fhelper (Results 1 – 3 of 3) sorted by relevance
57 FileHelper fhelper = FileHelper::OpenReadOnly(apk_path); in FindElfInApkByOffsetWithoutCache() local58 if (!fhelper) { in FindElfInApkByOffsetWithoutCache()62 ArchiveHelper ahelper(fhelper.fd(), apk_path); in FindElfInApkByOffsetWithoutCache()94 if (lseek(fhelper.fd(), zentry.offset, SEEK_SET) != zentry.offset) { in FindElfInApkByOffsetWithoutCache()101 ElfStatus result = IsValidElfFile(fhelper.fd()); in FindElfInApkByOffsetWithoutCache()118 FileHelper fhelper = FileHelper::OpenReadOnly(apk_path); in FindElfInApkByName() local119 if (!fhelper) { in FindElfInApkByName()122 ArchiveHelper ahelper(fhelper.fd(), apk_path); in FindElfInApkByName()
84 FileHelper fhelper = FileHelper::OpenWriteOnly(path); in ExtractTestDataFromElfSection() local85 if (!fhelper) { in ExtractTestDataFromElfSection()94 if (!android::base::WriteFully(fhelper.fd(), data.data(), data.size())) { in ExtractTestDataFromElfSection()
179 FileHelper fhelper = FileHelper::OpenReadOnly(filename); in OpenObjectFile() local180 if (!fhelper) { in OpenObjectFile()189 …auto buffer_or_err = llvm::MemoryBuffer::getOpenFileSlice(fhelper.fd(), filename, file_size, file_… in OpenObjectFile()