Searched refs:SetSizeBlocking (Results 1 - 17 of 17) sorted by relevance
/external/libbrillo/brillo/streams/ |
H A D | mock_stream.h | 26 MOCK_METHOD2(SetSizeBlocking, bool(uint64_t, ErrorPtr*));
|
H A D | input_stream_set.h | 69 bool SetSizeBlocking(uint64_t size, ErrorPtr* error) override;
|
H A D | tls_stream.h | 45 bool SetSizeBlocking(uint64_t size, ErrorPtr* error) override;
|
H A D | file_stream.h | 104 bool SetSizeBlocking(uint64_t size, ErrorPtr* error) override;
|
H A D | fake_stream.h | 89 bool SetSizeBlocking(uint64_t size, ErrorPtr* error) override;
|
H A D | memory_stream.h | 152 bool SetSizeBlocking(uint64_t size, ErrorPtr* error) override;
|
H A D | memory_stream_unittest.cc | 106 TEST_F(MemoryStreamTest, SetSizeBlocking) { 110 EXPECT_TRUE(stream_->SetSizeBlocking(0, &error)); 116 EXPECT_TRUE(stream_->SetSizeBlocking(kSizeMax, nullptr));
|
H A D | input_stream_set.cc | 91 bool InputStreamSet::SetSizeBlocking(uint64_t /* size */, ErrorPtr* error) { function in class:brillo::InputStreamSet
|
H A D | input_stream_set_unittest.cc | 52 EXPECT_FALSE(stream_->SetSizeBlocking(0, nullptr));
|
H A D | memory_stream.cc | 99 bool MemoryStream::SetSizeBlocking(uint64_t size, ErrorPtr* error) { function in class:brillo::MemoryStream
|
H A D | stream.h | 146 virtual bool SetSizeBlocking(uint64_t size, ErrorPtr* error) = 0; 149 // Calls SetSizeBlocking(GetPosition(), ...).
|
H A D | file_stream_unittest.cc | 271 TEST_F(FileStreamTest, SetSizeBlocking) { 273 EXPECT_TRUE(stream_->SetSizeBlocking(0, nullptr)); 276 EXPECT_TRUE(stream_->SetSizeBlocking(123, nullptr)); 279 EXPECT_TRUE(stream_->SetSizeBlocking(kMaxSize, nullptr)); 286 EXPECT_FALSE(stream_->SetSizeBlocking(1235, &error)); 291 EXPECT_FALSE(stream_->SetSizeBlocking(kTooLargeSize, &error)); 296 EXPECT_FALSE(stream_->SetSizeBlocking(1235, &error));
|
H A D | stream_unittest.cc | 43 MOCK_METHOD2(SetSizeBlocking, bool(uint64_t, ErrorPtr*)); 77 EXPECT_CALL(stream_mock, SetSizeBlocking(123, _)).WillOnce(Return(true));
|
H A D | fake_stream.cc | 170 bool FakeStream::SetSizeBlocking(uint64_t /* size */, ErrorPtr* error) { function in class:brillo::FakeStream
|
H A D | stream.cc | 18 return SetSizeBlocking(GetPosition(), error);
|
H A D | file_stream.cc | 377 bool FileStream::SetSizeBlocking(uint64_t size, ErrorPtr* error) { function in class:brillo::FileStream
|
H A D | tls_stream.cc | 478 bool TlsStream::SetSizeBlocking(uint64_t /* size */, ErrorPtr* error) { function in class:brillo::TlsStream
|
Completed in 85 milliseconds