/external/libmojo/mojo/edk/system/ |
D | data_pipe_unittest.cc | 160 MojoWait(consumer_, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 246 MojoWait(consumer_, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 335 MojoWait(producer_, MOJO_HANDLE_SIGNAL_READABLE, 0, &hss)); in TEST_F() 343 MojoWait(producer_, MOJO_HANDLE_SIGNAL_WRITABLE, 0, &hss)); in TEST_F() 353 MojoWait(consumer_, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 412 MojoWait(producer_, MOJO_HANDLE_SIGNAL_PEER_CLOSED, in TEST_F() 416 MojoWait(producer_, MOJO_HANDLE_SIGNAL_WRITABLE, 0, &hss)); in TEST_F() 437 MojoWait(producer_, MOJO_HANDLE_SIGNAL_PEER_CLOSED, in TEST_F() 459 MojoWait(consumer_, MOJO_HANDLE_SIGNAL_PEER_CLOSED, in TEST_F() 478 MojoWait(consumer_, MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F() [all …]
|
D | message_pipe_unittest.cc | 103 ASSERT_EQ(MOJO_RESULT_OK, MojoWait(pipe0_, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 127 ASSERT_EQ(MOJO_RESULT_OK, MojoWait(pipe1_, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 157 ASSERT_EQ(MOJO_RESULT_OK, MojoWait(pipe1_, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 182 ASSERT_EQ(MOJO_RESULT_OK, MojoWait(pipe1_, MOJO_HANDLE_SIGNAL_PEER_CLOSED, in TEST_F() 218 ASSERT_EQ(MOJO_RESULT_OK, MojoWait(pipe0_, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 244 ASSERT_EQ(MOJO_RESULT_OK, MojoWait(pipe0_, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 264 ASSERT_EQ(MOJO_RESULT_OK, MojoWait(pipe0_, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 286 ASSERT_EQ(MOJO_RESULT_OK, MojoWait(pipe0_, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 305 ASSERT_EQ(MOJO_RESULT_OK, MojoWait(pipe0_, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 328 ASSERT_EQ(MOJO_RESULT_OK, MojoWait(pipe0_, MOJO_HANDLE_SIGNAL_WRITABLE, 0, in TEST_F() [all …]
|
D | multiprocess_message_pipe_unittest.cc | 82 MojoWait(h, MOJO_HANDLE_SIGNAL_READABLE, in DEFINE_TEST_CLIENT_WITH_PIPE() 129 MojoWait(h, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 169 MojoWait(h, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 198 MojoWait(h, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 209 CHECK_EQ(MojoWait(h, MOJO_HANDLE_SIGNAL_READABLE, in DEFINE_TEST_CLIENT_WITH_PIPE() 255 CHECK_EQ(MojoWait(h, MOJO_HANDLE_SIGNAL_READABLE, in DEFINE_TEST_CLIENT_WITH_PIPE() 312 MojoWait(h, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 349 MojoWait(h, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 359 CHECK_EQ(MojoWait(h, MOJO_HANDLE_SIGNAL_READABLE, in DEFINE_TEST_CLIENT_WITH_PIPE() 444 MojoWait(h, MOJO_HANDLE_SIGNAL_READABLE, in TEST_P() [all …]
|
D | message_pipe_perftest.cc | 50 CHECK_EQ(MojoWait(mp, MOJO_HANDLE_SIGNAL_READABLE, MOJO_DEADLINE_INDEFINITE, in WriteWaitThenRead() 102 MojoWait(mp, MOJO_HANDLE_SIGNAL_READABLE, in RunPingPongClient()
|
/external/libmojo/mojo/public/c/system/tests/ |
D | core_unittest.cc | 45 MojoWait(MOJO_HANDLE_INVALID, ~MOJO_HANDLE_SIGNAL_NONE, 1000000, in TEST() 104 MojoWait(h0, MOJO_HANDLE_SIGNAL_READABLE, 0, &state)); in TEST() 110 MojoWait(h0, MOJO_HANDLE_SIGNAL_WRITABLE, 0, &state)); in TEST() 116 MojoWait(h0, MOJO_HANDLE_SIGNAL_WRITABLE, 0, nullptr)); in TEST() 151 MojoWait(h0, MOJO_HANDLE_SIGNAL_READABLE, 10, &state)); in TEST() 160 MojoWait(h1, MOJO_HANDLE_SIGNAL_PEER_CLOSED, in TEST() 166 MojoWait(h1, MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST() 192 MojoWait(hc, MOJO_HANDLE_SIGNAL_READABLE, 0, &state)); in TEST() 200 MojoWait(hp, MOJO_HANDLE_SIGNAL_WRITABLE, 0, &state)); in TEST() 257 MojoWait(hc, MOJO_HANDLE_SIGNAL_PEER_CLOSED, in TEST() [all …]
|
D | core_unittest_pure_c.c | 57 MojoWait(handle0, ~MOJO_HANDLE_SIGNAL_NONE, in MinimalCTest() 82 EXPECT_EQ(MOJO_RESULT_OK, MojoWait(handle1, MOJO_HANDLE_SIGNAL_READABLE, in MinimalCTest()
|
D | core_perftest.cc | 88 result = MojoWait(handle_, MOJO_HANDLE_SIGNAL_READABLE, in Run()
|
/external/libmojo/mojo/edk/test/ |
D | mojo_test_base.cc | 126 CHECK_EQ(MojoWait(mp, MOJO_HANDLE_SIGNAL_READABLE, MOJO_DEADLINE_INDEFINITE, in ReadMessageWithHandles() 150 CHECK_EQ(MojoWait(mp, MOJO_HANDLE_SIGNAL_READABLE, MOJO_DEADLINE_INDEFINITE, in ReadMessageWithOptionalHandle() 187 CHECK_EQ(MojoWait(mp, MOJO_HANDLE_SIGNAL_READABLE, MOJO_DEADLINE_INDEFINITE, in ReadMessage() 284 CHECK_EQ(MojoWait(producer, MOJO_HANDLE_SIGNAL_WRITABLE, in WriteData() 296 CHECK_EQ(MojoWait(consumer, MOJO_HANDLE_SIGNAL_READABLE, in ReadData()
|
/external/libmojo/mojo/message_pump/ |
D | message_pump_mojo_unittest.cc | 101 MojoWait(handles.handle0.get().value(), MOJO_HANDLE_SIGNAL_READABLE, in TEST() 126 MojoWait(handles.handle0.get().value(), MOJO_HANDLE_SIGNAL_READABLE, in TEST() 139 MojoWait(handles.handle0.get().value(), MOJO_HANDLE_SIGNAL_READABLE, in TEST()
|
/external/libmojo/mojo/edk/embedder/ |
D | embedder_unittest.cc | 85 ASSERT_EQ(MOJO_RESULT_OK, MojoWait(client_mp2, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 215 EXPECT_EQ(MOJO_RESULT_OK, MojoWait(parent_mp.get().value(), in TEST_F() 231 EXPECT_EQ(MOJO_RESULT_OK, MojoWait(parent_mp.get().value(), in TEST_F() 289 MojoWait(mp2, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 333 MojoWait(mp1, MOJO_HANDLE_SIGNAL_READABLE, in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
|
/external/libmojo/mojo/public/c/system/ |
D | functions.h | 89 MojoWait(MojoHandle handle,
|
D | thunks.cc | 25 MojoResult MojoWait(MojoHandle handle, in MojoWait() function
|
/external/libmojo/mojo/public/cpp/system/ |
D | handle.h | 191 return MojoWait(handle.value(), signals, deadline, signals_state); in Wait()
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
D | handle_passing_unittest.cc | 116 MojoWait(pipe.get().value(), MOJO_HANDLE_SIGNAL_READABLE, in DoStuff2()
|
/external/libmojo/mojo/android/system/ |
D | core_impl.cc | 180 return MojoWait(mojo_handle, signals, deadline, signals_state); in Wait()
|