Home
last modified time | relevance | path

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

/external/perfetto/include/perfetto/protozero/
Dproto_decoder.h49 read_ptr_(begin_) {} in ProtoDecoder()
62 void Reset() { read_ptr_ = begin_; } in Reset()
67 read_ptr_ = pos; in Reset()
71 size_t read_offset() const { return static_cast<size_t>(read_ptr_ - begin_); } in read_offset()
74 PERFETTO_DCHECK(read_ptr_ <= end_); in bytes_left()
75 return static_cast<size_t>(end_ - read_ptr_); in bytes_left()
84 const uint8_t* read_ptr_ = nullptr; variable
179 read_ptr_(data_begin), in PackedRepeatedFieldIterator()
216 if (PERFETTO_UNLIKELY(read_ptr_ == data_end_)) {
224 proto_utils::ParseVarInt(read_ptr_, data_end_, &new_value);
[all …]
/external/perfetto/src/shared_lib/test/
Dutils.h80 decoder.read_ptr = read_ptr_;
91 decoder.read_ptr = read_ptr_;
94 read_ptr_ = decoder.read_ptr;
105 return a.read_ptr_ == b.read_ptr_;
108 return a.read_ptr_ != b.read_ptr_;
115 : read_ptr_(read_ptr), end_ptr_(end_ptr), skipper_(skipper) { in Iterator()
120 decoder.read_ptr = read_ptr_; in AdvanceToFirstInterestingField()
130 read_ptr_ = prev_read_ptr; in AdvanceToFirstInterestingField()
132 read_ptr_ = decoder.read_ptr; in AdvanceToFirstInterestingField()
136 const uint8_t* read_ptr_; variable
/external/perfetto/src/protozero/
Dproto_decoder.cc163 auto old_position = read_ptr_; in FindField()
164 read_ptr_ = begin_; in FindField()
171 read_ptr_ = old_position; in FindField()
178 res = ParseOneField(read_ptr_, end_); in ReadField()
179 read_ptr_ = res.next; in ReadField()
230 read_ptr_ = res.next; in ParseAllFields()