/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_image.c | 66 const VkAllocationCallbacks *alloc, in panvk_image_create() 74 image = vk_image_create(&device->vk, pCreateInfo, alloc, sizeof(*image)); in panvk_image_create() 64 panvk_image_create(VkDevice _device, const VkImageCreateInfo *pCreateInfo, const VkAllocationCallbacks *alloc, VkImage *pImage, uint64_t modifier, const VkSubresourceLayout *plane_layouts) panvk_image_create() argument
|
H A D | panvk_pass.c | 98 vk_alloc2(&device->vk.alloc, pAllocator, in panvk_CreateRenderPass2() 212 vk_free2(&device->vk.alloc, pAllocator, pass->subpass_attachments); in panvk_DestroyRenderPass()
|
H A D | panvk_device.c | 245 vk_free(&instance->vk.alloc, instance); in panvk_DestroyInstance() 945 device = vk_zalloc2(&physical_device->instance->vk.alloc, pAllocator, in panvk_CreateDevice() 996 vk_free(&device->vk.alloc, device); in panvk_CreateDevice() 1016 vk_alloc(&device->vk.alloc, in panvk_CreateDevice() 1048 vk_free(&device->vk.alloc, device); in panvk_CreateDevice() 1067 vk_free(&device->vk.alloc, device); in panvk_DestroyDevice()
|
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | initthread.c | 93 init_get_thread_local(CRYPTO_THREAD_LOCAL *local, int alloc, int keep) in init_get_thread_local() argument 97 if (alloc) { in init_get_thread_local()
|
/third_party/openssl/crypto/ |
H A D | initthread.c | 93 init_get_thread_local(CRYPTO_THREAD_LOCAL *local, int alloc, int keep) in init_get_thread_local() argument 97 if (alloc) { in init_get_thread_local()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/ |
H A D | vktSSBOCornerCase.cpp | 178 de::MovePtr<vk::Allocation> alloc; in iterate() local 231 alloc = allocateAndBindMemory(m_context, *buffer, vk::MemoryRequirement::HostVisible | (memoryDeviceAddress ? vk::MemoryRequirement::DeviceAddress : vk::MemoryRequirement::Any)); in iterate()
|
/third_party/skia/src/gpu/ops/ |
H A D | StrokeTessellateOp.cpp | 96 GrOp::CombineResult StrokeTessellateOp::onCombineIfPossible(GrOp* grOp, SkArenaAlloc* alloc, in onCombineIfPossible() argument 145 auto* headCopy = alloc->make<PathStrokeList>(std::move(op->fPathStrokeList)); in onCombineIfPossible()
|
/third_party/skia/src/effects/ |
H A D | SkLayerDrawLooper.cpp | 48 SkLayerDrawLooper::makeContext(SkArenaAlloc* alloc) const { in makeContext() 49 return alloc->make<LayerDrawLooperContext>(this); in makeContext()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | ResourceAllocatorManagerD3D12.cpp | 412 for (auto& alloc : mPooledHeapAllocators) { in DestroyPool() 413 alloc->DestroyPool(); in DestroyPool()
|
/third_party/skia/third_party/externals/freetype/src/base/ |
H A D | ftutil.c | 75 block = memory->alloc( memory, size ); in FT_BASE_DEF() 145 block = memory->alloc( memory, new_count * item_size ); in FT_BASE_DEF()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/ |
H A D | vktSSBOCornerCase.cpp | 178 de::MovePtr<vk::Allocation> alloc; in iterate() local 231 alloc = allocateAndBindMemory(m_context, *buffer, vk::MemoryRequirement::HostVisible | (memoryDeviceAddress ? vk::MemoryRequirement::DeviceAddress : vk::MemoryRequirement::Any)); in iterate()
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
H A D | dePoolArray.cpp | 42 /* Unused alloc to try to break alignments. */ in intArrayTest() 43 pool.alloc(1); in intArrayTest() 116 /* Unused alloc to try to break alignments. */ in alignedIntArrayTest() 117 pool.alloc(1); in alignedIntArrayTest()
|
/third_party/rust/crates/cxx/macro/src/ |
H A D | expand.rs | 533 quote_spanned!(span=> ::cxx::alloc::boxed::Box::into_raw(#var).cast()) in expand_cxx_function_shim() 535 quote_spanned!(span=> ::cxx::alloc::boxed::Box::into_raw(#var)) in expand_cxx_function_shim() 654 quote_spanned!(span=> ::cxx::alloc::boxed::Box::from_raw(#call.cast())) in expand_cxx_function_shim() 656 quote_spanned!(span=> ::cxx::alloc::boxed::Box::from_raw(#call)) in expand_cxx_function_shim() 901 fn __AssertSized<T: ?#sized + #sized>() -> ::cxx::core::alloc::Layout { in expand_rust_type_layout() 902 ::cxx::core::alloc::Layout::new::<T>() in expand_rust_type_layout() 994 Type::RustBox(_) => quote_spanned!(span=> ::cxx::alloc::boxed::Box::from_raw(#var)), in expand_rust_function_shim_impl() 1055 Type::RustBox(_) => Some(quote_spanned!(span=> ::cxx::alloc::boxed::Box::into_raw)), in expand_rust_function_shim_impl() 1255 let link_alloc = format!("{}alloc", link_prefix); in expand_rust_box() 1260 let local_alloc = format_ident!("{}alloc", local_prefi in expand_rust_box() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageHostImageCopyTests.cpp | 345 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 424 sparseSampledImage = de::MovePtr<SparseImage>(new SparseImage(vk, device, physicalDevice, vki, createInfo, m_context.getSparseQueue(), alloc, mapVkFormat(createInfo.format))); in iterate() 429 sampledImageWithMemory = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vk, device, alloc, createInfo, vk::MemoryRequirement::Any)); in iterate() 431 sampledImageWithMemoryCopy = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vk, device, alloc, createInfo, vk::MemoryRequirement::Any)); in iterate() 481 outputImage = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vk, device, alloc, createInfo, vk::MemoryRequirement::Any)); in iterate() 680 vk, device, alloc, makeBufferCreateInfo(outputBufferSize, vk::VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible)); in iterate() 723 de::MovePtr<BufferWithMemory> sampledBuffer = de::MovePtr<BufferWithMemory>(new BufferWithMemory(vk, device, alloc, makeBufferCreateInfo(sampledBufferSize, vk::VK_BUFFER_USAGE_STORAGE_BUFFER_BIT | vk::VK_BUFFER_USAGE_TRANSFER_SRC_BIT), MemoryRequirement::HostVisible)); in iterate() 1263 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 1315 de::MovePtr<ImageWithMemory> image = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vk, device, alloc, createInfo, vk::MemoryRequirement::HostVisible)); in iterate() 1316 de::MovePtr<ImageWithMemory> copyImage = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vk, device, alloc, createInf in iterate() [all...] |
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | turbojpeg.c | 671 int i, retval = 0, alloc = 1; in tjCompress2() local 705 alloc = 0; *jpegSize = tjBufSize(width, height, jpegSubsamp); in tjCompress2() 707 jpeg_mem_dest_tj(cinfo, jpegBuf, jpegSize, alloc); in tjCompress2() 724 if (alloc) (*cinfo->dest->term_destination) (cinfo); in tjCompress2() 979 int i, row, retval = 0, alloc = 1; in tjCompressFromYUVPlanes() local 1017 alloc = 0; *jpegSize = tjBufSize(width, height, subsamp); in tjCompressFromYUVPlanes() 1019 jpeg_mem_dest_tj(cinfo, jpegBuf, jpegSize, alloc); in tjCompressFromYUVPlanes() 1095 if (alloc) (*cinfo->dest->term_destination) (cinfo); in tjCompressFromYUVPlanes() 1895 int retval = 0, alloc = 1, i, jpegSubsamp, saveMarkers = 0; in tjTransform() local 1991 alloc in tjTransform() [all...] |
/kernel/linux/linux-6.6/drivers/android/ |
H A D | binder.c | 1753 if (binder_alloc_copy_from_buffer(&proc->alloc, object, buffer, in binder_get_object() 1825 if (binder_alloc_copy_from_buffer(&proc->alloc, &object_offset, in binder_validate_ptr() 1910 if (binder_alloc_copy_from_buffer(&proc->alloc, in binder_validate_fixup() 2008 if (!binder_alloc_copy_from_buffer(&proc->alloc, &object_offset, in binder_transaction_buffer_release() 2137 &proc->alloc, &fd, buffer, in binder_transaction_buffer_release() 2407 * @alloc: binder_alloc associated with @buffer 2420 static int binder_do_deferred_txn_copies(struct binder_alloc *alloc, in binder_do_deferred_txn_copies() argument 2447 alloc, buffer, in binder_do_deferred_txn_copies() 2467 alloc, buffer, in binder_do_deferred_txn_copies() 2871 binder_alloc_free_buf(&proc->alloc, buffe in binder_proc_transaction() [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | memblock.c | 1442 phys_addr_t alloc; in memblock_alloc_internal() local 1455 alloc = memblock_alloc_range_nid(size, align, min_addr, max_addr, nid, in memblock_alloc_internal() 1459 if (!alloc && min_addr) in memblock_alloc_internal() 1460 alloc = memblock_alloc_range_nid(size, align, 0, max_addr, nid, in memblock_alloc_internal() 1463 if (!alloc) in memblock_alloc_internal() 1466 return phys_to_virt(alloc); in memblock_alloc_internal()
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-dbg-tlv.c | 121 const struct iwl_fw_ini_allocation_tlv *alloc = (const void *)tlv->data; in iwl_dbg_tlv_alloc_buf_alloc() local 125 if (le32_to_cpu(tlv->length) != sizeof(*alloc)) in iwl_dbg_tlv_alloc_buf_alloc() 128 buf_location = le32_to_cpu(alloc->buf_location); in iwl_dbg_tlv_alloc_buf_alloc() 129 alloc_id = le32_to_cpu(alloc->alloc_id); in iwl_dbg_tlv_alloc_buf_alloc() 148 alloc->req_size == 0) { in iwl_dbg_tlv_alloc_buf_alloc() 153 trans->dbg.fw_mon_cfg[alloc_id] = *alloc; in iwl_dbg_tlv_alloc_buf_alloc() 823 "WRT: Failed to set DRAM buffer for alloc id %d, ret=%d\n", in iwl_dbg_tlv_update_drams()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_queue.c | 573 vk_free(&device->vk.alloc, (void *)(uintptr_t)ms->out_syncs); in multisync_free() 574 vk_free(&device->vk.alloc, (void *)(uintptr_t)ms->in_syncs); in multisync_free() 616 vk_zalloc(&device->vk.alloc, *count * sizeof(struct drm_v3d_sem), in set_in_syncs() 658 vk_zalloc(&device->vk.alloc, *count * sizeof(struct drm_v3d_sem), in set_out_syncs() 729 vk_free(&device->vk.alloc, in_syncs); in set_multisync() 1033 queue->noop_job = vk_zalloc(&device->vk.alloc, sizeof(struct v3dv_job), 8, in queue_create_noop_job()
|
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_job_render.c | 228 free_list = vk_alloc(&device->vk.alloc, in pvr_free_list_create() 269 vk_free(&device->vk.alloc, free_list); in pvr_free_list_create() 280 vk_free(&device->vk.alloc, free_list); in pvr_free_list_destroy() 1067 rt_dataset = vk_zalloc(&device->vk.alloc, in pvr_render_target_dataset_create() 1144 vk_free(&device->vk.alloc, rt_dataset); in pvr_render_target_dataset_create() 1161 vk_free(&device->vk.alloc, rt_dataset); in pvr_render_target_dataset_destroy()
|
/third_party/node/lib/ |
H A D | buffer.js | 177 'issues. Please use the Buffer.alloc(), ' + 264 * factory APIs: Buffer.from(), Buffer.allocUnsafe() or Buffer.alloc() based on 278 return Buffer.alloc(arg); 347 return Buffer.alloc(0); 353 if (offset >= viewLength) return Buffer.alloc(0); 402 * alloc(size[, fill[, encoding]]) 404 Buffer.alloc = function alloc(size, fill, encoding) { function 1246 if (source.length === 0) return Buffer.alloc(0);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
H A D | vktMemoryAllocationTests.cpp | 485 VkMemoryAllocateInfo alloc = in iterate() local 493 VkResult res = vkd.allocateMemory(device, &alloc, (const VkAllocationCallbacks*)DE_NULL, &memoryObjects[ndx]); in iterate() 545 const VkMemoryAllocateInfo alloc = in iterate() local 553 VK_CHECK(vkd.allocateMemory(device, &alloc, (const VkAllocationCallbacks*)DE_NULL, &memoryObjects[ndx])); in iterate() 747 const bool canAllocateSys = usedSysMem + m_allocSysMemSize + 1024 < m_memoryLimits.totalSystemMemory; // \note Always leave room for 1 KiB sys mem alloc in iterate() 844 const VkMemoryAllocateInfo alloc = in iterate() 852 VkResult res = vkd.allocateMemory(device, &alloc, (const VkAllocationCallbacks*)DE_NULL, &heap.objects.back().memory); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
H A D | vktMeshShaderSyncTests.cpp | 718 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 758 ImageWithMemory colorBuffer (vkd, device, alloc, colorBufferCreateInfo, MemoryRequirement::Any); in iterate() 814 imageResource = ImageWithMemoryPtr(new ImageWithMemory(vkd, device, alloc, resourceCreateInfo, MemoryRequirement::Any)); in iterate() 821 bufferResource = BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, resourceBufferCreateInfo, MemoryRequirement::HostVisible)); in iterate() 857 hostCoherentBuffer = BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, auxiliarBufferCreateInfo, (MemoryRequirement::HostVisible | MemoryRequirement::Coherent))); in iterate() 1142 colorVerificationBuffer = BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, auxiliarBufferCreateInfo, (MemoryRequirement::HostVisible | MemoryRequirement::Coherent))); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktSynchronizationNoneStageTests.cpp | 82 void create (Context& context, SimpleAllocator& alloc, VkFormat format, VkExtent3D extent, VkImageUsageFlags usage); 89 void ImageWrapper::create(Context& context, SimpleAllocator& alloc, VkFormat format, VkExtent3D extent, VkImageUsageFlags usage) in create() argument 114 memory = alloc.allocate(getImageMemoryRequirements(vk, device, *handle), MemoryRequirement::Any); in create() 125 void create (Context& context, SimpleAllocator& alloc, VkDeviceSize size, VkBufferUsageFlags usage); 132 void BufferWrapper::create(Context& context, SimpleAllocator& alloc, VkDeviceSize size, VkBufferUsageFlags usage) in create() argument 139 memory = alloc.allocate(getBufferMemoryRequirements(vk, device, *handle), MemoryRequirement::HostVisible); in create()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationMiscDrawTests.cpp | 158 const Allocation& alloc = vertexBuffer.getAllocation(); in runTest() local 160 deMemcpy(alloc.getHostPtr(), &vertexData[0], static_cast<std::size_t>(vertexDataSizeBytes)); in runTest() 161 flushAlloc(vk, device, alloc); in runTest() 234 const Allocation& alloc = tessLevelsBuffer.getAllocation(); in runTest() local 235 TessLevels* const bufferTessLevels = static_cast<TessLevels*>(alloc.getHostPtr()); in runTest() 238 flushAlloc(vk, device, alloc); in runTest()
|