• Home
  • Raw
  • Download

Lines Matching refs:AccessMode

146               (Stream::AccessMode, const DataCallback&, ErrorPtr*),
150 (Stream::AccessMode, base::TimeDelta, Stream::AccessMode*),
158 CreateStream(S_IFREG, Stream::AccessMode::READ_WRITE); in SetUp()
165 void CreateStream(mode_t file_mode, Stream::AccessMode access_mode) { in CreateStream()
192 bool CallWaitForData(Stream::AccessMode mode, ErrorPtr* error) { in CallWaitForData()
214 CreateStream(S_IFREG, Stream::AccessMode::READ_WRITE); in TEST_F()
218 CreateStream(S_IFREG, Stream::AccessMode::READ); in TEST_F()
220 CreateStream(S_IFREG, Stream::AccessMode::WRITE); in TEST_F()
225 CreateStream(S_IFREG, Stream::AccessMode::READ_WRITE); in TEST_F()
229 CreateStream(S_IFREG, Stream::AccessMode::READ); in TEST_F()
231 CreateStream(S_IFREG, Stream::AccessMode::WRITE); in TEST_F()
236 CreateStream(S_IFBLK, Stream::AccessMode::READ_WRITE); in TEST_F()
238 CreateStream(S_IFDIR, Stream::AccessMode::READ_WRITE); in TEST_F()
240 CreateStream(S_IFREG, Stream::AccessMode::READ_WRITE); in TEST_F()
242 CreateStream(S_IFLNK, Stream::AccessMode::READ_WRITE); in TEST_F()
244 CreateStream(S_IFCHR, Stream::AccessMode::READ_WRITE); in TEST_F()
246 CreateStream(S_IFSOCK, Stream::AccessMode::READ_WRITE); in TEST_F()
248 CreateStream(S_IFIFO, Stream::AccessMode::READ_WRITE); in TEST_F()
251 CreateStream(S_IFREG, Stream::AccessMode::READ); in TEST_F()
253 CreateStream(S_IFREG, Stream::AccessMode::WRITE); in TEST_F()
258 CreateStream(S_IFBLK, Stream::AccessMode::READ_WRITE); in TEST_F()
260 CreateStream(S_IFDIR, Stream::AccessMode::READ_WRITE); in TEST_F()
262 CreateStream(S_IFREG, Stream::AccessMode::READ_WRITE); in TEST_F()
264 CreateStream(S_IFLNK, Stream::AccessMode::READ_WRITE); in TEST_F()
266 CreateStream(S_IFCHR, Stream::AccessMode::READ_WRITE); in TEST_F()
268 CreateStream(S_IFSOCK, Stream::AccessMode::READ_WRITE); in TEST_F()
270 CreateStream(S_IFIFO, Stream::AccessMode::READ_WRITE); in TEST_F()
273 CreateStream(S_IFREG, Stream::AccessMode::READ); in TEST_F()
275 CreateStream(S_IFREG, Stream::AccessMode::WRITE); in TEST_F()
393 EXPECT_CALL(fd_mock(), WaitForData(Stream::AccessMode::READ, _, _)) in TEST_F()
403 data_callback.Run(Stream::AccessMode::READ); in TEST_F()
458 EXPECT_CALL(fd_mock(), WaitForDataBlocking(Stream::AccessMode::READ, _, _)) in TEST_F()
475 EXPECT_CALL(fd_mock(), WaitForDataBlocking(Stream::AccessMode::READ, _, _)) in TEST_F()
491 EXPECT_CALL(fd_mock(), WaitForDataBlocking(Stream::AccessMode::READ, _, _)) in TEST_F()
497 EXPECT_CALL(fd_mock(), WaitForDataBlocking(Stream::AccessMode::READ, _, _)) in TEST_F()
501 EXPECT_CALL(fd_mock(), WaitForDataBlocking(Stream::AccessMode::READ, _, _)) in TEST_F()
530 EXPECT_CALL(fd_mock(), WaitForData(Stream::AccessMode::WRITE, _, _)) in TEST_F()
540 data_callback.Run(Stream::AccessMode::WRITE); in TEST_F()
589 EXPECT_CALL(fd_mock(), WaitForDataBlocking(Stream::AccessMode::WRITE, _, _)) in TEST_F()
599 EXPECT_CALL(fd_mock(), WaitForDataBlocking(Stream::AccessMode::WRITE, _, _)) in TEST_F()
612 EXPECT_CALL(fd_mock(), WaitForDataBlocking(Stream::AccessMode::WRITE, _, _)) in TEST_F()
628 EXPECT_CALL(fd_mock(), WaitForDataBlocking(Stream::AccessMode::WRITE, _, _)) in TEST_F()
634 EXPECT_CALL(fd_mock(), WaitForDataBlocking(Stream::AccessMode::WRITE, _, _)) in TEST_F()
638 EXPECT_CALL(fd_mock(), WaitForDataBlocking(Stream::AccessMode::WRITE, _, _)) in TEST_F()
651 EXPECT_CALL(fd_mock(), WaitForDataBlocking(Stream::AccessMode::WRITE, _, _)) in TEST_F()
661 EXPECT_CALL(fd_mock(), WaitForDataBlocking(Stream::AccessMode::WRITE, _, _)) in TEST_F()
664 EXPECT_FALSE(stream_->WaitForDataBlocking(Stream::AccessMode::WRITE, {}, in TEST_F()
691 EXPECT_CALL(fd_mock(), WaitForData(Stream::AccessMode::READ, _, _)) in TEST_F()
693 EXPECT_TRUE(CallWaitForData(Stream::AccessMode::READ, nullptr)); in TEST_F()
695 EXPECT_CALL(fd_mock(), WaitForData(Stream::AccessMode::WRITE, _, _)) in TEST_F()
697 EXPECT_TRUE(CallWaitForData(Stream::AccessMode::WRITE, nullptr)); in TEST_F()
699 EXPECT_CALL(fd_mock(), WaitForData(Stream::AccessMode::READ_WRITE, _, _)) in TEST_F()
701 EXPECT_TRUE(CallWaitForData(Stream::AccessMode::READ_WRITE, nullptr)); in TEST_F()
703 EXPECT_CALL(fd_mock(), WaitForData(Stream::AccessMode::READ_WRITE, _, _)) in TEST_F()
705 EXPECT_FALSE(CallWaitForData(Stream::AccessMode::READ_WRITE, nullptr)); in TEST_F()
724 Stream::AccessMode::READ, in TEST_F()
750 Stream::AccessMode::WRITE, in TEST_F()
780 Stream::AccessMode::READ_WRITE, in TEST_F()
800 Stream::AccessMode::READ_WRITE, in TEST_F()
814 Stream::AccessMode::READ_WRITE, in TEST_F()
836 Stream::AccessMode::READ_WRITE, in TEST_F()
855 Stream::AccessMode::READ_WRITE, in TEST_F()
878 Stream::AccessMode::READ_WRITE, in TEST_F()
894 Stream::AccessMode::READ_WRITE, in TEST_F()
912 Stream::AccessMode::READ_WRITE, in TEST_F()