Searched refs:read_position_ (Results 1 – 6 of 6) sorted by relevance
/external/chromium/third_party/libjingle/source/talk/base/ |
D | stream.cc | 722 data_length_(0), read_position_(0), owner_(Thread::Current()) { in FifoBuffer() 744 const size_t tail_copy = _min(copy, buffer_length_ - read_position_); in SetCapacity() 745 memcpy(buffer, &buffer_[read_position_], tail_copy); in SetCapacity() 748 read_position_ = 0; in SetCapacity() 768 const size_t tail_copy = _min(copy, buffer_length_ - read_position_); in Read() 770 memcpy(p, &buffer_[read_position_], tail_copy); in Read() 772 read_position_ = (read_position_ + copy) % buffer_length_; in Read() 798 const size_t write_position = (read_position_ + data_length_) in Write() 824 *size = (read_position_ + data_length_ <= buffer_length_) ? in GetReadData() 825 data_length_ : buffer_length_ - read_position_; in GetReadData() [all …]
|
D | stream.h | 581 size_t read_position_; // offset to the readable data variable
|
/external/chromium/webkit/glue/media/ |
D | buffered_resource_loader.cc | 66 read_position_(0), in BufferedResourceLoader() 160 read_position_ = position; in Read() 166 instance_size_ <= read_position_) { in Read() 173 if (read_position_ > offset_ + kint32max || in Read() 174 read_position_ < offset_ + kint32min) { in Read() 180 first_offset_ = static_cast<int>(read_position_ - offset_); in Read() 632 read_position_ = 0; in DoneRead()
|
D | buffered_data_source.cc | 57 read_position_(0), in BufferedDataSource() 266 read_position_ = position; in ReadTask() 301 read_position_ = 0; in CleanupTask() 320 loader_ = CreateResourceLoader(read_position_, kPositionNotSpecified); in RestartLoadingTask() 357 loader_ = CreateResourceLoader(read_position_, kPositionNotSpecified); in WatchDogTask() 419 loader_->Read(read_position_, read_size_, intermediate_read_buffer_.get(), in ReadInternal() 438 read_position_ = 0; in DoneRead_Locked()
|
D | buffered_data_source.h | 171 int64 read_position_; variable
|
D | buffered_resource_loader.h | 251 int64 read_position_; variable
|