Home
last modified time | relevance | path

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

/system/tools/aidl/
Dline_reader.h27 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);
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.h48 virtual std::unique_ptr<LineReader> GetLineReader(
Dio_delegate.cpp107 unique_ptr<LineReader> IoDelegate::GetLineReader( in GetLineReader()
109 return LineReader::ReadFromFile(file_path); in GetLineReader()
Daidl.cpp409 unique_ptr<LineReader> line_reader = io_delegate.GetLineReader(filename); in parse_preprocessed_file()
/system/tools/aidl/tests/
Dfake_io_delegate.cpp59 unique_ptr<LineReader> FakeIoDelegate::GetLineReader( in GetLineReader()
61 unique_ptr<LineReader> ret; in GetLineReader()
64 ret = LineReader::ReadFromMemory(it->second); in GetLineReader()
Dfake_io_delegate.h43 std::unique_ptr<LineReader> GetLineReader(
/system/extras/simpleperf/
Denvironment.cpp51 class LineReader { class
53 explicit LineReader(FILE* fp) : fp_(fp), buf_(nullptr), bufsize_(0) { in LineReader() function in LineReader
56 ~LineReader() { in ~LineReader()
86 LineReader reader(fp); in GetOnlineCpus()
131 LineReader reader(fp); in GetLoadedModules()