Lines Matching refs:trace_file_
443 if (the_trace->trace_file_.get() != nullptr) { in StopTracing()
446 if (the_trace->trace_file_->Flush() != 0) { in StopTracing()
450 the_trace->trace_file_->MarkUnchecked(); // Do not trigger guard. in StopTracing()
452 if (the_trace->trace_file_->Close() != 0) { in StopTracing()
600 : trace_file_(trace_file), in Trace()
724 if (trace_file_.get() == nullptr) { in FinishTracing()
737 if (!trace_file_->WriteFully(header.c_str(), header.length()) || in FinishTracing()
738 !trace_file_->WriteFully(buf_.get(), final_offset)) { in FinishTracing()
899 if (!trace_file_->WriteFully(buf_.get(), old_offset)) { in WriteToBuf()
905 if (!trace_file_->WriteFully(src, src_size)) { in WriteToBuf()
922 if (!trace_file_->WriteFully(buf_.get(), offset)) { in FlushBuf()