Home
last modified time | relevance | path

Searched refs:LineReader (Results 1 – 8 of 8) sorted by relevance

/system/tools/aidl/
Dline_reader.h28 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);
Dline_reader.cpp30 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()
Dio_delegate.cpp105 unique_ptr<LineReader> IoDelegate::GetLineReader( in GetLineReader()
107 return LineReader::ReadFromFile(file_path); in GetLineReader()
Dio_delegate.h49 virtual std::unique_ptr<LineReader> GetLineReader(
Daidl.cpp503 unique_ptr<LineReader> line_reader = io_delegate.GetLineReader(filename); in parse_preprocessed_file()
/system/tools/aidl/tests/
Dfake_io_delegate.cpp58 unique_ptr<LineReader> FakeIoDelegate::GetLineReader( in GetLineReader()
60 unique_ptr<LineReader> ret; in GetLineReader()
63 ret = LineReader::ReadFromMemory(it->second); in GetLineReader()
Dfake_io_delegate.h43 std::unique_ptr<LineReader> GetLineReader(
/system/extras/simpleperf/
Denvironment.cpp44 class LineReader { class
46 explicit LineReader(FILE* fp) : fp_(fp), buf_(nullptr), bufsize_(0) { in LineReader() function in LineReader
49 ~LineReader() { in ~LineReader()
79 LineReader reader(fp); in GetOnlineCpus()
124 LineReader reader(fp); in GetLoadedModules()
274 LineReader reader(fp); in GetThreadMmapsInProcess()