Searched refs:LineReader (Results 1 – 8 of 8) sorted by relevance
27 class LineReader {29 LineReader() = default;30 virtual ~LineReader() = default;33 static std::unique_ptr<LineReader> ReadFromFile(35 static std::unique_ptr<LineReader> ReadFromMemory(39 DISALLOW_COPY_AND_ASSIGN(LineReader);
30 class FileLineReader : public LineReader {57 class MemoryLineReader : public LineReader {77 unique_ptr<LineReader> LineReader::ReadFromFile(const string& file_path) { in ReadFromFile()79 unique_ptr<LineReader> ret; in ReadFromFile()86 unique_ptr<LineReader> LineReader::ReadFromMemory(const string& contents) { in ReadFromMemory()87 return unique_ptr<LineReader>(new MemoryLineReader(contents)); in ReadFromMemory()
48 virtual std::unique_ptr<LineReader> GetLineReader(
107 unique_ptr<LineReader> IoDelegate::GetLineReader( in GetLineReader()109 return LineReader::ReadFromFile(file_path); in GetLineReader()
409 unique_ptr<LineReader> line_reader = io_delegate.GetLineReader(filename); in parse_preprocessed_file()
59 unique_ptr<LineReader> FakeIoDelegate::GetLineReader( in GetLineReader()61 unique_ptr<LineReader> ret; in GetLineReader()64 ret = LineReader::ReadFromMemory(it->second); in GetLineReader()
43 std::unique_ptr<LineReader> GetLineReader(
51 class LineReader { class53 explicit LineReader(FILE* fp) : fp_(fp), buf_(nullptr), bufsize_(0) { in LineReader() function in LineReader56 ~LineReader() { in ~LineReader()86 LineReader reader(fp); in GetOnlineCpus()131 LineReader reader(fp); in GetLoadedModules()