Home
last modified time | relevance | path

Searched refs:MojoClose (Results 1 – 17 of 17) sorted by relevance

/external/libmojo/mojo/edk/system/
Dmessage_pipe_unittest.cc31 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 …]
Dmultiprocess_message_pipe_unittest.cc257 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 …]
Ddata_pipe_unittest.cc55 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 …]
Dshared_buffer_unittest.cc131 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(b)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
/external/libmojo/mojo/edk/embedder/
Dembedder_unittest.cc69 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/
Dcore_perftest.cc127 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()
Dcore_unittest.cc41 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()
Dcore_unittest_pure_c.c54 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/
Dcore_unittest.cc232 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/
Dhandle.h168 MojoResult result = MojoClose(value_); in Close()
293 return MojoClose(handle.value()); in CloseRaw()
/external/libmojo/mojo/public/c/system/
Dfunctions.h55 MOJO_SYSTEM_EXPORT MojoResult MojoClose(MojoHandle handle);
Dthunks.cc20 MojoResult MojoClose(MojoHandle handle) { in MojoClose() function
/external/libmojo/mojo/public/cpp/bindings/lib/
Dserialization_context.cc20 MojoResult rv = MojoClose(handle.value()); in ~SerializedHandleVector()
/external/libmojo/mojo/public/cpp/bindings/tests/
Dhandle_passing_unittest.cc319 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()
Darray_common_test.h93 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/
Dmojo_test_base.cc102 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h)); in CloseHandle()
/external/libmojo/mojo/android/system/
Dcore_impl.cc127 return MojoClose(mojo_handle); in Close()