/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 | 257 MojoClose(handles[0]); in DEFINE_TEST_CLIENT_WITH_PIPE() 402 MojoClose(handles[i]); in DEFINE_TEST_CLIENT_WITH_PIPE() 522 MojoClose(handles[0]); in DEFINE_TEST_CLIENT_WITH_PIPE() 564 MojoClose(mp1); in TEST_P() 652 MojoClose(handles[0]); in DEFINE_TEST_CLIENT_WITH_PIPE() 694 MojoClose(mp1); in TEST_F() 904 MojoClose(p1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 1126 MojoClose(b); in TEST_P() 1144 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(service_proxy)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 1166 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(service_client)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() [all …]
|
D | data_pipe_unittest.cc | 55 CHECK_EQ(MOJO_RESULT_OK, MojoClose(producer_)); in ~DataPipeTest() 57 CHECK_EQ(MOJO_RESULT_OK, MojoClose(consumer_)); in ~DataPipeTest() 123 MojoResult rv = MojoClose(producer_); in CloseProducer() 129 MojoResult rv = MojoClose(consumer_); in CloseConsumer() 205 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(producer_handle)); in TEST_F() 206 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(consumer_handle)); in TEST_F() 1630 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe0)); in TEST_F() 1631 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe1)); in TEST_F() 1697 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe0)); in TEST_F() 1698 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 | 69 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(server_mp)); in TEST_F() 70 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(client_mp)); in TEST_F() 109 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(server_mp3)); in TEST_F() 110 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(client_mp3)); in TEST_F() 111 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(server_mp2)); in TEST_F() 112 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(client_mp2)); in TEST_F() 113 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(server_mp)); in TEST_F() 114 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(client_mp)); in TEST_F() 142 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(server_mp2)); in TEST_F() 143 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() 256 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(hp)); in TEST() 284 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(hc)); in TEST() 312 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h0)); in TEST() 333 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/cpp/system/ |
D | handle.h | 168 MojoResult result = MojoClose(value_); in Close() 293 return MojoClose(handle.value()); in CloseRaw()
|
/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/bindings/lib/ |
D | serialization_context.cc | 20 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 | 102 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h)); in CloseHandle()
|
/external/libmojo/mojo/android/system/ |
D | core_impl.cc | 127 return MojoClose(mojo_handle); in Close()
|