Home
last modified time | relevance | path

Searched refs:WriteNonBlocking (Results 1 – 20 of 20) sorted by relevance

/external/libbrillo/brillo/streams/
Dstream_unittest.cc57 MOCK_METHOD4(WriteNonBlocking, bool(const void*, size_t, size_t*, ErrorPtr*));
364 EXPECT_CALL(stream_mock, WriteNonBlocking(buf, 10, _, _)) in TEST()
383 EXPECT_CALL(stream_mock, WriteNonBlocking(buf, 10, _, _)) in TEST()
400 EXPECT_CALL(stream_mock, WriteNonBlocking(buf, 10, _, _)) in TEST()
412 EXPECT_CALL(stream_mock, WriteNonBlocking(buf, 10, _, _)) in TEST()
414 EXPECT_CALL(stream_mock, WriteNonBlocking(buf + 7, 3, _, _)) in TEST()
423 EXPECT_CALL(stream_mock, WriteNonBlocking(buf + 7, 3, _, _)) in TEST()
435 EXPECT_CALL(stream_mock, WriteNonBlocking(buf, 1024, _, _)) in TEST()
442 EXPECT_CALL(stream_mock, WriteNonBlocking(buf, 1024, _, _)) in TEST()
446 EXPECT_CALL(stream_mock, WriteNonBlocking(buf, 1024, _, _)) in TEST()
[all …]
Dopenssl_stream_bio_unittests.cc87 EXPECT_CALL(*stream_, WriteNonBlocking(buffer, 10, _, _)) in TEST_F()
94 EXPECT_CALL(*stream_, WriteNonBlocking(buffer, 10, _, _)) in TEST_F()
101 EXPECT_CALL(*stream_, WriteNonBlocking(buffer, 10, _, _)) in TEST_F()
109 EXPECT_CALL(*stream_, WriteNonBlocking(buffer, 10, _, _)) in TEST_F()
Dtls_stream.cc89 bool WriteNonBlocking(const void* buffer,
181 bool TlsStream::TlsStreamImpl::WriteNonBlocking(const void* buffer, in WriteNonBlocking() function in brillo::TlsStream::TlsStreamImpl
500 bool TlsStream::WriteNonBlocking(const void* buffer, in WriteNonBlocking() function in brillo::TlsStream
506 return impl_->WriteNonBlocking(buffer, size_to_write, size_written, error); in WriteNonBlocking()
Dmemory_stream_unittest.cc175 TEST_F(MemoryStreamTest, WriteNonBlocking) { in TEST_F() argument
181 EXPECT_TRUE(stream_->WriteNonBlocking(test_write_buffer_, 10, &written, in TEST_F()
189 EXPECT_TRUE(stream_->WriteNonBlocking(test_write_buffer_, 100, &written, in TEST_F()
197 EXPECT_TRUE(stream_->WriteNonBlocking(test_write_buffer_, 10, &written, in TEST_F()
Dfile_stream_unittest.cc534 TEST_F(FileStreamTest, WriteNonBlocking) { in TEST_F() argument
538 EXPECT_TRUE(stream_->WriteNonBlocking(test_write_buffer_, 100, &size, in TEST_F()
542 EXPECT_TRUE(stream_->WriteNonBlocking(test_write_buffer_, 0, &size, nullptr)); in TEST_F()
546 EXPECT_TRUE(stream_->WriteNonBlocking(test_write_buffer_, 100, &size, in TEST_F()
552 EXPECT_TRUE(stream_->WriteNonBlocking(test_write_buffer_, 100, &size, in TEST_F()
562 EXPECT_FALSE(stream_->WriteNonBlocking(test_write_buffer_, 100, &size, in TEST_F()
1004 ASSERT_TRUE(stream->WriteNonBlocking(buffer.data(), buffer.size(), &written, in TEST_F()
1009 EXPECT_TRUE(stream->WriteNonBlocking(buffer.data(), buffer.size(), &written, in TEST_F()
1016 EXPECT_TRUE(stream->WriteNonBlocking(buffer.data(), buffer.size(), &written, in TEST_F()
Dmock_stream.h56 MOCK_METHOD4(WriteNonBlocking, bool(const void*, size_t, size_t*, ErrorPtr*));
Dtls_stream.h57 bool WriteNonBlocking(const void* buffer,
Dopenssl_stream_bio.cc21 if (!stream->WriteNonBlocking(buf, size, &written, nullptr)) in stream_write()
Dinput_stream_set.h87 bool WriteNonBlocking(const void* buffer,
Dstream.cc143 if (!WriteNonBlocking(buffer, size_to_write, size_written, error)) in WriteBlocking()
273 if (!WriteNonBlocking(buffer, size_to_write, &written, error)) in WriteAsyncImpl()
Dfile_stream.h122 bool WriteNonBlocking(const void* buffer,
Dfake_stream.h102 bool WriteNonBlocking(const void* buffer,
Dmemory_stream.h170 bool WriteNonBlocking(const void* buffer,
Dinput_stream_set.cc137 bool InputStreamSet::WriteNonBlocking(const void* /* buffer */, in WriteNonBlocking() function in brillo::InputStreamSet
Dstream.h316 virtual bool WriteNonBlocking(const void* buffer,
Dinput_stream_set_unittest.cc59 EXPECT_FALSE(stream_->WriteNonBlocking(buffer, sizeof(buffer), &size, in TEST_F()
Dmemory_stream.cc157 bool MemoryStream::WriteNonBlocking(const void* buffer, in WriteNonBlocking() function in brillo::MemoryStream
Dfake_stream.cc262 bool FakeStream::WriteNonBlocking(const void* buffer, in WriteNonBlocking() function in brillo::FakeStream
Dfile_stream.cc470 bool FileStream::WriteNonBlocking(const void* buffer, in WriteNonBlocking() function in brillo::FileStream
Dfake_stream_unittest.cc56 if (!stream_->WriteNonBlocking(data.data(), data.size(), &written, nullptr)) in WriteString()