Home
last modified time | relevance | path

Searched refs:read_position_ (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/media/filters/
Dblocking_url_protocol.cc21 read_position_(0) { in BlockingUrlProtocol()
38 if (data_source_->GetSize(&file_size) && read_position_ >= file_size) in Read()
44 data_source_->Read(read_position_, size, data, base::Bind( in Read()
59 read_position_ += last_read_bytes_; in Read()
64 *position_out = read_position_; in GetPosition()
75 read_position_ = position; in SetPosition()
Dblocking_url_protocol.h56 int64 read_position_; variable
/external/chromium_org/webkit/browser/appcache/
Dappcache_response.cc144 read_position_(0), in AppCacheResponseReader()
202 if (read_position_ + buffer_len_ > range_length_) { in ContinueReadData()
204 DCHECK(range_length_ >= read_position_); in ContinueReadData()
205 buffer_len_ = range_length_ - read_position_; in ContinueReadData()
208 range_offset_ + read_position_, in ContinueReadData()
214 DCHECK(!IsReadPending() && !read_position_); in SetReadRange()
239 read_position_ += result; in OnIOComplete()
Dappcache_response.h192 int read_position_; variable
/external/chromium_org/third_party/libjingle/source/talk/base/
Dstream.cc919 data_length_(0), read_position_(0), owner_(Thread::Current()) { in FifoBuffer()
925 data_length_(0), read_position_(0), owner_(owner) { in FifoBuffer()
947 const size_t tail_copy = _min(copy, buffer_length_ - read_position_); in SetCapacity()
948 memcpy(buffer, &buffer_[read_position_], tail_copy); in SetCapacity()
951 read_position_ = 0; in SetCapacity()
983 read_position_ = (read_position_ + copy) % buffer_length_; in Read()
1027 *size = (read_position_ + data_length_ <= buffer_length_) ? in GetReadData()
1028 data_length_ : buffer_length_ - read_position_; in GetReadData()
1029 return &buffer_[read_position_]; in GetReadData()
1036 read_position_ = (read_position_ + size) % buffer_length_; in ConsumeReadData()
[all …]
Dstream.h698 size_t read_position_; // offset to the readable data variable
/external/chromium_org/third_party/webrtc/base/
Dstream.cc902 data_length_(0), read_position_(0), owner_(Thread::Current()) { in FifoBuffer()
908 data_length_(0), read_position_(0), owner_(owner) { in FifoBuffer()
930 const size_t tail_copy = _min(copy, buffer_length_ - read_position_); in SetCapacity()
931 memcpy(buffer, &buffer_[read_position_], tail_copy); in SetCapacity()
934 read_position_ = 0; in SetCapacity()
966 read_position_ = (read_position_ + copy) % buffer_length_; in Read()
1010 *size = (read_position_ + data_length_ <= buffer_length_) ? in GetReadData()
1011 data_length_ : buffer_length_ - read_position_; in GetReadData()
1012 return &buffer_[read_position_]; in GetReadData()
1019 read_position_ = (read_position_ + size) % buffer_length_; in ConsumeReadData()
[all …]
Dstream.h681 size_t read_position_; // offset to the readable data variable
/external/chromium_org/content/renderer/media/
Dbuffered_resource_loader.cc121 read_position_(0), in BufferedResourceLoader()
231 read_position_ = position; in Read()
248 instance_size_ <= read_position_) { in Read()
256 if (read_position_ > offset_ + kint32max || in Read()
257 read_position_ < offset_ + kint32min) { in Read()
270 first_offset_ = read_position_ - offset_; in Read()
759 read_position_ = 0; in DoneRead()
Dbuffered_resource_loader.h298 int64 read_position_; in NON_EXPORTED_BASE() local