Lines Matching refs:range
73 Range range = ranges_[current_index_]; in StartTransfer() local
74 LOG(INFO) << "starting transfer of range " << range.ToString(); in StartTransfer()
77 base_fetcher_->SetOffset(range.offset()); in StartTransfer()
78 if (range.HasLength()) in StartTransfer()
79 base_fetcher_->SetLength(range.length()); in StartTransfer()
83 delegate_->SeekToOffset(range.offset()); in StartTransfer()
96 Range range = ranges_[current_index_]; in ReceivedBytes() local
97 if (range.HasLength()) { in ReceivedBytes()
99 range.length() - bytes_received_this_range_); in ReceivedBytes()
106 if (range.HasLength() && bytes_received_this_range_ >= range.length()) { in ReceivedBytes()
135 Range range = ranges_[current_index_]; in TransferEnded() local
136 if (range.HasLength()) { in TransferEnded()
137 if (bytes_received_this_range_ < range.length()) { in TransferEnded()