Lines Matching refs:seek_position_
526 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()
573 if (data_length_ < seek_position_) { in Write()
574 data_length_ = seek_position_; in Write()
589 seek_position_ = position; in SetPosition()
595 *position = seek_position_; in GetPosition()
607 *size = data_length_ - seek_position_; in GetAvailable()
645 seek_position_ = 0; in SetData()
684 seek_position_ = 0; in SetData()