Home
last modified time | relevance | path

Searched refs:ReadAsync (Results 1 – 12 of 12) sorted by relevance

/external/libbrillo/brillo/streams/
Dstream_utils_test.cc200 EXPECT_CALL(*in_stream_, ReadAsync(_, 100, _, _, _)) in TEST_F()
216 EXPECT_CALL(*in_stream_, ReadAsync(_, 100, _, _, _)) in TEST_F()
220 EXPECT_CALL(*in_stream_, ReadAsync(_, 40, _, _, _)) in TEST_F()
236 EXPECT_CALL(*in_stream_, ReadAsync(_, 100, _, _, _)) in TEST_F()
240 EXPECT_CALL(*in_stream_, ReadAsync(_, 40, _, _, _)) in TEST_F()
254 EXPECT_CALL(*in_stream_, ReadAsync(_, 60, _, _, _)) in TEST_F()
258 EXPECT_CALL(*in_stream_, ReadAsync(_, 40, _, _, _)) in TEST_F()
274 EXPECT_CALL(*in_stream_, ReadAsync(_, 60, _, _, _)) in TEST_F()
288 EXPECT_CALL(*in_stream_, ReadAsync(_, 60, _, _, _)) in TEST_F()
Dstream_test.cc117 TEST(Stream, ReadAsync) { in TEST() argument
139 EXPECT_TRUE(stream_mock.ReadAsync(buf, sizeof(buf), success_callback, in TEST()
148 EXPECT_FALSE(stream_mock.ReadAsync(buf, sizeof(buf), success_callback, in TEST()
183 EXPECT_TRUE(stream_mock.ReadAsync(buf, sizeof(buf), success_callback, in TEST()
194 EXPECT_FALSE(stream_mock.ReadAsync(buf, sizeof(buf), success_callback, in TEST()
Dmock_stream.h33 ReadAsync,
Dstream.h204 virtual bool ReadAsync(void* buffer,
Dstream_utils.cc77 bool success = state->in_stream->ReadAsync( in PerformRead()
Dstream.cc27 bool Stream::ReadAsync(void* buffer, in ReadAsync() function in brillo::Stream
Dfile_stream_test.cc386 TEST_F(FileStreamTest, ReadAsync) { in TEST_F() argument
395 EXPECT_TRUE(stream_->ReadAsync(test_read_buffer_, 100, in TEST_F()
1068 EXPECT_TRUE(stream->ReadAsync( in TEST_F()
Dfake_stream_test.cc267 TEST_F(FakeStreamTest, ReadAsync) { in TEST_F() argument
/external/crosvm/cros_async/src/
Dpoll_source.rs18 use crate::{IoSourceExt, ReadAsync, WriteAsync};
80 impl<F: AsRawFd> ReadAsync for PollSource<F> {
Dio_ext.rs53 pub trait ReadAsync { interface
99 pub trait IoSourceExt<F>: ReadAsync + WriteAsync {
Dlib.rs80 Error as AsyncError, IntoAsync, IoSourceExt, ReadAsync, Result as AsyncResult, WriteAsync,
During_source.rs63 impl<F: AsRawFd> crate::ReadAsync for UringSource<F> {
238 use crate::io_ext::{ReadAsync, WriteAsync};