Home
last modified time | relevance | path

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

/external/libmojo/mojo/public/c/system/tests/
Dcore_unittest.cc41 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 …]
Dcore_unittest_pure_c.c53 handle0 = MOJO_HANDLE_INVALID; in MinimalCTest()
60 handle1 = MOJO_HANDLE_INVALID; in MinimalCTest()
/external/libmojo/mojo/edk/embedder/
Dembedder_unittest.cc132 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/
Dcore_unittest.cc50 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 …]
Dhandle_table.cc20 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()
Dcore.cc243 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 …]
Dmultiprocess_message_pipe_unittest.cc945 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 …]
Dmessage_pipe_unittest.cc30 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()
Ddata_pipe_unittest.cc50 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/
Dmojo_test_base.cc108 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/
Dhandle_unittest.cc41 TestHandleWrapper wrapper(MOJO_HANDLE_INVALID); in TEST_F()
54 TestHandleWrapper wrapper(MOJO_HANDLE_INVALID); in TEST_F()
Dcore.cc101 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()
Dhandle.h90 *out = mojo::edk::js::HandleWrapper::Create(isolate, MOJO_HANDLE_INVALID);
/external/libmojo/mojo/public/c/system/
Dtypes.h31 const MojoHandle MOJO_HANDLE_INVALID = 0; variable
33 #define MOJO_HANDLE_INVALID ((MojoHandle)0) macro
/external/libmojo/mojo/public/cpp/system/
Dhandle.h145 const MojoHandle kInvalidHandleValue = MOJO_HANDLE_INVALID;
/external/libmojo/mojo/public/cpp/system/tests/
Dcore_unittest.cc37 EXPECT_EQ(MOJO_HANDLE_INVALID, kInvalidHandleValue); in TEST()