Home
last modified time | relevance | path

Searched refs:alloc (Results 726 - 750 of 2301) sorted by relevance

1...<<21222324252627282930>>...93

/third_party/node/benchmark/buffers/
H A Dbuffer-zero.js10 const zeroBuffer = Buffer.alloc(0);
H A Dbuffer-read.js29 Buffer.alloc(8) :
/third_party/node/benchmark/streams/
H A Dreadable-unevenread.js11 const b = Buffer.alloc(32);
H A Dreadable-readall.js11 const b = Buffer.alloc(32);
/third_party/node/deps/npm/node_modules/cross-spawn/lib/util/
H A DreadShebang.js9 const buffer = Buffer.alloc(size);
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_command_pool.h44 VkAllocationCallbacks alloc; member
/third_party/rust/crates/minimal-lexical/src/
H A Dlib.rs43 #[cfg(all(feature = "alloc", not(feature = "std")))]
44 extern crate alloc;
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dunordered_map.h577 auto alloc = buckets_.getAllocator(); in allocate() local
578 auto node = static_cast<list_node*>(alloc.alloc(alloc.instance, sizeof(list_node))); in allocate()
588 auto alloc = buckets_.getAllocator(); in release() local
589 alloc.free(alloc.instance, node); in release()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
H A Dlvp_descriptor_set.c313 set = vk_alloc(&device->vk.alloc /* XXX: Use the pool */, size, 8, in lvp_descriptor_set_create()
356 vk_free(&device->vk.alloc, set); in lvp_descriptor_set_destroy()
553 pool = vk_zalloc2(&device->vk.alloc, pAllocator, size, 8, in lvp_CreateDescriptorPool()
573 vk_free(&device->vk.alloc, set); in lvp_reset_descriptor_pool()
590 vk_free2(&device->vk.alloc, pAllocator, pool); in lvp_DestroyDescriptorPool()
624 templ = vk_alloc(&device->vk.alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in lvp_CreateDescriptorUpdateTemplate()
658 vk_free(&device->vk.alloc, templ); in lvp_descriptor_template_destroy()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawInvertedDepthRangesTests.cpp143 auto& alloc = m_context.getDefaultAllocator(); in InvertedDepthRangesTestInstance() local
150 alloc, MemoryRequirement::HostVisible); in InvertedDepthRangesTestInstance()
169 m_colorTargetImage = Image::createAndAlloc(vk, device, targetImageCreateInfo, alloc, qIndex); in InvertedDepthRangesTestInstance()
181 m_depthTargetImage = Image::createAndAlloc(vk, device, depthTargetImageCreateInfo, alloc, qIndex); in InvertedDepthRangesTestInstance()
525 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
604 const auto colorPixels = m_colorTargetImage->readSurface(queue, alloc, VK_IMAGE_LAYOUT_GENERAL, zeroOffset, iWidth, iHeight, VK_IMAGE_ASPECT_COLOR_BIT); in iterate()
605 const auto depthPixels = m_depthTargetImage->readSurface(queue, alloc, VK_IMAGE_LAYOUT_GENERAL, zeroOffset, iWidth, iHeight, VK_IMAGE_ASPECT_DEPTH_BIT); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
H A DvktRayTracingDirectionTests.cpp412 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
437 bottomLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
447 topLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
454 BufferWithMemory buffer (vkd, device, alloc, bufferCreateInfo, MemoryRequirement::HostVisible); in iterate()
563 raygenSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 0, 1); in iterate()
566 missSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 1, 1); in iterate()
569 hitSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize * hitModuleCount, shaderGroupBaseAlignment, 2, 1); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderFConvertTests.cpp601 auto& alloc = inputBuffer->getAllocation(); in iterate() local
602 deMemcpy(reinterpret_cast<deUint8*>(alloc.getHostPtr()) + alloc.getOffset(), inputMemory.data(), inputMemory.size()); in iterate()
603 vk::flushAlloc(vkd, device, alloc); in iterate()
792 auto& alloc = outputBuffer->getAllocation(); in iterate() local
793 deMemcpy(outputMemory.data(), reinterpret_cast<deUint8*>(alloc.getHostPtr()) + alloc.getOffset(), outputBufferSizeInfo.memorySizeBytes); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawInvertedDepthRangesTests.cpp143 auto& alloc = m_context.getDefaultAllocator(); in InvertedDepthRangesTestInstance() local
150 alloc, MemoryRequirement::HostVisible); in InvertedDepthRangesTestInstance()
169 m_colorTargetImage = Image::createAndAlloc(vk, device, targetImageCreateInfo, alloc, qIndex); in InvertedDepthRangesTestInstance()
181 m_depthTargetImage = Image::createAndAlloc(vk, device, depthTargetImageCreateInfo, alloc, qIndex); in InvertedDepthRangesTestInstance()
525 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
604 const auto colorPixels = m_colorTargetImage->readSurface(queue, alloc, VK_IMAGE_LAYOUT_GENERAL, zeroOffset, iWidth, iHeight, VK_IMAGE_ASPECT_COLOR_BIT); in iterate()
605 const auto depthPixels = m_depthTargetImage->readSurface(queue, alloc, VK_IMAGE_LAYOUT_GENERAL, zeroOffset, iWidth, iHeight, VK_IMAGE_ASPECT_DEPTH_BIT); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A DvktRayTracingDirectionTests.cpp412 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
437 bottomLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
447 topLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
454 BufferWithMemory buffer (vkd, device, alloc, bufferCreateInfo, MemoryRequirement::HostVisible); in iterate()
563 raygenSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 0, 1); in iterate()
566 missSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 1, 1); in iterate()
569 hitSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 2, 1); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
H A DvktShaderFConvertTests.cpp601 auto& alloc = inputBuffer->getAllocation(); in iterate() local
602 deMemcpy(reinterpret_cast<deUint8*>(alloc.getHostPtr()) + alloc.getOffset(), inputMemory.data(), inputMemory.size()); in iterate()
603 vk::flushAlloc(vkd, device, alloc); in iterate()
792 auto& alloc = outputBuffer->getAllocation(); in iterate() local
793 deMemcpy(outputMemory.data(), reinterpret_cast<deUint8*>(alloc.getHostPtr()) + alloc.getOffset(), outputBufferSizeInfo.memorySizeBytes); in iterate()
/kernel/linux/linux-5.10/drivers/android/
H A Dbinder.c478 * @alloc: binder allocator bookkeeping
511 struct binder_alloc alloc; member
2104 if (binder_alloc_copy_from_buffer(&proc->alloc, object, buffer, in binder_get_object()
2176 if (binder_alloc_copy_from_buffer(&proc->alloc, &object_offset, in binder_validate_ptr()
2261 if (binder_alloc_copy_from_buffer(&proc->alloc, in binder_validate_fixup()
2357 if (!binder_alloc_copy_from_buffer(&proc->alloc, &object_offset, in binder_transaction_buffer_release()
2486 &proc->alloc, &fd, buffer, in binder_transaction_buffer_release()
2755 * @alloc: binder_alloc associated with @buffer
2768 static int binder_do_deferred_txn_copies(struct binder_alloc *alloc, in binder_do_deferred_txn_copies() argument
2795 alloc, buffe in binder_do_deferred_txn_copies()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageLoadStoreTests.cpp893 const Allocation& alloc = m_imageBuffer->getAllocation(); in verifyResult() local
894 invalidateAlloc(vk, device, alloc); in verifyResult()
895 const tcu::ConstPixelBufferAccess result(mapVkFormat(m_format), imageSize, (const char *)alloc.getHostPtr() + m_dstViewOffset); in verifyResult()
967 const Allocation& alloc = m_constantsBuffer->getAllocation(); in ImageStoreTestInstance() local
968 deUint8* const basePtr = static_cast<deUint8*>(alloc.getHostPtr()); in ImageStoreTestInstance()
970 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(constantsBufferSizeBytes)); in ImageStoreTestInstance()
978 flushAlloc(vk, device, alloc); in ImageStoreTestInstance()
1538 const Allocation& alloc = m_imageBuffer->getAllocation(); in LoadStoreTestInstance() local
1539 deMemcpy((char *)alloc.getHostPtr() + m_srcViewOffset, m_referenceImage.getAccess().getDataPtr(), static_cast<size_t>(m_imageSizeBytes)); in LoadStoreTestInstance()
1540 flushAlloc(vk, device, alloc); in LoadStoreTestInstance()
1552 const Allocation& alloc = getResultBuffer()->getAllocation(); verifyResult() local
1820 const Allocation& alloc = m_imageBuffer->getAllocation(); ImageLoadStoreLodAMDTestInstance() local
1888 const Allocation& alloc = getResultBuffer()->getAllocation(); verifyResult() local
2248 const Allocation& alloc = m_buffer->getAllocation(); ImageExtendOperandTestInstance() local
2376 const Allocation& alloc = m_buffer->getAllocation(); verifyResult() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageLoadStoreTests.cpp886 const Allocation& alloc = m_imageBuffer->getAllocation(); in verifyResult() local
887 invalidateAlloc(vk, device, alloc); in verifyResult()
888 const tcu::ConstPixelBufferAccess result(mapVkFormat(m_format), imageSize, (const char *)alloc.getHostPtr() + m_dstViewOffset); in verifyResult()
960 const Allocation& alloc = m_constantsBuffer->getAllocation(); in ImageStoreTestInstance() local
961 deUint8* const basePtr = static_cast<deUint8*>(alloc.getHostPtr()); in ImageStoreTestInstance()
963 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(constantsBufferSizeBytes)); in ImageStoreTestInstance()
971 flushAlloc(vk, device, alloc); in ImageStoreTestInstance()
1509 const Allocation& alloc = m_imageBuffer->getAllocation(); in LoadStoreTestInstance() local
1510 deMemcpy((char *)alloc.getHostPtr() + m_srcViewOffset, m_referenceImage.getAccess().getDataPtr(), static_cast<size_t>(m_imageSizeBytes)); in LoadStoreTestInstance()
1511 flushAlloc(vk, device, alloc); in LoadStoreTestInstance()
1523 const Allocation& alloc = getResultBuffer()->getAllocation(); verifyResult() local
1791 const Allocation& alloc = m_imageBuffer->getAllocation(); ImageLoadStoreLodAMDTestInstance() local
1859 const Allocation& alloc = getResultBuffer()->getAllocation(); verifyResult() local
2219 const Allocation& alloc = m_buffer->getAllocation(); ImageExtendOperandTestInstance() local
2347 const Allocation& alloc = m_buffer->getAllocation(); verifyResult() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/cmd/
H A Dhci_cmd.c96 HciPacket *hciPacket = MEM_MALLOC.alloc(sizeof(HciPacket)); in HciCmdPushToTxQueue()
203 HciCmd *cmd = MEM_MALLOC.alloc(sizeof(HciCmd)); in HciAllocCmd()
207 cmd->param = MEM_MALLOC.alloc(paramLength); in HciAllocCmd()
/kernel/linux/linux-5.10/mm/
H A DMakefile58 page-alloc-y := page_alloc.o
59 page-alloc-$(CONFIG_SHUFFLE_PAGE_ALLOCATOR) += shuffle.o
61 obj-y += page-alloc.o
/kernel/linux/linux-6.6/rust/kernel/
H A Dstr.rs5 use alloc::alloc::AllocError;
6 use alloc::vec::Vec;
/kernel/linux/linux-6.6/drivers/scsi/arm/
H A Dqueue.c74 queue->alloc = q = kmalloc_array(nqueues, sizeof(QE_t), GFP_KERNEL); in queue_initialise()
83 return queue->alloc != NULL; in queue_initialise()
95 kfree(queue->alloc); in queue_free()
/kernel/linux/linux-6.6/mm/
H A DMakefile59 page-alloc-y := page_alloc.o
60 page-alloc-$(CONFIG_SHUFFLE_PAGE_ALLOCATOR) += shuffle.o
65 obj-y += page-alloc.o
/third_party/ffmpeg/libavfilter/
H A Dframepool.c51 FFFramePool *ff_frame_pool_video_init(AVBufferRef* (*alloc)(size_t size),
102 pool->pools[i] = av_buffer_pool_init(sizes[i] + align, alloc);
114 FFFramePool *ff_frame_pool_audio_init(AVBufferRef* (*alloc)(size_t size),
/third_party/libuv/src/win/
H A Dgetaddrinfo.c119 uv__free(req->alloc); in uv__getaddrinfo_done()
120 req->alloc = NULL; in uv__getaddrinfo_done()
291 req->alloc = (void*) alloc_ptr; in uv_getaddrinfo()

Completed in 32 milliseconds

1...<<21222324252627282930>>...93