Searched refs:read_position_ (Results 1 - 6 of 6) sorted by relevance

/external/chromium/third_party/libjingle/source/talk/base/
H A Dstream.cc722 data_length_(0), read_position_(0), owner_(Thread::Current()) {
744 const size_t tail_copy = _min(copy, buffer_length_ - read_position_);
745 memcpy(buffer, &buffer_[read_position_], tail_copy);
748 read_position_ = 0;
768 const size_t tail_copy = _min(copy, buffer_length_ - read_position_);
770 memcpy(p, &buffer_[read_position_], tail_copy);
772 read_position_ = (read_position_ + copy) % buffer_length_;
798 const size_t write_position = (read_position_ + data_length_)
824 *size = (read_position_
[all...]
H A Dstream.h581 size_t read_position_; // offset to the readable data member in class:talk_base::FifoBuffer
/external/chromium/webkit/glue/media/
H A Dbuffered_data_source.cc57 read_position_(0),
266 read_position_ = position;
301 read_position_ = 0;
320 loader_ = CreateResourceLoader(read_position_, kPositionNotSpecified);
357 loader_ = CreateResourceLoader(read_position_, kPositionNotSpecified);
419 loader_->Read(read_position_, read_size_, intermediate_read_buffer_.get(),
438 read_position_ = 0;
H A Dbuffered_resource_loader.cc66 read_position_(0),
160 read_position_ = position;
166 instance_size_ <= read_position_) {
171 // Make sure |offset_| and |read_position_| does not differ by a large
173 if (read_position_ > offset_ + kint32max ||
174 read_position_ < offset_ + kint32min) {
180 first_offset_ = static_cast<int>(read_position_ - offset_);
632 read_position_ = 0;
H A Dbuffered_data_source.h171 int64 read_position_; member in class:webkit_glue::BufferedDataSource
H A Dbuffered_resource_loader.h251 int64 read_position_; member in class:webkit_glue::BufferedResourceLoader

Completed in 100 milliseconds