Home
last modified time | relevance | path

Searched refs:write_position (Results 1 – 1 of 1) sorted by relevance

/external/webrtc/webrtc/base/
Dstream.cc829 const size_t write_position = (read_position_ + data_length_) in GetWriteBuffer() local
831 *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() local
890 const size_t tail_copy = std::min(copy, buffer_length_ - write_position); in WriteOffsetLocked()
892 memcpy(&buffer_[write_position], p, tail_copy); in WriteOffsetLocked()