Home
last modified time | relevance | path

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

/external/libchrome/mojo/core/
Dmessage_pipe_unittest.cc36 CHECK_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(nullptr, &pipe0_, &pipe1_)); in MessagePipeTest()
40 if (pipe0_ != MOJO_HANDLE_INVALID) in ~MessagePipeTest()
41 CHECK_EQ(MOJO_RESULT_OK, MojoClose(pipe0_)); in ~MessagePipeTest()
81 MojoHandle pipe0_, pipe1_; member in mojo::core::__anone631497f0111::MessagePipeTest
91 WriteMessage(pipe0_, kHelloWorld, sizeof(kHelloWorld))); in TEST_F()
115 ASSERT_EQ(MOJO_RESULT_SHOULD_WAIT, ReadMessage(pipe0_, buffer, &buffer_size)); in TEST_F()
133 WaitForSignals(pipe0_, MOJO_HANDLE_SIGNAL_READABLE, &state)); in TEST_F()
139 ASSERT_EQ(MOJO_RESULT_OK, ReadMessage(pipe0_, buffer, &buffer_size)); in TEST_F()
146 ASSERT_EQ(MOJO_RESULT_SHOULD_WAIT, ReadMessage(pipe0_, buffer, &buffer_size)); in TEST_F()
151 ASSERT_EQ(MOJO_RESULT_OK, WriteMessage(pipe0_, buffer, sizeof(buffer[0]))); in TEST_F()
[all …]