/external/libmojo/mojo/edk/system/ |
D | message_pipe_unittest.cc | 31 CHECK_EQ(MOJO_RESULT_OK, MojoClose(pipe0_)); in ~MessagePipeTest() 33 CHECK_EQ(MOJO_RESULT_OK, MojoClose(pipe1_)); in ~MessagePipeTest() 179 MojoClose(pipe0_); in TEST_F() 228 MojoClose(pipe0_); in TEST_F() 229 MojoClose(pipe1_); in TEST_F() 366 MojoClose(pipe0_); in TEST_F() 475 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(a)); in TEST_F() 476 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(b)); in TEST_F() 504 MojoClose(p); in TEST_F() 515 MojoClose(c[i]); in TEST_F() [all …]
|
D | multiprocess_message_pipe_unittest.cc | 244 MojoClose(handles[0]); in DEFINE_TEST_CLIENT_WITH_PIPE() 389 MojoClose(handles[i]); in DEFINE_TEST_CLIENT_WITH_PIPE() 508 MojoClose(handles[0]); in DEFINE_TEST_CLIENT_WITH_PIPE() 550 MojoClose(mp1); in TEST_F() 638 MojoClose(handles[0]); in DEFINE_TEST_CLIENT_WITH_PIPE() 680 MojoClose(mp1); in TEST_F() 889 MojoClose(p1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 1110 MojoClose(b); in TEST_F() 1128 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(service_proxy)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 1150 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(service_client)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() [all …]
|
D | data_pipe_unittest.cc | 50 CHECK_EQ(MOJO_RESULT_OK, MojoClose(producer_)); in ~DataPipeTest() 52 CHECK_EQ(MOJO_RESULT_OK, MojoClose(consumer_)); in ~DataPipeTest() 118 MojoResult rv = MojoClose(producer_); in CloseProducer() 124 MojoResult rv = MojoClose(consumer_); in CloseConsumer() 199 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(producer_handle)); in TEST_F() 200 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(consumer_handle)); in TEST_F() 1525 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe0)); in TEST_F() 1526 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe1)); in TEST_F() 1588 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe0)); in TEST_F() 1589 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe1)); in TEST_F() [all …]
|
D | shared_buffer_unittest.cc | 131 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(b)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
|
/external/libmojo/mojo/edk/embedder/ |
D | embedder_unittest.cc | 61 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(server_mp)); in TEST_F() 62 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(client_mp)); in TEST_F() 101 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(server_mp3)); in TEST_F() 102 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(client_mp3)); in TEST_F() 103 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(server_mp2)); in TEST_F() 104 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(client_mp2)); in TEST_F() 105 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(server_mp)); in TEST_F() 106 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(client_mp)); in TEST_F() 134 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(server_mp2)); in TEST_F() 135 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(client_mp2)); in TEST_F() [all …]
|
/external/libmojo/mojo/public/c/system/tests/ |
D | core_perftest.cc | 127 result = MojoClose(self->h0_); in MessagePipe_CreateAndClose() 129 result = MojoClose(self->h1_); in MessagePipe_CreateAndClose() 191 result = MojoClose(h0_); in DoMessagePipeThreadedTest() 193 result = MojoClose(h1_); in DoMessagePipeThreadedTest() 289 result = MojoClose(h0_); in TEST_F() 291 result = MojoClose(h1_); in TEST_F() 301 result = MojoClose(h0_); in TEST_F() 303 result = MojoClose(h1_); in TEST_F()
|
D | core_unittest.cc | 41 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(MOJO_HANDLE_INVALID)); in TEST() 157 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h0)); in TEST() 172 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h1)); in TEST() 253 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(hp)); in TEST() 281 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(hc)); in TEST() 309 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h0)); in TEST() 330 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h1)); in TEST()
|
D | core_unittest_pure_c.c | 54 EXPECT_NE(MOJO_RESULT_OK, MojoClose(handle0)); in MinimalCTest() 97 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(handle0)); in MinimalCTest() 98 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(handle1)); in MinimalCTest()
|
/external/libmojo/mojo/public/cpp/system/tests/ |
D | core_unittest.cc | 232 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(hv0)); in TEST() 298 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(handles[0])); in TEST() 350 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(hv0)); in TEST() 405 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(h3_value)); in TEST() 407 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h0.release().value())); in TEST() 408 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h1.release().value())); in TEST() 409 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h2.release().value())); in TEST() 459 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(h3_value)); in TEST() 461 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h2.release().value())); in TEST() 462 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h0.release().value())); in TEST() [all …]
|
/external/libmojo/mojo/public/c/system/ |
D | functions.h | 55 MOJO_SYSTEM_EXPORT MojoResult MojoClose(MojoHandle handle);
|
D | thunks.cc | 20 MojoResult MojoClose(MojoHandle handle) { in MojoClose() function
|
/external/libmojo/mojo/public/cpp/system/ |
D | handle.h | 168 MojoResult result = MojoClose(value_); in Close() 293 return MojoClose(handle.value()); in CloseRaw()
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
D | serialization_context.cc | 21 MojoResult rv = MojoClose(handle.value()); in ~SerializedHandleVector()
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
D | handle_passing_unittest.cc | 319 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(handle0_value)); in TEST_F() 320 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(handle1_value)); in TEST_F()
|
D | array_common_test.h | 93 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(pipe0_value)); in HandlesAreClosed() 94 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(pipe1_value)); in HandlesAreClosed()
|
/external/libmojo/mojo/edk/test/ |
D | mojo_test_base.cc | 95 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h)); in CloseHandle()
|
/external/libmojo/mojo/android/system/ |
D | core_impl.cc | 163 return MojoClose(mojo_handle); in Close()
|