Home
last modified time | relevance | path

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

/external/libbrillo/brillo/streams/
Dinput_stream_set_unittest.cc74 EXPECT_CALL(*itf1_, ReadNonBlocking(_, _, _, _, _)) in TEST_F()
76 EXPECT_CALL(*itf2_, ReadNonBlocking(_, _, _, _, _)).Times(0); in TEST_F()
101 TEST_F(InputStreamSetTest, ReadNonBlocking) { in TEST_F() argument
106 EXPECT_CALL(*itf1_, ReadNonBlocking(IntToPtr(1000), 100, _, _, _)) in TEST_F()
110 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, in TEST_F()
115 EXPECT_CALL(*itf1_, ReadNonBlocking(IntToPtr(1000), 100, _, _, _)) in TEST_F()
117 EXPECT_CALL(*itf2_, ReadNonBlocking(IntToPtr(1000), 100 , _, _, _)) in TEST_F()
121 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, in TEST_F()
126 EXPECT_CALL(*itf2_, ReadNonBlocking(IntToPtr(1000), 100, _, _, _)) in TEST_F()
128 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, in TEST_F()
[all …]
Dstream_unittest.cc51 MOCK_METHOD5(ReadNonBlocking, bool(void*, size_t, size_t*, bool*, ErrorPtr*));
115 EXPECT_CALL(stream_mock, ReadNonBlocking(buf, 10, _, _, _)) in TEST()
140 EXPECT_CALL(stream_mock, ReadNonBlocking(buf, 10, _, _, _)) in TEST()
160 EXPECT_CALL(stream_mock, ReadNonBlocking(buf, 10, _, _, _)) in TEST()
201 EXPECT_CALL(stream_mock, ReadNonBlocking(buf, 10, _, _, _)) in TEST()
216 EXPECT_CALL(stream_mock, ReadNonBlocking(buf, 10, _, _, _)) in TEST()
220 EXPECT_CALL(stream_mock, ReadNonBlocking(buf + 7, 3, _, _, _)) in TEST()
230 EXPECT_CALL(stream_mock, ReadNonBlocking(buf + 7, 3, _, _, _)) in TEST()
253 EXPECT_CALL(stream_mock, ReadNonBlocking(buf, 10, _, _, _)) in TEST()
265 EXPECT_CALL(stream_mock, ReadNonBlocking(buf, 10, _, _, _)) in TEST()
[all …]
Dopenssl_stream_bio_unittests.cc41 EXPECT_CALL(*stream_, ReadNonBlocking(buffer, 10, _, _, _)) in TEST_F()
50 EXPECT_CALL(*stream_, ReadNonBlocking(buffer, 10, _, _, _)) in TEST_F()
59 EXPECT_CALL(*stream_, ReadNonBlocking(buffer, 10, _, _, _)) in TEST_F()
69 EXPECT_CALL(*stream_, ReadNonBlocking(buffer, 10, _, _, _)) in TEST_F()
79 EXPECT_CALL(*stream_, ReadNonBlocking(buffer, 10, _, _, _)) in TEST_F()
Dinput_stream_set.cc109 bool InputStreamSet::ReadNonBlocking(void* buffer, in ReadNonBlocking() function in brillo::InputStreamSet
120 if (!stream->ReadNonBlocking(buffer, size_to_read, size_read, &eos, error)) in ReadNonBlocking()
Dmemory_stream_unittest.cc143 TEST_F(MemoryStreamTest, ReadNonBlocking) { in TEST_F() argument
150 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 10, &read, &eos, in TEST_F()
159 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &read, &eos, in TEST_F()
168 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 10, &read, &eos, in TEST_F()
Dtls_stream.cc83 bool ReadNonBlocking(void* buffer,
143 bool TlsStream::TlsStreamImpl::ReadNonBlocking(void* buffer, in ReadNonBlocking() function in brillo::TlsStream::TlsStreamImpl
489 bool TlsStream::ReadNonBlocking(void* buffer, in ReadNonBlocking() function in brillo::TlsStream
496 return impl_->ReadNonBlocking(buffer, size_to_read, size_read, end_of_stream, in ReadNonBlocking()
Dfile_stream_unittest.cc395 TEST_F(FileStreamTest, ReadNonBlocking) { in TEST_F() argument
400 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos, in TEST_F()
405 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 0, &size, &eos, in TEST_F()
411 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos, in TEST_F()
418 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos, in TEST_F()
429 EXPECT_FALSE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, nullptr, in TEST_F()
959 EXPECT_TRUE(stream->ReadNonBlocking(buf, sizeof(buf), &read, &eos, nullptr)); in TEST_F()
965 EXPECT_TRUE(stream->ReadNonBlocking(buf, sizeof(buf), &read, &eos, nullptr)); in TEST_F()
970 EXPECT_TRUE(stream->ReadNonBlocking(buf, sizeof(buf), &read, &eos, nullptr)); in TEST_F()
976 EXPECT_TRUE(stream->ReadNonBlocking(buf, sizeof(buf), &read, &eos, nullptr)); in TEST_F()
Dopenssl_stream_bio.cc37 if (!stream->ReadNonBlocking(buf, size, &read, &eos, nullptr)) in stream_read()
Dtls_stream.h52 bool ReadNonBlocking(void* buffer,
Dmock_stream.h42 MOCK_METHOD5(ReadNonBlocking, bool(void*, size_t, size_t*, bool*, ErrorPtr*));
Dinput_stream_set.h80 bool ReadNonBlocking(void* buffer,
Dstream.cc71 if (!ReadNonBlocking(buffer, size_to_read, size_read, &eos, error)) in ReadBlocking()
209 if (!ReadNonBlocking(buffer, size_to_read, &read, &eos, error)) in ReadAsyncImpl()
Dfile_stream.h115 bool ReadNonBlocking(void* buffer,
Dfake_stream.h97 bool ReadNonBlocking(void* buffer,
Dmemory_stream.h163 bool ReadNonBlocking(void* buffer,
Dstream.h235 virtual bool ReadNonBlocking(void* buffer,
Dmemory_stream.cc140 bool MemoryStream::ReadNonBlocking(void* buffer, in ReadNonBlocking() function in brillo::MemoryStream
Dfake_stream.cc197 bool FakeStream::ReadNonBlocking(void* buffer, in ReadNonBlocking() function in brillo::FakeStream
Dfile_stream.cc442 bool FileStream::ReadNonBlocking(void* buffer, in ReadNonBlocking() function in brillo::FileStream
Dfake_stream_unittest.cc42 bool ok = stream_->ReadNonBlocking(data.data(), data.size(), &size_read, in ReadString()