Home
last modified time | relevance | path

Searched refs:first_byte_position (Results 1 – 11 of 11) sorted by relevance

/external/chromium/net/http/
Dhttp_byte_range_unittest.cc10 int64 first_byte_position; in TEST() member
28 range.set_first_byte_position(tests[i].first_byte_position); in TEST()
37 int64 first_byte_position; in TEST() member
60 range.set_first_byte_position(tests[i].first_byte_position); in TEST()
67 EXPECT_EQ(tests[i].expected_lower_bound, range.first_byte_position()); in TEST()
73 EXPECT_EQ(tests[i].expected_lower_bound, range.first_byte_position()); in TEST()
Dpartial_data.cc37 current_range_start_ = byte_range_.first_byte_position(); in Init()
76 cached_min_len_ = static_cast<int32>(byte_range_.first_byte_position()); in PrepareCacheValidation()
176 current_range_start_ = byte_range_.first_byte_position(); in IsRequestedRangeOK()
257 byte_range_.first_byte_position(), in FixResponseHeaders()
261 byte_range_.first_byte_position() + 1; in FixResponseHeaders()
Dhttp_response_headers.cc1058 bool HttpResponseHeaders::GetContentRange(int64* first_byte_position, in GetContentRange() argument
1063 *first_byte_position = *last_byte_position = *instance_length = -1; in GetContentRange()
1114 first_byte_position); in GetContentRange()
1127 *first_byte_position = *last_byte_position = -1; in GetContentRange()
1130 if (*first_byte_position < 0 || *last_byte_position < 0 || in GetContentRange()
1131 *first_byte_position > *last_byte_position) in GetContentRange()
1157 if (*first_byte_position < 0 || *last_byte_position < 0 || in GetContentRange()
Dhttp_byte_range.h21 int64 first_byte_position() const { return first_byte_position_; } in first_byte_position() function
Dhttp_util.cc239 int64 first_byte_position = -1; in ParseRanges() local
240 if (!StringToInt64(first_byte_pos, &first_byte_position)) in ParseRanges()
242 range.set_first_byte_position(first_byte_position); in ParseRanges()
Dhttp_response_headers_unittest.cc1344 int64 first_byte_position; in TEST() local
1347 bool return_value = parsed->GetContentRange(&first_byte_position, in TEST()
1351 EXPECT_EQ(tests[i].expected_first_byte_position, first_byte_position); in TEST()
Dhttp_response_headers.h229 bool GetContentRange(int64* first_byte_position,
Dhttp_util_unittest.cc665 ranges[j].first_byte_position()); in TEST()
Dhttp_cache_unittest.cc737 if (byte_range.first_byte_position() > 79) { in RangeHandler()
743 int start = static_cast<int>(byte_range.first_byte_position()); in RangeHandler()
/external/chromium/net/url_request/
Durl_request_file_job.cc244 byte_range_.first_byte_position() + 1; in DidResolve()
249 byte_range_.first_byte_position() != 0 && in DidResolve()
250 byte_range_.first_byte_position() != in DidResolve()
251 stream_.Seek(net::FROM_BEGIN, byte_range_.first_byte_position())) { in DidResolve()
Durl_request_unittest.cc689 const size_t first_byte_position = 500; in TEST_F() local
690 const size_t last_byte_position = buffer_size - first_byte_position; in TEST_F()
691 const size_t content_length = last_byte_position - first_byte_position + 1; in TEST_F()
692 std::string partial_buffer_string(buffer.get() + first_byte_position, in TEST_F()
701 first_byte_position, last_byte_position)); in TEST_F()
730 const size_t first_byte_position = 500; in TEST_F() local
732 const size_t content_length = last_byte_position - first_byte_position + 1; in TEST_F()
733 std::string partial_buffer_string(buffer.get() + first_byte_position, in TEST_F()
741 first_byte_position)); in TEST_F()