/third_party/node/benchmark/tls/ |
H A D | throughput-s2c.js | 19 recvbuf = Buffer.alloc(recvbuflen); 25 chunk = Buffer.alloc(sendchunklen, 'b');
|
/third_party/node/benchmark/string_decoder/ |
H A D | string-decoder.js | 29 str = Buffer.alloc(0); 42 str = Buffer.alloc(0);
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_wsi.c | 47 &physical_device->instance->vk.alloc, in anv_init_wsi() 71 &physical_device->instance->vk.alloc); in anv_finish_wsi()
|
/third_party/node/deps/npm/node_modules/safer-buffer/ |
H A D | safer.js | 39 if (!Safer.alloc) { 40 Safer.alloc = function (size, fill, encoding) {
|
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_feedback.h | 16 const VkAllocationCallbacks *alloc; member 60 const VkAllocationCallbacks *alloc);
|
/third_party/lzma/C/ |
H A D | LzFindMt.h | 97 void MatchFinderMt_Destruct(CMatchFinderMt *p, ISzAllocPtr alloc);
100 UInt32 matchMaxLen, UInt32 keepAddBufferAfter, ISzAllocPtr alloc);
|
/third_party/musl/libc-test/src/functional/ |
H A D | test-malloc-stats-common.h | 124 void *alloc = malloc(thread_data->alloc_size); in allocate_wait_free() local 127 free(alloc); in allocate_wait_free()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | objc_interface_type.rs | 23 pub fn alloc() -> Self { in alloc() functions 24 Self(unsafe { msg_send!(class!(Foo), alloc) }) in alloc()
|
H A D | objc_class_method.rs | 23 pub fn alloc() -> Self { in alloc() functions 24 Self(unsafe { msg_send!(class!(Foo), alloc) }) in alloc()
|
/third_party/rust/crates/cxx/src/ |
H A D | result.rs | 1 #![cfg(feature = "alloc")] 5 use alloc::boxed::Box; 6 use alloc::string::{String, ToString};
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkBuffer.h | 31 static void DestroyAndFreeBufferMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc, const VkBuffer& buffer); 51 const GrVkAlloc& alloc,
|
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DAMDMemoryAllocator.cpp | 54 Alloc* alloc = (Alloc*)allocation.get(); in createAliasingResource() local 56 HRESULT hr = fAllocator->CreateAliasingResource(alloc->fAllocation, localOffset, resourceDesc, in createAliasingResource()
|
/third_party/skia/src/gpu/ops/ |
H A D | GrOp.cpp | 19 GrOp::CombineResult GrOp::combineIfPossible(GrOp* that, SkArenaAlloc* alloc, const GrCaps& caps) { in combineIfPossible() argument 24 auto result = this->onCombineIfPossible(that, alloc, caps); in combineIfPossible()
|
H A D | AtlasRenderTask.h | 70 void add(PathDrawAllocator* alloc, const SkMatrix& pathMatrix, const SkPath& path) { in add() argument 71 fPathDrawList = &alloc->emplace_back(pathMatrix, path, SK_PMColor4fTRANSPARENT, in add()
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
H A D | deMemPool.hpp | 51 void* alloc (deUintptr numBytes); 86 inline void* MemPool::alloc (deUintptr numBytes) in alloc() function in de::MemPool
|
/third_party/toybox/toys/pending/ |
H A D | vi.c | 32 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...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta_clear.c | 85 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...] |
H A D | radv_meta_buffer.c | 86 &device->meta_state.alloc, in radv_device_init_meta_buffer_state() 100 &device->meta_state.alloc, in radv_device_init_meta_buffer_state() 161 radv_DestroyPipeline(radv_device_to_handle(device), state->buffer.copy_pipeline, &state->alloc); in radv_device_finish_meta_buffer_state() 162 radv_DestroyPipeline(radv_device_to_handle(device), state->buffer.fill_pipeline, &state->alloc); in radv_device_finish_meta_buffer_state() 164 &state->alloc); in radv_device_finish_meta_buffer_state() 166 &state->alloc); in radv_device_finish_meta_buffer_state()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingDataSpillTests.cpp | 1589 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/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingDataSpillTests.cpp | 1589 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/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageTransfer.cpp | 198 const Allocation& alloc = srcBuffer.getAllocation(); in iterate() local 199 deMemcpy(alloc.getHostPtr(), generatedData.data(), generatedData.size()); in iterate() 200 flushAlloc(vk, device, alloc); in iterate() 260 const Allocation& alloc = dstBuffer.getAllocation(); in iterate() local 261 invalidateAlloc(vk, device, alloc); in iterate() 262 deMemcpy(resultData.data(), alloc.getHostPtr(), resultData.size()); in iterate()
|
/third_party/skia/src/gpu/ |
H A D | GrAHardwareBufferUtils.cpp | 478 GrVkAlloc alloc; in make_vk_backend_texture() local 479 alloc.fMemory = memory; in make_vk_backend_texture() 480 alloc.fOffset = 0; in make_vk_backend_texture() 481 alloc.fSize = hwbProps.allocationSize; in make_vk_backend_texture() 482 alloc.fFlags = 0; in make_vk_backend_texture() 486 imageInfo.fAlloc = alloc; in make_vk_backend_texture()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
H A D | vktTessellationMiscDrawTests.cpp | 157 const Allocation& alloc = vertexBuffer.getAllocation(); in runTest() local 159 deMemcpy(alloc.getHostPtr(), &vertexData[0], static_cast<std::size_t>(vertexDataSizeBytes)); in runTest() 160 flushAlloc(vk, device, alloc); in runTest() 233 const Allocation& alloc = tessLevelsBuffer.getAllocation(); in runTest() local 234 TessLevels* const bufferTessLevels = static_cast<TessLevels*>(alloc.getHostPtr()); in runTest() 237 flushAlloc(vk, device, alloc); in runTest()
|
/third_party/vk-gl-cts/framework/delibs/depool/ |
H A D | deMemPool.c | 344 DebugAlloc* alloc = pool->debugAllocListHead; in deMemPool_destroy() local 347 while (alloc) in deMemPool_destroy() 349 next = alloc->next; in deMemPool_destroy() 350 deAlignedFree(alloc->memPtr); in deMemPool_destroy() 351 deFree(alloc); in deMemPool_destroy() 352 alloc = next; in deMemPool_destroy()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
H A D | vktBindingValveMutableTests.cpp | 363 de::MovePtr<ImageWithMemory> makeDefaultImage (const DeviceInterface& vkd, VkDevice device, Allocator& alloc) in makeDefaultImage() argument 391 return de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, imageCreateInfo, MemoryRequirement::Any)); in makeDefaultImage() 400 de::MovePtr<BufferWithMemory> makeDefaultBuffer (const DeviceInterface& vkd, VkDevice device, Allocator& alloc, deUint32 numElements = 1u) in makeDefaultBuffer() argument 414 return de::MovePtr<BufferWithMemory>(new BufferWithMemory(vkd, device, alloc, bufferCreateInfo, MemoryRequirement::HostVisible)); in makeDefaultBuffer() 463 AccelerationStructureData makeDefaultAccelerationStructure (const DeviceInterface& vkd, VkDevice device, VkCommandBuffer cmdBuffer, Allocator& alloc, bool triangles, deUint16 offsetX) in makeDefaultAccelerationStructure() argument 499 data.blas->createAndBuild(vkd, device, cmdBuffer, alloc); in makeDefaultAccelerationStructure() 504 data.tlas->createAndBuild(vkd, device, cmdBuffer, alloc); in makeDefaultAccelerationStructure() 523 Resource (VkDescriptorType descriptorType_, const DeviceInterface& vkd, VkDevice device, Allocator& alloc, deUint32 qIndex, VkQueue queue, bool useAABBs, deUint32 initialValue_, deUint32 numElements = 1u) in Resource() 544 imageWithMemory = makeDefaultImage(vkd, device, alloc); in Resource() 550 imageWithMemory = makeDefaultImage(vkd, device, alloc); in Resource() [all...] |