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 if (!IsValidElfFile(fhelper.fd())) { in FindElfInApkByOffsetWithoutCache()
117 FileHelper fhelper = FileHelper::OpenReadOnly(apk_path); in FindElfInApkByName() local
118 if (!fhelper) { in FindElfInApkByName()
121 ArchiveHelper ahelper(fhelper.fd(), apk_path); in FindElfInApkByName()
Dgtest_main.cpp80 FileHelper fhelper = FileHelper::OpenWriteOnly(path); in ExtractTestDataFromElfSection() local
81 if (!fhelper) { in ExtractTestDataFromElfSection()
90 if (!android::base::WriteFully(fhelper.fd(), data.data(), data.size())) { in ExtractTestDataFromElfSection()
Dread_elf.cpp149 FileHelper fhelper = FileHelper::OpenReadOnly(filename); in OpenObjectFile() local
150 if (!fhelper) { in OpenObjectFile()
161 …auto buffer_or_err = llvm::MemoryBuffer::getOpenFileSlice(fhelper.fd(), filename, file_size, file_… in OpenObjectFile()