Lines Matching refs:position_
25 position_(0) {} in SnapshotByteSource()
28 : data_(payload.start()), length_(payload.length()), position_(0) {} in SnapshotByteSource()
32 bool HasMore() { return position_ < length_; } in HasMore()
35 DCHECK(position_ < length_); in Get()
36 return data_[position_++]; in Get()
39 void Advance(int by) { position_ += by; } in Advance()
46 DCHECK(position_ + 3 < length_); in GetInt()
47 uint32_t answer = data_[position_]; in GetInt()
48 answer |= data_[position_ + 1] << 8; in GetInt()
49 answer |= data_[position_ + 2] << 16; in GetInt()
50 answer |= data_[position_ + 3] << 24; in GetInt()
63 int position() { return position_; } in position()
68 int position_; variable