Home
last modified time | relevance | path

Searched refs:pipe1_ (Results 1 – 2 of 2) sorted by relevance

/external/libmojo/mojo/edk/system/
Dmessage_pipe_unittest.cc26 CHECK_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(nullptr, &pipe0_, &pipe1_)); in MessagePipeTest()
32 if (pipe1_ != MOJO_HANDLE_INVALID) in ~MessagePipeTest()
33 CHECK_EQ(MOJO_RESULT_OK, MojoClose(pipe1_)); in ~MessagePipeTest()
52 MojoHandle pipe0_, pipe1_; member in mojo::edk::__anon1885e6690111::MessagePipeTest
95 ASSERT_EQ(MOJO_RESULT_SHOULD_WAIT, ReadMessage(pipe1_, buffer, &buffer_size)); in TEST_F()
100 ASSERT_EQ(MOJO_RESULT_OK, WriteMessage(pipe1_, buffer, sizeof(buffer[0]))); in TEST_F()
127 ASSERT_EQ(MOJO_RESULT_OK, MojoWait(pipe1_, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F()
134 ReadMessage(pipe1_, nullptr, &buffer_size)); in TEST_F()
143 ReadMessage(pipe1_, buffer, &buffer_size)); in TEST_F()
152 ASSERT_EQ(MOJO_RESULT_OK, ReadMessage(pipe1_, buffer, &buffer_size)); in TEST_F()
[all …]
/external/libmojo/mojo/public/cpp/bindings/tests/
Dhandle_passing_unittest.cc94 CreateMessagePipe(nullptr, &pipe0, &pipe1_); in DoStuff()
95 EXPECT_TRUE(WriteTextMessage(pipe1_.get(), text2)); in DoStuff()
150 ScopedMessagePipeHandle pipe1_; member in mojo::test::__anon3c20963f0111::SampleFactoryImpl