Home
last modified time | relevance | path

Searched refs:GetRemainingSize (Results 1 – 18 of 18) sorted by relevance

/external/libbrillo/brillo/streams/
Dinput_stream_set_unittest.cc95 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()
Dinput_stream_set.cc49 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()
Dmemory_stream_unittest.cc286 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()
Dtls_stream.h46 uint64_t GetRemainingSize() const override { return 0; } in GetRemainingSize() function
Dmock_stream.h27 MOCK_CONST_METHOD0(GetRemainingSize, uint64_t());
Dinput_stream_set.h70 uint64_t GetRemainingSize() const override;
Dfake_stream_unittest.cc76 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()
Dfile_stream.h105 uint64_t GetRemainingSize() const override;
Dfake_stream.h90 uint64_t GetRemainingSize() const override { return 0; } in GetRemainingSize() function
Dmemory_stream.h153 uint64_t GetRemainingSize() const override;
Dstream.h155 virtual uint64_t GetRemainingSize() const = 0;
Dmemory_stream.cc105 uint64_t MemoryStream::GetRemainingSize() const { in GetRemainingSize() function in brillo::MemoryStream
Dfile_stream_unittest.cc300 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()
Dfile_stream.cc391 uint64_t FileStream::GetRemainingSize() const { in GetRemainingSize() function in brillo::FileStream
Dstream_unittest.cc44 MOCK_CONST_METHOD0(GetRemainingSize, uint64_t());
/external/libbrillo/brillo/http/
Dhttp_connection_curl.cc101 data_size = request_data_stream_->GetRemainingSize(); in PrepareRequest()
Dhttp_transport_fake.cc157 data_.reserve(stream->GetRemainingSize()); in SetData()
Dhttp_utils.cc132 if (stream && (!stream->CanGetSize() || stream->GetRemainingSize() > 0)) { in SendRequest()