Home
last modified time | relevance | path

Searched refs:pOriginal (Results 1 – 20 of 20) sorted by relevance

/third_party/mesa3d/src/vulkan/util/
Dvk_alloc.c31 void *pOriginal, in vk_default_realloc() argument
37 return realloc(pOriginal, size); in vk_default_realloc()
/third_party/vulkan-loader/tests/
Dloader_alloc_callback_tests.cpp93 …void* reallocate(void* pOriginal, size_t size, size_t alignment, VkSystemAllocationScope alloc_sco… in reallocate() argument
94 if (pOriginal == nullptr) { in reallocate()
97 size_t index = find_element(pOriginal); in reallocate()
110 return pOriginal; in reallocate()
114 memcpy(new_alloc, pOriginal, original_size); in reallocate()
134 …void* impl_reallocation(void* pOriginal, size_t size, size_t alignment, VkSystemAllocationScope al… in impl_reallocation() argument
136 void* addr = reallocate(pOriginal, size, alignment, allocationScope); in impl_reallocation()
181 …static VKAPI_ATTR void* VKAPI_CALL public_reallocation(void* pUserData, void* pOriginal, size_t si… in public_reallocation() argument
183 …return reinterpret_cast<MemoryTracker*>(pUserData)->impl_reallocation(pOriginal, size, alignment, … in public_reallocation()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkAllocationCallbackUtil.cpp50 static VKAPI_ATTR void* VKAPI_CALL systemReallocate (void*, void* pOriginal, size_t size, size_t al… in systemReallocate() argument
52 return deAlignedRealloc(pOriginal, size, alignment); in systemReallocate()
85 static VKAPI_ATTR void* VKAPI_CALL reallocationCallback (void* pUserData, void* pOriginal, size_t s… in reallocationCallback() argument
87 …return reinterpret_cast<AllocationCallbacks*>(pUserData)->reallocate(pOriginal, size, alignment, a… in reallocationCallback()
DvkDefs.hpp170 void* pOriginal,
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiDeviceInitializationTests.cpp2509 VKAPI_ATTR void *VKAPI_CALL reallocCallbackFunc (void *pUserData, void *pOriginal, size_t size, siz… in reallocCallbackFunc() argument
2511 if (pOriginal != DE_NULL) in reallocCallbackFunc()
2515 …allocatedVector[vectorIdx].active && g_allocatedVector[vectorIdx].alignedStartAddress == pOriginal) in reallocCallbackFunc()
2519 freeCallbackFunc(pUserData, pOriginal); in reallocCallbackFunc()
2523 return pOriginal; in reallocCallbackFunc()
2535 memcpy(pNew, pOriginal, copySize); in reallocCallbackFunc()
2536 freeCallbackFunc(pUserData, pOriginal); in reallocCallbackFunc()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiDeviceInitializationTests.cpp2509 VKAPI_ATTR void *VKAPI_CALL reallocCallbackFunc (void *pUserData, void *pOriginal, size_t size, siz… in reallocCallbackFunc() argument
2511 if (pOriginal != DE_NULL) in reallocCallbackFunc()
2515 …allocatedVector[vectorIdx].active && g_allocatedVector[vectorIdx].alignedStartAddress == pOriginal) in reallocCallbackFunc()
2519 freeCallbackFunc(pUserData, pOriginal); in reallocCallbackFunc()
2523 return pOriginal; in reallocCallbackFunc()
2535 memcpy(pNew, pOriginal, copySize); in reallocCallbackFunc()
2536 freeCallbackFunc(pUserData, pOriginal); in reallocCallbackFunc()
/third_party/flutter/glfw/tests/
Dvulkan.c1659 VKAPI_ATTR void *VKAPI_CALL myrealloc(void *pUserData, void *pOriginal, in myrealloc() argument
1662 return realloc(pOriginal, size); in myrealloc()
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Dmemory.txt143 * pname:pOriginal must: be either `NULL` or a pointer previously returned
162 If pname:pOriginal is `NULL`, then pname:pfnReallocation must: behave
164 parameter values (without pname:pOriginal).
168 parameter value, and pname:pMemory equal to pname:pOriginal.
170 If pname:pOriginal is non-`NULL`, the implementation must: ensure that
172 pname:pOriginal.
174 If this function fails and pname:pOriginal is non-`NULL` the application
Dmemory.adoc143 * pname:pOriginal must: be either `NULL` or a pointer previously returned
162 If pname:pOriginal is `NULL`, then pname:pfnReallocation must: behave
164 parameter values (without pname:pOriginal).
168 parameter value, and pname:pMemory equal to pname:pOriginal.
170 If pname:pOriginal is non-`NULL`, the implementation must: ensure that
172 pname:pOriginal.
174 If this function fails and pname:pOriginal is non-`NULL` the application
/third_party/flutter/glfw/deps/vulkan/
Dvulkan.h1130 void* pOriginal,
/third_party/vk-gl-cts/external/vulkancts/scripts/src/
Dvulkan_sc_core.h1678 void* pOriginal,
/third_party/flutter/skia/include/third_party/vulkan/vulkan/
Dvulkan_core.h1647 void* pOriginal,
/third_party/flutter/skia/third_party/externals/dawn/third_party/khronos/vulkan/
Dvulkan_core.h1851 void* pOriginal,
/third_party/skia/include/third_party/vulkan/vulkan/
Dvulkan_core.h2425 void* pOriginal,
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_core.h2518 void* pOriginal,
/third_party/vk-gl-cts/external/vulkan-docs/src/include/vulkan/
Dvulkan_core.h2574 void* pOriginal,
/third_party/skia/third_party/externals/dawn/third_party/khronos/vulkan/
Dvulkan_core.h2567 void* pOriginal,
/third_party/mesa3d/include/vulkan/
Dvulkan_core.h2782 void* pOriginal,
/third_party/vulkan-headers/include/vulkan/
Dvulkan_core.h2891 void* pOriginal,
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkVulkan_c.inl3887 void* pOriginal,