Searched refs:WriteAllBlocking (Results 1 – 10 of 10) sorted by relevance
/external/libbrillo/brillo/streams/ |
D | mock_stream.h | 58 MOCK_METHOD3(WriteAllBlocking, bool(const void*, size_t, ErrorPtr*));
|
D | file_stream_unittest.cc | 51 return stream->WriteAllBlocking(&byte, sizeof(byte), nullptr); in WriteByte() 71 EXPECT_TRUE(stream->WriteAllBlocking(in_buffer.data(), in_buffer.size(), in TestCreateFile() 611 TEST_F(FileStreamTest, WriteAllBlocking) { in TEST_F() argument 632 EXPECT_TRUE(stream_->WriteAllBlocking(test_write_buffer_, 100, nullptr)); in TEST_F() 644 EXPECT_FALSE(stream_->WriteAllBlocking(test_write_buffer_, 80, &error)); in TEST_F() 751 EXPECT_TRUE(stream->WriteAllBlocking(buffer.data(), buffer.size(), nullptr)); in TEST_F()
|
D | stream.h | 337 virtual bool WriteAllBlocking(const void* buffer,
|
D | memory_stream_unittest.cc | 332 EXPECT_TRUE(stream->WriteAllBlocking("abcde", 5, nullptr)); in TEST() 370 EXPECT_TRUE(stream->WriteAllBlocking("d_1234", 6, nullptr)); in TEST()
|
D | input_stream_set_unittest.cc | 62 EXPECT_FALSE(stream_->WriteAllBlocking(buffer, sizeof(buffer), nullptr)); in TEST_F()
|
D | stream_unittest.cc | 466 TEST(Stream, WriteAllBlocking) { in TEST() argument 478 EXPECT_TRUE(stream_mock.WriteAllBlocking(buf, sizeof(buf), nullptr)); in TEST()
|
D | stream.cc | 157 bool Stream::WriteAllBlocking(const void* buffer, in WriteAllBlocking() function in brillo::Stream
|
/external/libbrillo/brillo/http/ |
D | http_connection_curl.cc | 215 if (!me->response_data_stream_->WriteAllBlocking(ptr, data_len, nullptr)) { in write_callback()
|
D | http_request.cc | 338 CHECK(dest_stream->WriteAllBlocking(buffer, read, nullptr)); in ExtractData()
|
D | http_connection_curl_unittest.cc | 236 WriteAllBlocking(MatchStringBuffer(response_data), in TEST_F()
|