Home
last modified time | relevance | path

Searched refs:first_offset_ (Results 1 – 5 of 5) sorted by relevance

/external/chromium/webkit/glue/media/
Dbuffered_resource_loader.cc69 first_offset_(0), in BufferedResourceLoader()
180 first_offset_ = static_cast<int>(read_position_ - offset_); in Read()
181 last_offset_ = first_offset_ + read_size_; in Read()
361 offset_ += first_offset_ + excess; in didReceiveData()
531 if (first_offset_ < 0 && in CanFulfillRead()
532 first_offset_ + static_cast<int>(buffer_->backward_bytes()) < 0) in CanFulfillRead()
536 if (first_offset_ >= static_cast<int>(buffer_->forward_bytes())) in CanFulfillRead()
554 if (first_offset_ < 0 && in WillFulfillRead()
555 first_offset_ + static_cast<int>(buffer_->backward_bytes()) < 0) in WillFulfillRead()
572 bool ret = buffer_->Seek(first_offset_); in ReadInternal()
[all …]
Dbuffered_resource_loader.h257 int first_offset_; variable
/external/chromium_org/content/renderer/media/
Dbuffered_resource_loader.cc123 first_offset_(0), in BufferedResourceLoader()
269 first_offset_ = read_position_ - offset_; in Read()
270 last_offset_ = first_offset_ + read_size_; in Read()
283 int advance = std::min(first_offset_, buffer_.forward_bytes()); in Read()
288 first_offset_ -= advance; in Read()
462 offset_ += first_offset_ + excess; in didReceiveData()
634 if (first_offset_ < 0 && (first_offset_ + buffer_.backward_bytes()) < 0) in CanFulfillRead()
638 if (first_offset_ >= buffer_.forward_bytes()) in CanFulfillRead()
656 if (first_offset_ < 0 && (first_offset_ + buffer_.backward_bytes()) < 0) in WillFulfillRead()
660 if ((first_offset_ - buffer_.forward_bytes()) >= kForwardWaitThreshold) in WillFulfillRead()
[all …]
Dbuffered_resource_loader.h306 int first_offset_; in NON_EXPORTED_BASE() local
Dbuffered_resource_loader_unittest.cc247 EXPECT_EQ(loader_->first_offset_, expected_first_offset); in ConfirmLoaderOffsets()