Searched refs:FileHelper (Results 1 – 5 of 5) sorted by relevance
59 class FileHelper {61 static FileHelper OpenReadOnly(const std::string& filename);62 static FileHelper OpenWriteOnly(const std::string& filename);64 FileHelper(FileHelper&& other) { in FileHelper() function69 ~FileHelper();80 FileHelper(int fd) : fd_(fd) {} in FileHelper() function83 DISALLOW_COPY_AND_ASSIGN(FileHelper);
59 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()
57 FileHelper fhelper = FileHelper::OpenReadOnly(apk_path); in FindElfInApkByOffsetWithoutCache()117 FileHelper fhelper = FileHelper::OpenReadOnly(apk_path); in FindElfInApkByName()
80 FileHelper fhelper = FileHelper::OpenWriteOnly(path); in ExtractTestDataFromElfSection()
149 FileHelper fhelper = FileHelper::OpenReadOnly(filename); in OpenObjectFile()