H A D | allocation.c | 34 void *loader_alloc(const VkAllocationCallbacks *pAllocator, size_t size, VkSystemAllocationScope allocation_scope) { argument 42 pMemory = pAllocator->pfnAllocation(pAllocator->pUserData, size, sizeof(uint64_t), allocation_scope); 51 void *loader_calloc(const VkAllocationCallbacks *pAllocator, size_t size, VkSystemAllocationScope allocation_scope) { argument 59 pMemory = pAllocator->pfnAllocation(pAllocator->pUserData, size, sizeof(uint64_t), allocation_scope); 86 VkSystemAllocationScope allocation_scope) { 89 pNewMem = loader_alloc(pAllocator, size, allocation_scope); 97 pNewMem = pAllocator->pfnReallocation(pAllocator->pUserData, pMemory, size, sizeof(uint64_t), allocation_scope); 105 void *loader_instance_heap_alloc(const struct loader_instance *inst, size_t size, VkSystemAllocationScope allocation_scope) { argument 106 return loader_alloc(inst ? &inst->alloc_callbacks : NULL, size, allocation_scope); 109 void *loader_instance_heap_calloc(const struct loader_instance *inst, size_t size, VkSystemAllocationScope allocation_scope) { argument 85 loader_realloc(const VkAllocationCallbacks *pAllocator, void *pMemory, size_t orig_size, size_t size, VkSystemAllocationScope allocation_scope) global() argument 116 loader_instance_heap_realloc(const struct loader_instance *inst, void *pMemory, size_t orig_size, size_t size, VkSystemAllocationScope allocation_scope) global() argument 121 loader_device_heap_alloc(const struct loader_device *dev, size_t size, VkSystemAllocationScope allocation_scope) global() argument 125 loader_device_heap_calloc(const struct loader_device *dev, size_t size, VkSystemAllocationScope allocation_scope) global() argument 132 loader_device_heap_realloc(const struct loader_device *dev, void *pMemory, size_t orig_size, size_t size, VkSystemAllocationScope allocation_scope) global() argument 137 loader_alloc_with_instance_fallback(const VkAllocationCallbacks *pAllocator, const struct loader_instance *inst, size_t size, VkSystemAllocationScope allocation_scope) global() argument 142 loader_calloc_with_instance_fallback(const VkAllocationCallbacks *pAllocator, const struct loader_instance *instance, size_t size, VkSystemAllocationScope allocation_scope) global() argument 152 loader_realloc_with_instance_fallback(const VkAllocationCallbacks *pAllocator, const struct loader_instance *instance, void *pMemory, size_t orig_size, size_t size, VkSystemAllocationScope allocation_scope) global() argument [all...] |