Home
last modified time | relevance | path

Searched refs:RecordFileWriter (Results 1 – 4 of 4) sorted by relevance

/system/extras/simpleperf/
Drecord_file_writer.cpp38 std::unique_ptr<RecordFileWriter> RecordFileWriter::CreateInstance(const std::string& filename) { in CreateInstance()
51 return std::unique_ptr<RecordFileWriter>(new RecordFileWriter(filename, fp)); in CreateInstance()
54 RecordFileWriter::RecordFileWriter(const std::string& filename, FILE* fp) in RecordFileWriter() function in RecordFileWriter
65 RecordFileWriter::~RecordFileWriter() { in ~RecordFileWriter()
71 bool RecordFileWriter::WriteAttrSection(const std::vector<EventAttrWithId>& attr_ids) { in WriteAttrSection()
122 bool RecordFileWriter::WriteRecord(const Record& record) { in WriteRecord()
160 bool RecordFileWriter::WriteData(const void* buf, size_t len) { in WriteData()
168 bool RecordFileWriter::Write(const void* buf, size_t len) { in Write()
176 bool RecordFileWriter::Read(void* buf, size_t len) { in Read()
184 bool RecordFileWriter::ReadDataSection(const std::function<void(const Record*)>& callback) { in ReadDataSection()
[all …]
Drecord_file_test.cpp56 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
104 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
139 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
Drecord_file.h39 class RecordFileWriter {
41 static std::unique_ptr<RecordFileWriter> CreateInstance(const std::string& filename);
43 ~RecordFileWriter();
67 RecordFileWriter(const std::string& filename, FILE* fp);
93 DISALLOW_COPY_AND_ASSIGN(RecordFileWriter);
Dcmd_record.cpp178 std::unique_ptr<RecordFileWriter> CreateRecordFile(
216 std::unique_ptr<RecordFileWriter> record_file_writer_;
631 std::unique_ptr<RecordFileWriter> RecordCommand::CreateRecordFile( in CreateRecordFile()
633 std::unique_ptr<RecordFileWriter> writer = in CreateRecordFile()
634 RecordFileWriter::CreateInstance(filename); in CreateRecordFile()