/external/libchrome/mojo/core/ |
D | message_pipe_unittest.cc | 41 CHECK_EQ(MOJO_RESULT_OK, MojoClose(pipe0_)); in ~MessagePipeTest() 43 CHECK_EQ(MOJO_RESULT_OK, MojoClose(pipe1_)); in ~MessagePipeTest() 190 MojoClose(pipe0_); in TEST_F() 238 MojoClose(pipe0_); in TEST_F() 239 MojoClose(pipe1_); in TEST_F() 276 MojoClose(pipe0_); in TEST_F() 340 MojoClose(p); in TEST_F() 351 MojoClose(c[i]); in TEST_F() 359 MojoClose(c); in TEST_F() 370 MojoClose(p[i]); in TEST_F() [all …]
|
D | trap_unittest.cc | 144 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(buffer_handle)); in TEST_F() 151 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(t)); in TEST_F() 212 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(t)); in TEST_F() 213 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(b)); in TEST_F() 214 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(a)); in TEST_F() 236 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(a)); in TEST_F() 239 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(b)); in TEST_F() 240 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(t)); in TEST_F() 266 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(b)); in TEST_F() 286 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(t)); in TEST_F() [all …]
|
D | embedder_unittest.cc | 90 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(server_mp)); in TEST_F() 91 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(client_mp)); in TEST_F() 119 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(server_mp2)); in TEST_F() 120 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(client_mp2)); in TEST_F() 121 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(server_mp)); in TEST_F() 122 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(client_mp)); in TEST_F() 164 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(server_mp)); in TEST_F() 165 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(client_mp)); in TEST_F() 166 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(h0)); in TEST_F() 167 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(h1)); in TEST_F() [all …]
|
D | invitation_unittest.cc | 97 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(invitation)); in TEST_F() 103 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(invitation)); in TEST_F() 211 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(invitation)); in TEST_F() 228 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(invitation)); in TEST_F() 235 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(pipe0)); in TEST_F() 236 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(pipe1)); in TEST_F() 249 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(invitation)); in TEST_F() 253 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(pipe)); in TEST_F() 274 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(invitation)); in TEST_F() 275 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(pipe0)); in TEST_F() [all …]
|
D | quota_unittest.cc | 49 MojoClose(message_pipe0); in TEST_F() 50 MojoClose(message_pipe1); in TEST_F() 66 MojoClose(producer); in TEST_F() 67 MojoClose(consumer); in TEST_F() 137 MojoClose(a); in TEST_F() 138 MojoClose(b); in TEST_F() 196 MojoClose(a); in TEST_F() 197 MojoClose(b); in TEST_F() 255 MojoClose(a); in TEST_F() 256 MojoClose(b); in TEST_F() [all …]
|
D | signals_unittest.cc | 75 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(a)); in TEST_F() 125 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(c)); in TEST_F() 128 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(d)); in TEST_F() 130 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(a)); in TEST_F() 131 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(b)); in TEST_F()
|
D | message_unittest.cc | 207 MojoClose(a); in TEST_F() 208 MojoClose(b); in TEST_F() 355 MojoClose(a); in TEST_F() 356 MojoClose(b); in TEST_F() 377 MojoClose(a); in TEST_F() 378 MojoClose(b); in TEST_F() 463 MojoClose(a); in TEST_F() 464 MojoClose(b); in TEST_F() 478 MojoClose(a); in TEST_F() 479 MojoClose(b); in TEST_F() [all …]
|
D | mojo_core_unittest.cc | 35 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(b)); in TEST() 36 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(a)); in TEST()
|
D | multiprocess_message_pipe_unittest.cc | 290 MojoClose(handles[0]); in DEFINE_TEST_CLIENT_WITH_PIPE() 532 MojoClose(handles[0]); in DEFINE_TEST_CLIENT_WITH_PIPE() 570 MojoClose(mp1); in TEST_P() 652 MojoClose(handles[0]); in DEFINE_TEST_CLIENT_WITH_PIPE() 690 MojoClose(mp1); in TEST_F() 902 MojoClose(p1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 1121 MojoClose(b); in TEST_P() 1140 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(service_proxy)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 1162 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(service_client)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 1163 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(application_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() 140 MojoResult rv = MojoClose(producer_); in CloseProducer() 146 MojoResult rv = MojoClose(consumer_); in CloseConsumer() 219 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(producer_handle)); in TEST_F() 220 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(consumer_handle)); in TEST_F() 1597 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe0)); in TEST_F() 1598 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe1)); in TEST_F() 1657 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe0)); in TEST_F() 1658 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe1)); in TEST_F() [all …]
|
D | shared_buffer_unittest.cc | 134 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(b)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
|
/external/libchrome/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() 190 result = MojoClose(h0_); in DoMessagePipeThreadedTest() 192 result = MojoClose(h1_); in DoMessagePipeThreadedTest() 285 result = MojoClose(h0_); in TEST_F() 287 result = MojoClose(h1_); in TEST_F() 297 result = MojoClose(h0_); in TEST_F() 299 result = MojoClose(h1_); in TEST_F()
|
D | core_unittest_pure_c.c | 50 EXPECT_NE(MOJO_RESULT_OK, MojoClose(handle0)); in MinimalCTest() 72 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(handle0)); in MinimalCTest() 73 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(handle1)); in MinimalCTest()
|
D | core_api_unittest.cc | 43 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(MOJO_HANDLE_INVALID)); in TEST() 130 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h0)); in TEST() 146 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h1)); in TEST() 227 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(hp)); in TEST() 254 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(hc)); in TEST() 288 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h0)); in TEST() 312 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h1)); in TEST()
|
/external/libchrome/mojo/public/cpp/system/tests/ |
D | core_unittest.cc | 204 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(hv0)); in TEST() 251 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(handles[0])); in TEST() 283 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(hv0)); in TEST() 323 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(h3_value)); in TEST() 325 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h0.release().value())); in TEST() 326 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h1.release().value())); in TEST() 327 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h2.release().value())); in TEST() 365 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(h3_value)); in TEST() 367 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h2.release().value())); in TEST() 368 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h0.release().value())); in TEST() [all …]
|
/external/libchrome/mojo/public/cpp/system/ |
D | handle.h | 177 MojoResult result = MojoClose(value_); in Close() 213 return MojoClose(handle.value()); in CloseRaw()
|
D | README.md | 31 handle type is destroyed, its handle is automatically closed via `MojoClose`.
|
/external/libchrome/mojo/public/c/system/ |
D | functions.h | 56 MOJO_SYSTEM_EXPORT MojoResult MojoClose(MojoHandle handle);
|
D | README.md | 77 Any `MojoHandle` may be closed by calling `MojoClose`: 81 MojoResult result = MojoClose(x); 84 If the handle passed to `MojoClose` was a valid handle, it will be closed and 85 `MojoClose` returns `MOJO_RESULT_OK`. Otherwise it returns 553 and if you were to call `MojoClose(handle)`, the file descriptor would be closed 710 `MojoClose`. Unlike most other `MojoHandle` types, trap handles are **not** 819 MojoClose(a); 822 MojoClose(t); 866 // cancel. Note that we could also just call MojoClose(state->trap) here
|
D | thunks.cc | 158 MojoResult MojoClose(MojoHandle handle) { in MojoClose() function
|
/external/libchrome/mojo/core/test/ |
D | mojo_test_base.cc | 97 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h)); in CloseHandle()
|
/external/libchrome/mojo/public/java/system/ |
D | core_impl.cc | 90 return MojoClose(mojo_handle); in JNI_CoreImpl_Close()
|
/external/libchrome/ipc/ |
D | ipc_channel_mojo_unittest.cc | 534 MojoClose(handle.value()); in OnMessageReceived()
|