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

/external/chromium/net/http/
H A Dhttp_byte_range_unittest.cc10 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 Dhttp_byte_range.h22 int64 first_byte_position() const { return first_byte_position_; } function in class:net::HttpByteRange
H A Dhttp_util.cc247 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 Dpartial_data.cc139 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 Dhttp_response_headers.cc1132 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 Dhttp_response_headers_unittest.cc1343 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 Dhttp_response_headers.h233 // |*first_byte_position| = inclusive position of the first byte of the range
237 bool GetContentRange(int64* first_byte_position,
H A Dhttp_util_unittest.cc665 ranges[j].first_byte_position());
H A Dhttp_cache_unittest.cc899 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 Dbuffered_resource_loader.cc49 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 Dbuffered_resource_loader.h51 // |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 Dbuffered_data_source.h62 int64 first_byte_position, int64 last_byte_position);
H A Dbuffered_data_source.cc79 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 Durl_request_file_job.cc354 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 Durl_request_unittest.cc962 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));

Completed in 243 milliseconds