Searched refs:tail_copy (Results 1 – 1 of 1) sorted by relevance
/external/webrtc/webrtc/base/ |
D | stream.cc | 721 const size_t tail_copy = std::min(copy, buffer_length_ - read_position_); in SetCapacity() local 722 memcpy(buffer, &buffer_[read_position_], tail_copy); in SetCapacity() 723 memcpy(buffer + tail_copy, &buffer_[0], copy - tail_copy); in SetCapacity() 863 const size_t tail_copy = std::min(copy, buffer_length_ - read_position); in ReadOffsetLocked() local 865 memcpy(p, &buffer_[read_position], tail_copy); in ReadOffsetLocked() 866 memcpy(p + tail_copy, &buffer_[0], copy - tail_copy); in ReadOffsetLocked() 890 const size_t tail_copy = std::min(copy, buffer_length_ - write_position); in WriteOffsetLocked() local 892 memcpy(&buffer_[write_position], p, tail_copy); in WriteOffsetLocked() 893 memcpy(&buffer_[0], p + tail_copy, copy - tail_copy); in WriteOffsetLocked()
|