HomeSort by relevance Sort by last modified time
    Searched refs:read_position_ (Results 1 - 14 of 14) sorted by null

  /external/chromium_org/media/filters/
blocking_url_protocol.cc 21 read_position_(0) {
38 if (data_source_->GetSize(&file_size) && read_position_ >= file_size)
44 data_source_->Read(read_position_, size, data, base::Bind(
59 read_position_ += last_read_bytes_;
64 *position_out = read_position_;
75 read_position_ = position;
blocking_url_protocol.h 56 int64 read_position_; member in class:media::BlockingUrlProtocol
  /external/chromium/third_party/libjingle/source/talk/base/
stream.cc 722 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_ + data_length_ <= buffer_length_)
    [all...]
stream.h 581 size_t read_position_; // offset to the readable data member in class:talk_base::FifoBuffer
  /external/chromium_org/third_party/libjingle/source/talk/base/
stream.cc 819 data_length_(0), read_position_(0), owner_(Thread::Current()) {
825 data_length_(0), read_position_(0), owner_(owner) {
847 const size_t tail_copy = _min(copy, buffer_length_ - read_position_);
848 memcpy(buffer, &buffer_[read_position_], tail_copy);
851 read_position_ = 0;
883 read_position_ = (read_position_ + copy) % buffer_length_;
927 *size = (read_position_ + data_length_ <= buffer_length_) ?
928 data_length_ : buffer_length_ - read_position_;
929 return &buffer_[read_position_];
    [all...]
stream.h 668 size_t read_position_; // offset to the readable data member in class:talk_base::FifoBuffer
  /external/chromium/webkit/glue/media/
buffered_data_source.cc 57 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;
buffered_resource_loader.cc 66 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;
buffered_data_source.h 171 int64 read_position_; member in class:webkit_glue::BufferedDataSource
buffered_resource_loader.h 251 int64 read_position_; member in class:webkit_glue::BufferedResourceLoader
  /external/chromium_org/webkit/browser/appcache/
appcache_response.cc 144 read_position_(0),
202 if (read_position_ + buffer_len_ > range_length_) {
204 DCHECK(range_length_ >= read_position_);
205 buffer_len_ = range_length_ - read_position_;
208 range_offset_ + read_position_,
214 DCHECK(!IsReadPending() && !read_position_);
239 read_position_ += result;
appcache_response.h 188 int read_position_; member in class:appcache::AppCacheResponseReader
  /external/chromium_org/content/renderer/media/
buffered_resource_loader.cc 121 read_position_(0),
229 read_position_ = position;
246 instance_size_ <= read_position_) {
252 // Make sure |offset_| and |read_position_| does not differ by a large
254 if (read_position_ > offset_ + kint32max ||
255 read_position_ < offset_ + kint32min) {
268 first_offset_ = read_position_ - offset_;
776 read_position_ = 0;
buffered_resource_loader.h 308 int64 read_position_; member in class:content::BufferedResourceLoader

Completed in 451 milliseconds