Searched refs:LineReader (Results 1 – 8 of 8) sorted by relevance
28 class LineReader {30 LineReader() = default;31 virtual ~LineReader() = default;34 static std::unique_ptr<LineReader> ReadFromFile(36 static std::unique_ptr<LineReader> ReadFromMemory(40 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()
105 unique_ptr<LineReader> IoDelegate::GetLineReader( in GetLineReader()107 return LineReader::ReadFromFile(file_path); in GetLineReader()
49 virtual std::unique_ptr<LineReader> GetLineReader(
503 unique_ptr<LineReader> line_reader = io_delegate.GetLineReader(filename); in parse_preprocessed_file()
58 unique_ptr<LineReader> FakeIoDelegate::GetLineReader( in GetLineReader()60 unique_ptr<LineReader> ret; in GetLineReader()63 ret = LineReader::ReadFromMemory(it->second); in GetLineReader()
43 std::unique_ptr<LineReader> GetLineReader(
44 class LineReader { class46 explicit LineReader(FILE* fp) : fp_(fp), buf_(nullptr), bufsize_(0) { in LineReader() function in LineReader49 ~LineReader() { in ~LineReader()79 LineReader reader(fp); in GetOnlineCpus()124 LineReader reader(fp); in GetLoadedModules()274 LineReader reader(fp); in GetThreadMmapsInProcess()