HomeSort by relevance Sort by last modified time
    Searched refs:CanGetSize (Results 1 - 17 of 17) sorted by null

  /external/libbrillo/brillo/streams/
input_stream_set_unittest.cc 69 EXPECT_CALL(*itf1_, CanGetSize()).WillOnce(Return(true));
70 EXPECT_CALL(*itf2_, CanGetSize()).WillOnce(Return(true));
71 EXPECT_TRUE(stream_->CanGetSize());
82 TEST_F(InputStreamSetTest, CanGetSize) {
83 EXPECT_CALL(*itf1_, CanGetSize()).WillOnce(Return(true));
84 EXPECT_CALL(*itf2_, CanGetSize()).WillOnce(Return(true));
85 EXPECT_TRUE(stream_->CanGetSize());
87 EXPECT_CALL(*itf1_, CanGetSize()).WillOnce(Return(false));
88 EXPECT_FALSE(stream_->CanGetSize());
90 EXPECT_CALL(*itf1_, CanGetSize()).WillOnce(Return(true))
    [all...]
mock_stream.h 23 MOCK_CONST_METHOD0(CanGetSize, bool());
file_stream_unittest.cc 66 EXPECT_TRUE(stream->CanGetSize());
242 TEST_F(FileStreamTest, CanGetSize) {
244 EXPECT_TRUE(stream_->CanGetSize());
246 EXPECT_TRUE(stream_->CanGetSize());
248 EXPECT_TRUE(stream_->CanGetSize());
250 EXPECT_TRUE(stream_->CanGetSize());
252 EXPECT_FALSE(stream_->CanGetSize());
254 EXPECT_FALSE(stream_->CanGetSize());
256 EXPECT_FALSE(stream_->CanGetSize());
259 EXPECT_TRUE(stream_->CanGetSize());
    [all...]
input_stream_set.h 65 bool CanGetSize() const override;
tls_stream.h 43 bool CanGetSize() const override { return false; }
file_stream.h 100 bool CanGetSize() const override;
input_stream_set.cc 76 bool InputStreamSet::CanGetSize() const {
79 if (!stream->CanGetSize()) {
fake_stream.h 87 bool CanGetSize() const override { return false; }
memory_stream.h 148 bool CanGetSize() const override;
stream.h 136 virtual bool CanGetSize() const = 0;
fake_stream_unittest.cc 74 EXPECT_FALSE(stream_->CanGetSize());
86 EXPECT_FALSE(stream_->CanGetSize());
98 EXPECT_FALSE(stream_->CanGetSize());
memory_stream.cc 93 bool MemoryStream::CanGetSize() const { return IsOpen(); }
file_stream.cc 369 bool FileStream::CanGetSize() const {
392 if (!CanGetSize())
stream_unittest.cc 40 MOCK_CONST_METHOD0(CanGetSize, bool());
  /external/libbrillo/brillo/http/
http_connection_curl.cc 100 if (request_data_stream_ && request_data_stream_->CanGetSize())
103 if (!request_data_stream_ || request_data_stream_->CanGetSize()) {
http_transport_fake.cc 160 if (stream->CanGetSize())
http_utils.cc 132 if (stream && (!stream->CanGetSize() || stream->GetRemainingSize() > 0)) {

Completed in 91 milliseconds