Searched refs:write_position (Results 1 – 1 of 1) sorted by relevance
798 const size_t write_position = (read_position_ + data_length_) in Write() local801 const size_t tail_copy = _min(copy, buffer_length_ - write_position); in Write()803 memcpy(&buffer_[write_position], p, tail_copy); in Write()852 const size_t write_position = (read_position_ + data_length_) in GetWriteBuffer() local854 *size = (write_position >= read_position_) ? in GetWriteBuffer()855 buffer_length_ - write_position : read_position_ - write_position; in GetWriteBuffer()856 return &buffer_[write_position]; in GetWriteBuffer()