/third_party/ltp/tools/sparse/sparse-src/ |
H A D | pre-process.c | 593 struct token *alloc = alloc_token(streampos); in dup_token() local 594 token_type(alloc) = token_type(token); in dup_token() 595 alloc->pos.newline = token->pos.newline; in dup_token() 596 alloc->pos.whitespace = token->pos.whitespace; in dup_token() 597 alloc->number = token->number; in dup_token() 598 alloc->pos.noexpand = token->pos.noexpand; in dup_token() 599 return alloc; in dup_token()
|
/third_party/mksh/ |
H A D | var.c | 73 l = alloc(sizeof(struct block), ATEMP); in newblock() 217 tmp = alloc((len > tmplen ? len : tmplen) + 1, ATEMP); in array_index_calc() 674 p = alloc((psiz = nlen * /* MB_LEN_MAX */ 3 + 1), ATEMP); in formatstr() 821 tvar = len < sizeof(tvarbuf) ? tvarbuf : alloc(len + 1, ATEMP); in vtypeset() 830 tvar = len < sizeof(tvarbuf) ? tvarbuf : alloc(len + 1, ATEMP); in vtypeset() 841 tvar = len < sizeof(tvarbuf) ? tvarbuf : alloc(len + 1, ATEMP); in vtypeset() 1573 news = alloc(offsetof(struct tbl, name[0]) + ++len, vp->areap); in arraysearch()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawMultiExtTests.cpp | 801 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 848 ImageWithMemory colorBuffer (vkd, device, alloc, imageCreateInfo, MemoryRequirement::Any); in iterate() 872 ImageWithMemory dsBuffer (vkd, device, alloc, dsCreateInfo, MemoryRequirement::Any); in iterate() 885 outputBuffers.push_back(BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, bufferCreateInfo, MemoryRequirement::HostVisible))); in iterate() 894 stencilOutBuffers.push_back(BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, stencilOutCreateInfo, MemoryRequirement::HostVisible))); in iterate() 1055 BufferWithMemory vertexBuffer (vkd, device, alloc, vertexBufferInfo, MemoryRequirement::HostVisible); in iterate() 1078 indexBuffer = de::MovePtr<BufferWithMemory>(new BufferWithMemory(vkd, device, alloc, indexBufferInfo, MemoryRequirement::HostVisible)); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
H A D | vktMeshShaderQueryTestsEXT.cpp | 556 auto& alloc = m_context.getDefaultAllocator(); in recordDraws() local 596 m_indirectBuffer = BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, indirectBufferCreateInfo, MemoryRequirement::HostVisible)); in recordDraws() 621 m_indirectCountBuffer = BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, indirectCountBufferCreateInfo, MemoryRequirement::HostVisible)); in recordDraws() 839 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 876 const ImageWithMemory colorBuffer (vkd, device, alloc, colorBufferCreateInfo, MemoryRequirement::Any); in iterate() 885 const BufferWithMemory verifBuffer (vkd, device, alloc, verifBufferCreateInfo, MemoryRequirement::HostVisible); in iterate() 983 queryResultsBuffer = BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, queryResultsBufferInfo, MemoryRequirement::HostVisible)); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingShaderBindingTableTests.cpp | 1267 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 1305 bottomLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate() 1310 topLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate() 1326 BufferWithMemory ssbo (vkd, device, alloc, ssboInfo, MemoryRequirement::HostVisible); in iterate() 1407 raygenSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 0u, 1u); in iterate() 1410 missSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 1u, 1u); in iterate() 1413 hitSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 2u, geoCount, in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shader_object/ |
H A D | vktShaderObjectLinkTests.cpp | 182 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 212 de::MovePtr<vk::ImageWithMemory> image = de::MovePtr<vk::ImageWithMemory>(new vk::ImageWithMemory(vk, device, alloc, createInfo, vk::MemoryRequirement::Any)); in iterate() 218 vk, device, alloc, makeBufferCreateInfo(colorOutputBufferSize, vk::VK_BUFFER_USAGE_TRANSFER_DST_BIT), vk::MemoryRequirement::HostVisible)); in iterate() 637 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 663 de::MovePtr<vk::ImageWithMemory> image = de::MovePtr<vk::ImageWithMemory>(new vk::ImageWithMemory(vk, device, alloc, createInfo, vk::MemoryRequirement::Any)); in iterate() 669 vk, device, alloc, makeBufferCreateInfo(colorOutputBufferSize, vk::VK_BUFFER_USAGE_TRANSFER_DST_BIT), vk::MemoryRequirement::HostVisible)); in iterate() 683 const vk::BufferWithMemory outputBuffer (vk, device, alloc, vk::makeBufferCreateInfo(bufferSizeBytes, vk::VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), vk::MemoryRequirement::HostVisible); in iterate()
|
H A D | vktShaderObjectRenderingTests.cpp | 330 auto& alloc = m_context.getDefaultAllocator(); in createDummyImage() local 354 m_dummyImage = de::MovePtr<vk::ImageWithMemory>(new vk::ImageWithMemory(vk, device, alloc, createInfo, vk::MemoryRequirement::Any)); in createDummyImage() 557 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 618 colorImages[i] = de::MovePtr<vk::ImageWithMemory>(new vk::ImageWithMemory(vk, device, alloc, createInfo, vk::MemoryRequirement::Any)); in iterate() 625 depthImage = de::MovePtr<vk::ImageWithMemory>(new vk::ImageWithMemory(vk, device, alloc, depthCreateInfo, vk::MemoryRequirement::Any)); in iterate() 634 vk, device, alloc, makeBufferCreateInfo(colorOutputBufferSize, vk::VK_BUFFER_USAGE_TRANSFER_DST_BIT), vk::MemoryRequirement::HostVisible))); in iterate() 765 const auto depthBuffer = readDepthAttachment(vk, device, queue, queueFamilyIndex, alloc, **depthImage, m_params.depthFormat, tcu::UVec2(m_renderArea.extent.width, m_renderArea.extent.height), vk::VK_IMAGE_LAYOUT_GENERAL); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawMultiExtTests.cpp | 799 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 846 ImageWithMemory colorBuffer (vkd, device, alloc, imageCreateInfo, MemoryRequirement::Any); in iterate() 870 ImageWithMemory dsBuffer (vkd, device, alloc, dsCreateInfo, MemoryRequirement::Any); in iterate() 883 outputBuffers.push_back(BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, bufferCreateInfo, MemoryRequirement::HostVisible))); in iterate() 892 stencilOutBuffers.push_back(BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, stencilOutCreateInfo, MemoryRequirement::HostVisible))); in iterate() 1053 BufferWithMemory vertexBuffer (vkd, device, alloc, vertexBufferInfo, MemoryRequirement::HostVisible); in iterate() 1076 indexBuffer = de::MovePtr<BufferWithMemory>(new BufferWithMemory(vkd, device, alloc, indexBufferInfo, MemoryRequirement::HostVisible)); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
H A D | vktMeshShaderQueryTestsEXT.cpp | 556 auto& alloc = m_context.getDefaultAllocator(); in recordDraws() local 595 m_indirectBuffer = BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, indirectBufferCreateInfo, MemoryRequirement::HostVisible)); in recordDraws() 620 m_indirectCountBuffer = BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, indirectCountBufferCreateInfo, MemoryRequirement::HostVisible)); in recordDraws() 838 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 875 const ImageWithMemory colorBuffer (vkd, device, alloc, colorBufferCreateInfo, MemoryRequirement::Any); in iterate() 884 const BufferWithMemory verifBuffer (vkd, device, alloc, verifBufferCreateInfo, MemoryRequirement::HostVisible); in iterate() 982 queryResultsBuffer = BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, queryResultsBufferInfo, MemoryRequirement::HostVisible)); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingShaderBindingTableTests.cpp | 1267 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 1305 bottomLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate() 1310 topLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate() 1326 BufferWithMemory ssbo (vkd, device, alloc, ssboInfo, MemoryRequirement::HostVisible); in iterate() 1407 raygenSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 0u, 1u); in iterate() 1410 missSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 1u, 1u); in iterate() 1413 hitSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 2u, geoCount, in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiCommandBuffersTests.cpp | 4191 static void makeVertexBuffers (const DeviceInterface& vkd, VkDevice device, Allocator& alloc, VkDeviceSize size, ManyDrawsVertexBuffers& buffers) in makeVertexBuffers() 4196 buffers.stagingBuffer = BufferPtr(new BufferWithMemory(vkd, device, alloc, stagingBufferInfo, MemoryRequirement::HostVisible)); in makeVertexBuffers() 4197 buffers.vertexBuffer = BufferPtr(new BufferWithMemory(vkd, device, alloc, vertexBufferInfo, MemoryRequirement::Any)); in makeVertexBuffers() 4200 ManyDrawsAllocatedData (const DeviceInterface &vkd, VkDevice device, Allocator &alloc, const VkExtent3D& imageExtent, VkFormat colorFormat, VkFormat dsFormat) in ManyDrawsAllocatedData() 4205 makeVertexBuffers(vkd, device, alloc, vertexBufferSize, frontBuffers); in ManyDrawsAllocatedData() 4206 makeVertexBuffers(vkd, device, alloc, vertexBufferSize, backBuffers); in ManyDrawsAllocatedData() 4229 colorAttachment = ImagePtr(new ImageWithMemory(vkd, device, alloc, colorAttachmentInfo, MemoryRequirement::Any)); in ManyDrawsAllocatedData() 4249 dsAttachment = ImagePtr(new ImageWithMemory(vkd, device, alloc, dsAttachmentInfo, MemoryRequirement::Any)); in ManyDrawsAllocatedData() 4254 colorCheckBuffer = BufferPtr(new BufferWithMemory(vkd, device, alloc, colorCheckBufferInfo, MemoryRequirement::HostVisible)); in ManyDrawsAllocatedData() 4260 stencilCheckBuffer = BufferPtr(new BufferWithMemory(vkd, device, alloc, stencilCheckBufferInf in ManyDrawsAllocatedData() 4275 auto& alloc = context.getDefaultAllocator(); checkSupport() local 4338 auto& alloc = buffer.getAllocation(); copyAndFlush() local 4351 auto& alloc = m_context.getDefaultAllocator(); iterate() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiCommandBuffersTests.cpp | 4191 static void makeVertexBuffers (const DeviceInterface& vkd, VkDevice device, Allocator& alloc, VkDeviceSize size, ManyDrawsVertexBuffers& buffers) in makeVertexBuffers() 4196 buffers.stagingBuffer = BufferPtr(new BufferWithMemory(vkd, device, alloc, stagingBufferInfo, MemoryRequirement::HostVisible)); in makeVertexBuffers() 4197 buffers.vertexBuffer = BufferPtr(new BufferWithMemory(vkd, device, alloc, vertexBufferInfo, MemoryRequirement::Any)); in makeVertexBuffers() 4200 ManyDrawsAllocatedData (const DeviceInterface &vkd, VkDevice device, Allocator &alloc, const VkExtent3D& imageExtent, VkFormat colorFormat, VkFormat dsFormat) in ManyDrawsAllocatedData() 4205 makeVertexBuffers(vkd, device, alloc, vertexBufferSize, frontBuffers); in ManyDrawsAllocatedData() 4206 makeVertexBuffers(vkd, device, alloc, vertexBufferSize, backBuffers); in ManyDrawsAllocatedData() 4229 colorAttachment = ImagePtr(new ImageWithMemory(vkd, device, alloc, colorAttachmentInfo, MemoryRequirement::Any)); in ManyDrawsAllocatedData() 4249 dsAttachment = ImagePtr(new ImageWithMemory(vkd, device, alloc, dsAttachmentInfo, MemoryRequirement::Any)); in ManyDrawsAllocatedData() 4254 colorCheckBuffer = BufferPtr(new BufferWithMemory(vkd, device, alloc, colorCheckBufferInfo, MemoryRequirement::HostVisible)); in ManyDrawsAllocatedData() 4260 stencilCheckBuffer = BufferPtr(new BufferWithMemory(vkd, device, alloc, stencilCheckBufferInf in ManyDrawsAllocatedData() 4275 auto& alloc = context.getDefaultAllocator(); checkSupport() local 4338 auto& alloc = buffer.getAllocation(); copyAndFlush() local 4351 auto& alloc = m_context.getDefaultAllocator(); iterate() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/ |
H A D | gap_le_adv.c | 114 info = MEM_MALLOC.alloc(sizeof(LeExAdvInfo)); in GapLeSetAdvertisingSetRandomAddress() 288 hciCmdParam.sets = MEM_MALLOC.alloc(numberOfSet * sizeof(HciLeExtendedAdvertisingParamSet)); in GapLeSetExtendedAdvertisingEnable()
|
/foundation/filemanagement/user_file_service/interfaces/kits/js/src/common/ |
H A D | file_info_shared_memory.h | 174 auto alloc = CalculateMemSize(memSize, memInfo); in ExpandSharedMemory() local 175 if (alloc) { in ExpandSharedMemory()
|
/test/xts/hats/hdf/codec/hdi_idlomx/ |
H A D | codec_function_utils.cpp | 121 AllocInfo alloc = {.width = WIDTH,
in FillCodecBufferWithBufferHandle() local 131 auto ret = buffer_->AllocMem(alloc, bufferHandle);
in FillCodecBufferWithBufferHandle()
|
/third_party/ffmpeg/libavdevice/ |
H A D | dshow_pin.c | 272 long WINAPI ff_dshow_meminputpin_GetAllocator(DShowMemInputPin *this, IMemAllocator **alloc) in ff_dshow_meminputpin_GetAllocator() argument 277 long WINAPI ff_dshow_meminputpin_NotifyAllocator(DShowMemInputPin *this, IMemAllocator *alloc, in ff_dshow_meminputpin_NotifyAllocator() argument
|
/third_party/libunwind/libunwind/src/ia64/ |
H A D | Ginstall_cursor.S | 58 alloc r3 = ar.pfs, 7, 0, 0, 0 256 alloc r3 = ar.pfs, 0, 0, 0, 0 // drop register frame
|
/third_party/mesa3d/src/asahi/compiler/ |
H A D | agx_compiler.h | 388 unsigned alloc; member 427 return agx_get_index(ctx->alloc++, size); in agx_temp()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_pass.c | 176 vk_alloc2(&device->vk.alloc, pAllocator, subpass_attachment_bytes, 8, in v3dv_CreateRenderPass2() 310 vk_free2(&device->vk.alloc, pAllocator, pass->subpass_attachments); in v3dv_DestroyRenderPass()
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_fs_combine_constants.cpp | 511 fs_reg reg(VGRF, alloc.allocate(1)); in opt_combine_constants() 545 reg.nr = alloc.allocate(1); in opt_combine_constants()
|
H A D | brw_fs_cse.cpp | 110 return !is_coalescing_payload(v->alloc, inst); in is_expression() 294 entry->tmp = fs_reg(VGRF, alloc.allocate(written), in opt_cse_local()
|
H A D | brw_ir_fs.h | 683 is_coalescing_payload(const brw::simple_allocator &alloc, const fs_inst *inst) 687 alloc.sizes[inst->src[0].nr] * REG_SIZE == inst->size_written;
|
/third_party/node/test/parallel/ |
H A D | test-webcrypto-export-import-ec.js | 342 Buffer.alloc(1, 0x04), 351 Buffer.alloc(1, 0x03),
|
/third_party/node/test/common/ |
H A D | dns.js | 167 const buf = Buffer.alloc(16); 189 }).concat([Buffer.alloc(1)]));
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_pipeline_cache.c | 53 vk_free(&device->vk.alloc, shader); in anv_shader_bin_destroy() 96 if (!vk_multialloc_alloc(&ma, &device->vk.alloc, in anv_shader_bin_create()
|