Home
last modified time | relevance | path

Searched refs:alloc (Results 426 - 450 of 2200) sorted by relevance

1...<<11121314151617181920>>...88

/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_dynamic_rendering.c101 }, &dev->vk.alloc, &dev->dynamic_rendering_pool); in tu_init_dynamic_rendering()
109 &dev->vk.alloc); in tu_destroy_dynamic_rendering()
210 vk_alloc(&dev->vk.alloc, cmds.size, alignof(struct tu_cmd_buffer *), in tu_insert_dynamic_cmdbufs()
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_vec4_dead_code_eliminate.cpp62 const unsigned v = var_from_reg(alloc, inst->dst, c, i); in dead_code_eliminate()
145 const unsigned v = var_from_reg(alloc, inst->dst, c, i); in dead_code_eliminate()
166 const unsigned v = var_from_reg(alloc, inst->src[i], c, j); in dead_code_eliminate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
H A DvktConditionalRenderingTestUtil.cpp55 auto& alloc = context.getDefaultAllocator(); in createConditionalRenderingBuffer() local
67 alloc, in createConditionalRenderingBuffer()
85 alloc, in createConditionalRenderingBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/
H A DvktConditionalRenderingTestUtil.cpp55 auto& alloc = context.getDefaultAllocator(); in createConditionalRenderingBuffer() local
67 alloc, in createConditionalRenderingBuffer()
85 alloc, in createConditionalRenderingBuffer()
/third_party/skia/tests/
H A DSRGBTest.cpp58 SkSTArenaAlloc<256> alloc; in DEF_TEST() local
59 SkRasterPipeline p(&alloc); in DEF_TEST()
60 p.append_constant_color(&alloc, color); in DEF_TEST()
/third_party/ffmpeg/libavutil/
H A Dvulkan.c181 s->hwctx->alloc, mem); in vk_alloc_mem()
206 .size = size, /* Gets FFALIGNED during alloc if host visible in ff_vk_create_buf()
359 vk->DestroyBuffer(s->hwctx->act_dev, buf->buf, s->hwctx->alloc); in ff_vk_free_buf()
361 vk->FreeMemory(s->hwctx->act_dev, buf->mem, s->hwctx->alloc); in ff_vk_free_buf()
419 s->hwctx->alloc, &e->pool); in FN_CREATING()
431 av_log(s, AV_LOG_ERROR, "Command buffer alloc failure: %s\n", in FN_CREATING()
479 ret = vk->CreateFence(s->hwctx->act_dev, &fence_spawn, s->hwctx->alloc, in ff_vk_start_exec_recording()
696 s->hwctx->alloc, &sctx->sampler[0]); in FN_CREATING()
738 vk->DestroyImageView(s->hwctx->act_dev, iv->view, s->hwctx->alloc); in destroy_imageview()
769 s->hwctx->alloc, in ff_vk_create_imageview()
[all...]
/third_party/alsa-lib/src/control/
H A Dhcontrol.c351 if (hctl->count == hctl->alloc) { in snd_hctl_elem_add()
353 hctl->alloc += 32; in snd_hctl_elem_add()
354 h = realloc(hctl->pelems, sizeof(*h) * hctl->alloc); in snd_hctl_elem_add()
356 hctl->alloc -= 32; in snd_hctl_elem_add()
408 hctl->alloc = 0; in snd_hctl_free()
585 if (hctl->alloc < list.count) { in snd_hctl_load()
586 hctl->alloc = list.count; in snd_hctl_load()
588 hctl->pelems = malloc(hctl->alloc * sizeof(*hctl->pelems)); in snd_hctl_load()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
H A DvktRayTracingBarycentricCoordinatesTests.cpp267 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
291 bottomLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
296 topLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
301 BufferWithMemory directionsBuffer (vkd, device, alloc, directionsBufferInfo, MemoryRequirement::HostVisible); in iterate()
349 BufferWithMemory barycoordsBuffer (vkd, device, alloc, barycoordsBufferInfo, MemoryRequirement::HostVisible); in iterate()
437 raygenSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 0, 1); in iterate()
440 missSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 1, 1); in iterate()
443 hitSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 2, 1); in iterate()
H A DvktRayTracingNonUniformArgsTests.cpp248 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
300 bottomLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
305 topLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
310 BufferWithMemory inputBuffer (vkd, device, alloc, inputBufferInfo, MemoryRequirement::HostVisible); in iterate()
316 BufferWithMemory outputBuffer (vkd, device, alloc, outputBufferInfo, MemoryRequirement::HostVisible); in iterate()
441 raygenSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 0u, 1u); in iterate()
444 missSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 1u, static_cast<deUint32>(missShaderIds.size())); in iterate()
447 hitSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, firstChitGroup, static_cast<deUint32>(chitShaderIds.size())); in iterate()
H A DvktRayTracingDataSpillTests.cpp1589 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
1608 BufferWithMemory calleeBuffer (vkd, device, alloc, calleeBufferInfo, MemoryRequirement::HostVisible); in iterate()
1609 BufferWithMemory outputBuffer (vkd, device, alloc, outputBufferInfo, MemoryRequirement::HostVisible); in iterate()
1610 BufferWithMemory inputBuffer (vkd, device, alloc, inputBufferInfo, MemoryRequirement::HostVisible); in iterate()
1644 bottomLevelAccelerationStructure->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
1649 topLevelAccelerationStructure->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
1673 textureData = de::MovePtr<BufferWithMemory>(new BufferWithMemory(vkd, device, alloc, textureDataCreateInfo, MemoryRequirement::HostVisible)); in iterate()
1732 textures.emplace_back(new ImageWithMemory(vkd, device, alloc, imageCreateInfo, MemoryRequirement::Any)); in iterate()
1761 textures.emplace_back(new ImageWithMemory(vkd, device, alloc, imageCreateInfo, MemoryRequirement::Any)); in iterate()
1912 raygenShaderBindingTable = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSiz in iterate()
2389 createSBTWithShaderRecord(const DeviceInterface& vkd, VkDevice device, vk::Allocator &alloc, VkPipeline pipeline, RayTracingPipeline* rayTracingPipeline, deUint32 shaderGroupHandleSize, deUint32 shaderGroupBaseAlignment, deUint32 firstGroup, deUint32 groupCount, de::MovePtr<BufferWithMemory>& shaderBindingTable, VkStridedDeviceAddressRegionKHR& shaderBindingTableRegion) createSBTWithShaderRecord() argument
2418 auto& alloc = m_context.getDefaultAllocator(); iterate() local
[all...]
/third_party/skia/third_party/externals/freetype/src/base/
H A Dftdbgmem.c135 FT_Alloc_Func alloc; member
234 block = table->alloc( memory, size ); in ft_mem_table_alloc()
789 table = (FT_MemTable)memory->alloc( memory, sizeof ( *table ) ); in ft_mem_debug_init()
797 table->alloc = memory->alloc; in ft_mem_debug_init()
809 memory->alloc = ft_mem_debug_alloc; in ft_mem_debug_init()
869 memory->alloc = table->alloc; in ft_mem_debug_done()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A DvktRayTracingNonUniformArgsTests.cpp248 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
300 bottomLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
305 topLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
310 BufferWithMemory inputBuffer (vkd, device, alloc, inputBufferInfo, MemoryRequirement::HostVisible); in iterate()
316 BufferWithMemory outputBuffer (vkd, device, alloc, outputBufferInfo, MemoryRequirement::HostVisible); in iterate()
441 raygenSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 0u, 1u); in iterate()
444 missSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 1u, static_cast<deUint32>(missShaderIds.size())); in iterate()
447 hitSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, firstChitGroup, static_cast<deUint32>(chitShaderIds.size())); in iterate()
H A DvktRayTracingDataSpillTests.cpp1589 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
1608 BufferWithMemory calleeBuffer (vkd, device, alloc, calleeBufferInfo, MemoryRequirement::HostVisible); in iterate()
1609 BufferWithMemory outputBuffer (vkd, device, alloc, outputBufferInfo, MemoryRequirement::HostVisible); in iterate()
1610 BufferWithMemory inputBuffer (vkd, device, alloc, inputBufferInfo, MemoryRequirement::HostVisible); in iterate()
1644 bottomLevelAccelerationStructure->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
1649 topLevelAccelerationStructure->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
1673 textureData = de::MovePtr<BufferWithMemory>(new BufferWithMemory(vkd, device, alloc, textureDataCreateInfo, MemoryRequirement::HostVisible)); in iterate()
1732 textures.emplace_back(new ImageWithMemory(vkd, device, alloc, imageCreateInfo, MemoryRequirement::Any)); in iterate()
1761 textures.emplace_back(new ImageWithMemory(vkd, device, alloc, imageCreateInfo, MemoryRequirement::Any)); in iterate()
1912 raygenShaderBindingTable = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSiz in iterate()
2389 createSBTWithShaderRecord(const DeviceInterface& vkd, VkDevice device, vk::Allocator &alloc, VkPipeline pipeline, RayTracingPipeline* rayTracingPipeline, deUint32 shaderGroupHandleSize, deUint32 shaderGroupBaseAlignment, deUint32 firstGroup, deUint32 groupCount, de::MovePtr<BufferWithMemory>& shaderBindingTable, VkStridedDeviceAddressRegionKHR& shaderBindingTableRegion) createSBTWithShaderRecord() argument
2418 auto& alloc = m_context.getDefaultAllocator(); iterate() local
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_meta_resolve_fs.c86 &device->meta_state.alloc, in create_layout()
100 &device->meta_state.alloc, in create_layout()
223 &vk_pipeline_info, &radv_pipeline_info, &device->meta_state.alloc, pipeline); in create_resolve_pipeline()
512 &vk_pipeline_info, &radv_pipeline_info, &device->meta_state.alloc, pipeline); in create_depth_stencil_resolve_pipeline()
582 state->resolve_fragment.rc[i].pipeline[j], &state->alloc); in radv_device_finish_meta_resolve_fragment_state()
586 state->resolve_fragment.depth[i].average_pipeline, &state->alloc); in radv_device_finish_meta_resolve_fragment_state()
589 state->resolve_fragment.depth[i].max_pipeline, &state->alloc); in radv_device_finish_meta_resolve_fragment_state()
592 state->resolve_fragment.depth[i].min_pipeline, &state->alloc); in radv_device_finish_meta_resolve_fragment_state()
595 state->resolve_fragment.stencil[i].max_pipeline, &state->alloc); in radv_device_finish_meta_resolve_fragment_state()
598 state->resolve_fragment.stencil[i].min_pipeline, &state->alloc); in radv_device_finish_meta_resolve_fragment_state()
[all...]
H A Dradv_meta_resolve_cs.c255 &device->meta_state.alloc, in create_layout()
269 &device->meta_state.alloc, in create_layout()
449 &state->alloc); in radv_device_finish_meta_resolve_compute_state()
452 &state->alloc); in radv_device_finish_meta_resolve_compute_state()
455 state->resolve_compute.rc[i].srgb_pipeline, &state->alloc); in radv_device_finish_meta_resolve_compute_state()
458 state->resolve_compute.depth[i].average_pipeline, &state->alloc); in radv_device_finish_meta_resolve_compute_state()
461 state->resolve_compute.depth[i].max_pipeline, &state->alloc); in radv_device_finish_meta_resolve_compute_state()
464 state->resolve_compute.depth[i].min_pipeline, &state->alloc); in radv_device_finish_meta_resolve_compute_state()
467 state->resolve_compute.stencil[i].max_pipeline, &state->alloc); in radv_device_finish_meta_resolve_compute_state()
470 state->resolve_compute.stencil[i].min_pipeline, &state->alloc); in radv_device_finish_meta_resolve_compute_state()
[all...]
H A Dradv_meta_clear.c85 const VkAllocationCallbacks *alloc, VkPipeline *pipeline) in create_pipeline()
164 extra, alloc, pipeline); in create_pipeline()
233 &extra, &device->meta_state.alloc, pipeline); in create_color_pipeline()
245 &state->alloc); in finish_meta_clear_htile_mask_state()
247 &state->alloc); in finish_meta_clear_htile_mask_state()
249 radv_device_to_handle(device), state->clear_htile_mask_ds_layout, &state->alloc); in finish_meta_clear_htile_mask_state()
259 state->clear_dcc_comp_to_single_pipeline[i], &state->alloc); in finish_meta_clear_dcc_comp_to_single_state()
262 &state->alloc); in finish_meta_clear_dcc_comp_to_single_state()
264 radv_device_to_handle(device), state->clear_dcc_comp_to_single_ds_layout, &state->alloc); in finish_meta_clear_dcc_comp_to_single_state()
276 state->color_clear[i][j].color_pipelines[k], &state->alloc); in radv_device_finish_meta_clear_state()
77 create_pipeline(struct radv_device *device, uint32_t samples, struct nir_shader *vs_nir, struct nir_shader *fs_nir, const VkPipelineVertexInputStateCreateInfo *vi_state, const VkPipelineDepthStencilStateCreateInfo *ds_state, const VkPipelineColorBlendStateCreateInfo *cb_state, const VkPipelineRenderingCreateInfo *dyn_state, const VkPipelineLayout layout, const struct radv_graphics_pipeline_create_info *extra, const VkAllocationCallbacks *alloc, VkPipeline *pipeline) create_pipeline() argument
[all...]
/third_party/node/deps/v8/src/heap/
H A Dsetup-heap-internal.cc254 AllocationResult alloc = in CreateInitialMaps() local
256 if (!alloc.To(&obj)) return false; in CreateInitialMaps()
263 AllocationResult alloc = in CreateInitialMaps() local
265 if (!alloc.To(&obj)) return false; in CreateInitialMaps()
444 AllocationResult alloc = AllocateRaw(Cell::kSize, AllocationType::kOld); in CreateInitialMaps() local
445 if (!alloc.To(&obj)) return false; in CreateInitialMaps()
538 AllocationResult alloc = AllocateRaw( in CreateInitialMaps() local
540 if (!alloc.To(&obj)) return false; in CreateInitialMaps()
548 AllocationResult alloc = in CreateInitialMaps() local
551 if (!alloc in CreateInitialMaps()
567 AllocationResult alloc = CreateInitialMaps() local
582 AllocationResult alloc = CreateInitialMaps() local
[all...]
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_descriptor_set.c252 set->ubos = vk_zalloc(&device->vk.alloc, in descriptor_set_create()
260 set->dyn_ubos = vk_zalloc(&device->vk.alloc, in descriptor_set_create()
268 set->dyn_ssbos = vk_zalloc(&device->vk.alloc, in descriptor_set_create()
276 set->samplers = vk_zalloc(&device->vk.alloc, in descriptor_set_create()
285 vk_zalloc(&device->vk.alloc, pan_size(TEXTURE) * layout->num_textures, in descriptor_set_create()
293 vk_zalloc(&device->vk.alloc, in descriptor_set_create()
300 vk_zalloc(&device->vk.alloc, in descriptor_set_create()
336 vk_free(&device->vk.alloc, set->textures); in descriptor_set_create()
337 vk_free(&device->vk.alloc, set->samplers); in descriptor_set_create()
338 vk_free(&device->vk.alloc, se in descriptor_set_create()
[all...]
/third_party/toybox/toys/pending/
H A Dvi.c32 int alloc;
40 int alloc;
60 } alloc;
173 b->alloc = type; in insert_str()
501 if (d->node->alloc == HEAP) free((void *)d->node->data); in block_list_free()
502 else if (d->node->alloc == MMAP) munmap((void *)d->node->data, d->node->size); in block_list_free()
649 memset(TT.yank.data, 0, TT.yank.alloc); in vi_yank()
653 if (TT.yank.alloc < end-from) { in vi_yank()
658 TT.yank.alloc = new_bounds; in vi_yank()
1510 TT.il->alloc in vi_main()
[all...]
/kernel/linux/linux-5.10/drivers/dma/dw-edma/
H A Ddw-edma-core.c654 u32 alloc, off_alloc; in dw_edma_channel_setup() local
672 alloc = wr_alloc; in dw_edma_channel_setup()
678 alloc = rd_alloc; in dw_edma_channel_setup()
683 for (j = 0; (alloc || dw->nr_irqs == 1) && j < cnt; j++, i++) { in dw_edma_channel_setup()
711 pos = off_alloc + (j % alloc); in dw_edma_channel_setup()
773 static inline void dw_edma_dec_irq_alloc(int *nr_irqs, u32 *alloc, u16 cnt) in dw_edma_dec_irq_alloc() argument
775 if (*nr_irqs && *alloc < cnt) { in dw_edma_dec_irq_alloc()
776 (*alloc)++; in dw_edma_dec_irq_alloc()
781 static inline void dw_edma_add_irq_mask(u32 *mask, u32 alloc, u16 cnt) in dw_edma_add_irq_mask() argument
783 while (*mask * alloc < cn in dw_edma_add_irq_mask()
[all...]
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
H A Dget_heap_info.cpp57 heapInfo.alloc = mallocInfo.uordblks / numberSys; in GetInfo()
79 infos[info.first].insert(pair<string, uint64_t>(MEMINFO_HEAP_ALLOC, heapInfo.alloc)); in GetInfo()
/foundation/multimedia/av_codec/test/unittest/avmuxer_test/inner/
H A Davmuxer_inner_mock.cpp61 auto alloc = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in WriteSample() local
62 std::shared_ptr<AVBuffer> avSample = AVBuffer::CreateAVBuffer(alloc, info.size); in WriteSample()
/foundation/resourceschedule/ffrt/src/sched/
H A Dtask_scheduler.h118 static void RegistCb(const AllocCB &alloc, const RecycleCB &recycle) in RegistCb() argument
120 Instance().alloc_ = alloc; in RegistCb()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap_task_common.c54 GapRunTaskBlockInfo *info = MEM_MALLOC.alloc(sizeof(GapRunTaskBlockInfo)); in GapRunTaskBlockProcess()
82 GapRunTaskUnBlockInfo *info = MEM_MALLOC.alloc(sizeof(GapRunTaskUnBlockInfo)); in GapRunTaskUnBlockProcess()
/third_party/lzma/C/
H A DXz.c34 void Xz_Free(CXzStream *p, ISzAllocPtr alloc) in Xz_Free() argument
36 ISzAlloc_Free(alloc, p->blocks); in Xz_Free()

Completed in 25 milliseconds

1...<<11121314151617181920>>...88