Home
last modified time | relevance | path

Searched refs:fhelper (Results 1 – 3 of 3) sorted by relevance

/system/extras/simpleperf/
Dread_apk.cpp57 FileHelper fhelper = FileHelper::OpenReadOnly(apk_path); in FindElfInApkByOffsetWithoutCache() local
58 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() local
119 if (!fhelper) { in FindElfInApkByName()
122 ArchiveHelper ahelper(fhelper.fd(), apk_path); in FindElfInApkByName()
Dgtest_main.cpp84 FileHelper fhelper = FileHelper::OpenWriteOnly(path); in ExtractTestDataFromElfSection() local
85 if (!fhelper) { in ExtractTestDataFromElfSection()
94 if (!android::base::WriteFully(fhelper.fd(), data.data(), data.size())) { in ExtractTestDataFromElfSection()
Dread_elf.cpp179 FileHelper fhelper = FileHelper::OpenReadOnly(filename); in OpenObjectFile() local
180 if (!fhelper) { in OpenObjectFile()
189 …auto buffer_or_err = llvm::MemoryBuffer::getOpenFileSlice(fhelper.fd(), filename, file_size, file_… in OpenObjectFile()