/third_party/musl/porting/linux/user/src/hook/ |
H A D | malloc_common.c | 26 volatile const struct MallocDispatchType* dispatch_table = (struct MallocDispatchType *)atomic_load_explicit( in malloc() local 28 if (__predict_false(dispatch_table != NULL)) { in malloc() 30 return dispatch_table->malloc(bytes); in malloc() 44 return dispatch_table->malloc(bytes); in malloc() 54 volatile const struct MallocDispatchType* dispatch_table = (struct MallocDispatchType *)atomic_load_explicit( in aligned_alloc() local 56 if (__predict_false(dispatch_table != NULL)) { in aligned_alloc() 58 return dispatch_table->aligned_alloc(align, len); in aligned_alloc() 66 return dispatch_table->aligned_alloc(align, len); in aligned_alloc() 73 volatile const struct MallocDispatchType* dispatch_table = (struct MallocDispatchType *)atomic_load_explicit( in free() local 75 if (__predict_false(dispatch_table ! in free() 105 volatile const struct MallocDispatchType* dispatch_table = get_current_dispatch_table(); mmap() local 115 volatile const struct MallocDispatchType* dispatch_table = get_current_dispatch_table(); munmap() local 128 volatile const struct MallocDispatchType* dispatch_table = get_current_dispatch_table(); calloc() local 144 volatile const struct MallocDispatchType* dispatch_table = get_current_dispatch_table(); realloc() local 157 volatile const struct MallocDispatchType* dispatch_table = get_current_dispatch_table(); malloc_usable_size() local 176 volatile const struct MallocDispatchType* dispatch_table = get_current_dispatch_table(); prctl() local [all...] |
H A D | memory_trace.c | 10 volatile const struct MallocDispatchType* dispatch_table = (struct MallocDispatchType *)atomic_load_explicit( in memtrace() local 12 if (__predict_false(dispatch_table != NULL)) { in memtrace() 22 return dispatch_table->memtrace(addr, size, tag, is_using); in memtrace()
|
/third_party/musl/src/hook/linux/ |
H A D | malloc_common.c | 54 volatile const struct MallocDispatchType* dispatch_table = (struct MallocDispatchType *)atomic_load_explicit( in malloc() local 56 if (__predict_false(dispatch_table != NULL)) { in malloc() 58 return dispatch_table->malloc(bytes); in malloc() 72 return dispatch_table->malloc(bytes); in malloc() 82 volatile const struct MallocDispatchType* dispatch_table = (struct MallocDispatchType *)atomic_load_explicit( in aligned_alloc() local 84 if (__predict_false(dispatch_table != NULL)) { in aligned_alloc() 86 return dispatch_table->aligned_alloc(align, len); in aligned_alloc() 94 return dispatch_table->aligned_alloc(align, len); in aligned_alloc() 101 volatile const struct MallocDispatchType* dispatch_table = (struct MallocDispatchType *)atomic_load_explicit( in free() local 103 if (__predict_false(dispatch_table ! in free() 133 volatile const struct MallocDispatchType* dispatch_table = get_current_dispatch_table(); mmap() local 143 volatile const struct MallocDispatchType* dispatch_table = get_current_dispatch_table(); munmap() local 161 volatile const struct MallocDispatchType* dispatch_table = get_current_dispatch_table(); calloc() local 182 volatile const struct MallocDispatchType* dispatch_table = get_current_dispatch_table(); realloc() local 195 volatile const struct MallocDispatchType* dispatch_table = get_current_dispatch_table(); malloc_usable_size() local 214 volatile const struct MallocDispatchType* dispatch_table = get_current_dispatch_table(); prctl() local [all...] |
H A D | memory_trace.c | 25 volatile const struct MallocDispatchType* dispatch_table = (struct MallocDispatchType *)atomic_load_explicit( in memtrace() local 27 if (__predict_false(dispatch_table != NULL)) { in memtrace() 37 return dispatch_table->memtrace(addr, size, tag, is_using); in memtrace()
|
/third_party/mesa3d/src/amd/vulkan/radix_sort/ |
H A D | radv_radix_sort.c | 105 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 in vkCmdDispatch() [all...] |
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_physical_device.c | 33 const struct vk_physical_device_dispatch_table *dispatch_table) in vk_physical_device_init() 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 in vk_common_GetPhysicalDeviceFormatProperties() 30 vk_physical_device_init(struct vk_physical_device *pdevice, struct vk_instance *instance, const struct vk_device_extension_table *supported_extensions, const struct vk_physical_device_dispatch_table *dispatch_table) vk_physical_device_init() argument [all...] |
H A D | vk_instance.c | 41 const struct vk_instance_dispatch_table *dispatch_table, in vk_instance_init() 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() 39 vk_instance_init(struct vk_instance *instance, const struct vk_instance_extension_table *supported_extensions, const struct vk_instance_dispatch_table *dispatch_table, const VkInstanceCreateInfo *pCreateInfo, const VkAllocationCallbacks *alloc) vk_instance_init() argument
|
H A D | vk_cmd_copy.c | 59 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()
|
H A D | vk_device.c | 106 const struct vk_device_dispatch_table *dispatch_table, in vk_device_init() 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 in vk_common_BindImageMemory() 104 vk_device_init(struct vk_device *device, struct vk_physical_device *physical_device, const struct vk_device_dispatch_table *dispatch_table, const VkDeviceCreateInfo *pCreateInfo, const VkAllocationCallbacks *alloc) vk_device_init() argument [all...] |
H A D | vk_synchronization2.c | 42 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()
|
H A D | vk_physical_device.h | 60 struct vk_physical_device_dispatch_table dispatch_table; member 101 * @param[in] dispatch_table Physical-device-level dispatch table 107 const struct vk_physical_device_dispatch_table *dispatch_table);
|
H A D | vk_android.c | 85 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()
|
H A D | vk_instance.h | 86 struct vk_instance_dispatch_table dispatch_table; member 121 * @param[in] dispatch_table Instance-level dispatch table 130 const struct vk_instance_dispatch_table *dispatch_table,
|
H A D | vk_device.h | 111 struct vk_device_dispatch_table dispatch_table; member 260 * @param[in] dispatch_table Device-level dispatch table 269 const struct vk_device_dispatch_table *dispatch_table,
|
/third_party/vulkan-loader/tests/framework/layer/ |
H A D | test_layer.cpp | 420 layer_init_device_dispatch_table(device.device_handle, &device.dispatch_table, fpGetDeviceProcAddr); 458 &layer.second_device_created_during_create_device.dispatch_table, next_gdpa); 662 layer.second_device_created_during_create_device.dispatch_table.DestroyDevice); 668 it->dispatch_table.DestroyDevice(device, pAllocator); 694 if (d.dispatch_table.DebugMarkerSetObjectTagEXT) { 695 return d.dispatch_table.DebugMarkerSetObjectTagEXT(dev, pTagInfo); 706 if (d.dispatch_table.DebugMarkerSetObjectNameEXT) { 707 return d.dispatch_table.DebugMarkerSetObjectNameEXT(dev, pNameInfo); 717 if (layer.created_devices[0].dispatch_table.CmdDebugMarkerBeginEXT) 718 layer.created_devices[0].dispatch_table [all...] |
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_common.h | 268 const struct vk_instance_dispatch_table *dispatch_table, in vn_instance_base_init() 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() 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() 312 dispatch_table, info, alloc); in vn_device_base_init() 265 vn_instance_base_init( struct vn_instance_base *instance, const struct vk_instance_extension_table *supported_extensions, const struct vk_instance_dispatch_table *dispatch_table, const VkInstanceCreateInfo *info, const VkAllocationCallbacks *alloc) vn_instance_base_init() argument 285 vn_physical_device_base_init( struct vn_physical_device_base *physical_dev, struct vn_instance_base *instance, const struct vk_device_extension_table *supported_extensions, const struct vk_physical_device_dispatch_table *dispatch_table) vn_physical_device_base_init() argument 305 vn_device_base_init(struct vn_device_base *dev, struct vn_physical_device_base *physical_dev, const struct vk_device_dispatch_table *dispatch_table, const VkDeviceCreateInfo *info, const VkAllocationCallbacks *alloc) vn_device_base_init() argument
|
H A D | vn_device.c | 442 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/ |
H A D | testing_refleaks.py | 81 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/ |
H A D | panvk_device.c | 186 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/ |
H A D | refleak.py | 42 ps = copyreg.dispatch_table.copy() 158 copyreg.dispatch_table.clear() 159 copyreg.dispatch_table.update(ps)
|
/third_party/python/Lib/test/ |
H A D | test_pickle.py | 163 self.dispatch_table = table 171 self.assertIs(pickler.dispatch_table, table) 221 return pickle.dispatch_table.copy() 229 return collections.ChainMap({}, pickle.dispatch_table) 284 return pickle.dispatch_table.copy() 289 return collections.ChainMap({}, pickle.dispatch_table)
|
/third_party/python/Lib/multiprocessing/ |
H A D | reduction.py | 36 _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/python/Lib/ |
H A D | copy.py | 53 from copyreg import dispatch_table namespace 86 reductor = dispatch_table.get(cls) 155 reductor = dispatch_table.get(cls)
|
H A D | copyreg.py | 10 dispatch_table = {} variable 15 dispatch_table[ob_type] = pickle_function
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_device.c | 219 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...] |