Home
last modified time | relevance | path

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

/external/libdrm/amdgpu/
Damdgpu_bo.c229 uint32_t *shared_handle) in amdgpu_bo_export() argument
239 *shared_handle = bo->flink_name; in amdgpu_bo_export()
244 *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
277 r = drmPrimeFDToHandle(dev->fd, shared_handle, &handle); in amdgpu_bo_import()
284 size = lseek(shared_handle, 0, SEEK_END); in amdgpu_bo_import()
290 lseek(shared_handle, 0, SEEK_SET); in amdgpu_bo_import()
293 shared_handle = handle; in amdgpu_bo_import()
300 (void*)(uintptr_t)shared_handle); in amdgpu_bo_import()
[all …]
Damdgpu.h613 uint32_t *shared_handle);
637 uint32_t shared_handle,
/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/tests/amdgpu/
Dbo_tests.c135 uint32_t shared_handle; in amdgpu_bo_export_import_do_type() local
138 r = amdgpu_bo_export(buffer_handle, type, &shared_handle); in amdgpu_bo_export_import_do_type()
141 r = amdgpu_bo_import(device_handle, type, shared_handle, &res); in amdgpu_bo_export_import_do_type()
/external/mesa3d/include/CL/
Dcl_dx9_media_sharing.h48 HANDLE shared_handle; member
/external/v8/src/debug/
Ddebug.cc1435 Handle<SharedFunctionInfo> shared_handle(shared, isolate_); in FindSharedFunctionInfoInScript() local
1442 CreateBreakInfo(shared_handle); in FindSharedFunctionInfoInScript()
1444 return shared_handle; in FindSharedFunctionInfoInScript()