Home
last modified time | relevance | path

Searched refs:dispatch_table (Results 1 – 25 of 69) sorted by relevance

123

/third_party/musl/porting/linux/user/src/hook/
Dmalloc_common.c12 …volatile const struct MallocDispatchType* dispatch_table = (struct MallocDispatchType *)atomic_loa… in malloc() local
14 if (__predict_false(dispatch_table != NULL)) { in malloc()
16 return dispatch_table->malloc(bytes); in malloc()
24 return dispatch_table->malloc(bytes); in malloc()
31 …volatile const struct MallocDispatchType* dispatch_table = (struct MallocDispatchType *)atomic_loa… in free() local
33 if (__predict_false(dispatch_table != NULL)) { in free()
35 dispatch_table->free(mem); in free()
46 dispatch_table->free(mem); in free()
54 volatile const struct MallocDispatchType* dispatch_table = get_current_dispatch_table(); in mmap() local
55 if (__predict_false(dispatch_table != NULL)) { in mmap()
[all …]
Dmemory_trace.c10 …volatile const struct MallocDispatchType* dispatch_table = (struct MallocDispatchType *)atomic_loa… in memtrace() local
12 if (__predict_false(dispatch_table != NULL)) { in memtrace()
22 return dispatch_table->memtrace(addr, size, tag, is_using); in memtrace()
Dmusl_preinit.c340 …rary_handle, const char* shared_lib, const char* prefix, struct MallocDispatchType* dispatch_table) in init_malloc_hook_shared_library() argument
367 if (!init_hook_functions(shared_library_handle, dispatch_table, prefix)) { in init_malloc_hook_shared_library()
375 …ared_library(const char* shared_lib, const char* prefix, struct MallocDispatchType* dispatch_table) in load_malloc_hook_shared_library() argument
386 if (!init_malloc_hook_shared_library(shared_library_handle, shared_lib, prefix, dispatch_table)) { in load_malloc_hook_shared_library()
/third_party/mesa3d/src/amd/vulkan/radix_sort/
Dradv_radix_sort.c105 return device->vk.dispatch_table.CreateShaderModule(_device, pCreateInfo, pAllocator, in vkCreateShaderModule()
114 device->vk.dispatch_table.DestroyShaderModule(_device, shaderModule, pAllocator); in vkDestroyShaderModule()
122 return device->vk.dispatch_table.CreatePipelineLayout(_device, pCreateInfo, pAllocator, in vkCreatePipelineLayout()
131 device->vk.dispatch_table.DestroyPipelineLayout(_device, pipelineLayout, pAllocator); in vkDestroyPipelineLayout()
140 return device->vk.dispatch_table.CreateComputePipelines(_device, pipelineCache, createInfoCount, in vkCreateComputePipelines()
148 device->vk.dispatch_table.DestroyPipeline(_device, pipeline, pAllocator); in vkDestroyPipeline()
161 cmd_buffer->device->vk.dispatch_table.CmdPipelineBarrier( in vkCmdPipelineBarrier()
173 cmd_buffer->device->vk.dispatch_table.CmdPushConstants(commandBuffer, layout, stageFlags, offset, in vkCmdPushConstants()
182 cmd_buffer->device->vk.dispatch_table.CmdBindPipeline(commandBuffer, pipelineBindPoint, in vkCmdBindPipeline()
191 cmd_buffer->device->vk.dispatch_table.CmdDispatch(commandBuffer, groupCountX, groupCountY, in vkCmdDispatch()
[all …]
/third_party/mesa3d/src/vulkan/runtime/
Dvk_physical_device.c33 const struct vk_physical_device_dispatch_table *dispatch_table) in vk_physical_device_init() argument
42 pdevice->dispatch_table = *dispatch_table; in vk_physical_device_init()
46 &pdevice->dispatch_table, &vk_common_physical_device_entrypoints, false); in vk_physical_device_init()
111 pdevice->dispatch_table.GetPhysicalDeviceFeatures2(physicalDevice, in vk_common_GetPhysicalDeviceFeatures()
127 pdevice->dispatch_table.GetPhysicalDeviceProperties2(physicalDevice, in vk_common_GetPhysicalDeviceProperties()
140 pdevice->dispatch_table.GetPhysicalDeviceQueueFamilyProperties2(physicalDevice, in vk_common_GetPhysicalDeviceQueueFamilyProperties()
153 pdevice->dispatch_table.GetPhysicalDeviceQueueFamilyProperties2(physicalDevice, in vk_common_GetPhysicalDeviceQueueFamilyProperties()
174 pdevice->dispatch_table.GetPhysicalDeviceMemoryProperties2(physicalDevice, in vk_common_GetPhysicalDeviceMemoryProperties()
191 pdevice->dispatch_table.GetPhysicalDeviceFormatProperties2(physicalDevice, in vk_common_GetPhysicalDeviceFormatProperties()
222 pdevice->dispatch_table.GetPhysicalDeviceImageFormatProperties2(physicalDevice, in vk_common_GetPhysicalDeviceImageFormatProperties()
[all …]
Dvk_instance.c41 const struct vk_instance_dispatch_table *dispatch_table, in vk_instance_init() argument
82 if (dispatch_table->EnumerateInstanceVersion) in vk_instance_init()
83 dispatch_table->EnumerateInstanceVersion(&instance_version); in vk_instance_init()
161 instance->dispatch_table = *dispatch_table; in vk_instance_init()
165 &instance->dispatch_table, &vk_common_instance_entrypoints, false); in vk_instance_init()
270 func = vk_instance_dispatch_table_get_if_supported(&instance->dispatch_table, in vk_instance_get_proc_addr()
304 func = vk_instance_dispatch_table_get(&instance->dispatch_table, name); in vk_instance_get_proc_addr_unchecked()
Dvk_device.c106 const struct vk_device_dispatch_table *dispatch_table, in vk_device_init() argument
119 device->dispatch_table = *dispatch_table; in vk_device_init()
123 &device->dispatch_table, &vk_common_device_entrypoints, false); in vk_device_init()
332 return vk_device_dispatch_table_get_if_supported(&device->dispatch_table, in vk_device_get_proc_addr()
370 device->dispatch_table.GetDeviceQueue2(_device, &info, pQueue); in vk_common_GetDeviceQueue()
416 device->dispatch_table.GetBufferMemoryRequirements2(_device, &info, &reqs); in vk_common_GetBufferMemoryRequirements()
436 return device->dispatch_table.BindBufferMemory2(_device, 1, &bind); in vk_common_BindBufferMemory()
453 device->dispatch_table.GetImageMemoryRequirements2(_device, &info, &reqs); in vk_common_GetImageMemoryRequirements()
473 return device->dispatch_table.BindImageMemory2(_device, 1, &bind); in vk_common_BindImageMemory()
490 device->dispatch_table.GetImageSparseMemoryRequirements2(_device, in vk_common_GetImageSparseMemoryRequirements()
[all …]
Dvk_cmd_copy.c59 disp->device->dispatch_table.CmdCopyBuffer2KHR(commandBuffer, &info); in vk_common_CmdCopyBuffer()
101 disp->device->dispatch_table.CmdCopyImage2KHR(commandBuffer, &info); in vk_common_CmdCopyImage()
142 disp->device->dispatch_table.CmdCopyBufferToImage2KHR(commandBuffer, &info); in vk_common_CmdCopyBufferToImage()
183 disp->device->dispatch_table.CmdCopyImageToBuffer2KHR(commandBuffer, &info); in vk_common_CmdCopyImageToBuffer()
232 disp->device->dispatch_table.CmdBlitImage2KHR(commandBuffer, &info); in vk_common_CmdBlitImage()
274 disp->device->dispatch_table.CmdResolveImage2KHR(commandBuffer, &info); in vk_common_CmdResolveImage()
Dvk_synchronization2.c42 device->dispatch_table.CmdWriteTimestamp2KHR(commandBuffer, in vk_common_CmdWriteTimestamp()
150 device->dispatch_table.CmdPipelineBarrier2KHR(commandBuffer, &dep_info); in vk_common_CmdPipelineBarrier()
177 device->dispatch_table.CmdSetEvent2KHR(commandBuffer, event, &dep_info); in vk_common_CmdSetEvent()
189 device->dispatch_table.CmdResetEvent2KHR(commandBuffer, in vk_common_CmdResetEvent()
231 device->dispatch_table.CmdWaitEvents2KHR(commandBuffer, eventCount, pEvents, deps); in vk_common_CmdWaitEvents()
248 device->dispatch_table.CmdPipelineBarrier(commandBuffer, in vk_common_CmdWaitEvents()
267 device->dispatch_table.CmdWriteBufferMarker2AMD(commandBuffer, in vk_common_CmdWriteBufferMarkerAMD()
416 VkResult result = device->dispatch_table.QueueSubmit2KHR(_queue, in vk_common_QueueSubmit()
Dvk_android.c85 result = device->dispatch_table.ImportSemaphoreFdKHR(_device, &info); in vk_common_AcquireImageANDROID()
98 result = device->dispatch_table.ImportFenceFdKHR(_device, &info); in vk_common_AcquireImageANDROID()
138 result = device->dispatch_table.GetSemaphoreFdKHR(vk_device_to_handle(device), in vk_common_QueueSignalReleaseImageANDROID()
Dvk_physical_device.h60 struct vk_physical_device_dispatch_table dispatch_table; member
107 const struct vk_physical_device_dispatch_table *dispatch_table);
Dvk_instance.h86 struct vk_instance_dispatch_table dispatch_table; member
130 const struct vk_instance_dispatch_table *dispatch_table,
Dvk_device.h111 struct vk_device_dispatch_table dispatch_table; member
269 const struct vk_device_dispatch_table *dispatch_table,
/third_party/mesa3d/src/virtio/vulkan/
Dvn_common.h268 const struct vk_instance_dispatch_table *dispatch_table, in vn_instance_base_init() argument
273 dispatch_table, info, alloc); in vn_instance_base_init()
289 const struct vk_physical_device_dispatch_table *dispatch_table) in vn_physical_device_base_init() argument
293 supported_extensions, dispatch_table); in vn_physical_device_base_init()
307 const struct vk_device_dispatch_table *dispatch_table, in vn_device_base_init() argument
312 dispatch_table, info, alloc); in vn_device_base_init()
Dvn_device.c442 struct vk_device_dispatch_table dispatch_table; in vn_CreateDevice() local
443 vk_device_dispatch_table_from_entrypoints(&dispatch_table, in vn_CreateDevice()
445 vk_device_dispatch_table_from_entrypoints(&dispatch_table, in vn_CreateDevice()
448 &dispatch_table, pCreateInfo, alloc); in vn_CreateDevice()
/third_party/protobuf/python/google/protobuf/internal/
Dtesting_refleaks.py81 self._saved_pickle_registry = copyreg.dispatch_table.copy()
104 copyreg.dispatch_table.clear()
105 copyreg.dispatch_table.update(self._saved_pickle_registry)
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_device.c186 struct vk_instance_dispatch_table dispatch_table; in panvk_CreateInstance() local
188 vk_instance_dispatch_table_from_entrypoints(&dispatch_table, in panvk_CreateInstance()
191 vk_instance_dispatch_table_from_entrypoints(&dispatch_table, in panvk_CreateInstance()
196 &dispatch_table, in panvk_CreateInstance()
294 struct vk_physical_device_dispatch_table dispatch_table; in panvk_physical_device_init() local
295 vk_physical_device_dispatch_table_from_entrypoints(&dispatch_table, in panvk_physical_device_init()
298 vk_physical_device_dispatch_table_from_entrypoints(&dispatch_table, in panvk_physical_device_init()
304 &dispatch_table); in panvk_physical_device_init()
951 struct vk_device_dispatch_table dispatch_table; in panvk_CreateDevice() local
968 vk_device_dispatch_table_from_entrypoints(&dispatch_table, in panvk_CreateDevice()
[all …]
/third_party/python/Lib/test/libregrtest/
Drefleak.py43 ps = copyreg.dispatch_table.copy()
157 copyreg.dispatch_table.clear()
158 copyreg.dispatch_table.update(ps)
/third_party/mesa3d/docs/vulkan/
Ddispatch.rst125 struct vk_instance_dispatch_table *dispatch_table,
130 struct vk_physical_device_dispatch_table *dispatch_table,
135 struct vk_device_dispatch_table *dispatch_table,
180 struct vk_instance_dispatch_table dispatch_table;
182 &dispatch_table, &anv_instance_entrypoints, true);
184 &dispatch_table, &wsi_instance_entrypoints, false);
187 &dispatch_table, pCreateInfo, pAllocator);
233 return device->dispatch_table.BindBufferMemory2(_device, 1, &bind);
/third_party/python/Lib/
Dcopy.py53 from copyreg import dispatch_table
86 reductor = dispatch_table.get(cls)
155 reductor = dispatch_table.get(cls)
Dcopyreg.py10 dispatch_table = {} variable
15 dispatch_table[ob_type] = pickle_function
/third_party/python/Lib/multiprocessing/
Dreduction.py36 _copyreg_dispatch_table = copyreg.dispatch_table
40 self.dispatch_table = self._copyreg_dispatch_table.copy()
41 self.dispatch_table.update(self._extra_reducers)
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_device.c219 struct vk_physical_device_dispatch_table dispatch_table; in lvp_physical_device_init() local
221 &dispatch_table, &lvp_physical_device_entrypoints, true); in lvp_physical_device_init()
223 &dispatch_table, &wsi_physical_device_entrypoints, false); in lvp_physical_device_init()
225 NULL, &dispatch_table); in lvp_physical_device_init()
412 struct vk_instance_dispatch_table dispatch_table; in lvp_CreateInstance() local
414 &dispatch_table, &lvp_instance_entrypoints, true); in lvp_CreateInstance()
416 &dispatch_table, &wsi_instance_entrypoints, false); in lvp_CreateInstance()
420 &dispatch_table, in lvp_CreateInstance()
1534 struct vk_device_dispatch_table dispatch_table; in lvp_CreateDevice() local
1535 vk_device_dispatch_table_from_entrypoints(&dispatch_table, in lvp_CreateDevice()
[all …]
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_device.c217 struct vk_instance_dispatch_table dispatch_table; in v3dv_CreateInstance() local
219 &dispatch_table, &v3dv_instance_entrypoints, true); in v3dv_CreateInstance()
221 &dispatch_table, &wsi_instance_entrypoints, false); in v3dv_CreateInstance()
225 &dispatch_table, in v3dv_CreateInstance()
724 struct vk_physical_device_dispatch_table dispatch_table; in physical_device_init() local
726 (&dispatch_table, &v3dv_physical_device_entrypoints, true); in physical_device_init()
728 &dispatch_table, &wsi_physical_device_entrypoints, false); in physical_device_init()
731 &dispatch_table); in physical_device_init()
1952 struct vk_device_dispatch_table dispatch_table; in v3dv_CreateDevice() local
1953 vk_device_dispatch_table_from_entrypoints(&dispatch_table, in v3dv_CreateDevice()
[all …]
/third_party/python/Lib/test/
Dtest_pickle.py198 return pickle.dispatch_table.copy()
206 return collections.ChainMap({}, pickle.dispatch_table)
261 return pickle.dispatch_table.copy()
266 return collections.ChainMap({}, pickle.dispatch_table)

123