Home
last modified time | relevance | path

Searched refs:FileHelper (Results 1 – 5 of 5) sorted by relevance

/system/extras/simpleperf/
Dutils.h59 class FileHelper {
61 static FileHelper OpenReadOnly(const std::string& filename);
62 static FileHelper OpenWriteOnly(const std::string& filename);
64 FileHelper(FileHelper&& other) { in FileHelper() function
69 ~FileHelper();
80 FileHelper(int fd) : fd_(fd) {} in FileHelper() function
83 DISALLOW_COPY_AND_ASSIGN(FileHelper);
Dutils.cpp59 FileHelper FileHelper::OpenReadOnly(const std::string& filename) { in OpenReadOnly()
61 return FileHelper(fd); in OpenReadOnly()
64 FileHelper FileHelper::OpenWriteOnly(const std::string& filename) { in OpenWriteOnly()
66 return FileHelper(fd); in OpenWriteOnly()
69 FileHelper::~FileHelper() { in ~FileHelper()
Dread_apk.cpp57 FileHelper fhelper = FileHelper::OpenReadOnly(apk_path); in FindElfInApkByOffsetWithoutCache()
117 FileHelper fhelper = FileHelper::OpenReadOnly(apk_path); in FindElfInApkByName()
Dgtest_main.cpp80 FileHelper fhelper = FileHelper::OpenWriteOnly(path); in ExtractTestDataFromElfSection()
Dread_elf.cpp149 FileHelper fhelper = FileHelper::OpenReadOnly(filename); in OpenObjectFile()