Home
last modified time | relevance | path

Searched refs:wrapped_handle (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/mojo/core/
Dplatform_wrapper_unittest.cc79 MojoHandle wrapped_handle; in TEST_F() local
86 MojoWrapPlatformHandle(&os_file, nullptr, &wrapped_handle)); in TEST_F()
88 WriteMessageWithHandles(h, kMessage, &wrapped_handle, 1); in TEST_F()
96 MojoHandle wrapped_handle; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local
97 std::string message = ReadMessageWithHandles(h, &wrapped_handle, 1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
101 ASSERT_EQ(MOJO_RESULT_OK, MojoUnwrapPlatformHandle(wrapped_handle, nullptr, in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
144 MojoHandle wrapped_handle; in TEST_F() local
149 nullptr, &wrapped_handle)); in TEST_F()
150 WriteMessageWithHandles(h, kMessage, &wrapped_handle, 1); in TEST_F()
164 MojoHandle wrapped_handle; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local
[all …]
/external/libchrome/ipc/
Dipc_message_attachment.cc73 MojoHandle wrapped_handle; in TakeMojoHandle() local
74 if (MojoWrapPlatformHandle(&platform_handle, nullptr, &wrapped_handle) != in TakeMojoHandle()
79 return mojo::MakeScopedHandle(mojo::Handle(wrapped_handle)); in TakeMojoHandle()
87 MojoHandle wrapped_handle; in TakeMojoHandle() local
88 if (MojoWrapPlatformHandle(&platform_handle, nullptr, &wrapped_handle) != in TakeMojoHandle()
92 return mojo::MakeScopedHandle(mojo::Handle(wrapped_handle)); in TakeMojoHandle()
/external/libchrome/mojo/public/cpp/system/
Dplatform_handle.cc186 MojoHandle wrapped_handle; in WrapPlatformHandle() local
188 MojoWrapPlatformHandle(&platform_handle, nullptr, &wrapped_handle); in WrapPlatformHandle()
191 return ScopedHandle(Handle(wrapped_handle)); in WrapPlatformHandle()