Home
last modified time | relevance | path

Searched refs:alloc (Results 1076 - 1100 of 1278) sorted by relevance

1...<<41424344454647484950>>...52

/third_party/ffmpeg/libavcodec/
H A Daacenc.c716 s->psy.bitres.alloc = -1; in aac_encode_frame()
719 if (s->psy.bitres.alloc > 0) { in aac_encode_frame()
721 target_bits += s->psy.bitres.alloc in aac_encode_frame()
723 s->psy.bitres.alloc /= chans; in aac_encode_frame()
/third_party/node/deps/v8/src/wasm/
H A Dwasm-debug.cc881 AccountingAllocator alloc; in FindNextBreakablePosition() local
882 Zone tmp(&alloc, ZONE_NAME); in FindNextBreakablePosition()
1190 AccountingAllocator alloc; in GetPossibleBreakpoints()
1191 Zone tmp(&alloc, ZONE_NAME); in GetPossibleBreakpoints()
/third_party/lwip/src/core/
H A Dtcp_out.c242 u16_t alloc = length; in tcp_pbuf_prealloc() local
252 alloc = max_length; in tcp_pbuf_prealloc()
271 alloc = LWIP_MIN(max_length, LWIP_MEM_ALIGN_SIZE(TCP_OVERSIZE_CALC_LENGTH(length))); in tcp_pbuf_prealloc()
275 p = pbuf_alloc(layer, alloc, PBUF_RAM); in tcp_pbuf_prealloc()
/third_party/mksh/
H A Deval.c420 newst = alloc(sizeof(SubType), ATEMP); in expand()
794 debunk(alloc(len, ATEMP), in expand()
1094 *(cp = alloc(1, ATEMP)) = '\0'; in expand()
1845 /* xp = *xpp; copy_non_glob() may have re-alloc'd xs */ in globit()
2079 news = alloc(l1 + l2 + l3 + 1, ATEMP); in alt_expand()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
H A DvktDynamicStateRSTests.cpp966 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
1008 const auto colorBuffer = Image::createAndAlloc(vkd, device, colorBufferInfo, alloc, qIndex); in iterate()
1029 const auto depthBuffer = Image::createAndAlloc(vkd, device, depthBufferInfo, alloc, qIndex); in iterate()
1187 const auto colorPixels = colorBuffer->readSurface(queue, alloc, vk::VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, offset, iWidth, iHeight, vk::VK_IMAGE_ASPECT_COLOR_BIT); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
H A DvktMeshShaderBuiltinTests.cpp173 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
211 colorBuffer = ImageWithMemoryPtr(new ImageWithMemory(vkd, device, alloc, colorBufferInfo, MemoryRequirement::Any)); in iterate()
284 indirectBuffer = BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, indirectBufferInfo, MemoryRequirement::HostVisible)); in iterate()
320 outBuffer = BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, outBufferInfo, MemoryRequirement::HostVisible)); in iterate()
343 // Invalidate alloc and verify result. in iterate()
H A DvktMeshShaderBuiltinTestsEXT.cpp268 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
307 colorBuffer = ImageWithMemoryPtr(new ImageWithMemory(vkd, device, alloc, colorBufferInfo, MemoryRequirement::Any)); in iterate()
387 indirectBuffer = BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, indirectBufferInfo, MemoryRequirement::HostVisible)); in iterate()
430 outBuffer = BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, outBufferInfo, MemoryRequirement::HostVisible)); in iterate()
453 // Invalidate alloc and verify result. in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineSamplerBorderSwizzleTests.cpp813 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
846 ImageWithMemory texture (vkd, device, alloc, textureCreateInfo, MemoryRequirement::Any); in iterate()
883 ImageWithMemory colorAttachment (vkd, device, alloc, colorAttachmentInfo, MemoryRequirement::Any); in iterate()
1098 const auto colorAttachmentLevel = readColorAttachment(vkd, device, queue, qIndex, alloc, colorAttachment.get(), colorAttachmentFormat, renderSize); in iterate()
H A DvktPipelineMultisampleShaderBuiltInTests.cpp1682 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
1712 const vk::ImageWithMemory colorImage (vkd, device, alloc, imageCreateInfo, vk::MemoryRequirement::Any); in iterate()
1713 const vk::ImageWithMemory auxiliarImage (vkd, device, alloc, imageCreateInfo, vk::MemoryRequirement::Any); // For the second subpass. in iterate()
1721 const vk::BufferWithMemory storageBuffer(vkd, device, alloc, vk::makeBufferCreateInfo(kBufferSize, vk::VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), vk::MemoryRequirement::HostVisible); in iterate()
1736 const vk::BufferWithMemory vertexBuffer (vkd, device, alloc, vk::makeBufferCreateInfo(vertexBufferSize, vk::VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), vk::MemoryRequirement::HostVisible); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
H A DvktRayTracingTraceRaysTests.cpp986 Allocation& alloc = buffer.getAllocation(); in makeIndirectStructAndFlush() local
1032 deMemcpy(alloc.getHostPtr(), &data, sizeof(data)); in makeIndirectStructAndFlush()
1033 flushMappedMemoryRange(vkd, device, alloc.getMemory(), alloc.getOffset(), VK_WHOLE_SIZE); in makeIndirectStructAndFlush()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/
H A DvktDynamicStateRSTests.cpp935 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
977 const auto colorBuffer = Image::createAndAlloc(vkd, device, colorBufferInfo, alloc, qIndex); in iterate()
998 const auto depthBuffer = Image::createAndAlloc(vkd, device, depthBufferInfo, alloc, qIndex); in iterate()
1144 const auto colorPixels = colorBuffer->readSurface(queue, alloc, vk::VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, offset, iWidth, iHeight, vk::VK_IMAGE_ASPECT_COLOR_BIT); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
H A DvktMeshShaderBuiltinTests.cpp173 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
211 colorBuffer = ImageWithMemoryPtr(new ImageWithMemory(vkd, device, alloc, colorBufferInfo, MemoryRequirement::Any)); in iterate()
284 indirectBuffer = BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, indirectBufferInfo, MemoryRequirement::HostVisible)); in iterate()
320 outBuffer = BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, outBufferInfo, MemoryRequirement::HostVisible)); in iterate()
343 // Invalidate alloc and verify result. in iterate()
H A DvktMeshShaderBuiltinTestsEXT.cpp268 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
307 colorBuffer = ImageWithMemoryPtr(new ImageWithMemory(vkd, device, alloc, colorBufferInfo, MemoryRequirement::Any)); in iterate()
387 indirectBuffer = BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, indirectBufferInfo, MemoryRequirement::HostVisible)); in iterate()
430 outBuffer = BufferWithMemoryPtr(new BufferWithMemory(vkd, device, alloc, outBufferInfo, MemoryRequirement::HostVisible)); in iterate()
453 // Invalidate alloc and verify result. in iterate()
/third_party/skia/tests/
H A DReadWritePixelsGpuTest.cpp193 result.alloc(info); in make_ref_data()
342 ref.alloc(refInfo); in gpu_read_pixels_test_driver()
920 ref.alloc(secondReadPM.info().makeDimensions(checkRect.size())); in gpu_write_pixels_test_driver()
1078 result.alloc(skInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A DvktRayTracingTraceRaysTests.cpp986 Allocation& alloc = buffer.getAllocation(); in makeIndirectStructAndFlush() local
1032 deMemcpy(alloc.getHostPtr(), &data, sizeof(data)); in makeIndirectStructAndFlush()
1033 flushMappedMemoryRange(vkd, device, alloc.getMemory(), alloc.getOffset(), VK_WHOLE_SIZE); in makeIndirectStructAndFlush()
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_vec4_nir.cpp62 nir_locals[reg->index] = dst_reg(VGRF, alloc.allocate(num_regs)); in nir_emit_impl()
196 dst_reg(VGRF, alloc.allocate(DIV_ROUND_UP(dest.ssa.bit_size, 32))); in get_nir_dest()
332 reg = dst_reg(VGRF, alloc.allocate(2)); in nir_emit_load_const()
335 reg = dst_reg(VGRF, alloc.allocate(1)); in nir_emit_load_const()
2322 dst_reg(VGRF, alloc.allocate(DIV_ROUND_UP(instr->def.bit_size, 32)));
/third_party/skia/src/gpu/geometry/
H A DGrTriangulator.cpp392 Poly* GrTriangulator::Poly::addEdge(Edge* e, Side side, SkArenaAlloc* alloc) { in addEdge() argument
410 fHead = fTail = alloc->make<MonotonePoly>(e, side, fWinding); in addEdge()
418 e = alloc->make<Edge>(fTail->fLastEdge->fBottom, e->fBottom, 1, EdgeType::kInner); in addEdge()
422 partner->addEdge(e, side, alloc); in addEdge()
425 MonotonePoly* m = alloc->make<MonotonePoly>(e, side, fWinding); in addEdge()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineMultisampleShaderBuiltInTests.cpp1676 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
1706 const vk::ImageWithMemory colorImage (vkd, device, alloc, imageCreateInfo, vk::MemoryRequirement::Any); in iterate()
1707 const vk::ImageWithMemory auxiliarImage (vkd, device, alloc, imageCreateInfo, vk::MemoryRequirement::Any); // For the second subpass. in iterate()
1715 const vk::BufferWithMemory storageBuffer(vkd, device, alloc, vk::makeBufferCreateInfo(kBufferSize, vk::VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), vk::MemoryRequirement::HostVisible); in iterate()
1730 const vk::BufferWithMemory vertexBuffer (vkd, device, alloc, vk::makeBufferCreateInfo(vertexBufferSize, vk::VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), vk::MemoryRequirement::HostVisible); in iterate()
/third_party/rust/crates/memchr/bench/data/code/
H A Drust-library.rs13831 use std::alloc::{Allocator, Global, Layout, System};
13912 #[doc(alias = "alloc")]
14015 pub use core::alloc::*;
14024 // the default implementations in libstd (`__rdl_alloc` etc. in `library/std/src/alloc.rs`)
14046 /// accessed through the [free functions in `alloc`](self#functions).
14053 pub use std::alloc::Global;
14057 /// This function forwards calls to the [`GlobalAlloc::alloc`] method
14061 /// This function is expected to be deprecated in favor of the `alloc` method
14066 /// See [`GlobalAlloc::alloc`].
14071 /// use std::alloc
14085 pub unsafe fn alloc(layout: Layout) -> *mut u8 { alloc() functions
19461 pub mod alloc; global() modules
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderExecutor.cpp795 de::MovePtr<Allocation> alloc = m_context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirement::HostVisible); in addAttribute() local
797 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); in addAttribute()
799 deMemcpy(alloc->getHostPtr(), dataPtr, (size_t)inputSize); in addAttribute()
800 flushAlloc(vk, vkDevice, *alloc); in addAttribute()
803 m_vertexBufferAllocs.push_back(AllocationSp(alloc.release())); in addAttribute()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktDynamicRenderingTests.cpp925 const Allocation alloc = m_imageBuffer[ndx]->getBoundMemory(); in initialize() local
926 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(imageBufferSize)); in initialize()
927 flushAlloc(vk, device, alloc); in initialize()
963 const Allocation alloc = m_imageStencilBuffer->getBoundMemory(); in initialize() local
964 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(imageBufferStencilSize)); in initialize()
965 flushAlloc(vk, device, alloc); in initialize()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
H A DvktShaderExecutor.cpp795 de::MovePtr<Allocation> alloc = m_context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirement::HostVisible); in addAttribute() local
797 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); in addAttribute()
799 deMemcpy(alloc->getHostPtr(), dataPtr, (size_t)inputSize); in addAttribute()
800 flushAlloc(vk, vkDevice, *alloc); in addAttribute()
803 m_vertexBufferAllocs.push_back(AllocationSp(alloc.release())); in addAttribute()
/third_party/libwebsockets/lib/abstract/transports/
H A Dunit-test.c524 .alloc = sizeof(abs_unit_test_priv_t),
/third_party/libuv/include/uv/
H A Dwin.h589 void* alloc; \
/third_party/jerryscript/jerry-core/include/
H A Djerryscript-core.h614 jerry_context_t *jerry_create_context (uint32_t heap_size, jerry_context_alloc_t alloc, void *cb_data_p);

Completed in 93 milliseconds

1...<<41424344454647484950>>...52