Home
last modified time | relevance | path

Searched refs:mem_alloc (Results 1 – 12 of 12) 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/abseil-cpp/absl/container/internal/
Dcontainer_memory.h54 A mem_alloc(*alloc); in Allocate()
55 void* p = AT::allocate(mem_alloc, (n + sizeof(M) - 1) / sizeof(M)); in Allocate()
70 A mem_alloc(*alloc); in Deallocate()
71 AT::deallocate(mem_alloc, static_cast<M*>(p), in Deallocate()
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Dcontainer_memory.h54 A mem_alloc(*alloc); in Allocate()
55 void* p = AT::allocate(mem_alloc, (n + sizeof(M) - 1) / sizeof(M)); in Allocate()
70 A mem_alloc(*alloc); in Deallocate()
71 AT::deallocate(mem_alloc, static_cast<M*>(p), in Deallocate()
/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.cpp1058 VkMemoryAllocateInfo mem_alloc = {}; in init_depth_buffer() local
1059 mem_alloc.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in init_depth_buffer()
1060 mem_alloc.pNext = NULL; in init_depth_buffer()
1061 mem_alloc.allocationSize = 0; in init_depth_buffer()
1062 mem_alloc.memoryTypeIndex = 0; in init_depth_buffer()
1095 mem_alloc.allocationSize = mem_reqs.size; in init_depth_buffer()
1099 &mem_alloc.memoryTypeIndex); in init_depth_buffer()
1103 res = vkAllocateMemory(info.device, &mem_alloc, NULL, &info.depth.mem); in init_depth_buffer()
/external/angle/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/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/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()
/external/rust/crates/libz-sys/src/zlib/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()
/external/rust/crates/libz-sys/src/zlib-ng/test/
Dinfcover.c77 static void *mem_alloc(void *mem, unsigned count, unsigned size) { in mem_alloc() function
174 strm->zalloc = mem_alloc; in mem_setup()