/third_party/vulkan-loader/loader/ |
D | allocation.c | 35 void *pMemory = NULL; local 42 …pMemory = pAllocator->pfnAllocation(pAllocator->pUserData, size, sizeof(uint64_t), allocation_scop… 45 pMemory = malloc(size); 48 return pMemory; 52 void *pMemory = NULL; local 59 …pMemory = pAllocator->pfnAllocation(pAllocator->pUserData, size, sizeof(uint64_t), allocation_scop… 60 if (pMemory) { 61 memset(pMemory, 0, size); 65 pMemory = calloc(1, size); 68 return pMemory; [all …]
|
D | allocation.h | 36 void loader_instance_heap_free(const struct loader_instance *instance, void *pMemory); 37 void *loader_instance_heap_realloc(const struct loader_instance *instance, void *pMemory, size_t or… 42 void loader_device_heap_free(const struct loader_device *device, void *pMemory); 43 void *loader_device_heap_realloc(const struct loader_device *device, void *pMemory, size_t orig_siz… 50 void loader_free(const VkAllocationCallbacks *pAllocator, void *pMemory); 51 void *loader_realloc(const VkAllocationCallbacks *pAllocator, void *pMemory, size_t orig_size, size… 60 void *pMemory); 62 … void *pMemory, size_t orig_size, size_t size, VkSystemAllocationScope allocation_scope);
|
D | cJSON.c | 45 …ON_Free(const VkAllocationCallbacks *pAllocator, void *pMemory) { loader_free(pAllocator, pMemory)… in cJSON_Free() argument
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkDeviceMemory.cpp | 85 …ks *pAllocator, const VkMemoryAllocateInfo *pAllocateInfo, VkDeviceMemory *pMemory, Device *device) in Allocate() argument 87 *pMemory = VK_NULL_HANDLE; in Allocate() 96 result = Allocate(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo, device); in Allocate() 103 return vk::Cast(*pMemory)->allocate(); in Allocate() 106 …llocationCallbacks *pAllocator, const VkMemoryAllocateInfo *pAllocateInfo, VkDeviceMemory *pMemory, in Allocate() argument 112 …return AHardwareBufferExternalMemory::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocatio… in Allocate() 118 …return OpaqueFdExternalMemory::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo, … in Allocate() 124 …return zircon::VmoExternalMemory::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocationInf… in Allocate() 129 …return ExternalMemoryHost::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo, devi… in Allocate() 132 …return vk::DeviceMemoryInternal::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo… in Allocate()
|
D | VkDeviceMemory.hpp | 52 …s *pAllocator, const VkMemoryAllocateInfo *pAllocateInfo, VkDeviceMemory *pMemory, Device *device); 127 …llocationCallbacks *pAllocator, const VkMemoryAllocateInfo *pAllocateInfo, VkDeviceMemory *pMemory,
|
D | libVulkan.cpp | 1089 …emoryAllocateInfo *pAllocateInfo, const VkAllocationCallbacks *pAllocator, VkDeviceMemory *pMemory) in vkAllocateMemory() argument 1092 device, pAllocateInfo, pAllocator, pMemory); in vkAllocateMemory() 1094 VkResult result = vk::DeviceMemory::Allocate(pAllocator, pAllocateInfo, pMemory, vk::Cast(device)); in vkAllocateMemory() 1098 vk::destroy(*pMemory, pAllocator); in vkAllocateMemory() 1099 *pMemory = VK_NULL_HANDLE; in vkAllocateMemory() 1266 VKAPI_ATTR void VKAPI_CALL vkGetDeviceMemoryCommitment(VkDevice pDevice, VkDeviceMemory pMemory, Vk… in vkGetDeviceMemoryCommitment() argument 1269 pDevice, static_cast<void *>(pMemory), pCommittedMemoryInBytes); in vkGetDeviceMemoryCommitment() 1271 auto memory = vk::Cast(pMemory); in vkGetDeviceMemoryCommitment()
|
/third_party/mesa3d/src/virtio/venus-protocol/ |
D | vn_protocol_driver_device_memory.h | 538 …emoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) in vn_sizeof_vkAllocateMemory() argument 551 cmd_size += vn_sizeof_simple_pointer(pMemory); in vn_sizeof_vkAllocateMemory() 552 if (pMemory) in vn_sizeof_vkAllocateMemory() 553 cmd_size += vn_sizeof_VkDeviceMemory(pMemory); in vn_sizeof_vkAllocateMemory() 558 …emoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) in vn_encode_vkAllocateMemory() argument 570 if (vn_encode_simple_pointer(enc, pMemory)) in vn_encode_vkAllocateMemory() 571 vn_encode_VkDeviceMemory(enc, pMemory); in vn_encode_vkAllocateMemory() 574 …emoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) in vn_sizeof_vkAllocateMemory_reply() argument 584 cmd_size += vn_sizeof_simple_pointer(pMemory); in vn_sizeof_vkAllocateMemory_reply() 585 if (pMemory) in vn_sizeof_vkAllocateMemory_reply() [all …]
|
/third_party/mesa3d/src/vulkan/util/ |
D | vk_alloc.c | 41 vk_default_free(void *pUserData, void *pMemory) in vk_default_free() argument 43 free(pMemory); in vk_default_free()
|
/third_party/vulkan-loader/tests/ |
D | loader_alloc_callback_tests.cpp | 119 void free(void* pMemory) { in free() argument 120 if (pMemory == nullptr) return; in free() 121 size_t index = find_element(pMemory); in free() 139 void impl_free(void* pMemory) noexcept { in impl_free() argument 141 free(pMemory); in impl_free() 185 static VKAPI_ATTR void VKAPI_CALL public_free(void* pUserData, void* pMemory) noexcept { in public_free() argument 186 reinterpret_cast<MemoryTracker*>(pUserData)->impl_free(pMemory); in public_free()
|
/third_party/skia/third_party/externals/d3d12allocator/src/ |
D | D3D12Sample.cpp | 141 static void CustomFree(void* pMemory, void* pUserData) in CustomFree() argument 144 if(pMemory) in CustomFree() 149 wprintf(L"Free %p\n", pMemory); in CustomFree() 151 _aligned_free(pMemory); in CustomFree()
|
D | D3D12MemAlloc.h | 710 typedef void (*FREE_FUNC_PTR)(void* pMemory, void* pUserData);
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_device_memory.c | 406 VkDeviceMemory *pMemory) in vn_AllocateMemory() argument 480 *pMemory = mem_handle; in vn_AllocateMemory()
|
/third_party/node/deps/icu-small/source/common/ |
D | ubidiimp.h | 444 ubidi_getMemory(BidiMemoryForAllocation *pMemory, int32_t *pSize, UBool mayAllocate, int32_t sizeNe…
|
D | ubidi.cpp | 200 void **pMemory = (void **)bidiMem; in ubidi_getMemory() local 202 if(*pMemory==NULL) { in ubidi_getMemory() 204 if(mayAllocate && (*pMemory=uprv_malloc(sizeNeeded))!=NULL) { in ubidi_getMemory() 225 if((memory=uprv_realloc(*pMemory, sizeNeeded))!=NULL) { in ubidi_getMemory() 226 *pMemory=memory; in ubidi_getMemory()
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | ubidiimp.h | 428 ubidi_getMemory(BidiMemoryForAllocation *pMemory, int32_t *pSize, UBool mayAllocate, int32_t sizeNe…
|
D | ubidi.cpp | 200 void **pMemory = (void **)bidiMem; in ubidi_getMemory() local 202 if(*pMemory==NULL) { in ubidi_getMemory() 204 if(mayAllocate && (*pMemory=uprv_malloc(sizeNeeded))!=NULL) { in ubidi_getMemory() 225 if((memory=uprv_realloc(*pMemory, sizeNeeded))!=NULL) { in ubidi_getMemory() 226 *pMemory=memory; in ubidi_getMemory()
|
/third_party/icu/icu4c/source/common/ |
D | ubidiimp.h | 444 ubidi_getMemory(BidiMemoryForAllocation *pMemory, int32_t *pSize, UBool mayAllocate, int32_t sizeNe…
|
D | ubidi.cpp | 200 void **pMemory = (void **)bidiMem; in ubidi_getMemory() local 202 if(*pMemory==NULL) { in ubidi_getMemory() 204 if(mayAllocate && (*pMemory=uprv_malloc(sizeNeeded))!=NULL) { in ubidi_getMemory() 225 if((memory=uprv_realloc(*pMemory, sizeNeeded))!=NULL) { in ubidi_getMemory() 226 *pMemory=memory; in ubidi_getMemory()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | ubidiimp.h | 444 ubidi_getMemory(BidiMemoryForAllocation *pMemory, int32_t *pSize, UBool mayAllocate, int32_t sizeNe…
|
D | ubidi.cpp | 200 void **pMemory = (void **)bidiMem; in ubidi_getMemory() local 202 if(*pMemory==NULL) { in ubidi_getMemory() 204 if(mayAllocate && (*pMemory=uprv_malloc(sizeNeeded))!=NULL) { in ubidi_getMemory() 225 if((memory=uprv_realloc(*pMemory, sizeNeeded))!=NULL) { in ubidi_getMemory() 226 *pMemory=memory; in ubidi_getMemory()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkNullDriver.cpp | 1270 …emoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) in allocateMemory() argument 1279 …VK_NULL_RETURN((*pMemory = allocateNonDispHandle<ExternalDeviceMemoryAndroid, DeviceMemory, VkDevi… in allocateMemory() 1286 …VK_NULL_RETURN((*pMemory = allocateNonDispHandle<PrivateDeviceMemory, DeviceMemory, VkDeviceMemory… in allocateMemory()
|
/third_party/flutter/glfw/tests/ |
D | vulkan.c | 1675 VKAPI_ATTR void VKAPI_CALL myfree(void *pUserData, void *pMemory) { in myfree() argument 1677 _aligned_free(pMemory); in myfree() 1679 free(pMemory); in myfree()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiDeviceInitializationTests.cpp | 1816 VKAPI_ATTR void VKAPI_CALL freeCallbackFunc (void *pUserData, void *pMemory) in freeCallbackFunc() argument 1822 …g_allocatedVector[vectorIdx].active && g_allocatedVector[vectorIdx].alignedStartAddress == pMemory) in freeCallbackFunc()
|
/third_party/flutter/glfw/deps/vulkan/ |
D | vulkan.h | 1137 void* pMemory); 2250 …moryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory); 2473 VkDeviceMemory* pMemory);
|
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/ |
D | vkDeviceDriverImpl.inl | 35 …llocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) const 37 return m_vk.allocateMemory(device, pAllocateInfo, pAllocator, pMemory);
|