/external/chromium/net/http/ |
H A D | http_byte_range_unittest.cc | 10 int64 first_byte_position; member in struct:__anon2937 28 range.set_first_byte_position(tests[i].first_byte_position); 37 int64 first_byte_position; member in struct:__anon2938 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 D | http_byte_range.h | 22 int64 first_byte_position() const { return first_byte_position_; } function in class:net::HttpByteRange
|
H A D | http_util.cc | 247 int64 first_byte_position = -1; local 248 if (!base::StringToInt64(first_byte_pos, &first_byte_position)) 250 range.set_first_byte_position(first_byte_position);
|
H A D | partial_data.cc | 139 current_range_start_ = byte_range_.first_byte_position(); 184 byte_range_.first_byte_position() >= resource_size_) { 305 current_range_start_ = byte_range_.first_byte_position(); 385 start = byte_range_.first_byte_position();
|
H A D | http_response_headers.cc | 1132 bool HttpResponseHeaders::GetContentRange(int64* first_byte_position, argument 1137 *first_byte_position = *last_byte_position = *instance_length = -1; 1188 first_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 ||
|
H A D | http_response_headers_unittest.cc | 1343 int64 first_byte_position; local 1346 bool return_value = parsed->GetContentRange(&first_byte_position, 1350 EXPECT_EQ(tests[i].expected_first_byte_position, first_byte_position);
|
H A D | http_response_headers.h | 233 // |*first_byte_position| = inclusive position of the first byte of the range 237 bool GetContentRange(int64* first_byte_position,
|
H A D | http_util_unittest.cc | 665 ranges[j].first_byte_position());
|
H A D | http_cache_unittest.cc | 899 if (byte_range.first_byte_position() > 79) { 906 int start = static_cast<int>(byte_range.first_byte_position());
|
/external/chromium/webkit/glue/media/ |
H A D | buffered_resource_loader.cc | 49 int64 first_byte_position, 58 first_byte_position_(first_byte_position), 585 int first_byte_position, last_byte_position, instance_size; local 588 &first_byte_position, 599 first_byte_position_ != first_byte_position) { 609 int64 first_byte_position, 613 if (first_byte_position > kPositionNotSpecified && 615 if (first_byte_position <= last_byte_position) { 617 first_byte_position, 620 } else if (first_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...] |
H A D | buffered_resource_loader.h | 51 // |first_byte_position| - First byte to start loading from, 56 int64 first_byte_position, 190 // |first_byte_position| and |last_byte_position|. Negative numbers other 191 // than |kPositionNotSpecified| are not allowed for |first_byte_position| and 192 // |last_byte_position|. |first_byte_position| should always be less than or 195 std::string GenerateHeaders(int64 first_byte_position,
|
H A D | buffered_data_source.h | 62 int64 first_byte_position, int64 last_byte_position);
|
H A D | buffered_data_source.cc | 79 int64 first_byte_position, int64 last_byte_position) { 83 first_byte_position, 78 CreateResourceLoader( int64 first_byte_position, int64 last_byte_position) argument
|
/external/chromium/net/url_request/ |
H A D | url_request_file_job.cc | 354 byte_range_.first_byte_position() + 1; 363 byte_range_.first_byte_position() != 0 && 364 byte_range_.first_byte_position() != 365 stream_.Seek(FROM_BEGIN, byte_range_.first_byte_position())) {
|
H A D | url_request_unittest.cc | 962 const size_t first_byte_position = 500; local 963 const size_t last_byte_position = buffer_size - first_byte_position; 964 const size_t content_length = last_byte_position - first_byte_position + 1; 965 std::string partial_buffer_string(buffer.get() + first_byte_position, 976 first_byte_position, last_byte_position)); 1006 const size_t first_byte_position = 500; local 1008 const size_t content_length = last_byte_position - first_byte_position + 1; 1009 std::string partial_buffer_string(buffer.get() + first_byte_position, 1019 first_byte_position));
|