Searched refs:range_header (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/net/url_request/
H A Durl_range_request_job.cc23 std::string range_header; local
24 if (headers.GetHeader(HttpRequestHeaders::kRange, &range_header)) {
25 if (!HttpUtil::ParseRangeHeader(range_header, &ranges_)) {
H A Durl_request_file_job.cc179 std::string range_header; local
180 if (headers.GetHeader(HttpRequestHeaders::kRange, &range_header)) {
183 if (HttpUtil::ParseRangeHeader(range_header, &ranges)) {
/external/chromium_org/content/browser/streams/
H A Dstream_url_request_job.cc155 std::string range_header; local
156 if (headers.GetHeader(net::HttpRequestHeaders::kRange, &range_header)) {
158 if (net::HttpUtil::ParseRangeHeader(range_header, &ranges)) {
/external/chromium_org/tools/telemetry/telemetry/core/
H A Dmemory_cache_http_server.py110 range_header = self.headers.getheader('Range')
111 if range_header is None:
113 if not range_header.startswith('bytes='):
119 # We've already confirmed that range_header starts with 'bytes='.
120 byte_range_values = range_header[len('bytes='):].split('-')
/external/chromium_org/storage/browser/fileapi/
H A Dfile_system_url_request_job.cc130 std::string range_header; local
131 if (headers.GetHeader(net::HttpRequestHeaders::kRange, &range_header)) {
133 if (net::HttpUtil::ParseRangeHeader(range_header, &ranges)) {
/external/chromium_org/android_webview/browser/net/
H A Dandroid_stream_reader_url_request_job.cc354 std::string range_header; local
355 if (headers.GetHeader(net::HttpRequestHeaders::kRange, &range_header)) {
359 if (net::HttpUtil::ParseRangeHeader(range_header, &ranges)) {
/external/chromium_org/chrome/browser/chromeos/fileapi/
H A Dexternal_file_url_request_job.cc152 std::string range_header; local
153 if (headers.GetHeader(net::HttpRequestHeaders::kRange, &range_header)) {
156 if (net::HttpUtil::ParseRangeHeader(range_header, &ranges) &&
/external/chromium_org/net/http/
H A Dpartial_data.cc114 std::string range_header; local
115 if (!headers.GetHeader(HttpRequestHeaders::kRange, &range_header))
119 if (!HttpUtil::ParseRangeHeader(range_header, &ranges) || ranges.size() != 1)
H A Dhttp_cache_unittest.cc344 std::string range_header; local
346 net::HttpRequestHeaders::kRange, &range_header) ||
347 !net::HttpUtil::ParseRangeHeader(range_header, &ranges) || bad_200_ ||
/external/chromium_org/net/disk_cache/simple/
H A Dsimple_synchronous_entry.cc1283 SimpleFileSparseRangeHeader range_header; local
1286 reinterpret_cast<char*>(&range_header),
1287 sizeof(range_header));
1290 if (range_header_read_result != sizeof(range_header)) {
1295 if (range_header.sparse_range_magic_number !=
1302 range.offset = range_header.offset;
1303 range.length = range_header.length;
1304 range.data_crc32 = range_header.data_crc32;
1305 range.file_offset = range_header_offset + sizeof(range_header);
1308 range_header_offset += sizeof(range_header)
[all...]
/external/chromium_org/content/browser/service_worker/
H A Dservice_worker_url_request_job.cc109 std::string range_header; local
111 if (!headers.GetHeader(net::HttpRequestHeaders::kRange, &range_header) ||
112 !net::HttpUtil::ParseRangeHeader(range_header, &ranges)) {
/external/chromium_org/storage/browser/blob/
H A Dblob_url_request_job.cc139 std::string range_header; local
140 if (headers.GetHeader(net::HttpRequestHeaders::kRange, &range_header)) {
143 if (net::HttpUtil::ParseRangeHeader(range_header, &ranges)) {
/external/chromium_org/extensions/browser/
H A Dextension_protocols.cc226 std::string range_header; variable
227 if (headers.GetHeader(net::HttpRequestHeaders::kRange, &range_header)) {
/external/chromium_org/net/tools/testserver/
H A Dtestserver.py989 range_header = self.headers.get('Range')
990 if range_header and range_header.startswith('bytes='):
991 # Note this doesn't handle all valid byte range_header values (i.e.
993 range_header = range_header[6:].split('-')
994 start = int(range_header[0])
995 if range_header[1]:
996 end = int(range_header[1])
1590 range_header
[all...]

Completed in 346 milliseconds