Home
last modified time | relevance | path

Searched refs:read_position_ (Results 1 – 14 of 14) 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/third_party/libjingle/source/talk/base/
Dstream.cc722 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 …]
Dstream.h581 size_t read_position_; // offset to the readable data 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.h188 int read_position_; variable
/external/chromium/webkit/glue/media/
Dbuffered_resource_loader.cc66 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()
Dbuffered_data_source.cc57 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()
Dbuffered_data_source.h171 int64 read_position_; variable
Dbuffered_resource_loader.h251 int64 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.h697 size_t read_position_; // offset to the readable data variable
/external/chromium_org/content/renderer/media/
Dbuffered_resource_loader.cc120 read_position_(0), in BufferedResourceLoader()
230 read_position_ = position; in Read()
247 instance_size_ <= read_position_) { in Read()
255 if (read_position_ > offset_ + kint32max || in Read()
256 read_position_ < offset_ + kint32min) { in Read()
269 first_offset_ = read_position_ - offset_; in Read()
757 read_position_ = 0; in DoneRead()
Dbuffered_resource_loader.h300 int64 read_position_; in NON_EXPORTED_BASE() local