Home | History | Annotate | Download | only in streams

Lines Matching refs:AccessMode

30   void CreateStream(Stream::AccessMode mode) {
69 CreateStream(Stream::AccessMode::READ);
81 CreateStream(Stream::AccessMode::WRITE);
93 CreateStream(Stream::AccessMode::READ_WRITE);
105 CreateStream(Stream::AccessMode::READ);
114 CreateStream(Stream::AccessMode::READ);
128 CreateStream(Stream::AccessMode::READ);
146 CreateStream(Stream::AccessMode::READ);
179 CreateStream(Stream::AccessMode::READ);
204 CreateStream(Stream::AccessMode::READ);
234 CreateStream(Stream::AccessMode::READ);
239 auto callback = [](int* call_count, Stream::AccessMode mode) {
241 EXPECT_EQ(Stream::AccessMode::READ, mode);
245 stream_->WaitForData(Stream::AccessMode::READ,
253 stream_->WaitForData(Stream::AccessMode::READ,
265 stream_->WaitForData(Stream::AccessMode::READ,
273 CreateStream(Stream::AccessMode::READ);
310 CreateStream(Stream::AccessMode::WRITE);
315 CreateStream(Stream::AccessMode::WRITE);
325 CreateStream(Stream::AccessMode::WRITE);
341 CreateStream(Stream::AccessMode::WRITE);
360 CreateStream(Stream::AccessMode::WRITE);
377 CreateStream(Stream::AccessMode::WRITE);
399 CreateStream(Stream::AccessMode::WRITE);
404 auto callback = [](int* call_count, Stream::AccessMode mode) {
406 EXPECT_EQ(Stream::AccessMode::WRITE, mode);
410 stream_->WaitForData(Stream::AccessMode::WRITE,
418 stream_->WaitForData(Stream::AccessMode::WRITE,
430 stream_->WaitForData(Stream::AccessMode::WRITE,
438 CreateStream(Stream::AccessMode::WRITE);
473 CreateStream(Stream::AccessMode::READ_WRITE);
479 Stream::AccessMode mode,
480 Stream::AccessMode expected_mode) {
489 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ_WRITE,
492 Stream::AccessMode::READ),
501 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ_WRITE,
504 Stream::AccessMode::WRITE),
512 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ_WRITE,
515 Stream::AccessMode::READ_WRITE),
526 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ_WRITE,
529 Stream::AccessMode::READ_WRITE),