Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Dstream.cc526 seek_position_(0) { in MemoryStreamBase()
535 if (seek_position_ >= data_length_) { in Read()
538 size_t available = data_length_ - seek_position_; in Read()
543 memcpy(buffer, &buffer_[seek_position_], bytes); in Read()
544 seek_position_ += bytes; in Read()
553 size_t available = buffer_length_ - seek_position_; in Write()
559 std::max(((seek_position_ + bytes) | 0xFF) + 1, buffer_length_ * 2); in Write()
565 available = buffer_length_ - seek_position_; in Write()
571 memcpy(&buffer_[seek_position_], buffer, bytes); in Write()
572 seek_position_ += bytes; in Write()
[all …]
Dstream.h458 size_t seek_position_; variable