Home
last modified time | relevance | path

Searched refs:alloc (Results 301 - 325 of 1278) sorted by relevance

1...<<11121314151617181920>>...52

/third_party/mesa3d/src/intel/compiler/
H A Dbrw_fs_validate.cpp62 alloc.sizes[inst->dst.nr]); in validate()
68 alloc.sizes[inst->src[i].nr]); in validate()
/third_party/mesa3d/src/imagination/vulkan/
H A Dpvr_wsi.c52 &pdevice->vk.instance->alloc, in pvr_wsi_init()
68 wsi_device_finish(&pdevice->wsi_device, &pdevice->vk.instance->alloc); in pvr_wsi_finish()
/third_party/node/test/parallel/
H A Dtest-child-process-stdio-big-write-end.js60 buf = Buffer.alloc(bufsize, '.');
66 const buf = Buffer.alloc(bufsize, '.');
/third_party/node/benchmark/crypto/
H A Daes-gcm-throughput.js12 const message = Buffer.alloc(len, 'b');
15 const associate_data = Buffer.alloc(16, 'z');
/third_party/node/benchmark/fs/
H A Dreadfile-partitioned.js32 let data = Buffer.alloc(len, 'x');
36 const zipData = Buffer.alloc(1024, 'a');
/third_party/mesa3d/src/virtio/vulkan/
H A Dvn_image.h103 const VkAllocationCallbacks *alloc,
114 const VkAllocationCallbacks *alloc,
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_deferred_operation.c38 vk_alloc2(&device->alloc, pAllocator, sizeof(*op), 8, in vk_common_CreateDeferredOperationKHR()
63 vk_free2(&device->alloc, pAllocator, op); in vk_common_DestroyDeferredOperationKHR()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dobjc_allowlist.rs37 pub fn alloc() -> Self { in alloc() functions
38 Self(unsafe { msg_send!(class!(AllowlistMe), alloc) }) in alloc()
H A Dobjc_property_fnptr.rs23 pub fn alloc() -> Self { in alloc() functions
24 Self(unsafe { msg_send!(class!(Foo), alloc) }) in alloc()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-pool.hh49 T* alloc () in alloc() function
53 if (unlikely (!chunks.alloc (chunks.length + 1))) return nullptr; in alloc()
/third_party/skia/modules/particles/include/
H A DSkParticleBinding.h39 SkArenaAlloc* alloc) in SkParticleExternalFunction()
43 , fAlloc(alloc) {} in SkParticleExternalFunction()
35 SkParticleExternalFunction(const char* name, SkSL::Compiler& compiler, const SkSL::Type& type, skvm::Uniforms* uniforms, SkArenaAlloc* alloc) SkParticleExternalFunction() argument
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
H A Ddir.rs9 use alloc::borrow::ToOwned;
10 use alloc::vec::Vec;
/third_party/mesa3d/src/gallium/frontends/lavapipe/
H A Dlvp_image.c32 const VkAllocationCallbacks* alloc, in lvp_image_create()
40 image = vk_image_create(&device->vk, pCreateInfo, alloc, sizeof(*image)); in lvp_image_create()
285 buffer = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*buffer), 8, in lvp_CreateBuffer()
320 vk_free2(&device->vk.alloc, pAllocator, buffer); in lvp_CreateBuffer()
342 vk_free2(&device->vk.alloc, pAllocator, buffer); in lvp_DestroyBuffer()
377 view = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*view), 8, in lvp_CreateBufferView()
404 vk_free2(&device->vk.alloc, pAllocator, view); in lvp_DestroyBufferView()
30 lvp_image_create(VkDevice _device, const VkImageCreateInfo *pCreateInfo, const VkAllocationCallbacks* alloc, VkImage *pImage) lvp_image_create() argument
/third_party/lzma/C/
H A DLzma2Dec.c71 SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAllocPtr alloc) in Lzma2Dec_AllocateProbs() argument
75 return LzmaDec_AllocateProbs(&p->decoder, props, LZMA_PROPS_SIZE, alloc); in Lzma2Dec_AllocateProbs()
78 SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAllocPtr alloc) in Lzma2Dec_Allocate() argument
82 return LzmaDec_Allocate(&p->decoder, props, LZMA_PROPS_SIZE, alloc); in Lzma2Dec_Allocate()
470 Byte prop, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAllocPtr alloc) in Lzma2Decode()
478 RINOK(Lzma2Dec_AllocateProbs(&p, prop, alloc)) in Lzma2Decode()
487 Lzma2Dec_FreeProbs(&p, alloc); in Lzma2Decode()
469 Lzma2Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, Byte prop, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAllocPtr alloc) Lzma2Decode() argument
H A DLzma2DecMt.c74 CAlignOffsetAlloc alloc; member
86 // ISzAllocPtr alloc;
124 CLzma2DecMtHandle Lzma2DecMt_Create(ISzAllocPtr alloc, ISzAllocPtr allocMid) in Lzma2DecMt_Create() argument
126 CLzma2DecMt *p = (CLzma2DecMt *)ISzAlloc_Alloc(alloc, sizeof(CLzma2DecMt)); in Lzma2DecMt_Create()
130 // p->alloc = alloc; in Lzma2DecMt_Create()
136 p->alignOffsetAlloc.baseAlloc = alloc; in Lzma2DecMt_Create()
221 Lzma2Dec_FreeProbs(&t->dec, &t->alloc.vt); // p->alloc !!! in Lzma2DecMt_Destroy()
252 AlignOffsetAlloc_CreateVTable(&t->alloc); in Lzma2DecMt_MtCallback_Parse()
[all...]
/third_party/openssl/test/
H A Dwpackettest.c22 static const unsigned char alloc[] = { 0x02, 0xfe, 0xff }; variable
107 || !TEST_mem_eq(sbuf, written, alloc, sizeof(alloc))) in test_WPACKET_init()
315 || !TEST_mem_eq(buf->data, written, alloc, sizeof(alloc))) in test_WPACKET_allocate_bytes()
342 || !TEST_mem_eq(buf->data, written, alloc, sizeof(alloc))) in test_WPACKET_memcpy()
/third_party/skia/samplecode/
H A DSamplePathTessellators.cpp82 auto alloc = flushState->allocator(); variable
95 fTessellator = PathWedgeTessellator::Make(alloc, shaderCaps.infinitySupport());
100 fTessellator = PathCurveTessellator::Make(alloc,
106 fTessellator = PathWedgeTessellator::Make(alloc, shaderCaps.infinitySupport());
111 fTessellator = PathCurveTessellator::Make(alloc,
117 auto* tessShader = GrPathTessellationShader::Make(alloc,
124 fProgram = GrTessellationShader::MakeProgram({alloc, flushState->writeView(),
/third_party/skia/src/gpu/geometry/
H A DGrTriangulator.h35 SkArenaAlloc alloc(kArenaDefaultChunkSize); in PathToTriangles()
36 GrTriangulator triangulator(path, &alloc); in PathToTriangles()
57 GrTriangulator(const SkPath& path, SkArenaAlloc* alloc) : fPath(path), fAlloc(alloc) {} in GrTriangulator() argument
218 void append(SkArenaAlloc* alloc, SkPoint a, SkPoint b, SkPoint c, int winding) { in append() argument
228 *fTail = alloc->make<Node>(a, b, c); in append()
479 Poly* addEdge(Edge* e, Side side, SkArenaAlloc* alloc);
/third_party/skia/src/gpu/vk/
H A DGrVkAMDMemoryAllocator.cpp335 GrVkAlloc* alloc) const { in getAllocInfo()
354 alloc->fMemory = vmaInfo.deviceMemory; in getAllocInfo()
355 alloc->fOffset = vmaInfo.offset; in getAllocInfo()
356 alloc->fSize = vmaInfo.size; in getAllocInfo()
357 alloc->fFlags = flags; in getAllocInfo()
358 alloc->fBackendMemory = memoryHandle; in getAllocInfo()
359 alloc->fAllocator = (GrVkMemoryAllocator *)this; in getAllocInfo()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Draw_hash_set_benchmark.cc85 static void construct(allocator_type* alloc, slot_type* slot, Args... args) { in construct() argument
87 *alloc, slot, typename slot_type::ctor(), std::forward<Args>(args)...); in construct()
91 static void destroy(allocator_type* alloc, slot_type* slot) { in destroy() argument
92 std::allocator_traits<allocator_type>::destroy(*alloc, slot); in destroy()
96 static void transfer(allocator_type* alloc, slot_type* new_slot, in transfer() argument
98 construct(alloc, new_slot, std::move(old_slot->pair)); in transfer()
99 destroy(alloc, old_slot); in transfer()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dfixed_array.h137 memory_internal::ConstructRange(storage_.alloc(), storage_.begin(), in FixedArray()
146 memory_internal::ConstructRange(storage_.alloc(), storage_.begin(), in FixedArray()
162 memory_internal::CopyRange(storage_.alloc(), storage_.begin(), first, last); in FixedArray()
167 AllocatorTraits::destroy(storage_.alloc(), cur);
460 AllocatorTraits::deallocate(alloc(), AsValueType(begin()), size());
467 allocator_type& alloc() { return size_alloc_.template get<1>(); } in alloc() function in absl::FixedArray::Storage
480 AllocatorTraits::allocate(alloc(), size())); in InitializeData()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_shader.c1446 union radv_shader_arena_block *alloc = alloc_block_obj(device); in radv_alloc_shader_memory() local
1447 if (!alloc) { in radv_alloc_shader_memory()
1451 list_addtail(&alloc->list, &hole->list); in radv_alloc_shader_memory()
1452 alloc->freelist.prev = NULL; in radv_alloc_shader_memory()
1453 alloc->freelist.next = ptr; in radv_alloc_shader_memory()
1454 alloc->arena = hole->arena; in radv_alloc_shader_memory()
1455 alloc->offset = hole->offset; in radv_alloc_shader_memory()
1456 alloc->size = size; in radv_alloc_shader_memory()
1464 return alloc; in radv_alloc_shader_memory()
1471 union radv_shader_arena_block *alloc in radv_alloc_shader_memory() local
1541 radv_free_shader_memory(struct radv_device *device, union radv_shader_arena_block *alloc) radv_free_shader_memory() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
H A DvktRayTracingOpacityMicromapTests.cpp326 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
360 BufferWithMemory micromapDataBuffer(vkd, device, alloc, micromapDataBufferCreateInfo, MemoryRequirement::HostVisible | MemoryRequirement::DeviceAddress); in iterate()
428 BufferWithMemory micromapBackingBuffer(vkd, device, alloc, micromapBackingBufferCreateInfo, MemoryRequirement::Local | MemoryRequirement::DeviceAddress); in iterate()
432 BufferWithMemory micromapScratchBuffer(vkd, device, alloc, micromapScratchBufferCreateInfo, MemoryRequirement::Local | MemoryRequirement::DeviceAddress); in iterate()
499 bottomLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
513 topLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
521 BufferWithMemory originsBuffer (vkd, device, alloc, originsBufferInfo, MemoryRequirement::HostVisible); in iterate()
604 BufferWithMemory outputModesBuffer(vkd, device, alloc, outputModesBufferInfo, MemoryRequirement::HostVisible); in iterate()
684 raygenSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 0, 1); in iterate()
687 missSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSiz in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkAllocationCallbackUtil.cpp652 for (std::vector<AllocationCallbackRecord>::const_iterator alloc = validationResults.liveAllocations.begin(); in getLiveSystemAllocationTotal()
653 alloc != validationResults.liveAllocations.end(); in getLiveSystemAllocationTotal()
654 ++alloc) in getLiveSystemAllocationTotal()
656 DE_ASSERT(alloc->type == AllocationCallbackRecord::TYPE_ALLOCATION || in getLiveSystemAllocationTotal()
657 alloc->type == AllocationCallbackRecord::TYPE_REALLOCATION); in getLiveSystemAllocationTotal()
659 const size_t size = (alloc->type == AllocationCallbackRecord::TYPE_ALLOCATION ? alloc->data.allocation.size : alloc->data.reallocation.size); in getLiveSystemAllocationTotal()
660 const size_t alignment = (alloc->type == AllocationCallbackRecord::TYPE_ALLOCATION ? alloc in getLiveSystemAllocationTotal()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A DvktRayTracingOpacityMicromapTests.cpp326 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
360 BufferWithMemory micromapDataBuffer(vkd, device, alloc, micromapDataBufferCreateInfo, MemoryRequirement::HostVisible | MemoryRequirement::DeviceAddress); in iterate()
428 BufferWithMemory micromapBackingBuffer(vkd, device, alloc, micromapBackingBufferCreateInfo, MemoryRequirement::Local | MemoryRequirement::DeviceAddress); in iterate()
432 BufferWithMemory micromapScratchBuffer(vkd, device, alloc, micromapScratchBufferCreateInfo, MemoryRequirement::Local | MemoryRequirement::DeviceAddress); in iterate()
501 bottomLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
515 topLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
523 BufferWithMemory originsBuffer (vkd, device, alloc, originsBufferInfo, MemoryRequirement::HostVisible); in iterate()
606 BufferWithMemory outputModesBuffer(vkd, device, alloc, outputModesBufferInfo, MemoryRequirement::HostVisible); in iterate()
686 raygenSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 0, 1); in iterate()
689 missSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSiz in iterate()
[all...]

Completed in 16 milliseconds

1...<<11121314151617181920>>...52