Home
last modified time | relevance | path

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

/external/chromium_org/net/http/
Dhttp_byte_range.cc14 const int64 kPositionNotSpecified = -1; variable
21 : first_byte_position_(kPositionNotSpecified), in HttpByteRange()
22 last_byte_position_(kPositionNotSpecified), in HttpByteRange()
23 suffix_length_(kPositionNotSpecified), in HttpByteRange()
51 return suffix_length_ != kPositionNotSpecified; in IsSuffixByteRange()
55 return first_byte_position_ != kPositionNotSpecified; in HasFirstBytePosition()
59 return last_byte_position_ != kPositionNotSpecified; in HasLastBytePosition()
66 (last_byte_position_ == kPositionNotSpecified || in IsValid()
/external/chromium_org/media/blink/
Dbuffered_resource_loader.cc118 content_length_(kPositionNotSpecified), in BufferedResourceLoader()
119 instance_size_(kPositionNotSpecified), in BufferedResourceLoader()
154 if (first_byte_position_ != kPositionNotSpecified) { in Start()
247 if (instance_size_ != kPositionNotSpecified && in Read()
412 last_byte_position_ == kPositionNotSpecified) { in didReceiveResponse()
431 CHECK_EQ(instance_size_, kPositionNotSpecified); in didReceiveResponse()
432 if (content_length_ != kPositionNotSpecified) { in didReceiveResponse()
433 if (first_byte_position_ == kPositionNotSpecified) in didReceiveResponse()
435 else if (last_byte_position_ == kPositionNotSpecified) in didReceiveResponse()
501 if (instance_size_ == kPositionNotSpecified) { in didFinishLoading()
[all …]
Dbuffered_data_source.cc90 total_bytes_(kPositionNotSpecified), in BufferedDataSource()
141 loader_.reset(CreateResourceLoader(0, kPositionNotSpecified)); in Initialize()
146 loader_.reset(CreateResourceLoader(kPositionNotSpecified, in Initialize()
147 kPositionNotSpecified)); in Initialize()
250 if (total_bytes_ != kPositionNotSpecified) { in GetSize()
350 loader_->instance_size() != kPositionNotSpecified); in StartCallback()
356 (total_bytes_ == kPositionNotSpecified || !loader_->range_supported()); in StartCallback()
372 if (total_bytes_ != kPositionNotSpecified) { in StartCallback()
433 read_op_->position(), kPositionNotSpecified)); in ReadCallback()
452 } else if (bytes_read == 0 && total_bytes_ == kPositionNotSpecified) { in ReadCallback()
[all …]
Dbuffered_resource_loader.h26 const int64 kPositionNotSpecified = -1; variable
Dbuffered_resource_loader_unittest.cc1128 kPositionNotSpecified); in TEST()