Lines Matching refs:chunk_
215 if (!chunk_ || handle.chunk_seq != chunk_->seq() || in GetEventByHandle()
220 return chunk_->GetEventAt(handle.event_index); in GetEventByHandle()
242 scoped_ptr<TraceBufferChunk> chunk_; member in base::trace_event::TraceLog::ThreadLocalEventBuffer
283 if (chunk_ && chunk_->IsFull()) { in AddTraceEvent()
286 chunk_.reset(); in AddTraceEvent()
288 if (!chunk_) { in AddTraceEvent()
290 chunk_ = trace_log_->logged_events_->GetChunk(&chunk_index_); in AddTraceEvent()
293 if (!chunk_) in AddTraceEvent()
297 TraceEvent* trace_event = chunk_->AddTraceEvent(&event_index); in AddTraceEvent()
299 MakeHandle(chunk_->seq(), chunk_index_, event_index, handle); in AddTraceEvent()
311 if (!chunk_) in OnMemoryDump()
316 chunk_->EstimateTraceMemoryOverhead(&overhead); in OnMemoryDump()
322 if (!chunk_) in FlushWhileLocked()
328 trace_log_->logged_events_->ReturnChunk(chunk_index_, std::move(chunk_)); in FlushWhileLocked()