/external/chromium_org/android_webview/browser/net/ |
D | input_stream_reader.cc | 25 int InputStreamReader::Seek(const net::HttpByteRange& byte_range) { in Seek() argument 27 net::HttpByteRange verified_byte_range(byte_range); in Seek() 54 int InputStreamReader::VerifyRequestedRange(net::HttpByteRange* byte_range, in VerifyRequestedRange() argument 65 if (!byte_range->ComputeBounds(size)) in VerifyRequestedRange() 68 size = byte_range->last_byte_position() - in VerifyRequestedRange() 69 byte_range->first_byte_position() + 1; in VerifyRequestedRange() 77 const net::HttpByteRange& byte_range) { in SkipToRequestedRange() argument 81 if (byte_range.IsValid() && byte_range.first_byte_position() > 0) { in SkipToRequestedRange() 82 int64_t bytes_to_skip = byte_range.first_byte_position(); in SkipToRequestedRange()
|
D | input_stream_reader.h | 35 virtual int Seek(const net::HttpByteRange& byte_range); 47 int VerifyRequestedRange(net::HttpByteRange* byte_range, 52 int SkipToRequestedRange(const net::HttpByteRange& byte_range);
|
D | input_stream_reader_unittest.cc | 47 net::HttpByteRange byte_range; in SeekRange() local 48 byte_range.set_first_byte_position(first_byte); in SeekRange() 49 byte_range.set_last_byte_position(last_byte); in SeekRange() 50 return input_stream_reader_.Seek(byte_range); in SeekRange()
|
D | android_stream_reader_url_request_job.cc | 71 int Seek(const net::HttpByteRange& byte_range) { in Seek() argument 72 return input_stream_reader_->Seek(byte_range); in Seek()
|
D | android_stream_reader_url_request_job_unittest.cc | 149 MOCK_METHOD1(Seek, int(const net::HttpByteRange& byte_range));
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
D | memory_cache_http_server.py | 37 if not resource_range.byte_range: 41 start_index = resource_range.byte_range.from_byte 42 end_index = resource_range.byte_range.to_byte 64 byte_range = self.GetByteRange(total_num_of_bytes) 65 if byte_range: 69 'bytes %d-%d/%d' % (byte_range.from_byte, 70 byte_range.to_byte, 72 total_num_of_bytes = byte_range.to_byte - byte_range.from_byte + 1 83 return ResourceAndRange(resource, byte_range)
|
/external/chromium_org/chrome/browser/chromeos/drive/fileapi/ |
D | webkit_file_stream_reader_impl.cc | 53 net::HttpByteRange byte_range; in Read() local 54 byte_range.set_first_byte_position(offset_); in Read() 57 byte_range, in Read() 79 net::HttpByteRange byte_range; in GetLength() local 80 byte_range.set_first_byte_position(offset_); in GetLength() 83 byte_range, in GetLength()
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
D | drive_file_stream_reader_unittest.cc | 405 net::HttpByteRange byte_range; in TEST_F() local 406 byte_range.set_first_byte_position(kRangeOffset); in TEST_F() 408 byte_range.set_last_byte_position(kRangeOffset + kRangeLength - 1); in TEST_F() 413 byte_range, in TEST_F() 442 byte_range, in TEST_F() 474 net::HttpByteRange byte_range; in TEST_F() local 475 byte_range.set_first_byte_position(kRangeOffset); in TEST_F() 477 byte_range.set_last_byte_position(kRangeOffset + kRangeLength - 1); in TEST_F() 482 byte_range, in TEST_F()
|
D | drive_file_stream_reader.cc | 349 const net::HttpByteRange& byte_range, in Initialize() argument 360 byte_range, in Initialize() 387 const net::HttpByteRange& byte_range, in InitializeAfterGetFileContentInitialized() argument 403 if (!ComputeConcretePosition(byte_range, entry->file_info().size(), in InitializeAfterGetFileContentInitialized()
|
D | drive_file_stream_reader.h | 166 const net::HttpByteRange& byte_range, 187 const net::HttpByteRange& byte_range,
|
/external/chromium_org/net/http/ |
D | http_response_headers.cc | 373 const HttpByteRange& byte_range, in UpdateWithNewRange() argument 376 DCHECK(byte_range.IsValid()); in UpdateWithNewRange() 377 DCHECK(byte_range.HasFirstBytePosition()); in UpdateWithNewRange() 378 DCHECK(byte_range.HasLastBytePosition()); in UpdateWithNewRange() 386 int64 start = byte_range.first_byte_position(); in UpdateWithNewRange() 387 int64 end = byte_range.last_byte_position(); in UpdateWithNewRange()
|
D | http_response_headers.h | 93 void UpdateWithNewRange(const HttpByteRange& byte_range,
|
D | http_cache_unittest.cc | 357 net::HttpByteRange byte_range = ranges[0]; in RangeHandler() local 358 if (byte_range.first_byte_position() > 79) { in RangeHandler() 364 EXPECT_TRUE(byte_range.ComputeBounds(80)); in RangeHandler() 365 int start = static_cast<int>(byte_range.first_byte_position()); in RangeHandler() 366 int end = static_cast<int>(byte_range.last_byte_position()); in RangeHandler()
|