Home
last modified time | relevance | path

Searched refs:alloc (Results 326 - 350 of 2121) sorted by relevance

1...<<11121314151617181920>>...85

/third_party/mesa3d/src/amd/vulkan/
H A Dradv_pipeline_cache.c111 vk_free(&cache->alloc, cache->hash_table[i]); in radv_pipeline_cache_finish()
352 vk_alloc(&cache->alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_CACHE); in radv_create_shaders_from_pipeline_cache()
415 pipeline->slab_bo = pipeline->slab->alloc->arena->bo; in radv_create_shaders_from_pipeline_cache()
431 vk_free(&cache->alloc, entry); in radv_create_shaders_from_pipeline_cache()
491 entry = vk_alloc(&cache->alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_CACHE); in radv_pipeline_cache_insert_shaders()
538 vk_free2(&cache->alloc, NULL, entry); in radv_pipeline_cache_insert_shaders()
594 dest_entry = vk_alloc(&cache->alloc, size_of_entry, 8, VK_SYSTEM_ALLOCATION_SCOPE_CACHE); in radv_pipeline_cache_load()
617 cache = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*cache), 8, in radv_CreatePipelineCache()
623 cache->alloc = *pAllocator; in radv_CreatePipelineCache()
625 cache->alloc in radv_CreatePipelineCache()
[all...]
H A Dradv_meta_blit.c486 &cmd_buffer->pool->vk.alloc, &sampler); in blit_image()
610 radv_DestroySampler(radv_device_to_handle(device), sampler, &cmd_buffer->pool->vk.alloc); in blit_image()
634 &state->alloc); in radv_device_finish_meta_blit_state()
636 &state->alloc); in radv_device_finish_meta_blit_state()
638 &state->alloc); in radv_device_finish_meta_blit_state()
642 &state->alloc); in radv_device_finish_meta_blit_state()
644 &state->alloc); in radv_device_finish_meta_blit_state()
646 &state->alloc); in radv_device_finish_meta_blit_state()
649 &state->alloc); in radv_device_finish_meta_blit_state()
651 &state->alloc); in radv_device_finish_meta_blit_state()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawShaderLayerTests.cpp895 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexShader() local
896 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testVertexShader()
897 flushAlloc(vk, device, alloc); in testVertexShader()
914 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexShader() local
915 invalidateAlloc(vk, device, alloc); in testVertexShader()
917 deUint8* resultMem = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in testVertexShader()
955 const Allocation alloc = colorBuffer->getBoundMemory(); in testTessellationShader() local
956 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testTessellationShader()
957 flushAlloc(vk, device, alloc); in testTessellationShader()
974 const Allocation alloc in testTessellationShader() local
[all...]
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_conntrack_extend.c43 unsigned int newlen, newoff, oldlen, alloc; in nf_ct_ext_add() local
72 alloc = max(newlen, NF_CT_EXT_PREALLOC); in nf_ct_ext_add()
73 new = krealloc(ct->ext, alloc, gfp); in nf_ct_ext_add()
/kernel/linux/linux-6.6/net/netfilter/
H A Dnf_conntrack_extend.c94 unsigned int newlen, newoff, oldlen, alloc; in nf_ct_ext_add() local
116 alloc = max(newlen, NF_CT_EXT_PREALLOC); in nf_ct_ext_add()
117 new = krealloc(ct->ext, alloc, gfp); in nf_ct_ext_add()
/third_party/mesa3d/src/imagination/vulkan/
H A Dpvr_bo.c84 pvr_bo = vk_alloc(&device->vk.alloc, in pvr_bo_alloc()
135 vk_free(&device->vk.alloc, pvr_bo); in pvr_bo_alloc()
199 vk_free(&device->vk.alloc, pvr_bo); in pvr_bo_free()
/third_party/node/test/parallel/
H A Dtest-zlib-bytes-read.js38 let compData = Buffer.alloc(0);
54 let decompData = Buffer.alloc(0);
79 let decompData = Buffer.alloc(0);
H A Dtest-buffer-fakes.js21 Buffer.compare(fb, Buffer.alloc(0));
37 fb.equals(Buffer.alloc(0));
/third_party/skia/src/core/
H A DSkAutoMalloc.h135 bool alloc = size != fSize && (SkAutoMalloc::kAlloc_OnShrink == shrink || size > fSize); in reset() local
137 *didChangeAlloc = alloc; in reset()
139 if (alloc) { in reset()
/third_party/skia/src/gpu/
H A DGrDDLTask.cpp67 void GrDDLTask::gatherProxyIntervals(GrResourceAllocator* alloc) const { in gatherProxyIntervals()
70 alloc->incOps(); in gatherProxyIntervals()
73 task->gatherProxyIntervals(alloc); in gatherProxyIntervals()
/third_party/skia/src/shaders/
H A DSkColorFilterShader.cpp69 skvm::Uniforms* uniforms, SkArenaAlloc* alloc) const { in onProgram()
73 uniforms,alloc); in onProgram()
87 return fFilter->program(p,c, dst, uniforms,alloc); in onProgram()
H A DSkBitmapProcShader.cpp80 const SkImage_Base* image, const ContextRec& rec, SkArenaAlloc* alloc) in MakeContext()
88 SkBitmapProcState* state = alloc->make<SkBitmapProcState>(image, tmx, tmy); in MakeContext()
92 return alloc->make<BitmapProcShaderContext>(shader, rec, state); in MakeContext()
78 MakeContext( const SkShaderBase& shader, SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions& sampling, const SkImage_Base* image, const ContextRec& rec, SkArenaAlloc* alloc) MakeContext() argument
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/
H A Dpvr_srv.c378 vk_free(srv_ws->alloc, srv_ws); in pvr_srv_winsys_destroy()
621 const VkAllocationCallbacks *alloc) in pvr_srv_winsys_create()
639 vk_zalloc(alloc, sizeof(*srv_ws), 8, VK_SYSTEM_ALLOCATION_SCOPE_DEVICE); in pvr_srv_winsys_create()
649 srv_ws->alloc = alloc; in pvr_srv_winsys_create()
669 vk_free(alloc, srv_ws); in pvr_srv_winsys_create()
686 sync_prim = vk_alloc(srv_ws->alloc, in pvr_srv_sync_prim_alloc()
703 vk_free(srv_ws->alloc, sync_prim); in pvr_srv_sync_prim_alloc()
721 vk_free(srv_ws->alloc, sync_prim); in pvr_srv_sync_prim_free()
619 pvr_srv_winsys_create(int master_fd, int render_fd, const VkAllocationCallbacks *alloc) pvr_srv_winsys_create() argument
H A Dpvr_srv_job_render.c105 srv_free_list = vk_zalloc(srv_ws->alloc, in pvr_srv_winsys_free_list_create()
146 vk_free(srv_ws->alloc, srv_free_list); in pvr_srv_winsys_free_list_create()
158 vk_free(srv_ws->alloc, srv_free_list); in pvr_srv_winsys_free_list_destroy()
194 srv_rt_dataset = vk_zalloc(srv_ws->alloc, in pvr_srv_render_target_dataset_create()
266 vk_free(srv_ws->alloc, srv_rt_dataset); in pvr_srv_render_target_dataset_create()
287 vk_free(srv_ws->alloc, srv_rt_dataset); in pvr_srv_render_target_dataset_destroy()
336 srv_ctx = vk_zalloc(srv_ws->alloc, in pvr_srv_winsys_render_ctx_create()
388 vk_free(srv_ws->alloc, srv_ctx); in pvr_srv_winsys_render_ctx_create()
402 vk_free(srv_ws->alloc, srv_ctx); in pvr_srv_winsys_render_ctx_destroy()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationFractionalSpacingTests.cpp602 const Allocation& alloc = tessLevelsBuffer.getAllocation();
603 float* const tessLevelOuter1 = static_cast<float*>(alloc.getHostPtr());
606 flushAlloc(vk, device, alloc);
611 const Allocation& alloc = resultBuffer.getAllocation();
613 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(resultBufferSizeBytes));
614 flushAlloc(vk, device, alloc);
619 const Allocation& alloc = counterBuffer.getAllocation();
621 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(counterBufferSizeBytes));
622 flushAlloc(vk, device, alloc);
H A DvktTessellationGeometryPassthroughTests.cpp379 const Allocation& alloc = colorBuffer.getAllocation(); in getPixelBufferAccess() local
381 invalidateAlloc(vk, device, alloc); in getPixelBufferAccess()
383 return tcu::ConstPixelBufferAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, alloc.getHostPtr()); in getPixelBufferAccess()
460 const Allocation& alloc = tessLevelsBuffer.getAllocation(); in iterate() local
461 TessLevels* const bufferTessLevels = static_cast<TessLevels*>(alloc.getHostPtr()); in iterate()
464 flushAlloc(vk, device, alloc); in iterate()
474 const Allocation& alloc = vertexBuffer.getAllocation(); in iterate() local
476 deMemcpy(alloc.getHostPtr(), &m_params.vertices[0], static_cast<std::size_t>(vertexDataSizeBytes)); in iterate()
477 flushAlloc(vk, device, alloc); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationGeometryPassthroughTests.cpp379 const Allocation& alloc = colorBuffer.getAllocation(); in getPixelBufferAccess() local
381 invalidateAlloc(vk, device, alloc); in getPixelBufferAccess()
383 return tcu::ConstPixelBufferAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, alloc.getHostPtr()); in getPixelBufferAccess()
460 const Allocation& alloc = tessLevelsBuffer.getAllocation(); in iterate() local
461 TessLevels* const bufferTessLevels = static_cast<TessLevels*>(alloc.getHostPtr()); in iterate()
464 flushAlloc(vk, device, alloc); in iterate()
474 const Allocation& alloc = vertexBuffer.getAllocation(); in iterate() local
476 deMemcpy(alloc.getHostPtr(), &m_params.vertices[0], static_cast<std::size_t>(vertexDataSizeBytes)); in iterate()
477 flushAlloc(vk, device, alloc); in iterate()
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_buffer.h54 const VkAllocationCallbacks *alloc,
57 const VkAllocationCallbacks *alloc,
H A Dvk_descriptor_set_layout.c48 vk_zalloc(&device->alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_DEVICE); in vk_descriptor_set_layout_zalloc()
66 vk_multialloc_zalloc(ma, &device->alloc, in vk_descriptor_set_layout_multizalloc()
H A Dvk_instance.h73 VkAllocationCallbacks alloc; member
124 * @param[in] alloc Allocation callbacks used to create this
132 const VkAllocationCallbacks *alloc);
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_wsi.c40 &physical_device->instance->vk.alloc, in tu_wsi_init()
61 &physical_device->instance->vk.alloc); in tu_wsi_finish()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dobjc_category.rs23 pub fn alloc() -> Self { in alloc() functions
24 Self(unsafe { msg_send!(class!(Foo), alloc) }) in alloc()
H A Dobjc_blocklist.rs24 pub fn alloc() -> Self { in alloc() functions
25 Self(unsafe { msg_send!(class!(SomeClass), alloc) }) in alloc()
H A Dobjc_escape.rs23 pub fn alloc() -> Self { in alloc() functions
24 Self(unsafe { msg_send!(class!(A), alloc) }) in alloc()
/third_party/skia/src/gpu/geometry/
H A DGrInnerFanTriangulator.h20 GrInnerFanTriangulator(const SkPath& path, SkArenaAlloc* alloc) in GrInnerFanTriangulator() argument
21 : GrTriangulator(path, alloc) { in GrInnerFanTriangulator()

Completed in 17 milliseconds

1...<<11121314151617181920>>...85