Home
last modified time | relevance | path

Searched refs:alloc (Results 251 - 275 of 1275) sorted by relevance

1...<<11121314151617181920>>...51

/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_wsi.c48 &physical_device->instance->vk.alloc, in panvk_wsi_init()
66 &physical_device->instance->vk.alloc); in panvk_wsi_finish()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dobjc_class.rs26 pub fn alloc() -> Self { in alloc() functions
27 Self(unsafe { msg_send!(class!(Foo), alloc) }) in alloc()
H A Dobjc_interface.rs23 pub fn alloc() -> Self { in alloc() functions
24 Self(unsafe { msg_send!(class!(Foo), alloc) }) in alloc()
H A Dwrap_unsafe_ops_objc_class.rs26 pub fn alloc() -> Self { in alloc() functions
27 Self(unsafe { msg_send!(class!(Foo), alloc) }) in alloc()
H A Dobjc_protocol.rs24 pub fn alloc() -> Self { in alloc() functions
25 Self(unsafe { msg_send!(class!(Foo), alloc) }) in alloc()
H A Dobjc_category.rs23 pub fn alloc() -> Self { in alloc() functions
24 Self(unsafe { msg_send!(class!(Foo), alloc) }) in alloc()
/third_party/skia/src/gpu/vk/
H A DGrVkMemoryReclaimer.h45 bool addMemoryToWaitQueue(const GrVkGpu* gpu, const GrVkAlloc& alloc, const VkBuffer& buffer);
46 bool addMemoryToWaitQueue(const GrVkGpu* gpu, const GrVkAlloc& alloc, const VkImage& image);
/third_party/lzma/C/
H A DLzFind.c68 static void LzInWindow_Free(CMatchFinder *p, ISzAllocPtr alloc) in LzInWindow_Free() argument
72 ISzAlloc_Free(alloc, p->bufBase); in LzInWindow_Free()
78 static int LzInWindow_Create2(CMatchFinder *p, UInt32 blockSize, ISzAllocPtr alloc) in LzInWindow_Create2() argument
85 LzInWindow_Free(p, alloc); in LzInWindow_Create2()
104 p->bufBase = (Byte *)ISzAlloc_Alloc(alloc, blockSize); in LzInWindow_Create2()
254 static void MatchFinder_FreeThisClassMemory(CMatchFinder *p, ISzAllocPtr alloc) in MatchFinder_FreeThisClassMemory() argument
256 ISzAlloc_Free(alloc, p->hash); in MatchFinder_FreeThisClassMemory()
260 void MatchFinder_Free(CMatchFinder *p, ISzAllocPtr alloc) in MatchFinder_Free() argument
262 MatchFinder_FreeThisClassMemory(p, alloc); in MatchFinder_Free()
263 LzInWindow_Free(p, alloc); in MatchFinder_Free()
266 AllocRefs(size_t num, ISzAllocPtr alloc) AllocRefs() argument
370 MatchFinder_Create(CMatchFinder *p, UInt32 historySize, UInt32 keepAddBufferBefore, UInt32 matchMaxLen, UInt32 keepAddBufferAfter, ISzAllocPtr alloc) MatchFinder_Create() argument
[all...]
/third_party/skia/src/core/
H A DSkBlitter.cpp697 SkArenaAlloc* alloc,
700 SkASSERT(alloc);
703 return alloc->make<SkNullBlitter>();
717 return alloc->make<SkNullBlitter>();
742 return alloc->make<SkA8_Coverage_Blitter>(device, *paint);
744 return alloc->make<SkNullBlitter>();
753 alloc, clipShader)) {
762 alloc, clipShader)) {
766 alloc, clipShader)) {
769 return alloc
[all...]
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/json/include/nlohmann/
H A Djson.hpp380 AllocatorType<T> alloc; in create() local
385 AllocatorTraits::deallocate(alloc, obj, 1); in create()
387 std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter); in create()
388 AllocatorTraits::construct(alloc, obj.get(), std::forward<Args>(args)...); in create()
609 AllocatorType<object_t> alloc; in destroy() local
610 std::allocator_traits<decltype(alloc)>::destroy(alloc, object); in destroy()
611 std::allocator_traits<decltype(alloc)>::deallocate(alloc, object, 1); in destroy()
617 AllocatorType<array_t> alloc; in destroy() local
625 AllocatorType<string_t> alloc; destroy() local
633 AllocatorType<binary_t> alloc; destroy() local
2443 AllocatorType<string_t> alloc; erase() local
2450 AllocatorType<binary_t> alloc; erase() local
2514 AllocatorType<string_t> alloc; erase() local
2521 AllocatorType<binary_t> alloc; erase() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dmpegaudioenc_template.c519 const unsigned char *alloc; in compute_bit_allocation() local
536 /* compute the header + bit alloc size */ in compute_bit_allocation()
538 alloc = s->alloc_table; in compute_bit_allocation()
540 incr = alloc[0]; in compute_bit_allocation()
542 alloc += 1 << incr; in compute_bit_allocation()
560 ff_dlog(NULL, "current=%d max=%d max_sb=%d max_ch=%d alloc=%d\n", in compute_bit_allocation()
564 /* find alloc table entry (XXX: not optimal, should use in compute_bit_allocation()
566 alloc = s->alloc_table; in compute_bit_allocation()
568 alloc += 1 << alloc[ in compute_bit_allocation()
[all...]
/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...]
/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...]
/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()
H A Dpvr_device.c224 vk_free(&pdevice->vk.instance->alloc, pdevice->master_path); in pvr_physical_device_finish()
229 vk_free(&pdevice->vk.instance->alloc, pdevice->render_path); in pvr_physical_device_finish()
248 vk_free(&instance->vk.alloc, instance); in pvr_DestroyInstance()
355 pdevice->render_path = vk_strdup(&pdevice->vk.instance->alloc, in pvr_physical_device_init()
372 pdevice->master_path = vk_strdup(&pdevice->vk.instance->alloc, in pvr_physical_device_init()
385 &pdevice->vk.instance->alloc); in pvr_physical_device_init()
453 vk_free(&pdevice->vk.instance->alloc, pdevice->master_path); in pvr_physical_device_init()
459 vk_free(&pdevice->vk.instance->alloc, pdevice->render_path); in pvr_physical_device_init()
1154 staging_buffer = vk_alloc(&device->vk.alloc, in pvr_device_init_compute_fence_program()
1178 vk_free(&device->vk.alloc, staging_buffe in pvr_device_init_compute_fence_program()
[all...]
/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/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/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()

Completed in 15 milliseconds

1...<<11121314151617181920>>...51