Searched refs:RecordFileWriter (Results 1 – 4 of 4) sorted by relevance
38 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 RecordFileWriter65 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 …]
56 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()
39 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);
178 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()