Home
last modified time | relevance | path

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

/external/vulkan-validation-layers/layers/
Dgpu_validation.cpp147 VkMemoryAllocateInfo mem_alloc = {}; in AllocMemoryChunk() local
163 mem_alloc.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in AllocMemoryChunk()
164 mem_alloc.pNext = NULL; in AllocMemoryChunk()
165 mem_alloc.allocationSize = mem_reqs.size; in AllocMemoryChunk()
168 &mem_alloc.memoryTypeIndex); in AllocMemoryChunk()
173 result = dispatch_table->AllocateMemory(dev_data_->GetDevice(), &mem_alloc, NULL, &memory); in AllocMemoryChunk()
186 …result = dispatch_table->MapMemory(dev_data_->GetDevice(), memory, 0, mem_alloc.allocationSize, 0,… in AllocMemoryChunk()
/external/pdfium/third_party/libtiff/
Dtif_print.c583 int mem_alloc = 0; in TIFFPrintDirectory() local
632 mem_alloc = 1; in TIFFPrintDirectory()
649 if(mem_alloc) in TIFFPrintDirectory()
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp2814 VkMemoryAllocateInfo mem_alloc = {}; in TEST_F() local
2815 mem_alloc.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
2816 mem_alloc.pNext = NULL; in TEST_F()
2817 mem_alloc.allocationSize = 1024; in TEST_F()
2819 …pass = m_device->phy().set_memory_type(0xFFFFFFFF, &mem_alloc, 0, VK_MEMORY_PROPERTY_HOST_VISIBLE_… in TEST_F()
2827 err = vkAllocateMemory(m_device->device(), &mem_alloc, NULL, &mem); in TEST_F()
2870 VkMemoryAllocateInfo mem_alloc = {}; in TEST_F() local
2871 mem_alloc.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
2872 mem_alloc.pNext = NULL; in TEST_F()
2873 mem_alloc.allocationSize = 0; in TEST_F()
[all …]
/external/zlib/src/test/
Dinfcover.c71 local void *mem_alloc(void *mem, unsigned count, unsigned size) in mem_alloc() function
171 strm->zalloc = mem_alloc; in mem_setup()