/external/libchrome/mojo/public/cpp/system/ |
D | platform_handle.cc | 59 MojoPlatformHandle platform_handles[2]; in WrapPlatformSharedMemoryRegion() local 61 platform_handles[0].struct_size = sizeof(platform_handles[0]); in WrapPlatformSharedMemoryRegion() 63 platform_handles[0].type = MOJO_PLATFORM_HANDLE_TYPE_WINDOWS_HANDLE; in WrapPlatformSharedMemoryRegion() 64 platform_handles[0].value = reinterpret_cast<uint64_t>(handle.Take()); in WrapPlatformSharedMemoryRegion() 66 platform_handles[0].type = MOJO_PLATFORM_HANDLE_TYPE_FUCHSIA_HANDLE; in WrapPlatformSharedMemoryRegion() 67 platform_handles[0].value = static_cast<uint64_t>(handle.release()); in WrapPlatformSharedMemoryRegion() 69 platform_handles[0].type = MOJO_PLATFORM_HANDLE_TYPE_MACH_PORT; in WrapPlatformSharedMemoryRegion() 70 platform_handles[0].value = static_cast<uint64_t>(handle.release()); in WrapPlatformSharedMemoryRegion() 72 platform_handles[0].type = MOJO_PLATFORM_HANDLE_TYPE_FILE_DESCRIPTOR; in WrapPlatformSharedMemoryRegion() 73 platform_handles[0].value = static_cast<uint64_t>(handle.release()); in WrapPlatformSharedMemoryRegion() [all …]
|
D | invitation.cc | 40 endpoint->platform_handles = endpoint_handle; in PlatformHandleToTransportEndpoint() 227 transport_endpoint.platform_handles = &endpoint_handle; in Accept() 251 transport_endpoint.platform_handles = &endpoint_handle; in AcceptIsolated()
|
/external/libchrome/mojo/core/ |
D | dispatcher.cc | 164 PlatformHandle* platform_handles, in Deserialize() argument 169 num_ports, platform_handles, in Deserialize() 173 num_ports, platform_handles, in Deserialize() 177 bytes, num_bytes, ports, num_ports, platform_handles, in Deserialize() 181 bytes, num_bytes, ports, num_ports, platform_handles, in Deserialize() 185 num_ports, platform_handles, in Deserialize()
|
D | shared_buffer_dispatcher.cc | 125 PlatformHandle* platform_handles, in Deserialize() argument 150 handles[1] = std::move(platform_handles[1]); in Deserialize() 159 handles[0] = std::move(platform_handles[0]); in Deserialize() 359 PlatformHandle platform_handles[2]; in EndSerialize() local 361 region.PassPlatformHandle(), &platform_handles[0], in EndSerialize() 362 &platform_handles[1]); in EndSerialize() 363 handles[0] = std::move(platform_handles[0]); in EndSerialize() 364 handles[1] = std::move(platform_handles[1]); in EndSerialize()
|
D | embedder_unittest.cc | 362 MojoHandle platform_handles[base::size(kTestHandleTypes)]; in TEST_F() local 383 platform_handles[i] = in TEST_F() 388 WriteMessageWithHandles(server_mp, "hello", platform_handles, in TEST_F() 400 MojoHandle platform_handles[kNumHandles]; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local 405 ReadMessageWithHandles(client_mp, platform_handles, kNumHandles)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 411 UnwrapPlatformHandle(ScopedHandle(Handle(platform_handles[i]))); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
|
D | entrypoints.cc | 262 const MojoPlatformHandle* platform_handles, in MojoWrapPlatformSharedMemoryRegionImpl() argument 270 platform_handles, num_platform_handles, num_bytes, guid, access_mode, in MojoWrapPlatformSharedMemoryRegionImpl() 277 MojoPlatformHandle* platform_handles, in MojoUnwrapPlatformSharedMemoryRegionImpl() argument 283 mojo_handle, options, platform_handles, num_platform_handles, num_bytes, in MojoUnwrapPlatformSharedMemoryRegionImpl()
|
D | core.cc | 1039 const MojoPlatformHandle* platform_handles, in WrapPlatformSharedMemoryRegion() argument 1062 handles[i] = PlatformHandle::FromMojoPlatformHandle(&platform_handles[i]); in WrapPlatformSharedMemoryRegion() 1115 MojoPlatformHandle* platform_handles, in UnwrapPlatformSharedMemoryRegion() argument 1177 &platform_handles[1]); in UnwrapPlatformSharedMemoryRegion() 1178 if (platform_handles[1].type == MOJO_PLATFORM_HANDLE_TYPE_INVALID) in UnwrapPlatformSharedMemoryRegion() 1184 PlatformHandle::ToMojoPlatformHandle(std::move(handle), &platform_handles[0]); in UnwrapPlatformSharedMemoryRegion() 1185 if (platform_handles[0].type == MOJO_PLATFORM_HANDLE_TYPE_INVALID) in UnwrapPlatformSharedMemoryRegion() 1321 if (!transport_endpoint->platform_handles) in SendInvitation() 1336 &transport_endpoint->platform_handles[0]); in SendInvitation() 1410 if (!transport_endpoint->platform_handles) in AcceptInvitation() [all …]
|
D | invitation_unittest.cc | 155 valid_endpoint.platform_handles = &endpoint_handle; in TEST_F() 170 invalid_endpoint.platform_handles = &endpoint_handle; in TEST_F() 184 invalid_endpoint.platform_handles = &invalid_platform_handle; in TEST_F() 195 invalid_endpoint.platform_handles = nullptr; in TEST_F() 378 transport_endpoint.platform_handles = &handle; in SendInvitationToClient() 418 transport_endpoint.platform_handles = &endpoint_handle;
|
D | core.h | 291 const MojoPlatformHandle* platform_handles, 301 MojoPlatformHandle* platform_handles,
|
D | shared_buffer_dispatcher.h | 62 PlatformHandle* platform_handles,
|
D | dispatcher.h | 212 PlatformHandle* platform_handles,
|
D | data_pipe_producer_dispatcher.cc | 261 PlatformHandle* platform_handles) { in EndSerialize() argument 289 platform_handles[0] = std::move(handle); in EndSerialize()
|
D | data_pipe_consumer_dispatcher.cc | 302 PlatformHandle* platform_handles) { in EndSerialize() argument 330 platform_handles[0] = std::move(handle); in EndSerialize()
|
/external/libchrome/mojo/public/c/system/ |
D | platform_handle.h | 265 const struct MojoPlatformHandle* platform_handles, 312 struct MojoPlatformHandle* platform_handles,
|
D | thunks.cc | 386 const struct MojoPlatformHandle* platform_handles, in MojoWrapPlatformSharedMemoryRegion() argument 393 return INVOKE_THUNK(WrapPlatformSharedMemoryRegion, platform_handles, in MojoWrapPlatformSharedMemoryRegion() 401 struct MojoPlatformHandle* platform_handles, in MojoUnwrapPlatformSharedMemoryRegion() argument 407 platform_handles, num_platform_handles, num_bytes, guid, in MojoUnwrapPlatformSharedMemoryRegion()
|
D | thunks.h | 172 const struct MojoPlatformHandle* platform_handles, 182 struct MojoPlatformHandle* platform_handles,
|
D | invitation.h | 111 MOJO_POINTER_FIELD(const struct MojoPlatformHandle*, platform_handles);
|