Home
last modified time | relevance | path

Searched refs:writer_ (Results 1 – 7 of 7) sorted by relevance

/system/extras/simpleperf/
Dcmd_debug_unwind.cpp127 std::unique_ptr<RecordFileWriter> writer_; member in DebugUnwindCommand
201 writer_ = RecordFileWriter::CreateInstance(output_filename_); in UnwindRecordFile()
202 if (!writer_ || !writer_->WriteAttrSection(reader_->AttrSection())) { in UnwindRecordFile()
250 if (!writer_->WriteRecord(UnwindingResultRecord(r.time_data.time, unwinding_result))) { in ProcessRecord()
256 if (!writer_->WriteRecord(r)) { in ProcessRecord()
269 return writer_->WriteRecord(*record); in ProcessRecord()
294 if (!writer_->Close()) { in JoinCallChains()
297 writer_.reset(); in JoinCallChains()
309 writer_ = RecordFileWriter::CreateInstance(output_filename_); in JoinCallChains()
310 if (!writer_ || !writer_->WriteAttrSection(reader->AttrSection())) { in JoinCallChains()
[all …]
/system/update_engine/payload_consumer/
Ddownload_action.cc54 writer_(nullptr), in DownloadAction()
237 if (writer_ && writer_ != delta_performer_.get()) { in StartDownloading()
247 writer_ = delta_performer_.get(); in StartDownloading()
269 writer_ = delta_performer_.get(); in StartDownloading()
347 if (writer_) { in TerminateProcessing()
348 writer_->Close(); in TerminateProcessing()
349 writer_ = nullptr; in TerminateProcessing()
376 if (writer_ && !writer_->Write(bytes, length, &code_)) { in ReceivedBytes()
404 if (writer_) { in TransferComplete()
405 LOG_IF(WARNING, writer_->Close() != 0) << "Error closing the writer."; in TransferComplete()
[all …]
Dfile_writer.h86 explicit ScopedFileWriterCloser(FileWriter* writer) : writer_(writer) {} in ScopedFileWriterCloser()
88 int err = writer_->Close(); in ~ScopedFileWriterCloser()
95 FileWriter* writer_;
Ddownload_action.h92 void SetTestFileWriter(FileWriter* writer) { writer_ = writer; } in SetTestFileWriter()
162 FileWriter* writer_; variable
Ddelta_performer.cc1315 TEST_AND_RETURN_FALSE(writer_->Write(buf, count)); in Write()
1345 writer_(std::move(writer)), in BsdiffExtentFile()
1350 std::unique_ptr<ExtentWriter> writer_; member in chromeos_update_engine::__anona5c7ad4d0311::BsdiffExtentFile
1442 TEST_AND_RETURN_FALSE(writer_->Write(buffer, count)); in Write()
1454 writer_(std::move(writer)), in PuffinExtentStream()
1460 std::unique_ptr<ExtentWriter> writer_; member in chromeos_update_engine::__anona5c7ad4d0411::PuffinExtentStream
/system/core/logd/
DLogReaderThread.h50 writer_->Shutdown(); in release_Locked()
60 std::string name() const { return writer_->name(); } in name()
74 std::unique_ptr<LogWriter> writer_; variable
DLogReaderThread.cpp35 writer_(std::move(writer)), in LogReaderThread()
71 writer_.get(), *first_pass_state, in ThreadFunction()
77 writer_.get(), *flush_to_state_, in ThreadFunction()
108 writer_->Release(); in ThreadFunction()