/external/vulkan-validation-layers/tests/ |
D | vklayertests_buffer_image_memory_sampler.cpp | 577 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 …]
|
D | vkpositivelayertests.cpp | 2227 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 …]
|
D | vklayertests_descriptor_renderpass_framebuffer.cpp | 5546 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/rust/android-crates-io/crates/vulkano/src/image/ |
D | storage.rs | 371 let mem_alloc = MemoryAlloc::new(memory).unwrap(); in new_from_dma_buf_fd() localVariable 373 debug_assert!(mem_alloc.offset() % requirements.layout.alignment().as_nonzero() == 0); in new_from_dma_buf_fd() 374 debug_assert!(mem_alloc.size() == requirements.layout.size()); in new_from_dma_buf_fd() 378 .bind_memory_unchecked([mem_alloc]) in new_from_dma_buf_fd()
|
/external/executorch/examples/qualcomm/oss_scripts/llama2/ |
D | qnn_llama_runner.cpp | 74 runner.mem_alloc(MemoryAllocator::kDefaultAlignment, seq_len) == in main()
|
/external/sg3_utils/lib/ |
D | sg_json_builder.h | 89 void * (* mem_alloc) (size_t, int zero, void * user_data); member
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_texture.h | 147 struct llvmpipe_memory_allocation *mem_alloc; member
|
D | lp_texture.c | 457 (struct pipe_memory_allocation **)&memobj->mem_alloc, in llvmpipe_memobj_create_from_handle() 478 pscreen->free_memory_fd(pscreen, (struct pipe_memory_allocation *)lpmo->mem_alloc); in llvmpipe_memobj_destroy() 508 lpr->tex_data = lpmo->mem_alloc->cpu_addr; in llvmpipe_resource_from_memobj() 534 lpr->data = lpmo->mem_alloc->cpu_addr; in llvmpipe_resource_from_memobj()
|
/external/pdfium/third_party/libtiff/ |
D | tif_print.c | 619 int mem_alloc = 0; in TIFFPrintDirectory() local 683 mem_alloc = 1; in TIFFPrintDirectory() 703 if (mem_alloc) in TIFFPrintDirectory()
|
/external/angle/src/tests/test_utils/third_party/ |
D | vulkan_command_buffer_utils.cpp | 1060 VkMemoryAllocateInfo mem_alloc = {}; in init_depth_buffer() local 1061 mem_alloc.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in init_depth_buffer() 1062 mem_alloc.pNext = NULL; in init_depth_buffer() 1063 mem_alloc.allocationSize = 0; in init_depth_buffer() 1064 mem_alloc.memoryTypeIndex = 0; in init_depth_buffer() 1097 mem_alloc.allocationSize = mem_reqs.size; in init_depth_buffer() 1101 &mem_alloc.memoryTypeIndex); in init_depth_buffer() 1105 res = vkAllocateMemory(info.device, &mem_alloc, NULL, &info.depth.mem); in init_depth_buffer()
|
/external/zlib/patches/ |
D | 0005-infcover-gtest.patch | 54 @@ -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/ |
D | infcover.cc | 86 local void *mem_alloc(void *mem, unsigned count, unsigned size) in mem_alloc() function 186 strm->zalloc = mem_alloc; in mem_setup()
|
/external/executorch/examples/qualcomm/oss_scripts/llama2/runner/ |
D | runner.h | 236 executorch::runtime::Error mem_alloc(size_t alignment, size_t seq_len);
|
D | runner.cpp | 641 Error Runner::mem_alloc(size_t alignment, size_t seq_len) { in mem_alloc() function in example::Runner
|
/external/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_private.h | 240 struct llvmpipe_memory_allocation mem_alloc; member
|
D | lvp_device.c | 1969 mem->mem_alloc = (struct llvmpipe_memory_allocation) { in lvp_AllocateMemory() 1972 mem->pmem = (void *)&mem->mem_alloc; in lvp_AllocateMemory()
|