Searched defs:last_byte_position (Results 1 - 18 of 18) sorted by relevance

/external/chromium/net/http/
H A Dhttp_byte_range.h25 int64 last_byte_position() const { return last_byte_position_; } function in class:net::HttpByteRange
H A Dhttp_byte_range_unittest.cc11 int64 last_byte_position; member in struct:__anon3104
29 range.set_last_byte_position(tests[i].last_byte_position);
38 int64 last_byte_position; member in struct:__anon3105
61 range.set_last_byte_position(tests[i].last_byte_position);
68 EXPECT_EQ(tests[i].expected_upper_bound, range.last_byte_position());
74 EXPECT_EQ(tests[i].expected_upper_bound, range.last_byte_position());
H A Dhttp_response_headers_unittest.cc1344 int64 last_byte_position; local
1347 &last_byte_position,
1351 EXPECT_EQ(tests[i].expected_last_byte_position, last_byte_position);
H A Dhttp_util.cc262 int64 last_byte_position; local
263 if (!base::StringToInt64(last_byte_pos, &last_byte_position))
266 range.set_last_byte_position(last_byte_position);
268 range.set_suffix_length(last_byte_position);
H A Dhttp_response_headers.cc1133 int64* last_byte_position,
1137 *first_byte_position = *last_byte_position = *instance_length = -1;
1199 last_byte_position);
1201 *first_byte_position = *last_byte_position = -1;
1204 if (*first_byte_position < 0 || *last_byte_position < 0 ||
1205 *first_byte_position > *last_byte_position)
1231 if (*first_byte_position < 0 || *last_byte_position < 0 ||
1232 *instance_length < 0 || *instance_length - 1 < *last_byte_position)
1132 GetContentRange(int64* first_byte_position, int64* last_byte_position, int64* instance_length) const argument
/external/chromium_org/net/http/
H A Dhttp_byte_range.h24 int64 last_byte_position);
33 int64 last_byte_position() const { return last_byte_position_; } function in class:net::HttpByteRange
H A Dhttp_byte_range_unittest.cc11 int64 last_byte_position; member in struct:__anon9431
29 range.set_last_byte_position(tests[i].last_byte_position);
38 int64 last_byte_position; member in struct:__anon9432
61 range.set_last_byte_position(tests[i].last_byte_position);
68 EXPECT_EQ(tests[i].expected_upper_bound, range.last_byte_position());
74 EXPECT_EQ(tests[i].expected_upper_bound, range.last_byte_position());
H A Dhttp_byte_range.cc29 int64 last_byte_position) {
32 range.set_last_byte_position(last_byte_position);
82 first_byte_position(), last_byte_position());
28 Bounded(int64 first_byte_position, int64 last_byte_position) argument
H A Dhttp_response_headers_unittest.cc1435 int64 last_byte_position; local
1438 &last_byte_position,
1442 EXPECT_EQ(tests[i].expected_last_byte_position, last_byte_position);
H A Dhttp_response_headers.cc1205 int64* last_byte_position,
1209 *first_byte_position = *last_byte_position = *instance_length = -1;
1271 last_byte_position);
1273 *first_byte_position = *last_byte_position = -1;
1276 if (*first_byte_position < 0 || *last_byte_position < 0 ||
1277 *first_byte_position > *last_byte_position)
1303 if (*first_byte_position < 0 || *last_byte_position < 0 ||
1304 *instance_length < 0 || *instance_length - 1 < *last_byte_position)
1204 GetContentRange(int64* first_byte_position, int64* last_byte_position, int64* instance_length) const argument
/external/chromium_org/content/browser/fileapi/
H A Dfile_system_url_request_job_unittest.cc219 const size_t last_byte_position = buffer_size - first_byte_position; local
221 buffer.get() + last_byte_position + 1);
227 first_byte_position, last_byte_position).GetHeaderValue());
/external/chromium_org/content/renderer/media/
H A Dbuffered_data_source_unittest.cc50 int64 last_byte_position) {
55 last_byte_position);
49 CreateMockResourceLoader(int64 first_byte_position, int64 last_byte_position) argument
H A Dbuffered_data_source.cc111 int64 first_byte_position, int64 last_byte_position) {
121 last_byte_position,
110 CreateResourceLoader( int64 first_byte_position, int64 last_byte_position) argument
H A Dbuffered_resource_loader.cc101 int64 last_byte_position,
115 last_byte_position_(last_byte_position),
691 int64* last_byte_position, int64* instance_size) {
708 last_byte_position)) {
720 if (*last_byte_position < *first_byte_position ||
722 *last_byte_position >= *instance_size)) {
731 int64 first_byte_position, last_byte_position, instance_size; local
733 &first_byte_position, &last_byte_position,
747 // TODO(hclam): I should also check |last_byte_position|, but since
97 BufferedResourceLoader( const GURL& url, CORSMode cors_mode, int64 first_byte_position, int64 last_byte_position, DeferStrategy strategy, int bitrate, float playback_rate, media::MediaLog* media_log) argument
689 ParseContentRange( const std::string& content_range_str, int64* first_byte_position, int64* last_byte_position, int64* instance_size) argument
/external/chromium/webkit/glue/media/
H A Dbuffered_data_source.cc79 int64 first_byte_position, int64 last_byte_position) {
84 last_byte_position);
78 CreateResourceLoader( int64 first_byte_position, int64 last_byte_position) argument
H A Dbuffered_resource_loader.cc50 int64 last_byte_position)
59 last_byte_position_(last_byte_position),
585 int first_byte_position, last_byte_position, instance_size; local
589 &last_byte_position,
603 // TODO(hclam): I should also check |last_byte_position|, but since
610 int64 last_byte_position) {
614 last_byte_position > kPositionNotSpecified) {
615 if (first_byte_position <= last_byte_position) {
618 last_byte_position);
623 } else if (last_byte_position > kPositionNotSpecifie
47 BufferedResourceLoader( const GURL& url, int64 first_byte_position, int64 last_byte_position) argument
608 GenerateHeaders( int64 first_byte_position, int64 last_byte_position) argument
[all...]
/external/chromium/net/url_request/
H A Durl_request_unittest.cc963 const size_t last_byte_position = buffer_size - first_byte_position; local
964 const size_t content_length = last_byte_position - first_byte_position + 1;
966 buffer.get() + last_byte_position + 1);
976 first_byte_position, last_byte_position));
1007 const size_t last_byte_position = buffer_size - 1; local
1008 const size_t content_length = last_byte_position - first_byte_position + 1;
1010 buffer.get() + last_byte_position + 1);
/external/chromium_org/net/url_request/
H A Durl_request_unittest.cc754 const size_t last_byte_position = buffer_size - first_byte_position; local
755 const size_t content_length = last_byte_position - first_byte_position + 1;
757 buffer.get() + last_byte_position + 1);
767 first_byte_position, last_byte_position).GetHeaderValue());
798 const size_t last_byte_position = buffer_size - 1; local
799 const size_t content_length = last_byte_position - first_byte_position + 1;
801 buffer.get() + last_byte_position + 1);

Completed in 1246 milliseconds