Home
last modified time | relevance | path

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

/external/chromium/third_party/libjingle/source/talk/base/
Dstream.cc932 : str_(str), read_pos_(0), read_only_(false) in StringStream()
937 : str_(const_cast<std::string&>(str)), read_pos_(0), read_only_(true) in StringStream()
947 size_t available = _min(buffer_len, str_.size() - read_pos_); in Read()
950 memcpy(buffer, str_.data() + read_pos_, available); in Read()
951 read_pos_ += available; in Read()
978 read_pos_ = position; in SetPosition()
984 *position = read_pos_; in GetPosition()
996 *size = str_.size() - read_pos_; in GetAvailable()
Dstream.h637 size_t read_pos_; variable