Home
last modified time | relevance | path

Searched refs:byte_range_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium/net/http/
Dpartial_data.cc32 byte_range_ = ranges[0]; in Init()
33 if (!byte_range_.IsValid()) in Init()
37 current_range_start_ = byte_range_.first_byte_position(); in Init()
47 DCHECK(current_range_start_ >= 0 || byte_range_.IsSuffixByteRange()); in RestoreHeaders()
48 int64 end = byte_range_.IsSuffixByteRange() ? in RestoreHeaders()
49 byte_range_.suffix_length() : byte_range_.last_byte_position(); in RestoreHeaders()
52 if (byte_range_.IsValid()) in RestoreHeaders()
61 int64 range_len = byte_range_.HasLastBytePosition() ? in PrepareCacheValidation()
62 byte_range_.last_byte_position() - current_range_start_ + 1 : kint32max; in PrepareCacheValidation()
76 cached_min_len_ = static_cast<int32>(byte_range_.first_byte_position()); in PrepareCacheValidation()
[all …]
Dpartial_data.h114 HttpByteRange byte_range_; // The range requested by the user. variable
/external/chromium/net/url_request/
Durl_request_file_job.cc196 byte_range_ = ranges[0]; in SetExtraRequestHeaders()
237 if (!byte_range_.ComputeBounds(file_info.size)) { in DidResolve()
243 remaining_bytes_ = byte_range_.last_byte_position() - in DidResolve()
244 byte_range_.first_byte_position() + 1; in DidResolve()
249 byte_range_.first_byte_position() != 0 && in DidResolve()
250 byte_range_.first_byte_position() != in DidResolve()
251 stream_.Seek(net::FROM_BEGIN, byte_range_.first_byte_position())) { in DidResolve()
Durl_request_file_job.h51 net::HttpByteRange byte_range_; variable