Home
last modified time | relevance | path

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

/external/chromium/net/http/
Dhttp_byte_range.cc11 const int64 kPositionNotSpecified = -1; variable
18 : first_byte_position_(kPositionNotSpecified), in HttpByteRange()
19 last_byte_position_(kPositionNotSpecified), in HttpByteRange()
20 suffix_length_(kPositionNotSpecified), in HttpByteRange()
25 return suffix_length_ != kPositionNotSpecified; in IsSuffixByteRange()
29 return first_byte_position_ != kPositionNotSpecified; in HasFirstBytePosition()
33 return last_byte_position_ != kPositionNotSpecified; in HasLastBytePosition()
40 (last_byte_position_ == kPositionNotSpecified || in IsValid()
/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/webkit/glue/media/
Dbuffered_resource_loader.cc63 content_length_(kPositionNotSpecified), in BufferedResourceLoader()
64 instance_size_(kPositionNotSpecified), in BufferedResourceLoader()
92 if (first_byte_position_ != kPositionNotSpecified) { in Start()
165 if (instance_size_ != kPositionNotSpecified && in Read()
207 return kPositionNotSpecified; in GetBufferedPosition()
388 if (instance_size_ == kPositionNotSpecified) { in didFinishLoading()
594 if (instance_size != kPositionNotSpecified) { in VerifyPartialResponse()
598 if (first_byte_position_ != kPositionNotSpecified && in VerifyPartialResponse()
613 if (first_byte_position > kPositionNotSpecified && in GenerateHeaders()
614 last_byte_position > kPositionNotSpecified) { in GenerateHeaders()
[all …]
Dbuffered_data_source.cc48 : total_bytes_(kPositionNotSpecified), in BufferedDataSource()
191 if (total_bytes_ != kPositionNotSpecified) { in GetSize()
234 loader_ = CreateResourceLoader(0, kPositionNotSpecified); in InitializeTask()
243 loader_ = CreateResourceLoader(kPositionNotSpecified, in InitializeTask()
244 kPositionNotSpecified); in InitializeTask()
320 loader_ = CreateResourceLoader(read_position_, kPositionNotSpecified); in RestartLoadingTask()
357 loader_ = CreateResourceLoader(read_position_, kPositionNotSpecified); in WatchDogTask()
473 streaming_ = (instance_size == kPositionNotSpecified) || in HttpInitialStartCallback()
484 loader_ = CreateResourceLoader(kPositionNotSpecified, in HttpInitialStartCallback()
485 kPositionNotSpecified); in HttpInitialStartCallback()
[all …]
Dbuffered_resource_loader.h25 const int64 kPositionNotSpecified = -1; variable
/external/chromium_org/content/renderer/media/
Dbuffered_resource_loader.cc118 content_length_(kPositionNotSpecified), in BufferedResourceLoader()
119 instance_size_(kPositionNotSpecified), in BufferedResourceLoader()
154 if (first_byte_position_ != kPositionNotSpecified) { in Start()
246 if (instance_size_ != kPositionNotSpecified && in Read()
407 last_byte_position_ == kPositionNotSpecified) { in didReceiveResponse()
426 CHECK_EQ(instance_size_, kPositionNotSpecified); in didReceiveResponse()
427 if (content_length_ != kPositionNotSpecified) { in didReceiveResponse()
428 if (first_byte_position_ == kPositionNotSpecified) in didReceiveResponse()
430 else if (last_byte_position_ == kPositionNotSpecified) in didReceiveResponse()
495 if (instance_size_ == kPositionNotSpecified) { in didFinishLoading()
[all …]
Dbuffered_data_source.cc86 total_bytes_(kPositionNotSpecified), in BufferedDataSource()
152 loader_.reset(CreateResourceLoader(0, kPositionNotSpecified)); in Initialize()
157 loader_.reset(CreateResourceLoader(kPositionNotSpecified, in Initialize()
158 kPositionNotSpecified)); in Initialize()
258 if (total_bytes_ != kPositionNotSpecified) { in GetSize()
356 loader_->instance_size() != kPositionNotSpecified); in StartCallback()
361 (total_bytes_ == kPositionNotSpecified || !loader_->range_supported()); in StartCallback()
433 read_op_->position(), kPositionNotSpecified)); in ReadCallback()
449 } else if (bytes_read == 0 && total_bytes_ == kPositionNotSpecified) { in ReadCallback()
455 if (host() && total_bytes_ != kPositionNotSpecified) { in ReadCallback()
[all …]
Dbuffered_resource_loader.h29 const int64 kPositionNotSpecified = -1; variable
Dbuffered_resource_loader_unittest.cc1125 kPositionNotSpecified); in TEST()