Searched refs:pipe1_ (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/mojo/core/ |
D | message_pipe_unittest.cc | 36 CHECK_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(nullptr, &pipe0_, &pipe1_)); in MessagePipeTest() 42 if (pipe1_ != MOJO_HANDLE_INVALID) in ~MessagePipeTest() 43 CHECK_EQ(MOJO_RESULT_OK, MojoClose(pipe1_)); in ~MessagePipeTest() 81 MojoHandle pipe0_, pipe1_; member in mojo::core::__anone631497f0111::MessagePipeTest 124 ASSERT_EQ(MOJO_RESULT_SHOULD_WAIT, ReadMessage(pipe1_, buffer, &buffer_size)); in TEST_F() 129 ASSERT_EQ(MOJO_RESULT_OK, WriteMessage(pipe1_, buffer, sizeof(buffer[0]))); in TEST_F() 157 WaitForSignals(pipe1_, MOJO_HANDLE_SIGNAL_READABLE, &state)); in TEST_F() 163 ASSERT_EQ(MOJO_RESULT_OK, ReadMessage(pipe1_, buffer, &buffer_size)); in TEST_F() 169 WaitForSignals(pipe1_, MOJO_HANDLE_SIGNAL_READABLE, &state)); in TEST_F() 175 ASSERT_EQ(MOJO_RESULT_OK, ReadMessage(pipe1_, buffer, &buffer_size)); in TEST_F() [all …]
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | handle_passing_unittest.cc | 95 CreateMessagePipe(nullptr, &pipe0, &pipe1_); in DoStuff() 96 EXPECT_TRUE(WriteTextMessage(pipe1_.get(), text2)); in DoStuff() 148 ScopedMessagePipeHandle pipe1_; member in mojo::test::__anon12f707340111::SampleFactoryImpl
|