Lines Matching refs:inst
105 void *loader_instance_heap_alloc(const struct loader_instance *inst, size_t size, VkSystemAllocationScope allocation_scope) {
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) {
110 return loader_calloc(inst ? &inst->alloc_callbacks : NULL, size, allocation_scope);
113 void loader_instance_heap_free(const struct loader_instance *inst, void *pMemory) {
114 loader_free(inst ? &inst->alloc_callbacks : NULL, pMemory);
116 void *loader_instance_heap_realloc(const struct loader_instance *inst, void *pMemory, size_t orig_size, size_t size,
118 return loader_realloc(inst ? &inst->alloc_callbacks : NULL, pMemory, orig_size, size, allocation_scope);
137 void *loader_alloc_with_instance_fallback(const VkAllocationCallbacks *pAllocator, const struct loader_instance *inst, size_t size,
139 return loader_alloc(NULL != pAllocator ? pAllocator : &inst->alloc_callbacks, size, allocation_scope);