/external/libbrillo/brillo/streams/ |
D | input_stream_set_unittest.cc | 74 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 …]
|
D | stream_unittest.cc | 51 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 …]
|
D | openssl_stream_bio_unittests.cc | 41 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()
|
D | input_stream_set.cc | 109 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()
|
D | memory_stream_unittest.cc | 143 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()
|
D | tls_stream.cc | 83 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()
|
D | file_stream_unittest.cc | 395 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()
|
D | openssl_stream_bio.cc | 37 if (!stream->ReadNonBlocking(buf, size, &read, &eos, nullptr)) in stream_read()
|
D | tls_stream.h | 52 bool ReadNonBlocking(void* buffer,
|
D | mock_stream.h | 42 MOCK_METHOD5(ReadNonBlocking, bool(void*, size_t, size_t*, bool*, ErrorPtr*));
|
D | input_stream_set.h | 80 bool ReadNonBlocking(void* buffer,
|
D | stream.cc | 71 if (!ReadNonBlocking(buffer, size_to_read, size_read, &eos, error)) in ReadBlocking() 209 if (!ReadNonBlocking(buffer, size_to_read, &read, &eos, error)) in ReadAsyncImpl()
|
D | file_stream.h | 115 bool ReadNonBlocking(void* buffer,
|
D | fake_stream.h | 97 bool ReadNonBlocking(void* buffer,
|
D | memory_stream.h | 163 bool ReadNonBlocking(void* buffer,
|
D | stream.h | 235 virtual bool ReadNonBlocking(void* buffer,
|
D | memory_stream.cc | 140 bool MemoryStream::ReadNonBlocking(void* buffer, in ReadNonBlocking() function in brillo::MemoryStream
|
D | fake_stream.cc | 197 bool FakeStream::ReadNonBlocking(void* buffer, in ReadNonBlocking() function in brillo::FakeStream
|
D | file_stream.cc | 442 bool FileStream::ReadNonBlocking(void* buffer, in ReadNonBlocking() function in brillo::FileStream
|
D | fake_stream_unittest.cc | 42 bool ok = stream_->ReadNonBlocking(data.data(), data.size(), &size_read, in ReadString()
|