Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/
Dmemory_stream.cc30 if (seek_position_ >= data_length_) { in Read()
33 size_t available = data_length_ - seek_position_; in Read()
38 memcpy(buffer, &buffer_[seek_position_], bytes); in Read()
39 seek_position_ += bytes; in Read()
50 size_t available = buffer_length_ - seek_position_; in Write()
56 std::max(((seek_position_ + bytes) | 0xFF) + 1, buffer_length_ * 2); in Write()
62 available = buffer_length_ - seek_position_; in Write()
68 memcpy(&buffer_[seek_position_], buffer, bytes); in Write()
69 seek_position_ += bytes; in Write()
70 if (data_length_ < seek_position_) { in Write()
[all …]
Dmemory_stream.h56 size_t seek_position_ = 0; variable