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:__anon9283
28 range.set_first_byte_position(tests[i].first_byte_position);
37 int64 first_byte_position; member in struct:__anon9284
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.cc1329 int64 first_byte_position; local
1332 bool return_value = parsed->GetContentRange(&first_byte_position,
1336 EXPECT_EQ(test.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();
1242 bool HttpResponseHeaders::GetContentRange(int64* first_byte_position, argument
1247 *first_byte_position = *last_byte_position = *instance_length = -1;
1298 first_byte_position);
1311 *first_byte_position = *last_byte_position = -1;
1314 if (*first_byte_position < 0 || *last_byte_position < 0 ||
1315 *first_byte_position > *last_byte_position)
1341 if (*first_byte_position < 0 || *last_byte_position < 0 ||
/external/chromium_org/content/browser/fileapi/
H A Dfile_system_url_request_job_unittest.cc275 const size_t first_byte_position = 500; local
276 const size_t last_byte_position = buffer_size - first_byte_position;
277 std::string partial_buffer_string(buffer.get() + first_byte_position,
284 first_byte_position, last_byte_position).GetHeaderValue());
299 const size_t first_byte_position = 500; local
300 std::string partial_buffer_string(buffer.get() + first_byte_position,
306 net::HttpByteRange::RightUnbounded(first_byte_position).GetHeaderValue());
/external/chromium_org/media/blink/
H A Dbuffered_data_source.cc114 int64 first_byte_position, int64 last_byte_position) {
123 first_byte_position,
460 host_->AddBufferedByteRange(loader_->first_byte_position(),
508 host_->AddBufferedByteRange(loader_->first_byte_position(), position);
113 CreateResourceLoader( int64 first_byte_position, int64 last_byte_position) argument
H A Dbuffered_data_source_unittest.cc67 BufferedResourceLoader* CreateMockResourceLoader(int64 first_byte_position, argument
72 BufferedDataSource::CreateResourceLoader(first_byte_position,
H A Dbuffered_resource_loader.cc100 int64 first_byte_position,
114 first_byte_position_(first_byte_position),
690 int64 BufferedResourceLoader::first_byte_position() const { function in class:media::BufferedResourceLoader
696 const std::string& content_range_str, int64* first_byte_position,
711 first_byte_position) ||
726 if (*last_byte_position < *first_byte_position ||
737 int64 first_byte_position, last_byte_position, instance_size; local
739 &first_byte_position, &last_byte_position,
749 first_byte_position_ != first_byte_position) {
97 BufferedResourceLoader( const GURL& url, CORSMode cors_mode, int64 first_byte_position, int64 last_byte_position, DeferStrategy strategy, int bitrate, float playback_rate, MediaLog* media_log) argument
695 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.cc764 const size_t first_byte_position = 500; local
765 const size_t last_byte_position = buffer_size - first_byte_position;
766 const size_t content_length = last_byte_position - first_byte_position + 1;
767 std::string partial_buffer_string(buffer.get() + first_byte_position,
779 first_byte_position, last_byte_position).GetHeaderValue());
809 const size_t first_byte_position = 500; local
811 const size_t content_length = last_byte_position - first_byte_position + 1;
812 std::string partial_buffer_string(buffer.get() + first_byte_position,
823 first_byte_position).GetHeaderValue());

Completed in 193 milliseconds