Home
last modified time | relevance | path

Searched refs:num_platform_handles (Results 1 – 15 of 15) sorted by relevance

/external/libchrome/mojo/public/cpp/system/
Dplatform_handle.cc60 uint32_t num_platform_handles = 1; in WrapPlatformSharedMemoryRegion() local
80 num_platform_handles = 2; in WrapPlatformSharedMemoryRegion()
92 platform_handles, num_platform_handles, region.GetSize(), &mojo_guid, in WrapPlatformSharedMemoryRegion()
107 uint32_t num_platform_handles = 2; in UnwrapPlatformSharedMemoryRegion() local
113 &num_platform_handles, &size, &mojo_guid, &access_mode); in UnwrapPlatformSharedMemoryRegion()
119 if (num_platform_handles != 1) in UnwrapPlatformSharedMemoryRegion()
125 if (num_platform_handles != 1) in UnwrapPlatformSharedMemoryRegion()
131 if (num_platform_handles != 1) in UnwrapPlatformSharedMemoryRegion()
137 if (num_platform_handles != 1) in UnwrapPlatformSharedMemoryRegion()
144 if (num_platform_handles != 2) in UnwrapPlatformSharedMemoryRegion()
[all …]
Dinvitation.cc39 endpoint->num_platform_handles = 1; in PlatformHandleToTransportEndpoint()
226 transport_endpoint.num_platform_handles = 1; in Accept()
250 transport_endpoint.num_platform_handles = 1; in AcceptIsolated()
/external/libchrome/mojo/core/
Ddispatcher.cc136 uint32_t* num_platform_handles) { in StartSerialize() argument
139 *num_platform_handles = 0; in StartSerialize()
165 size_t num_platform_handles) { in Deserialize() argument
170 num_platform_handles); in Deserialize()
174 num_platform_handles); in Deserialize()
178 num_platform_handles); in Deserialize()
182 num_platform_handles); in Deserialize()
186 num_platform_handles); in Deserialize()
Dshared_buffer_dispatcher.cc126 size_t num_platform_handles) { in Deserialize() argument
148 if (num_platform_handles != 2) in Deserialize()
152 if (num_platform_handles != 1) in Deserialize()
156 if (num_platform_handles != 1) in Deserialize()
311 uint32_t* num_platform_handles) { in StartSerialize() argument
314 *num_platform_handles = 1; in StartSerialize()
319 *num_platform_handles = 2; in StartSerialize()
Dentrypoints.cc263 uint32_t num_platform_handles, in MojoWrapPlatformSharedMemoryRegionImpl() argument
270 platform_handles, num_platform_handles, num_bytes, guid, access_mode, in MojoWrapPlatformSharedMemoryRegionImpl()
278 uint32_t* num_platform_handles, in MojoUnwrapPlatformSharedMemoryRegionImpl() argument
283 mojo_handle, options, platform_handles, num_platform_handles, num_bytes, in MojoUnwrapPlatformSharedMemoryRegionImpl()
Dinvitation_unittest.cc154 valid_endpoint.num_platform_handles = 1; in TEST_F()
169 invalid_endpoint.num_platform_handles = 1; in TEST_F()
176 invalid_endpoint.num_platform_handles = 0; in TEST_F()
183 invalid_endpoint.num_platform_handles = 1; in TEST_F()
194 invalid_endpoint.num_platform_handles = 1; in TEST_F()
377 transport_endpoint.num_platform_handles = 1; in SendInvitationToClient()
417 transport_endpoint.num_platform_handles = 1;
Dcore.cc1040 uint32_t num_platform_handles, in WrapPlatformSharedMemoryRegion() argument
1051 if (num_platform_handles != 2) in WrapPlatformSharedMemoryRegion()
1055 if (num_platform_handles != 1) in WrapPlatformSharedMemoryRegion()
1061 for (size_t i = 0; i < num_platform_handles; ++i) { in WrapPlatformSharedMemoryRegion()
1116 uint32_t* num_platform_handles, in UnwrapPlatformSharedMemoryRegion() argument
1166 const uint32_t available_handle_storage_slots = *num_platform_handles; in UnwrapPlatformSharedMemoryRegion()
1169 *num_platform_handles = 1; in UnwrapPlatformSharedMemoryRegion()
1180 *num_platform_handles = 2; in UnwrapPlatformSharedMemoryRegion()
1319 if (transport_endpoint->num_platform_handles == 0) in SendInvitation()
1408 if (transport_endpoint->num_platform_handles == 0) in AcceptInvitation()
Duser_message_impl.cc64 uint32_t num_platform_handles; member
222 dh->num_platform_handles = info.num_handles; in CreateOrExtendSerializedEventMessage()
614 next_platform_handle_index += dh.num_platform_handles; in ExtractSerializedHandles()
626 dh.num_platform_handles); in ExtractSerializedHandles()
Dshared_buffer_dispatcher.h87 uint32_t* num_platform_handles) override;
Dcore.h292 uint32_t num_platform_handles,
302 uint32_t* num_platform_handles,
Ddispatcher.h177 uint32_t* num_platform_handles);
/external/libchrome/mojo/public/c/system/
Dplatform_handle.h266 uint32_t num_platform_handles,
313 uint32_t* num_platform_handles,
Dthunks.cc387 uint32_t num_platform_handles, in MojoWrapPlatformSharedMemoryRegion() argument
394 num_platform_handles, num_bytes, guid, access_mode, in MojoWrapPlatformSharedMemoryRegion()
402 uint32_t* num_platform_handles, in MojoUnwrapPlatformSharedMemoryRegion() argument
407 platform_handles, num_platform_handles, num_bytes, guid, in MojoUnwrapPlatformSharedMemoryRegion()
Dthunks.h173 uint32_t num_platform_handles,
183 uint32_t* num_platform_handles,
Dinvitation.h101 uint32_t num_platform_handles; member