Lines Matching refs:trace_file_
494 if (the_trace->trace_file_.get() != nullptr) { in StopTracing()
497 if (the_trace->trace_file_->Flush() != 0) { in StopTracing()
501 the_trace->trace_file_->MarkUnchecked(); // Do not trigger guard. in StopTracing()
503 if (the_trace->trace_file_->Close() != 0) { in StopTracing()
554 : trace_file_(trace_file), in Trace()
679 if (trace_file_.get() == nullptr) { in FinishTracing()
692 if (!trace_file_->WriteFully(header.c_str(), header.length()) || in FinishTracing()
693 !trace_file_->WriteFully(buf_.get(), final_offset)) { in FinishTracing()
845 if (!trace_file_->WriteFully(buf_.get(), old_offset)) { in WriteToBuf()
851 if (!trace_file_->WriteFully(src, src_size)) { in WriteToBuf()
869 if (!trace_file_->WriteFully(buf_.get(), offset)) { in FlushBuf()