Home
last modified time | relevance | path

Searched refs:region_handle (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/mojo/public/cpp/system/
Dplatform_handle.cc117 base::subtle::PlatformSharedMemoryRegion::ScopedPlatformHandle region_handle; in UnwrapPlatformSharedMemoryRegion() local
123 region_handle.Set(reinterpret_cast<HANDLE>(platform_handles[0].value)); in UnwrapPlatformSharedMemoryRegion()
129 region_handle.reset(static_cast<zx_handle_t>(platform_handles[0].value)); in UnwrapPlatformSharedMemoryRegion()
135 region_handle.reset(static_cast<mach_port_t>(platform_handles[0].value)); in UnwrapPlatformSharedMemoryRegion()
141 region_handle.reset(static_cast<int>(platform_handles[0].value)); in UnwrapPlatformSharedMemoryRegion()
151 region_handle.fd.reset(static_cast<int>(platform_handles[0].value)); in UnwrapPlatformSharedMemoryRegion()
155 region_handle.readonly_fd.reset( in UnwrapPlatformSharedMemoryRegion()
176 std::move(region_handle), mode, size, in UnwrapPlatformSharedMemoryRegion()
/external/libchrome/mojo/public/cpp/platform/tests/
Dplatform_handle_unittest.cc162 region_handle( in GetSharedMemoryContents() local
170 std::move(region_handle), in GetSharedMemoryContents()
182 region_handle = generic_region.PassPlatformHandle(); in GetSharedMemoryContents()
183 ignore_result(region_handle.release()); in GetSharedMemoryContents()
/external/libchrome/mojo/core/
Ddata_pipe_producer_dispatcher.cc273 auto region_handle = in EndSerialize() local
276 const base::UnguessableToken& guid = region_handle.GetGUID(); in EndSerialize()
285 region_handle.PassPlatformHandle(), &handle, &ignored_handle); in EndSerialize()
344 auto region_handle = CreateSharedMemoryRegionHandleFromPlatformHandles( in Deserialize() local
347 std::move(region_handle), in Deserialize()
Ddata_pipe_consumer_dispatcher.cc314 auto region_handle = in EndSerialize() local
317 const base::UnguessableToken& guid = region_handle.GetGUID(); in EndSerialize()
326 region_handle.PassPlatformHandle(), &handle, &ignored_handle); in EndSerialize()
383 auto region_handle = CreateSharedMemoryRegionHandleFromPlatformHandles( in Deserialize() local
386 std::move(region_handle), in Deserialize()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_regions.c258 intel_region_release(struct intel_region **region_handle) in intel_region_release() argument
260 struct intel_region *region = *region_handle; in intel_region_release()
277 *region_handle = NULL; in intel_region_release()