Lines Matching refs:buffer_
27 : zone_(zone), buffer_(reinterpret_cast<byte*>(zone->New(initial))) { in zone_()
28 pos_ = buffer_; in zone_()
29 end_ = buffer_ + initial; in zone_()
87 byte* ptr = buffer_ + offset; in patch_u32v()
100 size_t offset() { return static_cast<size_t>(pos_ - buffer_); } in offset()
101 size_t size() { return static_cast<size_t>(pos_ - buffer_); } in size()
102 const byte* begin() { return buffer_; } in begin()
107 size_t new_size = 4096 + (end_ - buffer_) * 3; in EnsureSpace()
109 memcpy(new_buffer, buffer_, (pos_ - buffer_)); in EnsureSpace()
110 pos_ = new_buffer + (pos_ - buffer_); in EnsureSpace()
111 buffer_ = new_buffer; in EnsureSpace()
120 byte* buffer_; variable