Lines Matching refs:pos_
32 : container_(container), pos_(0) in container_source()
38 static_cast<std::streamsize>(container_.size() - pos_); in read()
41 std::copy( container_.begin() + pos_, in read()
42 container_.begin() + pos_ + result, in read()
44 pos_ += result; in read()
55 size_type pos_; member in boost::iostreams::example::container_source
88 : container_(container), pos_(0) in container_device()
95 static_cast<std::streamsize>(container_.size() - pos_); in read()
98 std::copy( container_.begin() + pos_, in read()
99 container_.begin() + pos_ + result, in read()
101 pos_ += result; in read()
111 if (pos_ != container_.size()) { in write()
113 static_cast<std::streamsize>(container_.size() - pos_); in write()
115 std::copy(s, s + result, container_.begin() + pos_); in write()
116 pos_ += result; in write()
120 pos_ = container_.size(); in write()
133 next = pos_ + off; in seek()
144 pos_ = next; in seek()
145 return pos_; in seek()
153 size_type pos_; member in boost::iostreams::example::container_device