Searched refs:shared_handle (Results 1 – 14 of 14) sorted by relevance
/external/libchrome/base/memory/ |
D | shared_memory_unittest.cc | 480 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/ |
D | amdgpu_bo.c | 230 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 …]
|
D | amdgpu.h | 619 uint32_t *shared_handle); 643 uint32_t shared_handle,
|
/external/libdrm/tests/amdgpu/ |
D | bo_tests.c | 138 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/ |
D | inner_connection.rs | 146 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/ |
D | cl_dx9_media_sharing.h | 53 HANDLE shared_handle; member
|
/external/OpenCL-CTS/test_conformance/extensions/cl_khr_dx9_media_sharing/ |
D | test_memory_access.cpp | 129 surfaceInfo.shared_handle = objectSharedHandle; in memory_access() 215 surfaceInfo.shared_handle = objectSharedHandle; in memory_access() 309 surfaceInfo.shared_handle = objectSharedHandle; in memory_access()
|
D | test_functions_kernel.cpp | 153 surfaceInfoSrc.shared_handle = objectSrcHandle; in kernel_functions() 158 surfaceInfoDst.shared_handle = objectDstHandle; in kernel_functions()
|
D | test_create_context.cpp | 130 surfaceInfo.shared_handle = objectSharedHandle; in context_create()
|
D | test_interop_sync.cpp | 137 surfaceInfo.shared_handle = objectSharedHandle; in interop_user_sync()
|
D | test_other_data_types.cpp | 193 surfaceSrcInfo.shared_handle = objectSrcHandle; in other_data_types() 199 surfaceDstInfo.shared_handle = objectDstHandle; in other_data_types()
|
D | test_functions_api.cpp | 125 surfaceInfo.shared_handle = objectSharedHandle; in api_functions()
|
D | utils.cpp | 1117 if (shareHandleExp != surfaceInfo.shared_handle) in GetMemObjInfo()
|
/external/angle/include/CL/ |
D | cl_dx9_media_sharing.h | 39 HANDLE shared_handle; member
|