Searched refs:ReadAllBlocking (Results 1 – 7 of 7) sorted by relevance
/external/libbrillo/brillo/http/ |
D | http_form_data_unittest.cc | 25 EXPECT_TRUE(stream->ReadAllBlocking(data.data(), data.size(), nullptr)); in GetFormFieldData() 175 EXPECT_TRUE(stream->ReadAllBlocking(data.data(), data.size(), nullptr)); in TEST()
|
/external/libbrillo/brillo/streams/ |
D | mock_stream.h | 44 MOCK_METHOD3(ReadAllBlocking, bool(void*, size_t, ErrorPtr*));
|
D | stream_unittest.cc | 327 TEST(Stream, ReadAllBlocking) { in TEST() argument 339 EXPECT_TRUE(stream_mock.ReadAllBlocking(buf, sizeof(buf), nullptr)); in TEST() 346 EXPECT_FALSE(stream_mock.ReadAllBlocking(buf, sizeof(buf), &error)); in TEST()
|
D | file_stream_unittest.cc | 46 return stream->ReadAllBlocking(&byte, sizeof(byte), nullptr) ? byte : -1; in ReadByte() 85 EXPECT_TRUE(stream->ReadAllBlocking(out_buffer.data(), out_buffer.size(), in TestCreateFile() 472 TEST_F(FileStreamTest, ReadAllBlocking) { in TEST_F() argument 493 EXPECT_TRUE(stream_->ReadAllBlocking(test_read_buffer_, 100, nullptr)); in TEST_F() 504 EXPECT_FALSE(stream_->ReadAllBlocking(test_read_buffer_, 100, &error)); in TEST_F() 726 EXPECT_TRUE(stream->ReadAllBlocking(buffer2.data(), buffer2.size(), nullptr)); in TEST_F()
|
D | stream.h | 263 virtual bool ReadAllBlocking(void* buffer,
|
D | stream.cc | 85 bool Stream::ReadAllBlocking(void* buffer, in ReadAllBlocking() function in brillo::Stream
|
D | memory_stream_unittest.cc | 28 return stream->ReadAllBlocking(&byte, sizeof(byte), error) ? byte : -1; in ReadByte()
|