Home
last modified time | relevance | path

Searched refs:pAlloc (Results 1 – 13 of 13) 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/vulkan_memory_allocator/src/
Dvk_mem_alloc.h14138 VmaAllocation_T* const pAlloc = srcSuballocIt->hAllocation; in Defragment() local
14139 const VkDeviceSize srcAllocAlignment = pAlloc->GetAlignment(); in Defragment()
/external/skia/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h14120 VmaAllocation_T* const pAlloc = srcSuballocIt->hAllocation; in Defragment() local
14121 const VkDeviceSize srcAllocAlignment = pAlloc->GetAlignment(); in Defragment()
/external/rust/crates/libsqlite3-sys/sqlite3/
Dsqlite3.c77497 struct ValueNewStat4Ctx *pAlloc,/* How to allocate space. Or NULL */
77509 pVal = valueNew(db, pAlloc);
77518 pVal = valueNew(db, pAlloc);
77526 rc = valueFromExpr(db, pExpr, ENC(db), affinity, &pVal, pAlloc);
203411 u8 *pAlloc = 0;
203450 pAlloc = sqlite3_malloc64(nByte);
203451 if( pAlloc==0 ){
203456 azCol = (char **)pAlloc;
203457 pAlloc = (u8 *)&azCol[nDbCol];
203458 abPK = (u8 *)pAlloc;
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c77306 struct ValueNewStat4Ctx *pAlloc,/* How to allocate space. Or NULL */
77318 pVal = valueNew(db, pAlloc);
77327 pVal = valueNew(db, pAlloc);
77335 rc = valueFromExpr(db, pExpr, ENC(db), affinity, &pVal, pAlloc);
202650 u8 *pAlloc = 0;
202689 pAlloc = sqlite3_malloc64(nByte);
202690 if( pAlloc==0 ){
202695 azCol = (char **)pAlloc;
202696 pAlloc = (u8 *)&azCol[nDbCol];
202697 abPK = (u8 *)pAlloc;
[all …]
/external/sqlite/dist/
Dsqlite3.c77322 struct ValueNewStat4Ctx *pAlloc,/* How to allocate space. Or NULL */
77334 pVal = valueNew(db, pAlloc);
77343 pVal = valueNew(db, pAlloc);
77351 rc = valueFromExpr(db, pExpr, ENC(db), affinity, &pVal, pAlloc);
202678 u8 *pAlloc = 0;
202717 pAlloc = sqlite3_malloc64(nByte);
202718 if( pAlloc==0 ){
202723 azCol = (char **)pAlloc;
202724 pAlloc = (u8 *)&azCol[nDbCol];
202725 abPK = (u8 *)pAlloc;
[all …]