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

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

Completed in 105 milliseconds