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

/external/chromium_org/net/http/
H A Dhttp_byte_range.h23 static HttpByteRange Bounded(int64 first_byte_position,
25 static HttpByteRange RightUnbounded(int64 first_byte_position);
30 int64 first_byte_position() const { return first_byte_position_; } function in class:net::HttpByteRange
H A Dhttp_byte_range_unittest.cc10 int64 first_byte_position; member in struct:__anon8677
28 range.set_first_byte_position(tests[i].first_byte_position);
37 int64 first_byte_position; member in struct:__anon8678
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.cc28 HttpByteRange HttpByteRange::Bounded(int64 first_byte_position, argument
31 range.set_first_byte_position(first_byte_position);
37 HttpByteRange HttpByteRange::RightUnbounded(int64 first_byte_position) { argument
39 range.set_first_byte_position(first_byte_position);
79 return base::StringPrintf("bytes=%" PRId64 "-", first_byte_position());
82 first_byte_position(), last_byte_position());
H A Dhttp_response_headers_unittest.cc1440 int64 first_byte_position; local
1443 bool return_value = parsed->GetContentRange(&first_byte_position,
1447 EXPECT_EQ(tests[i].expected_first_byte_position, first_byte_position);
H A Dhttp_util.cc243 int64 first_byte_position = -1; local
244 if (!base::StringToInt64(first_byte_pos, &first_byte_position))
246 range.set_first_byte_position(first_byte_position);
H A Dhttp_response_headers.cc386 int64 start = byte_range.first_byte_position();
1233 bool HttpResponseHeaders::GetContentRange(int64* first_byte_position, argument
1238 *first_byte_position = *last_byte_position = *instance_length = -1;
1289 first_byte_position);
1302 *first_byte_position = *last_byte_position = -1;
1305 if (*first_byte_position < 0 || *last_byte_position < 0 ||
1306 *first_byte_position > *last_byte_position)
1332 if (*first_byte_position < 0 || *last_byte_position < 0 ||
/external/chromium_org/content/browser/fileapi/
H A Dfile_system_url_request_job_unittest.cc271 const size_t first_byte_position = 500; local
272 const size_t last_byte_position = buffer_size - first_byte_position;
273 std::string partial_buffer_string(buffer.get() + first_byte_position,
280 first_byte_position, last_byte_position).GetHeaderValue());
295 const size_t first_byte_position = 500; local
296 std::string partial_buffer_string(buffer.get() + first_byte_position,
302 net::HttpByteRange::RightUnbounded(first_byte_position).GetHeaderValue());
/external/chromium_org/content/renderer/media/
H A Dbuffered_data_source.cc116 int64 first_byte_position, int64 last_byte_position) {
125 first_byte_position,
462 host_->AddBufferedByteRange(loader_->first_byte_position(),
510 host_->AddBufferedByteRange(loader_->first_byte_position(), position);
115 CreateResourceLoader( int64 first_byte_position, int64 last_byte_position) argument
H A Dbuffered_data_source_unittest.cc68 BufferedResourceLoader* CreateMockResourceLoader(int64 first_byte_position, argument
73 BufferedDataSource::CreateResourceLoader(first_byte_position,
H A Dbuffered_resource_loader.cc101 int64 first_byte_position,
115 first_byte_position_(first_byte_position),
686 int64 BufferedResourceLoader::first_byte_position() const { function in class:content::BufferedResourceLoader
692 const std::string& content_range_str, int64* first_byte_position,
707 first_byte_position) ||
722 if (*last_byte_position < *first_byte_position ||
733 int64 first_byte_position, last_byte_position, instance_size; local
735 &first_byte_position, &last_byte_position,
745 first_byte_position_ != first_byte_position) {
98 BufferedResourceLoader( const GURL& url, CORSMode cors_mode, int64 first_byte_position, int64 last_byte_position, DeferStrategy strategy, int bitrate, float playback_rate, media::MediaLog* media_log) argument
691 ParseContentRange( const std::string& content_range_str, int64* first_byte_position, int64* last_byte_position, int64* instance_size) argument
/external/chromium_org/net/url_request/
H A Durl_request_unittest.cc761 const size_t first_byte_position = 500; local
762 const size_t last_byte_position = buffer_size - first_byte_position;
763 const size_t content_length = last_byte_position - first_byte_position + 1;
764 std::string partial_buffer_string(buffer.get() + first_byte_position,
775 first_byte_position, last_byte_position).GetHeaderValue());
805 const size_t first_byte_position = 500; local
807 const size_t content_length = last_byte_position - first_byte_position + 1;
808 std::string partial_buffer_string(buffer.get() + first_byte_position,
818 first_byte_position).GetHeaderValue());

Completed in 253 milliseconds