Home
last modified time | relevance | path

Searched refs:shared_handle (Results 1 – 14 of 14) sorted by relevance

/external/libchrome/base/memory/
Dshared_memory_unittest.cc480 SharedMemoryHandle shared_handle = shmem.handle().Duplicate(); in TEST_P() local
481 ASSERT_TRUE(shared_handle.IsValid()); in TEST_P()
482 EXPECT_TRUE(shared_handle.OwnershipPassesToIPC()); in TEST_P()
483 EXPECT_EQ(shared_handle.GetGUID(), shmem.handle().GetGUID()); in TEST_P()
484 EXPECT_EQ(shared_handle.GetSize(), shmem.handle().GetSize()); in TEST_P()
485 SharedMemory shared(shared_handle, /*readonly=*/false); in TEST_P()
492 shared_handle = shmem.handle().Duplicate(); in TEST_P()
493 ASSERT_TRUE(shared_handle.IsValid()); in TEST_P()
494 ASSERT_TRUE(shared_handle.OwnershipPassesToIPC()); in TEST_P()
495 SharedMemory readonly(shared_handle, /*readonly=*/true); in TEST_P()
[all …]
/external/libdrm/amdgpu/
Damdgpu_bo.c230 uint32_t *shared_handle) in amdgpu_bo_export() argument
240 *shared_handle = bo->flink_name; in amdgpu_bo_export()
245 *shared_handle = bo->handle; in amdgpu_bo_export()
251 (int*)shared_handle); in amdgpu_bo_export()
258 uint32_t shared_handle, in amdgpu_bo_import() argument
278 r = drmPrimeFDToHandle(dev->fd, shared_handle, &handle); in amdgpu_bo_import()
283 size = lseek(shared_handle, 0, SEEK_END); in amdgpu_bo_import()
288 lseek(shared_handle, 0, SEEK_SET); in amdgpu_bo_import()
291 shared_handle = handle; in amdgpu_bo_import()
297 bo = handle_table_lookup(&dev->bo_flink_names, shared_handle); in amdgpu_bo_import()
[all …]
Damdgpu.h619 uint32_t *shared_handle);
643 uint32_t shared_handle,
/external/libdrm/tests/amdgpu/
Dbo_tests.c138 uint32_t shared_handle; in amdgpu_bo_export_import_do_type() local
141 r = amdgpu_bo_export(buffer_handle, type, &shared_handle); in amdgpu_bo_export_import_do_type()
144 r = amdgpu_bo_import(device_handle, type, shared_handle, &res); in amdgpu_bo_export_import_do_type()
/external/rust/crates/rusqlite/src/
Dinner_connection.rs146 let mut shared_handle = self.interrupt_lock.lock().unwrap(); in close() localVariable
148 !shared_handle.is_null(), in close()
161 *shared_handle = ptr::null_mut(); in close()
/external/mesa3d/include/CL/
Dcl_dx9_media_sharing.h53 HANDLE shared_handle; member
/external/OpenCL-CTS/test_conformance/extensions/cl_khr_dx9_media_sharing/
Dtest_memory_access.cpp129 surfaceInfo.shared_handle = objectSharedHandle; in memory_access()
215 surfaceInfo.shared_handle = objectSharedHandle; in memory_access()
309 surfaceInfo.shared_handle = objectSharedHandle; in memory_access()
Dtest_functions_kernel.cpp153 surfaceInfoSrc.shared_handle = objectSrcHandle; in kernel_functions()
158 surfaceInfoDst.shared_handle = objectDstHandle; in kernel_functions()
Dtest_create_context.cpp130 surfaceInfo.shared_handle = objectSharedHandle; in context_create()
Dtest_interop_sync.cpp137 surfaceInfo.shared_handle = objectSharedHandle; in interop_user_sync()
Dtest_other_data_types.cpp193 surfaceSrcInfo.shared_handle = objectSrcHandle; in other_data_types()
199 surfaceDstInfo.shared_handle = objectDstHandle; in other_data_types()
Dtest_functions_api.cpp125 surfaceInfo.shared_handle = objectSharedHandle; in api_functions()
Dutils.cpp1117 if (shareHandleExp != surfaceInfo.shared_handle) in GetMemObjInfo()
/external/angle/include/CL/
Dcl_dx9_media_sharing.h39 HANDLE shared_handle; member