Searched refs:alloc_callbacks (Results 1 – 3 of 3) sorted by relevance
175 if (instance && instance->alloc_callbacks.pfnAllocation) { in loader_heap_alloc()177 return instance->alloc_callbacks.pfnAllocation( in loader_heap_alloc()178 instance->alloc_callbacks.pUserData, size, sizeof(int), in loader_heap_alloc()187 if (instance && instance->alloc_callbacks.pfnFree) { in loader_heap_free()188 instance->alloc_callbacks.pfnFree(instance->alloc_callbacks.pUserData, in loader_heap_free()205 if (instance && instance->alloc_callbacks.pfnAllocation) { in loader_heap_realloc()211 void *new_ptr = instance->alloc_callbacks.pfnAllocation( in loader_heap_realloc()212 instance->alloc_callbacks.pUserData, size, sizeof(int), in loader_heap_realloc()217 instance->alloc_callbacks.pfnFree(instance->alloc_callbacks.pUserData, in loader_heap_realloc()
298 VkAllocationCallbacks alloc_callbacks; member
271 ptr_instance->alloc_callbacks = *pAllocator;