Home
last modified time | relevance | path

Searched refs:pAlloc (Results 1 – 11 of 11) sorted by relevance

/external/icu/icu4c/source/common/
Dcmemory.cpp34 static UMemAllocFn *pAlloc; variable
55 if (pAlloc) { in uprv_malloc()
56 return (*pAlloc)(pContext, s); in uprv_malloc()
126 pAlloc = a; in u_setMemoryFunctions()
134 pAlloc = NULL; in cmemory_cleanup()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Darena.h428 void* pAlloc = nullptr; in AllocAlignedSync() local
431 pAlloc = AllocAligned(size, align); in AllocAlignedSync()
434 return pAlloc; in AllocAlignedSync()
439 void* pAlloc = nullptr; in AllocSync() local
442 pAlloc = Alloc(size); in AllocSync()
445 return pAlloc; in AllocSync()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMaxVaryingsTests.cpp898 …ry (Context& context, VkDeviceSize size, VkBufferUsageFlags usage, de::MovePtr<Allocation>* pAlloc) in createBufferAndBindMemory() argument
918 …*pAlloc = context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *vertex… in createBufferAndBindMemory()
919 …VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, (*pAlloc)->getMemory(), (*pAlloc)->getOffset… in createBufferAndBindMemory()
DvktPipelineDepthRangeUnrestrictedTests.cpp305 …ry (Context& context, VkDeviceSize size, VkBufferUsageFlags usage, de::MovePtr<Allocation>* pAlloc) in createBufferAndBindMemory() argument
325 …*pAlloc = context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *vertex… in createBufferAndBindMemory()
326 …VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, (*pAlloc)->getMemory(), (*pAlloc)->getOffset… in createBufferAndBindMemory()
337 de::details::MovePtr<Allocation>* pAlloc) in createImage2DAndBindMemory() argument
364 …*pAlloc = context.getDefaultAllocator().allocate(getImageMemoryRequirements(vk, vkDevice, *image),… in createImage2DAndBindMemory()
365 VK_CHECK(vk.bindImageMemory(vkDevice, *image, (*pAlloc)->getMemory(), (*pAlloc)->getOffset())); in createImage2DAndBindMemory()
DvktPipelineCacheTests.cpp433 …ry (Context& context, VkDeviceSize size, VkBufferUsageFlags usage, de::MovePtr<Allocation>* pAlloc) in createBufferAndBindMemory() argument
453 …*pAlloc = context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *vertex… in createBufferAndBindMemory()
454 …VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, (*pAlloc)->getMemory(), (*pAlloc)->getOffset… in createBufferAndBindMemory()
465 de::details::MovePtr<Allocation>* pAlloc) in createImage2DAndBindMemory() argument
492 …*pAlloc = context.getDefaultAllocator().allocate(getImageMemoryRequirements(vk, vkDevice, *image),… in createImage2DAndBindMemory()
493 VK_CHECK(vk.bindImageMemory(vkDevice, *image, (*pAlloc)->getMemory(), (*pAlloc)->getOffset())); in createImage2DAndBindMemory()
DvktPipelineBlendOperationAdvancedTests.cpp912 …ry (Context& context, VkDeviceSize size, VkBufferUsageFlags usage, de::MovePtr<Allocation>* pAlloc) in createBufferAndBindMemory() argument
932 …*pAlloc = context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *vertex… in createBufferAndBindMemory()
933 …VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, (*pAlloc)->getMemory(), (*pAlloc)->getOffset… in createBufferAndBindMemory()
944 de::details::MovePtr<Allocation>* pAlloc) in createImage2DAndBindMemory() argument
971 …*pAlloc = context.getDefaultAllocator().allocate(getImageMemoryRequirements(vk, vkDevice, *image),… in createImage2DAndBindMemory()
972 VK_CHECK(vk.bindImageMemory(vkDevice, *image, (*pAlloc)->getMemory(), (*pAlloc)->getOffset())); in createImage2DAndBindMemory()
DvktPipelineTimestampTests.cpp664 de::MovePtr<Allocation>* pAlloc);
671 de::MovePtr<Allocation>* pAlloc);
865 …eBufferAndBindMemory (VkDeviceSize size, VkBufferUsageFlags usage, de::MovePtr<Allocation>* pAlloc) in createBufferAndBindMemory() argument
889 DE_ASSERT(pAlloc); in createBufferAndBindMemory()
890 *pAlloc = vertexBufferAlloc; in createBufferAndBindMemory()
900 de::details::MovePtr<Allocation>* pAlloc) in createImage2DAndBindMemory() argument
948 DE_ASSERT(pAlloc); in createImage2DAndBindMemory()
949 *pAlloc = colorImageAlloc; in createImage2DAndBindMemory()
/external/vulkan-validation-layers/layers/
Dvk_mem_alloc.h12840 VmaAllocation_T* const pAlloc = srcSuballocIt->hAllocation; in Defragment() local
12841 const VkDeviceSize srcAllocAlignment = pAlloc->GetAlignment(); in Defragment()
/external/angle/third_party/VulkanMemoryAllocator/src/
Dvk_mem_alloc.h13806 VmaAllocation_T* const pAlloc = srcSuballocIt->hAllocation; in Defragment() local
13807 const VkDeviceSize srcAllocAlignment = pAlloc->GetAlignment(); in Defragment()
/external/sqlite/dist/
Dsqlite3.c76099 struct ValueNewStat4Ctx *pAlloc,/* How to allocate space. Or NULL */
76111 pVal = valueNew(db, pAlloc);
76120 pVal = valueNew(db, pAlloc);
76128 rc = valueFromExpr(db, pExpr, ENC(db), affinity, &pVal, pAlloc);
196268 u8 *pAlloc = 0;
196307 pAlloc = sqlite3_malloc64(nByte);
196308 if( pAlloc==0 ){
196313 azCol = (char **)pAlloc;
196314 pAlloc = (u8 *)&azCol[nDbCol];
196315 abPK = (u8 *)pAlloc;
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c76083 struct ValueNewStat4Ctx *pAlloc,/* How to allocate space. Or NULL */
76095 pVal = valueNew(db, pAlloc);
76104 pVal = valueNew(db, pAlloc);
76112 rc = valueFromExpr(db, pExpr, ENC(db), affinity, &pVal, pAlloc);
196240 u8 *pAlloc = 0;
196279 pAlloc = sqlite3_malloc64(nByte);
196280 if( pAlloc==0 ){
196285 azCol = (char **)pAlloc;
196286 pAlloc = (u8 *)&azCol[nDbCol];
196287 abPK = (u8 *)pAlloc;
[all …]