Home
last modified time | relevance | path

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

/external/chromium/third_party/libjingle/source/talk/base/
Dstream.cc798 const size_t write_position = (read_position_ + data_length_) in Write() local
801 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() local
854 *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()