/external/libchrome/mojo/public/c/system/tests/ |
D | core_api_unittest.cc | 43 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(MOJO_HANDLE_INVALID)); in TEST() 46 h0 = MOJO_HANDLE_INVALID; in TEST() 69 h1 = MOJO_HANDLE_INVALID; in TEST() 80 h0 = MOJO_HANDLE_INVALID; in TEST() 81 h1 = MOJO_HANDLE_INVALID; in TEST() 83 EXPECT_NE(h0, MOJO_HANDLE_INVALID); in TEST() 84 EXPECT_NE(h1, MOJO_HANDLE_INVALID); in TEST() 157 hp = MOJO_HANDLE_INVALID; in TEST() 158 hc = MOJO_HANDLE_INVALID; in TEST() 160 EXPECT_NE(hp, MOJO_HANDLE_INVALID); in TEST() [all …]
|
D | core_unittest_pure_c.c | 49 handle0 = MOJO_HANDLE_INVALID; in MinimalCTest() 55 handle1 = MOJO_HANDLE_INVALID; in MinimalCTest()
|
/external/libchrome/mojo/core/ |
D | embedder_unittest.cc | 109 client_mp2 = MOJO_HANDLE_INVALID; in TEST_F() 113 EXPECT_NE(MOJO_HANDLE_INVALID, client_mp2); in TEST_F() 128 EXPECT_NE(server_mp, MOJO_HANDLE_INVALID); in TEST_F() 129 EXPECT_NE(client_mp, MOJO_HANDLE_INVALID); in TEST_F() 141 h1 = MOJO_HANDLE_INVALID; in TEST_F() 149 EXPECT_NE(h1, MOJO_HANDLE_INVALID); in TEST_F() 204 mp1 = MOJO_HANDLE_INVALID; in TEST_F() 207 MojoHandle mp2 = MOJO_HANDLE_INVALID; in TEST_F() 256 mp2 = MOJO_HANDLE_INVALID; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 290 MojoHandle sb2 = MOJO_HANDLE_INVALID; in TEST_F() [all …]
|
D | handle_table.cc | 53 if (next_available_handle_ == MOJO_HANDLE_INVALID) in AddDispatcher() 54 return MOJO_HANDLE_INVALID; in AddDispatcher() 68 if (next_available_handle_ == MOJO_HANDLE_INVALID) in AddDispatchersFromTransit() 77 MojoHandle handle = MOJO_HANDLE_INVALID; in AddDispatchersFromTransit()
|
D | invitation_unittest.cc | 123 MojoAttachMessagePipeToInvitation(MOJO_HANDLE_INVALID, "x", 1, in TEST_F() 135 MojoExtractMessagePipeFromInvitation(MOJO_HANDLE_INVALID, "x", 1, in TEST_F() 160 MojoSendInvitation(MOJO_HANDLE_INVALID, nullptr, &valid_endpoint, in TEST_F() 218 MojoHandle pipe0 = MOJO_HANDLE_INVALID; in TEST_F() 221 EXPECT_NE(MOJO_HANDLE_INVALID, pipe0); in TEST_F() 223 MojoHandle pipe1 = MOJO_HANDLE_INVALID; in TEST_F() 226 EXPECT_NE(MOJO_HANDLE_INVALID, pipe1); in TEST_F() 243 MojoHandle pipe = MOJO_HANDLE_INVALID; in TEST_F() 246 EXPECT_NE(MOJO_HANDLE_INVALID, pipe); in TEST_F() 260 MojoHandle pipe0 = MOJO_HANDLE_INVALID; in TEST_F() [all …]
|
D | core_unittest.cc | 51 ASSERT_NE(h, MOJO_HANDLE_INVALID); in TEST_F() 103 ASSERT_EQ(MOJO_RESULT_INVALID_ARGUMENT, core()->Close(MOJO_HANDLE_INVALID)); in TEST_F() 123 core()->WriteMessage(MOJO_HANDLE_INVALID, 0, nullptr)); in TEST_F() 130 core()->ReadMessage(MOJO_HANDLE_INVALID, nullptr, nullptr)); in TEST_F() 148 ASSERT_NE(h[0], MOJO_HANDLE_INVALID); in TEST_F() 149 ASSERT_NE(h[1], MOJO_HANDLE_INVALID); in TEST_F() 284 ASSERT_NE(ph, MOJO_HANDLE_INVALID); in TEST_F() 285 ASSERT_NE(ch, MOJO_HANDLE_INVALID); in TEST_F()
|
D | core.cc | 325 if (*trap_handle == MOJO_HANDLE_INVALID) in CreateTrap() 540 if (*message_pipe_handle0 == MOJO_HANDLE_INVALID) in CreateMessagePipe() 545 if (*message_pipe_handle1 == MOJO_HANDLE_INVALID) { in CreateMessagePipe() 724 if (*data_pipe_producer_handle == MOJO_HANDLE_INVALID || in CreateDataPipe() 725 *data_pipe_consumer_handle == MOJO_HANDLE_INVALID) { in CreateDataPipe() 726 if (*data_pipe_producer_handle != MOJO_HANDLE_INVALID) { in CreateDataPipe() 884 if (*shared_buffer_handle == MOJO_HANDLE_INVALID) { in CreateSharedBuffer() 910 if (*new_buffer_handle == MOJO_HANDLE_INVALID) { in DuplicateBufferHandle() 1000 if (h == MOJO_HANDLE_INVALID) in WrapPlatformHandle() 1103 if (h == MOJO_HANDLE_INVALID) { in WrapPlatformSharedMemoryRegion() [all …]
|
D | multiprocess_message_pipe_unittest.cc | 942 CHECK_NE(p, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() 948 CHECK_EQ(p, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() 950 CHECK_NE(p, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() 956 CHECK_EQ(p, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() 958 CHECK_NE(p, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() 965 CHECK_EQ(p, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() 967 CHECK_NE(p, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() 974 CHECK_EQ(p, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() 977 CHECK_NE(p, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() 978 CHECK_NE(carrier, MOJO_HANDLE_INVALID); in DEFINE_TEST_CLIENT_WITH_PIPE() [all …]
|
D | message_pipe_unittest.cc | 40 if (pipe0_ != MOJO_HANDLE_INVALID) in ~MessagePipeTest() 42 if (pipe1_ != MOJO_HANDLE_INVALID) in ~MessagePipeTest() 191 pipe0_ = MOJO_HANDLE_INVALID; in TEST_F() 240 pipe0_ = pipe1_ = MOJO_HANDLE_INVALID; in TEST_F() 277 pipe0_ = MOJO_HANDLE_INVALID; in TEST_F()
|
D | data_pipe_unittest.cc | 51 : producer_(MOJO_HANDLE_INVALID), consumer_(MOJO_HANDLE_INVALID) {} in DataPipeTest() 54 if (producer_ != MOJO_HANDLE_INVALID) in ~DataPipeTest() 56 if (consumer_ != MOJO_HANDLE_INVALID) in ~DataPipeTest() 141 producer_ = MOJO_HANDLE_INVALID; in CloseProducer() 147 consumer_ = MOJO_HANDLE_INVALID; in CloseConsumer() 1568 producer_ = MOJO_HANDLE_INVALID; in TEST_F() 1638 consumer_ = MOJO_HANDLE_INVALID; in TEST_F() 1777 producer_ = MOJO_HANDLE_INVALID; in TEST_F() 1802 MojoHandle consumer = MOJO_HANDLE_INVALID; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 1834 MojoHandle producer = MOJO_HANDLE_INVALID; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
|
D | invitation_dispatcher.cc | 59 if (*message_pipe_handle == MOJO_HANDLE_INVALID) in ExtractMessagePipe()
|
D | signals_unittest.cc | 23 MojoQueryHandleSignalsState(MOJO_HANDLE_INVALID, &state)); in TEST_F()
|
D | quota_unittest.cc | 24 MojoSetQuota(MOJO_HANDLE_INVALID, in TEST_F()
|
D | user_message_impl.cc | 323 if (handle != MOJO_HANDLE_INVALID) in ~UserMessageImpl()
|
D | message_unittest.cc | 52 MojoMessageHandle handle = MOJO_HANDLE_INVALID; in UnwrapMessageHandle()
|
D | trap_unittest.cc | 141 MojoArmTrap(MOJO_HANDLE_INVALID, nullptr, nullptr, nullptr)); in TEST_F()
|
/external/libchrome/mojo/core/test/ |
D | mojo_test_base.cc | 103 CHECK_NE(*p0, MOJO_HANDLE_INVALID); in CreateMessagePipe() 104 CHECK_NE(*p1, MOJO_HANDLE_INVALID); in CreateMessagePipe() 158 *handle = MOJO_HANDLE_INVALID; in ReadMessageWithOptionalHandle() 250 CHECK_NE(*p0, MOJO_HANDLE_INVALID); in CreateDataPipe() 251 CHECK_NE(*p1, MOJO_HANDLE_INVALID); in CreateDataPipe()
|
/external/libchrome/mojo/public/c/system/ |
D | types.h | 28 const MojoHandle MOJO_HANDLE_INVALID = 0; variable 30 #define MOJO_HANDLE_INVALID ((MojoHandle)0) macro
|
/external/libchrome/mojo/public/cpp/system/ |
D | handle.h | 152 const MojoHandle kInvalidHandleValue = MOJO_HANDLE_INVALID;
|
/external/libchrome/mojo/public/cpp/system/tests/ |
D | core_unittest.cc | 39 EXPECT_EQ(MOJO_HANDLE_INVALID, kInvalidHandleValue); in TEST()
|