/external/syzkaller/prog/ |
D | alloc.go | 17 type memAlloc struct { struct 32 func newMemAlloc(totalMemSize uint64) *memAlloc { 39 ma := &memAlloc{ 46 func (ma *memAlloc) noteAlloc(addr0, size0 uint64) { argument 54 func (ma *memAlloc) alloc(r *randGen, size0 uint64) uint64 { argument 78 func (ma *memAlloc) bankruptcy() { argument 89 func (ma *memAlloc) pos(idx uint64) (i1, i0, bit uint64) { argument 97 func (ma *memAlloc) set(idx uint64) { argument 105 func (ma *memAlloc) get(idx uint64) bool { argument
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryBasicClass.cpp | 75 Allocator& memAlloc = m_context.getDefaultAllocator(); in iterate() local 81 memAlloc, in iterate() 112 const Buffer colorBuffer (vk, device, memAlloc, makeBufferCreateInfo(colorBufferSizeBytes, in iterate() 114 const Buffer vertexBuffer (vk, device, memAlloc, makeBufferCreateInfo(vertexDataSizeBytes, in iterate() 165 bindDescriptorSets(vk, device, memAlloc, *cmdBuffer, *pipelineLayout); in iterate()
|
D | vktGeometryBasicGeometryShaderTests.cpp | 100 Allocator& memAlloc = context.getDefaultAllocator(); in uploadImage() local 123 …bufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequiremen… in uploadImage() 208 Allocator& memAlloc, 278 Allocator& memAlloc = m_context.getDefaultAllocator(); in createPipelineLayout() local 312 …m_allocation = memAlloc.allocate(getImageMemoryRequirements(vk, device, *m_texture), MemoryRequire… in createPipelineLayout() 330 …nstance::bindDescriptorSets (const DeviceInterface& vk, const VkDevice device, Allocator& memAlloc, in bindDescriptorSets() argument 338 …m_allocation = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), Memor… in bindDescriptorSets() 522 Allocator& memAlloc = m_context.getDefaultAllocator(); in createIndicesBuffer() local 537 …m_allocation = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *m_indicesBuffer), Memory… in createIndicesBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiBufferViewAccessTests.cpp | 165 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getIns… in BufferViewTestInstance() local 171 …ImageDedicatedAllocation().createTestImage(m_renderSize, m_colorFormat, context, memAlloc, m_color… in BufferViewTestInstance() 175 …ImageSuballocation().createTestImage(m_renderSize, m_colorFormat, context, memAlloc, m_colorImage,… in BufferViewTestInstance() 181 …estBuffer(m_pixelDataSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, m_context, memAlloc, m_resultBuffer, … in BufferViewTestInstance() 185 …estBuffer(m_pixelDataSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, m_context, memAlloc, m_resultBuffer, … in BufferViewTestInstance() 263 …uffer(uniformSize, VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT, m_context, memAlloc, m_uniformBuffer,… in BufferViewTestInstance() 377 …estBuffer(vertexDataSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT, m_context, memAlloc, m_vertexBuffer, … in BufferViewTestInstance()
|
D | vktApiSmokeTests.cpp | 338 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInst… in renderTriangleTest() local 362 …const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(… in renderTriangleTest() 379 …const UniquePtr<Allocation> readImageBufferMemory (memAlloc.allocate(getBufferMemoryRequirement… in renderTriangleTest() 403 …const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vk… in renderTriangleTest() 601 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInst… in renderTriangleUnusedResolveAttachmentTest() local 625 …const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(… in renderTriangleUnusedResolveAttachmentTest() 642 …const UniquePtr<Allocation> readImageBufferMemory (memAlloc.allocate(getBufferMemoryRequirement… in renderTriangleUnusedResolveAttachmentTest() 666 …const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vk… in renderTriangleUnusedResolveAttachmentTest()
|
D | vktApiMemoryRequirementInvarianceTests.cpp | 104 Allocator& memAlloc = context.getDefaultAllocator(); in allocate() local 117 memAlloc, in allocate() 192 Allocator& memAlloc = context.getDefaultAllocator(); in allocate() local 205 memAlloc, in allocate()
|
D | vktApiGetMemoryCommitment.cpp | 102 Allocator& memAlloc = m_context.getDefaultAllocator(); in iterate() local 144 …de::MovePtr<Allocation> imageAlloc = memAlloc.allocate(memoryRequirements, MemoryRequirement::L… in iterate()
|
D | vktApiBufferViewCreateTests.cpp | 185 const VkMemoryAllocateInfo memAlloc = in createTestBuffer() local 195 memory = allocateMemory(vk, vkDevice, &memAlloc, (const VkAllocationCallbacks*)DE_NULL); in createTestBuffer()
|
D | vktApiFillBufferTests.cpp | 114 Allocator& memAlloc = context.getDefaultAllocator(); in FillBufferTestInstance() local 122 …TestBuffer(m_params.dstSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, context, memAlloc, m_destination, M… in FillBufferTestInstance()
|
D | vktApiGranularityTests.cpp | 165 …SimpleAllocator memAlloc (vk, device, getPhysicalDeviceMemoryProperties(m_context.getInstanceI… in initImages() local 190 …de::MovePtr<Allocation> imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, device, *ima… in initImages()
|
D | vktApiCopiesAndBlittingTests.cpp | 466 Allocator& memAlloc = m_context.getDefaultAllocator(); in uploadImageAspect() local 489 …i, vk, vkPhysDevice, vkDevice, *buffer, MemoryRequirement::HostVisible, memAlloc, m_params.allocat… in uploadImageAspect() 841 Allocator& memAlloc = context.getDefaultAllocator(); in CopyImageToImage() local 866 …age(vki, vk, vkPhysDevice, vkDevice, *m_source, MemoryRequirement::Any, memAlloc, m_params.allocat… in CopyImageToImage() 893 …ki, vk, vkPhysDevice, vkDevice, *m_destination, MemoryRequirement::Any, memAlloc, m_params.allocat… in CopyImageToImage() 1223 Allocator& memAlloc = context.getDefaultAllocator(); in CopyBufferToBuffer() local 1240 … vk, vkPhysDevice, vkDevice, *m_source, MemoryRequirement::HostVisible, memAlloc, m_params.allocat… in CopyBufferToBuffer() 1259 …vkPhysDevice, vkDevice, *m_destination, MemoryRequirement::HostVisible, memAlloc, m_params.allocat… in CopyBufferToBuffer() 1386 Allocator& memAlloc = context.getDefaultAllocator(); in CopyImageToBuffer() local 1411 …age(vki, vk, vkPhysDevice, vkDevice, *m_source, MemoryRequirement::Any, memAlloc, m_params.allocat… in CopyImageToBuffer() [all …]
|
D | vktApiBufferTests.cpp | 419 memAlloc = in bufferCreateAndAllocTest() local 427 result = vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in bufferCreateAndAllocTest()
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryBindingTests.cpp | 478 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, DE_NULL); in createMemory() local 481 vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createMemory() 503 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, DE_NULL); in createMemory() local 506 vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createMemory() 530 …const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, &dedicatedAllocationI… in createMemory() local 533 vk.allocateMemory(vkDevice, &memAlloc, static_cast<VkAllocationCallbacks*>(DE_NULL), &rawMemory); in createMemory() 556 …const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, &dedicatedAllocationI… in createMemory() local 559 vk.allocateMemory(vkDevice, &memAlloc, static_cast<VkAllocationCallbacks*>(DE_NULL), &rawMemory); in createMemory() 766 …const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(ctx, memReqs, MemoryHostVisib… in createBuffer() local 769 vk.allocateMemory(vkDevice, &memAlloc, static_cast<VkAllocationCallbacks*>(DE_NULL), &rawMemory); in createBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineDynamicOffsetTests.cpp | 162 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getIns… in init() local 197 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in init() 374 …m_bufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_buffer), MemoryRequ… in init() 510 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in init() 580 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstan… in verifyImage() local 614 …el> result = readColorAttachment(vk, vkDevice, queue, queueFamilyIndex, memAlloc, *m_colorImage, m… in verifyImage() 750 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getIns… in init() local 838 …m_bufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_buffer), MemoryRequ… in init() 860 …m_outputBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_outputBuffer)… in init()
|
D | vktPipelineDepthTests.cpp | 275 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in DepthTestInstance() local 309 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in DepthTestInstance() 341 …m_depthImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_depthImage), Mem… in DepthTestInstance() 543 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in DepthTestInstance()
|
D | vktPipelineStencilTests.cpp | 319 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in StencilTestInstance() local 347 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in StencilTestInstance() 379 …m_stencilImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_stencilImage),… in StencilTestInstance() 573 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in StencilTestInstance()
|
D | vktPipelinePushConstantTests.cpp | 265 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getIn… in init() local 296 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in init() 365 …m_uniformBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_uniformBuffe… in init() 522 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in init() 1732 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstance… in PushConstantComputeTestInstance() local 1763 …m_outBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_outBuffer), Memo… in PushConstantComputeTestInstance()
|
D | vktPipelineInputAssemblyTests.cpp | 926 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstan… in InputAssemblyInstance() local 973 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in InputAssemblyInstance() 1257 …m_indexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_indexBuffer), … in InputAssemblyInstance() 1262 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in InputAssemblyInstance()
|
D | vktPipelineBlendTests.cpp | 307 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstan… in BlendTestInstance() local 340 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in BlendTestInstance() 500 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in BlendTestInstance()
|
D | vktPipelineImageSamplingInstance.cpp | 226 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInsta… in ImageSamplingInstance() local 375 …, vk, physDevice, vkDevice, **m_images[imgNdx], MemoryRequirement::Any, memAlloc, m_allocationKind… in ImageSamplingInstance() 379 …uploadTestTexture(vk, vkDevice, queue, queueFamilyIndex, memAlloc, *m_texture, **m_images[imgNdx]); in ImageSamplingInstance() 480 … physDevice, vkDevice, **m_colorImages[imgNdx], MemoryRequirement::Any, memAlloc, m_allocationKind… in ImageSamplingInstance() 696 … physDevice, vkDevice, *m_vertexBuffer, MemoryRequirement::HostVisible, memAlloc, m_allocationKind… in ImageSamplingInstance()
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassUnusedAttachmentTests.cpp | 359 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInsta… in UnusedAttachmentTestInstance() local 390 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in UnusedAttachmentTestInstance() 421 m_unusedImageAlloc = memAlloc.allocate(memoryRequirements, MemoryRequirement::Any); in UnusedAttachmentTestInstance() 524 …m_inputImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_inputImage), Mem… in UnusedAttachmentTestInstance() 819 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in UnusedAttachmentTestInstance()
|
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessVertexAccessTests.cpp | 442 …SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(m_context.getInst… in VertexAccessInstance() local 527 m_vertexRateBufferAlloc = memAlloc.allocate(bufferMemoryReqs, MemoryRequirement::HostVisible); in VertexAccessInstance() 555 m_instanceRateBufferAlloc = memAlloc.allocate(bufferMemoryReqs, MemoryRequirement::HostVisible); in VertexAccessInstance() 579 …m_vertexNumBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_device, *m_vertexNum… in VertexAccessInstance() 602 …m_indexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_device, *m_indexBuffer),… in VertexAccessInstance() 628 …m_outBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_device, *m_outBuffer), Mem… in VertexAccessInstance()
|
D | vktRobustnessBufferAccessTests.cpp | 670 …SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(m_context.getInst… in BufferAccessInstance() local 740 m_inBufferAlloc = memAlloc.allocate(inBufferMemoryReqs, MemoryRequirement::HostVisible); in BufferAccessInstance() 775 m_outBufferAlloc = memAlloc.allocate(outBufferMemoryReqs, MemoryRequirement::HostVisible); in BufferAccessInstance() 820 …m_indicesBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_device, *m_indicesBuf… in BufferAccessInstance() 992 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_device, *m_vertexBuffer… in BufferAccessInstance()
|
D | vktRobustnessUtil.cpp | 285 …SimpleAllocator memAlloc (vk, m_device, getPhysicalDeviceMemoryProperties(m_context.getInsta… in GraphicsEnvironment() local 309 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, m_device, *m_colorImage), Me… in GraphicsEnvironment()
|
/external/deqp/external/vulkancts/modules/vulkan/device_group/ |
D | vktDeviceGroupRendering.cpp | 372 …SimpleAllocator memAlloc (vk, *m_deviceGroup, getPhysicalDeviceMemoryProperties(m_context.ge… in iterate() local 494 …stagingVertexBufferMemory = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_deviceGroup, *sta… in iterate() 566 …stagingIndexBufferMemory = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_deviceGroup, *stag… in iterate() 638 …stagingUniformBufferMemory = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_deviceGroup, *st… in iterate() 709 …stagingSboBufferMemory = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_deviceGroup, *stagin… in iterate() 1580 …const UniquePtr<Allocation> readImageBufferMemory(memAlloc.allocate(getBufferMemoryRequirements(vk… in iterate()
|