Searched refs:GetRemainingSize (Results 1 – 18 of 18) sorted by relevance
/external/libbrillo/brillo/streams/ |
D | input_stream_set_unittest.cc | 95 TEST_F(InputStreamSetTest, GetRemainingSize) { in TEST_F() argument 96 EXPECT_CALL(*itf1_, GetRemainingSize()).WillOnce(Return(10)); in TEST_F() 97 EXPECT_CALL(*itf2_, GetRemainingSize()).WillOnce(Return(32)); in TEST_F() 98 EXPECT_EQ(42, stream_->GetRemainingSize()); in TEST_F()
|
D | input_stream_set.cc | 49 initial_stream_size += stream->GetRemainingSize(); in Create() 95 uint64_t InputStreamSet::GetRemainingSize() const { in GetRemainingSize() function in brillo::InputStreamSet 98 size += stream->GetRemainingSize(); in GetRemainingSize()
|
D | memory_stream_unittest.cc | 286 EXPECT_EQ(4, stream->GetRemainingSize()); in TEST() 293 EXPECT_EQ(0, stream->GetRemainingSize()); in TEST() 302 EXPECT_EQ(4, stream->GetRemainingSize()); in TEST() 309 EXPECT_EQ(0, stream->GetRemainingSize()); in TEST()
|
D | tls_stream.h | 46 uint64_t GetRemainingSize() const override { return 0; } in GetRemainingSize() function
|
D | mock_stream.h | 27 MOCK_CONST_METHOD0(GetRemainingSize, uint64_t());
|
D | input_stream_set.h | 70 uint64_t GetRemainingSize() const override;
|
D | fake_stream_unittest.cc | 76 EXPECT_EQ(0, stream_->GetRemainingSize()); in TEST_F() 88 EXPECT_EQ(0, stream_->GetRemainingSize()); in TEST_F() 100 EXPECT_EQ(0, stream_->GetRemainingSize()); in TEST_F()
|
D | file_stream.h | 105 uint64_t GetRemainingSize() const override;
|
D | fake_stream.h | 90 uint64_t GetRemainingSize() const override { return 0; } in GetRemainingSize() function
|
D | memory_stream.h | 153 uint64_t GetRemainingSize() const override;
|
D | stream.h | 155 virtual uint64_t GetRemainingSize() const = 0;
|
D | memory_stream.cc | 105 uint64_t MemoryStream::GetRemainingSize() const { in GetRemainingSize() function in brillo::MemoryStream
|
D | file_stream_unittest.cc | 300 TEST_F(FileStreamTest, GetRemainingSize) { in TEST_F() argument 303 EXPECT_EQ(1000u, stream_->GetRemainingSize()); in TEST_F() 307 EXPECT_EQ(0u, stream_->GetRemainingSize()); in TEST_F()
|
D | file_stream.cc | 391 uint64_t FileStream::GetRemainingSize() const { in GetRemainingSize() function in brillo::FileStream
|
D | stream_unittest.cc | 44 MOCK_CONST_METHOD0(GetRemainingSize, uint64_t());
|
/external/libbrillo/brillo/http/ |
D | http_connection_curl.cc | 101 data_size = request_data_stream_->GetRemainingSize(); in PrepareRequest()
|
D | http_transport_fake.cc | 157 data_.reserve(stream->GetRemainingSize()); in SetData()
|
D | http_utils.cc | 132 if (stream && (!stream->CanGetSize() || stream->GetRemainingSize() > 0)) { in SendRequest()
|