Lines Matching refs:trace_file_

635   if (!trace_file_->WriteFully(buffer, offset)) {  in WriteToFile()
1037 : trace_file_(trace_file), in TraceWriter()
1090 if (!trace_file_->WriteFully(buf_.get(), kTraceHeaderLength)) { in TraceWriter()
1200 DCHECK_NE(trace_file_.get(), nullptr); in FinishTracing()
1212 if (!trace_file_->WriteFully(buf, sizeof(buf)) || in FinishTracing()
1213 !trace_file_->WriteFully(header.c_str(), header.length())) { in FinishTracing()
1222 if (!trace_file_->WriteFully(buf, sizeof(buf)) || in FinishTracing()
1223 !trace_file_->WriteFully(header.c_str(), header.length())) { in FinishTracing()
1228 if (trace_file_.get() == nullptr) { in FinishTracing()
1236 if (!trace_file_->WriteFully(header.c_str(), header.length()) || in FinishTracing()
1237 !trace_file_->WriteFully(buf_.get(), final_offset)) { in FinishTracing()
1250 if (trace_file_.get() != nullptr) { in FinishTracing()
1253 if (trace_file_->Flush() != 0) { in FinishTracing()
1257 trace_file_->MarkUnchecked(); // Do not trigger guard. in FinishTracing()
1259 if (trace_file_->Close() != 0) { in FinishTracing()
1403 if (!trace_file_->WriteFully(header, kThreadNameHeaderSize) || in RecordThreadInfo()
1404 !trace_file_->WriteFully(reinterpret_cast<const uint8_t*>(thread_name.c_str()), in RecordThreadInfo()
1453 if (!trace_file_->WriteFully(method_header, header_size) || in RecordMethodInfoV1()
1454 !trace_file_->WriteFully(ptr, method_line_length)) { in RecordMethodInfoV1()
1837 if (!trace_file_->WriteFully(buffer_ptr, current_index)) { in FlushBuffer()
1964 if (!trace_file_->WriteFully(buffer, *current_index)) { in EnsureSpace()