Home
last modified time | relevance | path

Searched refs:handle_type (Results 1 - 25 of 41) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/Windows/
H A DWindowsSupport.h79 typedef typename HandleTraits::handle_type handle_type; typedef in llvm::ScopedHandle
80 handle_type Handle;
88 explicit ScopedHandle(handle_type h) in ScopedHandle()
96 handle_type take() { in take()
97 handle_type t = Handle; in take()
102 ScopedHandle &operator=(handle_type h) { in operator =()
114 operator handle_type() const { in operator handle_type()
120 typedef HANDLE handle_type; typedef
122 static handle_type GetInvali
142 typedef HCRYPTPROV handle_type; global() typedef
158 typedef HKEY handle_type; global() typedef
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
H A DWindowsSupport.h93 typedef typename HandleTraits::handle_type handle_type; typedef in ScopedHandle
94 handle_type Handle;
102 explicit ScopedHandle(handle_type h) in ScopedHandle()
110 handle_type take() { in take()
111 handle_type t = Handle; in take()
116 ScopedHandle &operator=(handle_type h) { in operator =()
128 operator handle_type() const { in operator handle_type()
134 typedef HANDLE handle_type; typedef
136 static handle_type GetInvali
156 typedef HCRYPTPROV handle_type; global() typedef
172 typedef HKEY handle_type; global() typedef
[all...]
/third_party/vulkan-loader/scripts/
H A Dloader_extension_generator.py186 self.CommandData = namedtuple('CommandData', ['name', 'ext_name', 'ext_type', 'require', 'protect', 'return_type', 'handle_type', 'params', 'cdecl'])
379 def AddCommandToDispatchList(self, extension_name, extension_type, name, cmdinfo, handle_type):
380 handle = self.registry.tree.find("types/type/[name='" + handle_type + "'][@category='handle']")
416 if handle is not None and handle_type != 'VkInstance' and handle_type != 'VkPhysicalDevice':
426 handle_type = handle_type,
437 handle_type = handle_type,
450 handle_type
[all...]
H A Ddispatch_table_helper_generator.py180 def AddCommandToDispatchList(self, name, handle_type, protect, cmdinfo):
181 handle = self.registry.tree.find("types/type/[name='" + handle_type + "'][@category='handle']")
184 if handle_type != 'VkInstance' and handle_type != 'VkPhysicalDevice' and name != 'vkGetInstanceProcAddr':
H A Dhelper_file_generator.py299 def TypeContainsObjectHandle(self, handle_type, dispatchable):
304 handle = self.registry.tree.find("types/type/[name='" + handle_type + "'][@category='handle']")
307 # if handle_type is a struct, search its members
308 if handle_type in self.structNames:
309 member_index = next((i for i, v in enumerate(self.structMembers) if v[0] == handle_type), None)
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_wire/server/
H A DServerHandlers.cpp46 {{ assert(member.handle_type) }}
47 {% set Type = member.handle_type.name.CamelCase() %}
79 {%- if member.handle_type -%}
95 {%- for member in command.members if member.is_return_value and member.handle_type -%}
96 {% set Type = member.handle_type.name.CamelCase() %}
H A DServerDoers.cpp31 {%- if member.handle_type -%}
32 {{as_cType(member.handle_type.name)}}* {{as_varName(member.name)}}
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_fence.c301 const VkExternalFenceHandleTypeFlagBits handle_type = in vk_common_GetPhysicalDeviceExternalFenceProperties() local
305 get_fence_sync_type(pdevice, handle_type); in vk_common_GetPhysicalDeviceExternalFenceProperties()
318 if (handle_type != VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT) { in vk_common_GetPhysicalDeviceExternalFenceProperties()
334 if (handle_type & export) in vk_common_GetPhysicalDeviceExternalFenceProperties()
336 if (handle_type & import) in vk_common_GetPhysicalDeviceExternalFenceProperties()
357 const VkExternalFenceHandleTypeFlagBits handle_type = in vk_common_ImportFenceFdKHR() local
363 get_fence_sync_type(device->physical, handle_type); in vk_common_ImportFenceFdKHR()
374 assert(handle_type & vk_sync_fence_handle_types(sync->type)); in vk_common_ImportFenceFdKHR()
H A Dvk_semaphore.c230 const VkExternalSemaphoreHandleTypeFlagBits handle_type = in vk_common_GetPhysicalDeviceExternalSemaphoreProperties() local
237 get_semaphore_sync_type(pdevice, semaphore_type, handle_type); in vk_common_GetPhysicalDeviceExternalSemaphoreProperties()
250 if (handle_type != VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT) { in vk_common_GetPhysicalDeviceExternalSemaphoreProperties()
267 if (handle_type & export) in vk_common_GetPhysicalDeviceExternalSemaphoreProperties()
269 if (handle_type & import) in vk_common_GetPhysicalDeviceExternalSemaphoreProperties()
396 const VkExternalSemaphoreHandleTypeFlagBits handle_type = in vk_common_ImportSemaphoreFdKHR() local
417 get_semaphore_sync_type(device->physical, semaphore->type, handle_type); in vk_common_ImportSemaphoreFdKHR()
428 assert(handle_type & in vk_common_ImportSemaphoreFdKHR()
/third_party/vulkan-loader/loader/
H A Ddirent_on_windows.c23 typedef ptrdiff_t handle_type; /* C99's intptr_t not sufficiently portable */ typedef
26 handle_type handle; /* -1 for failed rewind */
46 if ((dir->handle = (handle_type)_findfirst(dir->name, &dir->info)) != -1) { in opendir()
105 dir->handle = (handle_type)_findfirst(dir->name, &dir->info); in rewinddir()
/third_party/ltp/testcases/kernel/syscalls/fanotify/
H A Dfanotify22.c154 if (fh->handle_type != ex->fid->handle.handle_type) { in check_error_event_info_fid()
156 ex->name, fh->handle_type, ex->fid->handle.handle_type); in check_error_event_info_fid()
291 null_fid.handle.handle_type = FILEID_INVALID; in init_null_fid()
H A Dfanotify13.c236 /* Verify handle_type returned in event */ in do_test()
237 if (event_file_handle->handle_type != in do_test()
238 expected_fid->handle.handle_type) { in do_test()
240 "handle_type (%x) returned in event does not " in do_test()
241 "equal to handle_type (%x) returned in " in do_test()
243 event_file_handle->handle_type, in do_test()
244 expected_fid->handle.handle_type); in do_test()
H A Dfanotify15.c230 } else if (event_file_handle->handle_type != in do_test()
231 expected->fid->handle.handle_type) { in do_test()
233 "handle_type (%x) returned in event does not " in do_test()
234 "equal to handle_type (%x) returned in " in do_test()
236 event_file_handle->handle_type, in do_test()
237 expected->fid->handle.handle_type); in do_test()
H A Dfanotify.h284 #define REQUIRE_HANDLE_TYPE_SUPPORTED_BY_KERNEL(handle_type) \
285 fanotify_init_flags_err_msg(#handle_type, __FILE__, __LINE__, tst_brk_, \
286 fanotify_handle_supported_by_kernel(handle_type))
H A Dfanotify16.c635 file_handle->handle_type); in do_test()
636 } else if (file_handle->handle_type != in do_test()
637 expected_fid->handle.handle_type) { in do_test()
646 file_handle->handle_type, in do_test()
647 expected_fid->handle.handle_type); in do_test()
658 file_handle->handle_type, in do_test()
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_wire/client/
H A DClientHandlers.cpp30 {% for member in command.members if member.handle_type %}
31 {% set Type = member.handle_type.name.CamelCase() %}
45 {%- if member.handle_type -%}
/third_party/ltp/include/lapi/
H A Dname_to_handle_at.h54 fhp->handle_type = fh.handle_type; in allocate_file_handle()
/third_party/ffmpeg/libavfilter/
H A Dvf_deinterlace_qsv.c161 mfxHandleType handle_type; in init_out_session() local
178 handle_type = MFX_HANDLE_VA_DISPLAY; in init_out_session()
180 handle_type = MFX_HANDLE_D3D11_DEVICE; in init_out_session()
182 handle_type = MFX_HANDLE_D3D9_DEVICE_MANAGER; in init_out_session()
188 err = MFXVideoCORE_GetHandle(device_hwctx->session, handle_type, &handle); in init_out_session()
207 err = MFXVideoCORE_SetHandle(s->session, handle_type, handle); in init_out_session()
H A Dvf_scale_qsv.c274 mfxHandleType handle_type; in init_out_session() local
293 handle_type = MFX_HANDLE_VA_DISPLAY; in init_out_session()
295 handle_type = MFX_HANDLE_D3D11_DEVICE; in init_out_session()
297 handle_type = MFX_HANDLE_D3D9_DEVICE_MANAGER; in init_out_session()
303 err = MFXVideoCORE_GetHandle(device_hwctx->session, handle_type, &handle); in init_out_session()
320 err = MFXVideoCORE_SetHandle(s->session, handle_type, handle); in init_out_session()
H A Dqsvvpp.c494 mfxHandleType handle_type; in init_vpp_session() local
582 handle_type = MFX_HANDLE_VA_DISPLAY; in init_vpp_session()
584 handle_type = MFX_HANDLE_D3D11_DEVICE; in init_vpp_session()
586 handle_type = MFX_HANDLE_D3D9_DEVICE_MANAGER; in init_vpp_session()
592 ret = MFXVideoCORE_GetHandle(device_hwctx->session, handle_type, &handle); in init_vpp_session()
610 ret = MFXVideoCORE_SetHandle(s->session, handle_type, handle); in init_vpp_session()
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/
H A Dconsistency_tools.py617 def compute(handle_type):
618 immediate_parent = self.handle_types[handle_type].elem.get(
785 for handle_type, ancestors in handle_ancestors.items():
789 extra_handle_codes[handle_type] = set().union(*ancestors_codes)
791 for handle_type, extras in extra_handle_codes.items():
792 types_to_codes.add(handle_type, extras)
/third_party/ltp/testcases/kernel/syscalls/open_by_handle_at/
H A Dopen_by_handle_at02.c63 link_fhp->handle_type = valid_fhp->handle_type; in setup()
/third_party/skia/third_party/externals/dawn/generator/
H A Ddawn_json_generator.py175 self.handle_type = None
179 def set_handle_type(self, handle_type):
181 self.handle_type = handle_type
284 handle_type = m.get('handle_type')
285 if handle_type:
286 member.set_handle_type(types[handle_type])
/third_party/ffmpeg/libavutil/
H A Dhwcontext_qsv.c65 mfxHandleType handle_type; member
228 mfxHandleType handle_type; in qsv_device_init() local
243 handle_type = MFX_HANDLE_VA_DISPLAY; in qsv_device_init()
250 handle_type = MFX_HANDLE_D3D11_DEVICE; in qsv_device_init()
257 handle_type = MFX_HANDLE_D3D9_DEVICE_MANAGER; in qsv_device_init()
265 err = MFXVideoCORE_GetHandle(hwctx->session, handle_type, &s->handle); in qsv_device_init()
267 s->handle_type = handle_type; in qsv_device_init()
637 err = MFXVideoCORE_SetHandle(*session, device_priv->handle_type, in qsv_init_internal_session()
1485 mfxHandleType handle_type; in qsv_device_derive_from_child() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dqsv.c738 mfxHandleType handle_type; in ff_qsv_init_session_device() local
750 handle_type = MFX_HANDLE_VA_DISPLAY; in ff_qsv_init_session_device()
753 handle_type = MFX_HANDLE_D3D11_DEVICE; in ff_qsv_init_session_device()
756 handle_type = MFX_HANDLE_D3D9_DEVICE_MANAGER; in ff_qsv_init_session_device()
761 err = MFXVideoCORE_GetHandle(parent_session, handle_type, &handle); in ff_qsv_init_session_device()
781 err = MFXVideoCORE_SetHandle(session, handle_type, handle); in ff_qsv_init_session_device()

Completed in 17 milliseconds

12