Lines Matching refs:write_position_
80 write_position_ -= read_position_; in reserve()
93 write_position_ = 0; in Reinitialize()
107 write_position_ = buffer_size_; in Reinitialize()
112 assert(buffer_size_ >= write_position_); in available_write()
113 return buffer_size_ - write_position_; in available_write()
117 assert(buffer_size_ >= write_position_); in available_read()
118 assert(write_position_ >= read_position_); in available_read()
119 return write_position_ - read_position_; in available_read()
125 memcpy(buffer_.get() + write_position_, src, write_length); in write()
126 write_position_ += write_length; in write()
153 write_position_ = buffer_size_; in Deserialize()
161 write_position_ = 0; in Clear()