Searched refs:LineReader (Results 1 – 12 of 12) sorted by relevance
25 class LineReader {27 LineReader() = default;28 virtual ~LineReader() = default;30 LineReader(const LineReader&) = delete;31 LineReader(LineReader&&) = delete;32 LineReader& operator=(const LineReader&) = delete;33 LineReader& operator=(LineReader&&) = delete;37 static std::unique_ptr<LineReader> ReadFromFile(39 static std::unique_ptr<LineReader> ReadFromMemory(
30 class FileLineReader : public LineReader {61 class MemoryLineReader : public LineReader {85 unique_ptr<LineReader> LineReader::ReadFromFile(const string& file_path) { in ReadFromFile()87 unique_ptr<LineReader> ret; in ReadFromFile()94 unique_ptr<LineReader> LineReader::ReadFromMemory(const string& contents) { in ReadFromMemory()95 return unique_ptr<LineReader>(new MemoryLineReader(contents)); in ReadFromMemory()
53 virtual std::unique_ptr<LineReader> GetLineReader(
110 unique_ptr<LineReader> IoDelegate::GetLineReader( in GetLineReader()112 return LineReader::ReadFromFile(file_path); in GetLineReader()
408 unique_ptr<LineReader> line_reader = io_delegate.GetLineReader(filename); in parse_preprocessed_file()
78 TEST(utils, LineReader) { in TEST() argument82 LineReader reader(tmpfile.path); in TEST()
44 LineReader reader(kKallsymsPath); in CanReadKernelSymbolAddresses()174 LineReader reader(kProcModulesPath); in GetLoadedModules()212 LineReader reader(kKallsymsPath); in GetKernelStartAddress()
75 class LineReader {77 explicit LineReader(std::string_view file_path) : ifs_(file_path) {} in LineReader() function
46 LineReader reader(mapping_file); in AddProguardMappingFile()
58 LineReader reader("/sys/devices/system/cpu/online"); in GetOnlineCpus()976 LineReader reader(status_file); in GetProcessUid()
60 unique_ptr<LineReader> FakeIoDelegate::GetLineReader( in GetLineReader()62 unique_ptr<LineReader> ret; in GetLineReader()65 ret = LineReader::ReadFromMemory(it->second); in GetLineReader()
45 std::unique_ptr<LineReader> GetLineReader(