/external/libmojo/mojo/public/c/system/tests/ |
D | core_unittest.cc | 41 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(MOJO_HANDLE_INVALID)); in TEST() 45 MojoWait(MOJO_HANDLE_INVALID, ~MOJO_HANDLE_SIGNAL_NONE, 1000000, in TEST() 48 h0 = MOJO_HANDLE_INVALID; in TEST() 82 h1 = MOJO_HANDLE_INVALID; in TEST() 95 h0 = MOJO_HANDLE_INVALID; in TEST() 96 h1 = MOJO_HANDLE_INVALID; in TEST() 98 EXPECT_NE(h0, MOJO_HANDLE_INVALID); in TEST() 99 EXPECT_NE(h1, MOJO_HANDLE_INVALID); in TEST() 183 hp = MOJO_HANDLE_INVALID; in TEST() 184 hc = MOJO_HANDLE_INVALID; in TEST() [all …]
|
D | core_unittest_pure_c.c | 53 handle0 = MOJO_HANDLE_INVALID; in MinimalCTest() 60 handle1 = MOJO_HANDLE_INVALID; in MinimalCTest()
|
/external/libmojo/mojo/edk/embedder/ |
D | embedder_unittest.cc | 132 client_mp2 = MOJO_HANDLE_INVALID; in TEST_F() 136 EXPECT_NE(MOJO_HANDLE_INVALID, client_mp2); in TEST_F() 151 EXPECT_NE(server_mp, MOJO_HANDLE_INVALID); in TEST_F() 152 EXPECT_NE(client_mp, MOJO_HANDLE_INVALID); in TEST_F() 164 h1 = MOJO_HANDLE_INVALID; in TEST_F() 172 EXPECT_NE(h1, MOJO_HANDLE_INVALID); in TEST_F() 277 mp1 = MOJO_HANDLE_INVALID; in TEST_F() 280 MojoHandle mp2 = MOJO_HANDLE_INVALID; in TEST_F() 329 mp2 = MOJO_HANDLE_INVALID; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 368 MojoHandle sb2 = MOJO_HANDLE_INVALID; in TEST_F() [all …]
|
/external/libmojo/mojo/edk/system/ |
D | core_unittest.cc | 50 ASSERT_NE(h, MOJO_HANDLE_INVALID); in TEST_F() 171 ASSERT_EQ(MOJO_RESULT_INVALID_ARGUMENT, core()->Close(MOJO_HANDLE_INVALID)); in TEST_F() 187 core()->Wait(MOJO_HANDLE_INVALID, ~MOJO_HANDLE_SIGNAL_NONE, in TEST_F() 195 core()->Wait(MOJO_HANDLE_INVALID, ~MOJO_HANDLE_SIGNAL_NONE, in TEST_F() 215 MojoHandle handles[2] = {MOJO_HANDLE_INVALID, MOJO_HANDLE_INVALID}; in TEST_F() 311 core()->WriteMessage(MOJO_HANDLE_INVALID, nullptr, 0, in TEST_F() 316 MojoHandle handles[2] = {MOJO_HANDLE_INVALID, MOJO_HANDLE_INVALID}; in TEST_F() 422 core()->ReadMessage(MOJO_HANDLE_INVALID, nullptr, nullptr, nullptr, in TEST_F() 456 MojoHandle handle = MOJO_HANDLE_INVALID; in TEST_F() 512 ASSERT_NE(h[0], MOJO_HANDLE_INVALID); in TEST_F() [all …]
|
D | handle_table.cc | 20 if (next_available_handle_ == MOJO_HANDLE_INVALID) in AddDispatcher() 21 return MOJO_HANDLE_INVALID; in AddDispatcher() 35 if (next_available_handle_ == MOJO_HANDLE_INVALID) in AddDispatchersFromTransit()
|
D | core.cc | 243 if (h == MOJO_HANDLE_INVALID) in CreatePlatformHandleWrapper() 286 if (h == MOJO_HANDLE_INVALID) in CreateSharedBufferWrapper() 539 if (h == MOJO_HANDLE_INVALID) { in CreateWaitSet() 593 contexts->assign(*count, MOJO_HANDLE_INVALID); in GetReadyHandles() 624 if (*message_pipe_handle0 == MOJO_HANDLE_INVALID) in CreateMessagePipe() 629 if (*message_pipe_handle1 == MOJO_HANDLE_INVALID) { in CreateMessagePipe() 822 if (*data_pipe_producer_handle == MOJO_HANDLE_INVALID || in CreateDataPipe() 823 *data_pipe_consumer_handle == MOJO_HANDLE_INVALID) { in CreateDataPipe() 824 if (*data_pipe_producer_handle != MOJO_HANDLE_INVALID) { in CreateDataPipe() 931 if (*shared_buffer_handle == MOJO_HANDLE_INVALID) { in CreateSharedBuffer() [all …]
|
D | multiprocess_message_pipe_unittest.cc | 945 CHECK_NE(p, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() 951 CHECK_EQ(p, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() 953 CHECK_NE(p, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() 959 CHECK_EQ(p, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() 961 CHECK_NE(p, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() 968 CHECK_EQ(p, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() 970 CHECK_NE(p, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() 977 CHECK_EQ(p, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() 980 CHECK_NE(p, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() 981 CHECK_NE(carrier, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() [all …]
|
D | message_pipe_unittest.cc | 30 if (pipe0_ != MOJO_HANDLE_INVALID) in ~MessagePipeTest() 32 if (pipe1_ != MOJO_HANDLE_INVALID) in ~MessagePipeTest() 180 pipe0_ = MOJO_HANDLE_INVALID; in TEST_F() 230 pipe0_ = pipe1_ = MOJO_HANDLE_INVALID; in TEST_F() 367 pipe0_ = MOJO_HANDLE_INVALID; in TEST_F()
|
D | data_pipe_unittest.cc | 50 DataPipeTest() : producer_(MOJO_HANDLE_INVALID), in DataPipeTest() 51 consumer_(MOJO_HANDLE_INVALID) {} in DataPipeTest() 54 if (producer_ != MOJO_HANDLE_INVALID) in ~DataPipeTest() 56 if (consumer_ != MOJO_HANDLE_INVALID) in ~DataPipeTest() 124 producer_ = MOJO_HANDLE_INVALID; in CloseProducer() 130 consumer_ = MOJO_HANDLE_INVALID; in CloseConsumer() 1596 producer_ = MOJO_HANDLE_INVALID; in TEST_F() 1673 consumer_ = MOJO_HANDLE_INVALID; in TEST_F() 1815 producer_ = MOJO_HANDLE_INVALID; in TEST_F() 1845 MojoHandle consumer = MOJO_HANDLE_INVALID; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() [all …]
|
/external/libmojo/mojo/edk/test/ |
D | mojo_test_base.cc | 108 CHECK_NE(*p0, MOJO_HANDLE_INVALID); in CreateMessagePipe() 109 CHECK_NE(*p1, MOJO_HANDLE_INVALID); in CreateMessagePipe() 178 CHECK_NE(*handle, MOJO_HANDLE_INVALID); in ReadMessageWithOptionalHandle() 180 *handle = MOJO_HANDLE_INVALID; in ReadMessageWithOptionalHandle() 285 CHECK_NE(*p0, MOJO_HANDLE_INVALID); in CreateDataPipe() 286 CHECK_NE(*p1, MOJO_HANDLE_INVALID); in CreateDataPipe()
|
/external/libmojo/mojo/edk/js/ |
D | handle_unittest.cc | 41 TestHandleWrapper wrapper(MOJO_HANDLE_INVALID); in TEST_F() 54 TestHandleWrapper wrapper(MOJO_HANDLE_INVALID); in TEST_F()
|
D | core.cc | 101 MojoHandle handle0 = MOJO_HANDLE_INVALID; in CreateMessagePipe() 102 MojoHandle handle1 = MOJO_HANDLE_INVALID; in CreateMessagePipe() 198 MojoHandle producer_handle = MOJO_HANDLE_INVALID; in CreateDataPipe() 199 MojoHandle consumer_handle = MOJO_HANDLE_INVALID; in CreateDataPipe()
|
D | handle.h | 90 *out = mojo::edk::js::HandleWrapper::Create(isolate, MOJO_HANDLE_INVALID);
|
/external/libmojo/mojo/public/c/system/ |
D | types.h | 31 const MojoHandle MOJO_HANDLE_INVALID = 0; variable 33 #define MOJO_HANDLE_INVALID ((MojoHandle)0) macro
|
/external/libmojo/mojo/public/cpp/system/ |
D | handle.h | 145 const MojoHandle kInvalidHandleValue = MOJO_HANDLE_INVALID;
|
/external/libmojo/mojo/public/cpp/system/tests/ |
D | core_unittest.cc | 37 EXPECT_EQ(MOJO_HANDLE_INVALID, kInvalidHandleValue); in TEST()
|