Searched refs:pipe1_ (Results 1 - 2 of 2) sorted by relevance
/external/libmojo/mojo/edk/system/ |
H A D | message_pipe_unittest.cc | 26 CHECK_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(nullptr, &pipe0_, &pipe1_)); 32 if (pipe1_ != MOJO_HANDLE_INVALID) 33 CHECK_EQ(MOJO_RESULT_OK, MojoClose(pipe1_)); 52 MojoHandle pipe0_, pipe1_; member in class:mojo::edk::__anon10862::MessagePipeTest 95 ASSERT_EQ(MOJO_RESULT_SHOULD_WAIT, ReadMessage(pipe1_, buffer, &buffer_size)); 100 ASSERT_EQ(MOJO_RESULT_OK, WriteMessage(pipe1_, buffer, sizeof(buffer[0]))); 127 ASSERT_EQ(MOJO_RESULT_OK, MojoWait(pipe1_, MOJO_HANDLE_SIGNAL_READABLE, 134 ReadMessage(pipe1_, nullptr, &buffer_size)); 143 ReadMessage(pipe1_, buffer, &buffer_size)); 152 ASSERT_EQ(MOJO_RESULT_OK, ReadMessage(pipe1_, buffe [all...] |
/external/libmojo/mojo/public/cpp/bindings/tests/ |
H A D | handle_passing_unittest.cc | 94 CreateMessagePipe(nullptr, &pipe0, &pipe1_); 95 EXPECT_TRUE(WriteTextMessage(pipe1_.get(), text2)); 150 ScopedMessagePipeHandle pipe1_; member in class:mojo::test::__anon10910::SampleFactoryImpl
|
Completed in 1540 milliseconds