Home
last modified time | relevance | path

Searched refs:read_ptr_ (Results 1 – 2 of 2) 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/protozero/
Dproto_decoder.cc160 auto old_position = read_ptr_; in FindField()
161 read_ptr_ = begin_; in FindField()
168 read_ptr_ = old_position; in FindField()
176 res = ParseOneField(read_ptr_, end_); in ReadField()
177 read_ptr_ = res.next; in ReadField()
224 read_ptr_ = res.next; in ParseAllFields()