Searched refs:first_byte_position (Results 1 – 11 of 11) sorted by relevance
/external/chromium/net/http/ |
D | http_byte_range_unittest.cc | 10 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()
|
D | partial_data.cc | 37 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()
|
D | http_response_headers.cc | 1058 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()
|
D | http_byte_range.h | 21 int64 first_byte_position() const { return first_byte_position_; } in first_byte_position() function
|
D | http_util.cc | 239 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()
|
D | http_response_headers_unittest.cc | 1344 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()
|
D | http_response_headers.h | 229 bool GetContentRange(int64* first_byte_position,
|
D | http_util_unittest.cc | 665 ranges[j].first_byte_position()); in TEST()
|
D | http_cache_unittest.cc | 737 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/ |
D | url_request_file_job.cc | 244 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()
|
D | url_request_unittest.cc | 689 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()
|