Lines Matching refs:pos_
26 pos_ = buffer_; in zone_()
32 *(pos_++) = x; in write_u8()
37 WriteLittleEndianValue<uint16_t>(pos_, x); in write_u16()
38 pos_ += 2; in write_u16()
43 WriteLittleEndianValue<uint32_t>(pos_, x); in write_u32()
44 pos_ += 4; in write_u32()
49 LEBHelper::write_u32v(&pos_, val); in write_u32v()
54 LEBHelper::write_i32v(&pos_, val); in write_i32v()
60 LEBHelper::write_u32v(&pos_, static_cast<uint32_t>(val)); in write_size()
65 memcpy(pos_, data, size); in write()
66 pos_ += size; in write()
72 pos_ += kMaxVarInt32Size; in reserve_u32v()
91 size_t offset() const { return static_cast<size_t>(pos_ - buffer_); } in offset()
92 size_t size() const { return static_cast<size_t>(pos_ - buffer_); } in size()
94 const byte* end() const { return pos_; } in end()
97 if ((pos_ + size) > end_) { in EnsureSpace()
100 memcpy(new_buffer, buffer_, (pos_ - buffer_)); in EnsureSpace()
101 pos_ = new_buffer + (pos_ - buffer_); in EnsureSpace()
105 DCHECK(pos_ + size <= end_); in EnsureSpace()
108 byte** pos_ptr() { return &pos_; } in pos_ptr()
113 byte* pos_; variable