Home
last modified time | relevance | path

Searched refs:last_byte_position (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium/net/http/
Dhttp_byte_range_unittest.cc11 int64 last_byte_position; in TEST() member
29 range.set_last_byte_position(tests[i].last_byte_position); in TEST()
38 int64 last_byte_position; in TEST() member
61 range.set_last_byte_position(tests[i].last_byte_position); in TEST()
68 EXPECT_EQ(tests[i].expected_upper_bound, range.last_byte_position()); in TEST()
74 EXPECT_EQ(tests[i].expected_upper_bound, range.last_byte_position()); in TEST()
Dpartial_data.cc142 byte_range_.last_byte_position(); in Init()
154 byte_range_.suffix_length() : byte_range_.last_byte_position(); in RestoreHeaders()
360 if (byte_range_.IsValid() && end > byte_range_.last_byte_position()) in ResponseHeadersOK()
386 end = byte_range_.last_byte_position(); in FixResponseHeaders()
468 byte_range_.last_byte_position() - current_range_start_ + 1 : in GetNextRangeLen()
Dhttp_byte_range.h25 int64 last_byte_position() const { return last_byte_position_; } in last_byte_position() function
Dhttp_response_headers.cc1133 int64* last_byte_position, in GetContentRange() argument
1137 *first_byte_position = *last_byte_position = *instance_length = -1; in GetContentRange()
1199 last_byte_position); in GetContentRange()
1201 *first_byte_position = *last_byte_position = -1; in GetContentRange()
1204 if (*first_byte_position < 0 || *last_byte_position < 0 || in GetContentRange()
1205 *first_byte_position > *last_byte_position) in GetContentRange()
1231 if (*first_byte_position < 0 || *last_byte_position < 0 || in GetContentRange()
1232 *instance_length < 0 || *instance_length - 1 < *last_byte_position) in GetContentRange()
Dhttp_util.cc262 int64 last_byte_position; in ParseRangeHeader() local
263 if (!base::StringToInt64(last_byte_pos, &last_byte_position)) in ParseRangeHeader()
266 range.set_last_byte_position(last_byte_position); in ParseRangeHeader()
268 range.set_suffix_length(last_byte_position); in ParseRangeHeader()
Dhttp_response_headers_unittest.cc1344 int64 last_byte_position; in TEST() local
1347 &last_byte_position, in TEST()
1351 EXPECT_EQ(tests[i].expected_last_byte_position, last_byte_position); in TEST()
Dhttp_response_headers.h238 int64* last_byte_position,
/external/chromium_org/net/http/
Dhttp_byte_range_unittest.cc11 int64 last_byte_position; in TEST() member
29 range.set_last_byte_position(tests[i].last_byte_position); in TEST()
38 int64 last_byte_position; in TEST() member
61 range.set_last_byte_position(tests[i].last_byte_position); in TEST()
68 EXPECT_EQ(tests[i].expected_upper_bound, range.last_byte_position()); in TEST()
74 EXPECT_EQ(tests[i].expected_upper_bound, range.last_byte_position()); in TEST()
Dhttp_byte_range.cc29 int64 last_byte_position) { in Bounded() argument
32 range.set_last_byte_position(last_byte_position); in Bounded()
82 first_byte_position(), last_byte_position()); in GetHeaderValue()
Dhttp_byte_range.h24 int64 last_byte_position);
33 int64 last_byte_position() const { return last_byte_position_; } in last_byte_position() function
Dpartial_data.cc131 byte_range_.last_byte_position(); in Init()
143 byte_range_.suffix_length() : byte_range_.last_byte_position(); in RestoreHeaders()
371 if (byte_range_.IsValid() && end > byte_range_.last_byte_position()) in ResponseHeadersOK()
397 end = byte_range_.last_byte_position(); in FixResponseHeaders()
481 byte_range_.last_byte_position() - current_range_start_ + 1 : in GetNextRangeLen()
Dhttp_response_headers.cc1205 int64* last_byte_position, in GetContentRange() argument
1209 *first_byte_position = *last_byte_position = *instance_length = -1; in GetContentRange()
1271 last_byte_position); in GetContentRange()
1273 *first_byte_position = *last_byte_position = -1; in GetContentRange()
1276 if (*first_byte_position < 0 || *last_byte_position < 0 || in GetContentRange()
1277 *first_byte_position > *last_byte_position) in GetContentRange()
1303 if (*first_byte_position < 0 || *last_byte_position < 0 || in GetContentRange()
1304 *instance_length < 0 || *instance_length - 1 < *last_byte_position) in GetContentRange()
Dhttp_util.cc272 int64 last_byte_position; in ParseRangeHeader() local
273 if (!base::StringToInt64(last_byte_pos, &last_byte_position)) in ParseRangeHeader()
276 range.set_last_byte_position(last_byte_position); in ParseRangeHeader()
278 range.set_suffix_length(last_byte_position); in ParseRangeHeader()
Dhttp_response_headers_unittest.cc1435 int64 last_byte_position; in TEST() local
1438 &last_byte_position, in TEST()
1442 EXPECT_EQ(tests[i].expected_last_byte_position, last_byte_position); in TEST()
/external/chromium/webkit/glue/media/
Dbuffered_resource_loader.cc50 int64 last_byte_position) in BufferedResourceLoader() argument
59 last_byte_position_(last_byte_position), in BufferedResourceLoader()
585 int first_byte_position, last_byte_position, instance_size; in VerifyPartialResponse() local
589 &last_byte_position, in VerifyPartialResponse()
610 int64 last_byte_position) { in GenerateHeaders() argument
614 last_byte_position > kPositionNotSpecified) { in GenerateHeaders()
615 if (first_byte_position <= last_byte_position) { in GenerateHeaders()
618 last_byte_position); in GenerateHeaders()
623 } else if (last_byte_position > kPositionNotSpecified) { in GenerateHeaders()
Dbuffered_resource_loader.h57 int64 last_byte_position);
196 int64 last_byte_position);
Dbuffered_data_source.h62 int64 first_byte_position, int64 last_byte_position);
/external/chromium_org/content/renderer/media/
Dbuffered_resource_loader.cc101 int64 last_byte_position, in BufferedResourceLoader() argument
115 last_byte_position_(last_byte_position), in BufferedResourceLoader()
691 int64* last_byte_position, int64* instance_size) { in ParseContentRange() argument
708 last_byte_position)) { in ParseContentRange()
720 if (*last_byte_position < *first_byte_position || in ParseContentRange()
722 *last_byte_position >= *instance_size)) { in ParseContentRange()
731 int64 first_byte_position, last_byte_position, instance_size; in VerifyPartialResponse() local
733 &first_byte_position, &last_byte_position, in VerifyPartialResponse()
Dbuffered_resource_loader.h92 int64 last_byte_position, in NON_EXPORTED_BASE()
205 int64* last_byte_position, int64* instance_size); in NON_EXPORTED_BASE()
Dbuffered_data_source.h98 int64 first_byte_position, int64 last_byte_position);
Dbuffered_data_source.cc111 int64 first_byte_position, int64 last_byte_position) { in CreateResourceLoader() argument
121 last_byte_position, in CreateResourceLoader()
/external/chromium_org/content/browser/fileapi/
Dfile_system_url_request_job_unittest.cc219 const size_t last_byte_position = buffer_size - first_byte_position; in TEST_F() local
221 buffer.get() + last_byte_position + 1); in TEST_F()
227 first_byte_position, last_byte_position).GetHeaderValue()); in TEST_F()
/external/chromium_org/android_webview/browser/net/
Dinput_stream_reader.cc68 size = byte_range->last_byte_position() - in VerifyRequestedRange()
/external/chromium_org/content/browser/streams/
Dstream_url_request_job.cc163 max_range_ = ranges[0].last_byte_position() + 1; in SetExtraRequestHeaders()
/external/chromium_org/webkit/browser/fileapi/
Dfile_system_url_request_job.cc196 remaining_bytes_ = byte_range_.last_byte_position() - in DidGetMetadata()

12