Home
last modified time | relevance | path

Searched refs:mem_alloc (Results 1 – 7 of 7) sorted by relevance

/external/vulkan-validation-layers/tests/
Dvklayertests_buffer_image_memory_sampler.cpp577 VkMemoryAllocateInfo mem_alloc = {}; in TEST_F() local
578 mem_alloc.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
579 mem_alloc.pNext = NULL; in TEST_F()
580 mem_alloc.allocationSize = 1024; in TEST_F()
582 …pass = m_device->phy().set_memory_type(0xFFFFFFFF, &mem_alloc, 0, VK_MEMORY_PROPERTY_HOST_VISIBLE_… in TEST_F()
590 err = vkAllocateMemory(m_device->device(), &mem_alloc, NULL, &mem); in TEST_F()
633 VkMemoryAllocateInfo mem_alloc = {}; in TEST_F() local
634 mem_alloc.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
635 mem_alloc.pNext = NULL; in TEST_F()
636 mem_alloc.allocationSize = 0; in TEST_F()
[all …]
Dvkpositivelayertests.cpp2227 VkMemoryAllocateInfo mem_alloc = {}; in TEST_F() local
2228 mem_alloc.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
2229 mem_alloc.pNext = NULL; in TEST_F()
2230 mem_alloc.allocationSize = 512; // one allocation for both buffers in TEST_F()
2231 mem_alloc.memoryTypeIndex = 0; in TEST_F()
2235 bool pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, 0); in TEST_F()
2242 if (mem_reqs.size > mem_alloc.allocationSize) { in TEST_F()
2243 mem_alloc.allocationSize = mem_reqs.size; in TEST_F()
2247 err = vkAllocateMemory(m_device->device(), &mem_alloc, NULL, &mem); in TEST_F()
2691 VkMemoryAllocateInfo mem_alloc = {}; in TEST_F() local
[all …]
Dvklayertests_descriptor_renderpass_framebuffer.cpp5546 VkMemoryAllocateInfo mem_alloc = {}; in TEST_F() local
5547 mem_alloc.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
5548 mem_alloc.pNext = NULL; in TEST_F()
5549 mem_alloc.allocationSize = mem_reqs.size; in TEST_F()
5550 bool pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, 0); in TEST_F()
5558 err = vkAllocateMemory(m_device->device(), &mem_alloc, NULL, &mem); in TEST_F()
/external/pdfium/third_party/libtiff/
Dtif_print.c581 int mem_alloc = 0; in TIFFPrintDirectory() local
630 mem_alloc = 1; in TIFFPrintDirectory()
647 if(mem_alloc) in TIFFPrintDirectory()
/external/angle/src/tests/test_utils/third_party/
Dvulkan_command_buffer_utils.cpp1051 VkMemoryAllocateInfo mem_alloc = {}; in init_depth_buffer() local
1052 mem_alloc.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in init_depth_buffer()
1053 mem_alloc.pNext = NULL; in init_depth_buffer()
1054 mem_alloc.allocationSize = 0; in init_depth_buffer()
1055 mem_alloc.memoryTypeIndex = 0; in init_depth_buffer()
1088 mem_alloc.allocationSize = mem_reqs.size; in init_depth_buffer()
1092 &mem_alloc.memoryTypeIndex); in init_depth_buffer()
1096 res = vkAllocateMemory(info.device, &mem_alloc, NULL, &info.depth.mem); in init_depth_buffer()
/external/v8/third_party/zlib/patches/
D0005-infcover-gtest.patch54 @@ -72,7 +87,7 @@ local void *mem_alloc(void *mem, unsigned count, unsigned size)
63 @@ -87,7 +102,7 @@ local void *mem_alloc(void *mem, unsigned count, unsigned size)
72 @@ -112,7 +127,7 @@ local void *mem_alloc(void *mem, unsigned count, unsigned size)
/external/v8/third_party/zlib/contrib/tests/
Dinfcover.cc86 local void *mem_alloc(void *mem, unsigned count, unsigned size) in mem_alloc() function
186 strm->zalloc = mem_alloc; in mem_setup()