Lines Matching refs:write_position_
88 write_position_ -= read_position_; in reserve()
101 write_position_ = 0; in Reinitialize()
115 write_position_ = buffer_size_; in Reinitialize()
120 assert(buffer_size_ >= write_position_); in available_write()
121 return buffer_size_ - write_position_; in available_write()
125 assert(buffer_size_ >= write_position_); in available_read()
126 assert(write_position_ >= read_position_); in available_read()
127 return write_position_ - read_position_; in available_read()
133 memcpy(buffer_.get() + write_position_, src, write_length); in write()
134 write_position_ += write_length; in write()
161 write_position_ = buffer_size_; in Deserialize()
169 write_position_ = 0; in Clear()