Home | History | Annotate | Download | only in trace_event

Lines Matching full:scoped_ptr

11 #include "base/memory/scoped_ptr.h"
33 scoped_ptr<TraceBufferChunk> GetChunk(size_t* index) override {
52 return scoped_ptr<TraceBufferChunk>(chunk);
55 void ReturnChunk(size_t index, scoped_ptr<TraceBufferChunk> chunk) override {
102 scoped_ptr<TraceBuffer> CloneForIteration() const override {
103 scoped_ptr<ClonedTraceBuffer> cloned_buffer(new ClonedTraceBuffer());
139 scoped_ptr<TraceBufferChunk> GetChunk(size_t* /* index */) override {
141 return scoped_ptr<TraceBufferChunk>();
143 void ReturnChunk(size_t /*index*/, scoped_ptr<TraceBufferChunk>) override {
152 scoped_ptr<TraceBuffer> CloneForIteration() const override {
154 return scoped_ptr<TraceBuffer>();
162 std::vector<scoped_ptr<TraceBufferChunk>> chunks_;
188 std::vector<scoped_ptr<TraceBufferChunk>> chunks_;
190 scoped_ptr<size_t[]> recyclable_chunks_queue_;
209 scoped_ptr<TraceBufferChunk> GetChunk(size_t* index) override {
218 return scoped_ptr<TraceBufferChunk>(
222 void ReturnChunk(size_t index, scoped_ptr<TraceBufferChunk> chunk) override {
260 scoped_ptr<TraceBuffer> CloneForIteration() const override {
262 return scoped_ptr<TraceBuffer>();
311 scoped_ptr<TraceBufferChunk> TraceBufferChunk::Clone() const {
312 scoped_ptr<TraceBufferChunk> cloned_chunk(new TraceBufferChunk(seq_));