Home
last modified time | relevance | path

Searched refs:pMemory (Results 1 – 25 of 40) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDeviceMemory.cpp85 …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()
DVkDeviceMemory.hpp52 …s *pAllocator, const VkMemoryAllocateInfo *pAllocateInfo, VkDeviceMemory *pMemory, Device *device);
127 …llocationCallbacks *pAllocator, const VkMemoryAllocateInfo *pAllocateInfo, VkDeviceMemory *pMemory,
DlibVulkan.cpp1089 …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/
Dvn_protocol_driver_device_memory.h594 …emoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) in vn_sizeof_vkAllocateMemory() argument
607 cmd_size += vn_sizeof_simple_pointer(pMemory); in vn_sizeof_vkAllocateMemory()
608 if (pMemory) in vn_sizeof_vkAllocateMemory()
609 cmd_size += vn_sizeof_VkDeviceMemory(pMemory); in vn_sizeof_vkAllocateMemory()
614 …emoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) in vn_encode_vkAllocateMemory() argument
626 if (vn_encode_simple_pointer(enc, pMemory)) in vn_encode_vkAllocateMemory()
627 vn_encode_VkDeviceMemory(enc, pMemory); in vn_encode_vkAllocateMemory()
630 …emoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) in vn_sizeof_vkAllocateMemory_reply() argument
640 cmd_size += vn_sizeof_simple_pointer(pMemory); in vn_sizeof_vkAllocateMemory_reply()
641 if (pMemory) in vn_sizeof_vkAllocateMemory_reply()
[all …]
/third_party/mesa3d/src/vulkan/util/
Dvk_alloc.c41 vk_default_free(void *pUserData, void *pMemory) in vk_default_free() argument
43 free(pMemory); in vk_default_free()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_device_memory.c307 VkDeviceMemory *pMemory) in vn_AllocateMemory() argument
383 *pMemory = mem_handle; in vn_AllocateMemory()
/third_party/skia/third_party/externals/d3d12allocator/src/
DD3D12Sample.cpp141 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()
DD3D12MemAlloc.h710 typedef void (*FREE_FUNC_PTR)(void* pMemory, void* pUserData);
DD3D12MemAlloc.cpp109 static void DefaultFree(void* pMemory, void* /*pUserData*/) in DefaultFree() argument
111 return _aligned_free(pMemory); in DefaultFree()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dubidiimp.h428 ubidi_getMemory(BidiMemoryForAllocation *pMemory, int32_t *pSize, UBool mayAllocate, int32_t sizeNe…
Dubidi.cpp200 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/node/deps/icu-small/source/common/
Dubidiimp.h444 ubidi_getMemory(BidiMemoryForAllocation *pMemory, int32_t *pSize, UBool mayAllocate, int32_t sizeNe…
Dubidi.cpp200 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/
Dubidiimp.h444 ubidi_getMemory(BidiMemoryForAllocation *pMemory, int32_t *pSize, UBool mayAllocate, int32_t sizeNe…
Dubidi.cpp200 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/
Dubidiimp.h444 ubidi_getMemory(BidiMemoryForAllocation *pMemory, int32_t *pSize, UBool mayAllocate, int32_t sizeNe…
Dubidi.cpp200 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/
DvkNullDriver.cpp1270 …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/
Dvulkan.c1675 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/
DvktApiDeviceInitializationTests.cpp1816 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/
Dvulkan.h1137 void* pMemory);
2250 …moryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory);
2473 VkDeviceMemory* pMemory);
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkDeviceDriverImpl.inl35 …llocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) const
37 return m_vk.allocateMemory(device, pAllocateInfo, pAllocator, pMemory);
DvkVirtualDeviceInterface.inl10 …teInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) const = 0;
DvkConcreteDeviceInterface.inl10 …locateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) const;
/third_party/flutter/skia/include/third_party/vulkan/vulkan/
Dvulkan_core.h1654 void* pMemory);
2755 …moryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory);
2978 VkDeviceMemory* pMemory);

12