Home
last modified time | relevance | path

Searched refs:cur_slice_ (Results 1 – 3 of 3) sorted by relevance

/external/perfetto/src/tracing/core/
Dsliced_protobuf_input_stream.cc26 : slices_(slices), cur_slice_(slices_->begin()) {} in SlicedProtobufInputStream()
31 if (cur_slice_ == slices_->end()) in Next()
36 reinterpret_cast<uintptr_t>(cur_slice_->start) + pos_in_cur_slice_); in Next()
37 *size = static_cast<int>(cur_slice_->size - pos_in_cur_slice_); in Next()
38 cur_slice_++; in Next()
49 if (cur_slice_ == slices_->end() || pos_in_cur_slice_ == 0) { in BackUp()
50 if (cur_slice_ == slices_->begin()) { in BackUp()
56 cur_slice_--; in BackUp()
57 pos_in_cur_slice_ = cur_slice_->size; in BackUp()
73 if (cur_slice_ == slices_->end()) in Skip()
[all …]
Dstartup_trace_writer.cc59 : buffer_slices_(buffer->slices()), cur_slice_(buffer_slices_.begin()) {} in LocalBufferReader()
69 if (cur_slice_ == buffer_slices_.end()) in ReadBytes()
72 auto cur_slice_range = cur_slice_->GetUsedRange(); in ReadBytes()
76 cur_slice_++; in ReadBytes()
103 if (cur_slice_ == buffer_slices_.end()) in DidReadAllData()
106 const auto next_slice = cur_slice_ + 1; in DidReadAllData()
108 cur_slice_->GetUsedRange().size() == cur_slice_offset_; in DidReadAllData()
116 std::vector<protozero::ScatteredHeapBuffer::Slice>::const_iterator cur_slice_; member in perfetto::__anon6093dd690111::LocalBufferReader
Dsliced_protobuf_input_stream.h47 Slices::const_iterator cur_slice_; variable