Searched refs:LineReader (Results 1 – 8 of 8) 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()
51 virtual std::unique_ptr<LineReader> GetLineReader(
107 unique_ptr<LineReader> IoDelegate::GetLineReader( in GetLineReader()109 return LineReader::ReadFromFile(file_path); in GetLineReader()
355 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()
47 std::unique_ptr<LineReader> GetLineReader(
54 class LineReader { class56 explicit LineReader(FILE* fp) : fp_(fp), buf_(nullptr), bufsize_(0) { in LineReader() function in LineReader59 ~LineReader() { in ~LineReader()89 LineReader reader(fp); in GetOnlineCpus()106 LineReader reader(fp); in GetLoadedModules()