Home
last modified time | relevance | path

Searched refs:GetContentLength (Results 1 – 25 of 36) sorted by relevance

12

/external/chromium_org/webkit/browser/fileapi/
Dupload_file_system_file_element_reader.cc64 uint64 UploadFileSystemFileElementReader::GetContentLength() const { in GetContentLength() function in fileapi::UploadFileSystemFileElementReader
69 return GetContentLength() - position_; in BytesRemaining()
111 DCHECK_LE(position_, GetContentLength()); in OnRead()
Dupload_file_system_file_element_reader.h36 virtual uint64 GetContentLength() const OVERRIDE;
/external/chromium/net/base/
Dupload_data.cc44 uint64 UploadData::Element::GetContentLength() { in GetContentLength() function in net::UploadData::Element
172 uint64 UploadData::GetContentLength() { in GetContentLength() function in net::UploadData
176 len += (*it).GetContentLength(); in GetContentLength()
Dupload_data_stream.cc53 total_size_(data->is_chunked() ? 0 : data->GetContentLength()), in UploadDataStream()
102 next_element_remaining_ = element.GetContentLength(); in FillBuf()
Dupload_data.h110 uint64 GetContentLength();
168 uint64 GetContentLength();
Dupload_data_stream_unittest.cc70 EXPECT_EQ(kFakeSize, upload_data_->GetContentLength()); in TEST_F()
/external/chromium_org/net/base/
Dupload_file_element_reader_unittest.cc44 EXPECT_EQ(bytes_.size(), reader_->GetContentLength()); in SetUp()
129 EXPECT_EQ(bytes_.size(), reader_->GetContentLength()); in TEST_F()
160 EXPECT_EQ(bytes_.size(), reader_->GetContentLength()); in TEST_F()
192 EXPECT_EQ(kLength, reader_->GetContentLength()); in TEST_F()
256 EXPECT_EQ(bytes_.size(), reader_->GetContentLength()); in SetUp()
323 EXPECT_EQ(bytes_.size(), reader_->GetContentLength()); in TEST_F()
340 EXPECT_EQ(kLength, reader_->GetContentLength()); in TEST_F()
Dupload_file_element_reader.cc170 uint64 UploadFileElementReader::GetContentLength() const { in GetContentLength() function in net::UploadFileElementReader
222 bytes_remaining_ = GetContentLength(); in OnInitCompleted()
274 bytes_remaining_ = GetContentLength(); in Init()
278 uint64 UploadFileElementReaderSync::GetContentLength() const { in GetContentLength() function in net::UploadFileElementReaderSync
Dupload_file_element_reader.h46 virtual uint64 GetContentLength() const OVERRIDE;
122 virtual uint64 GetContentLength() const OVERRIDE;
Dupload_bytes_element_reader_unittest.cc23 EXPECT_EQ(bytes_.size(), reader_->GetContentLength()); in SetUp()
82 EXPECT_EQ(bytes_.size(), reader_->GetContentLength()); in TEST_F()
Dupload_element_reader.h40 virtual uint64 GetContentLength() const = 0;
Dupload_bytes_element_reader.h31 virtual uint64 GetContentLength() const OVERRIDE;
Dupload_bytes_element_reader.cc34 uint64 UploadBytesElementReader::GetContentLength() const { in GetContentLength() function in net::UploadBytesElementReader
Dupload_data_stream.cc150 total_size += reader->GetContentLength(); in InitInternal()
/external/chromium_org/content/browser/fileapi/
Dupload_file_system_file_element_reader_unittest.cc67 EXPECT_EQ(file_data_.size(), reader_->GetContentLength()); in SetUp()
186 EXPECT_EQ(file_data_.size(), reader_->GetContentLength()); in TEST_F()
215 EXPECT_EQ(file_data_.size(), reader_->GetContentLength()); in TEST_F()
242 EXPECT_EQ(static_cast<uint64>(kLength), reader_->GetContentLength()); in TEST_F()
/external/chromium_org/net/http/
Dpartial_data.cc259 int64 total_length = headers->GetContentLength(); in UpdateFromStoredHeaders()
286 int64 length_value = headers->GetContentLength(); in UpdateFromStoredHeaders()
346 int64 content_length = headers->GetContentLength(); in ResponseHeadersOK()
Dhttp_response_headers_unittest.cc1103 TEST(HttpResponseHeadersTest, GetContentLength) { in TEST() argument
1183 EXPECT_EQ(tests[i].expected_len, parsed->GetContentLength()); in TEST()
1871 EXPECT_EQ(parsed->GetContentLength(), recreated->GetContentLength()); in TEST()
Dhttp_response_headers.h233 int64 GetContentLength() const;
Dhttp_network_transaction_unittest.cc946 EXPECT_EQ(1234, response->headers->GetContentLength()); in TEST_P()
1597 EXPECT_EQ(100, response->headers->GetContentLength()); in TEST_P()
1732 EXPECT_EQ(5, response->headers->GetContentLength()); in TEST_P()
1808 EXPECT_EQ(5, response->headers->GetContentLength()); in TEST_P()
1892 EXPECT_EQ(5, response->headers->GetContentLength()); in TEST_P()
1978 EXPECT_EQ(5, response->headers->GetContentLength()); in TEST_P()
2083 EXPECT_EQ(5, response->headers->GetContentLength()); in TEST_P()
2173 EXPECT_EQ(10, response->headers->GetContentLength()); in TEST_P()
2192 EXPECT_EQ(10, response->headers->GetContentLength()); in TEST_P()
2249 EXPECT_EQ(10, response->headers->GetContentLength()); in TEST_P()
[all …]
Dhttp_stream_parser.cc824 << " content_length = \"" << response_->headers->GetContentLength() in DoParseResponseHeaders()
864 response_body_length_ = response_->headers->GetContentLength(); in CalculateResponseBodySize()
Dhttp_cache_transaction.cc1431 if (response_.headers->GetContentLength() == current_size) in DoCacheReadResponseComplete()
1625 int64 body_size = response_.headers->GetContentLength(); in DoCacheWriteDataComplete()
1641 response_.headers->GetContentLength() <= 0) in DoCacheWriteDataComplete()
2416 if (response_.headers->GetContentLength() <= 0 || in CanResume()
/external/chromium/net/http/
Dpartial_data.cc252 int64 total_length = headers->GetContentLength(); in UpdateFromStoredHeaders()
279 int64 length_value = headers->GetContentLength(); in UpdateFromStoredHeaders()
335 int64 content_length = headers->GetContentLength(); in ResponseHeadersOK()
Dhttp_network_transaction_unittest.cc612 EXPECT_EQ(1234, response->headers->GetContentLength()); in TEST_F()
1113 EXPECT_EQ(100, response->headers->GetContentLength()); in TEST_F()
1238 EXPECT_EQ(5, response->headers->GetContentLength()); in TEST_F()
1319 EXPECT_EQ(5, response->headers->GetContentLength()); in TEST_F()
1408 EXPECT_EQ(5, response->headers->GetContentLength()); in TEST_F()
1499 EXPECT_EQ(5, response->headers->GetContentLength()); in TEST_F()
1602 EXPECT_EQ(5, response->headers->GetContentLength()); in TEST_F()
1687 EXPECT_EQ(10, response->headers->GetContentLength()); in TEST_F()
1711 EXPECT_EQ(10, response->headers->GetContentLength()); in TEST_F()
1773 EXPECT_EQ(10, response->headers->GetContentLength()); in TEST_F()
[all …]
Dhttp_response_headers.h228 int64 GetContentLength() const;
Dhttp_response_headers_unittest.cc1012 TEST(HttpResponseHeadersTest, GetContentLength) { in TEST() argument
1092 EXPECT_EQ(tests[i].expected_len, parsed->GetContentLength()); in TEST()

12