Searched refs:write_position (Results 1 – 1 of 1) sorted by relevance
829 const size_t write_position = (read_position_ + data_length_) in GetWriteBuffer() local831 *size = (write_position > read_position_ || data_length_ == 0) ? in GetWriteBuffer()832 buffer_length_ - write_position : read_position_ - write_position; in GetWriteBuffer()833 return &buffer_[write_position]; in GetWriteBuffer()887 const size_t write_position = (read_position_ + data_length_ + offset) in WriteOffsetLocked() local890 const size_t tail_copy = std::min(copy, buffer_length_ - write_position); in WriteOffsetLocked()892 memcpy(&buffer_[write_position], p, tail_copy); in WriteOffsetLocked()