Home
last modified time | relevance | path

Searched refs:alloc (Results 1001 - 1025 of 1275) sorted by relevance

1...<<4142434445464748495051

/third_party/mksh/
H A Dmain.c166 cp = alloc(sizeof(*bufptr) - sizeof(ALLOC_ITEM), APERM); in rndsetup()
169 /* undo what alloc() did to the malloc result address */ in rndsetup()
273 vtemp = alloc(offsetof(struct tbl, name[0]) + 12, APERM); in main_init()
386 confstr(_CS_PATH, cp = alloc(k + 1, APERM), k + 1) == k + 1) in main_init()
1038 cp = alloc(sizeof(struct env) - sizeof(ALLOC_ITEM), ATEMP); in newenv()
1039 /* undo what alloc() did to the malloc result address */ in newenv()
1759 tp = alloc(offsetof(struct temp, tffn[0]) + 14 + len, ap); in maketemp()
1929 p = alloc(offsetof(struct tbl, name[0]) + ++len, tp->areap); in ktenter()
H A Dmisc.c609 cp = alloc(strlen((const void *)sp) + 1, ATEMP); in simplify_gmatch_pattern()
697 char *t = len <= sizeof(tbuf) ? tbuf : alloc(len, ATEMP); in gmatchx()
1553 str = alloc(max_oct, ATEMP); in print_columns()
1688 if (!getcwd((rv = alloc(PATH_MAX + 1, ATEMP)), PATH_MAX)) { in ksh_get_wd()
2245 dir = allocd = alloc(ilen + nlen + elen, ATEMP); in c_cd()
2462 dst = alloc(len + 1, ap); in strndup_i()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageTranscodingSupportTests.cpp402 const Allocation& alloc = srcImageBuffer->getAllocation(); in transcode() local
403 deMemcpy(alloc.getHostPtr(), &srcData[0], (size_t)srcImageSizeInBytes); in transcode()
404 flushAlloc(vk, device, alloc); in transcode()
664 const Allocation& alloc = srcImageBuffer->getAllocation(); in transcode() local
665 deMemcpy(alloc.getHostPtr(), &srcData[0], (size_t)srcImageSizeInBytes); in transcode()
666 flushAlloc(vk, device, alloc); in transcode()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineColorWriteEnableTests.cpp509 auto& alloc = vertBuffer.getAllocation(); in iterate() local
511 deMemcpy(reinterpret_cast<char*>(alloc.getHostPtr()), vertices.data(), vertDataSize); in iterate()
512 vk::flushAlloc(vkd, device, alloc); in iterate()
1426 auto& alloc = vertBuffer->getAllocation(); in createVerrtexBuffer() local
1428 deMemcpy(reinterpret_cast<char*>(alloc.getHostPtr()), quad.data(), vertDataSize); in createVerrtexBuffer()
1429 flushAlloc(m_vkd, m_device, alloc); in createVerrtexBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationInternallySynchronizedObjectsTests.cpp376 const Allocation& alloc = resultBuffer.getAllocation(); in executeComputePipeline() local
377 deMemset(alloc.getHostPtr(), 0, BUFFER_SIZE); in executeComputePipeline()
378 flushAlloc(vk, device, alloc); in executeComputePipeline()
464 const Allocation& alloc = resultBuffer.getAllocation(); in executeGraphicPipeline() local
465 deMemset(alloc.getHostPtr(), 0, BUFFER_SIZE); in executeGraphicPipeline()
466 flushAlloc(vk, device, alloc); in executeGraphicPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageTranscodingSupportTests.cpp402 const Allocation& alloc = srcImageBuffer->getAllocation(); in transcode() local
403 deMemcpy(alloc.getHostPtr(), &srcData[0], (size_t)srcImageSizeInBytes); in transcode()
404 flushAlloc(vk, device, alloc); in transcode()
664 const Allocation& alloc = srcImageBuffer->getAllocation(); in transcode() local
665 deMemcpy(alloc.getHostPtr(), &srcData[0], (size_t)srcImageSizeInBytes); in transcode()
666 flushAlloc(vk, device, alloc); in transcode()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineColorWriteEnableTests.cpp507 auto& alloc = vertBuffer.getAllocation(); in iterate() local
509 deMemcpy(reinterpret_cast<char*>(alloc.getHostPtr()), vertices.data(), vertDataSize); in iterate()
510 vk::flushAlloc(vkd, device, alloc); in iterate()
1419 auto& alloc = vertBuffer->getAllocation(); in createVerrtexBuffer() local
1421 deMemcpy(reinterpret_cast<char*>(alloc.getHostPtr()), quad.data(), vertDataSize); in createVerrtexBuffer()
1422 flushAlloc(m_vkd, m_device, alloc); in createVerrtexBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktSynchronizationInternallySynchronizedObjectsTests.cpp376 const Allocation& alloc = resultBuffer.getAllocation(); in executeComputePipeline() local
377 deMemset(alloc.getHostPtr(), 0, BUFFER_SIZE); in executeComputePipeline()
378 flushAlloc(vk, device, alloc); in executeComputePipeline()
464 const Allocation& alloc = resultBuffer.getAllocation(); in executeGraphicPipeline() local
465 deMemset(alloc.getHostPtr(), 0, BUFFER_SIZE); in executeGraphicPipeline()
466 flushAlloc(vk, device, alloc); in executeGraphicPipeline()
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_pipeline.c252 const VkAllocationCallbacks *alloc; member
2687 vk_free(&object->device->alloc, shaders); in tu_shaders_destroy()
2703 if (!vk_multialloc_zalloc(&ma, &dev->vk.alloc, in tu_shaders_init()
2917 builder->layout, builder->alloc); in tu_pipeline_builder_compile_shaders()
3019 tu_shader_destroy(builder->device, shaders[stage], builder->alloc); in tu_pipeline_builder_compile_shaders()
3075 tu_shader_destroy(builder->device, shaders[stage], builder->alloc); in tu_pipeline_builder_compile_shaders()
3759 const VkAllocationCallbacks *alloc) in tu_pipeline_finish()
3778 *pipeline = vk_object_zalloc(&builder->device->vk, builder->alloc, in tu_pipeline_builder_build()
3789 vk_object_free(&builder->device->vk, builder->alloc, *pipeline); in tu_pipeline_builder_build()
3796 vk_object_free(&builder->device->vk, builder->alloc, *pipelin in tu_pipeline_builder_build()
3757 tu_pipeline_finish(struct tu_pipeline *pipeline, struct tu_device *dev, const VkAllocationCallbacks *alloc) tu_pipeline_finish() argument
3859 tu_pipeline_builder_init_graphics( struct tu_pipeline_builder *builder, struct tu_device *dev, struct vk_pipeline_cache *cache, const VkGraphicsPipelineCreateInfo *create_info, const VkAllocationCallbacks *alloc) tu_pipeline_builder_init_graphics() argument
[all...]
/third_party/skia/third_party/externals/libwebp/swig/
H A Dlibwebp_python_wrap.c3064 SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc) in SWIG_AsCharPtrAndSize() argument
3079 if (!alloc && cptr) { in SWIG_AsCharPtrAndSize()
3087 if(alloc) *alloc = SWIG_NEWOBJ; in SWIG_AsCharPtrAndSize()
3094 if (alloc) { in SWIG_AsCharPtrAndSize()
3105 if (*alloc != SWIG_OLDOBJ) in SWIG_AsCharPtrAndSize()
3107 if (*alloc == SWIG_NEWOBJ) in SWIG_AsCharPtrAndSize()
3111 *alloc = SWIG_NEWOBJ; in SWIG_AsCharPtrAndSize()
3114 *alloc = SWIG_OLDOBJ; in SWIG_AsCharPtrAndSize()
3141 if (!alloc in SWIG_AsCharPtrAndSize()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
H A DvktRayTracingMiscTests.cpp8544 de::MovePtr<BufferWithMemory> createEmptySBT (const DeviceInterface& vkd, VkDevice device, Allocator& alloc, deUint32 shaderGroupHandleSize) in createEmptySBT() argument
8551 auto sbtBuffer = de::MovePtr<BufferWithMemory>(new BufferWithMemory(vkd, device, alloc, sbtInfo, sbtReqs)); in createEmptySBT()
8567 auto& alloc = context.getDefaultAllocator(); in nullMissInstance() local
8589 bottomLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in nullMissInstance()
8594 topLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in nullMissInstance()
8599 BufferWithMemory buffer (vkd, device, alloc, bufferCreateInfo, MemoryRequirement::HostVisible); in nullMissInstance()
8673 raygenSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 0u, 1u); in nullMissInstance()
8676 hitSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 1u, 1u); in nullMissInstance()
8680 missSBT = createEmptySBT(vkd, device, alloc, shaderGroupHandleSize); in nullMissInstance()
8724 auto& alloc in reuseCreationBufferInstance() local
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_private.h352 VkAllocationCallbacks alloc; member
393 VkAllocationCallbacks alloc; member
459 VkAllocationCallbacks alloc; member
1944 union radv_shader_arena_block *alloc;
2297 const VkAllocationCallbacks *alloc, VkPipeline *pPipeline);
2711 const VkAllocationCallbacks *alloc, VkImage *pImage);
2721 const VkAllocationCallbacks *alloc, VkImage *out_image_h);
/third_party/mesa3d/src/intel/vulkan/
H A Danv_private.h707 * (negative or positive) given out by the block pool alloc functions
1492 const VkAllocationCallbacks *alloc);
1494 const VkAllocationCallbacks *alloc);
1497 const VkAllocationCallbacks *alloc,
1502 const VkAllocationCallbacks *alloc,
1526 const VkAllocationCallbacks * alloc; member
1589 result = anv_reloc_list_add_bo(batch->relocs, batch->alloc, bo); in anv_batch_emit_reloc()
1591 result = anv_reloc_list_add(batch->relocs, batch->alloc, in anv_batch_emit_reloc()
/third_party/pulseaudio/src/modules/
H A Dmodule-equalizer-sink.c212 static void * alloc(size_t x, size_t s) { in alloc() function
229 float *tmp = alloc(min_buffer_length, sizeof(float)); in alloc_input_buffers()
1174 u->Hs[c][i] = alloc(FILTER_SIZE(u), sizeof(float)); in pa__init()
1177 u->W = alloc(u->window_size, sizeof(float)); in pa__init()
1178 u->work_buffer = alloc(u->fft_size, sizeof(float)); in pa__init()
1184 u->overlap_accum[c] = alloc(u->overlap_size, sizeof(float)); in pa__init()
1186 u->output_window = alloc(FILTER_SIZE(u), sizeof(fftwf_complex)); in pa__init()
/third_party/skia/src/gpu/vk/
H A DGrVkGpu.cpp790 const GrVkAlloc& alloc = texImage->alloc(); in uploadTexDataLinear() local
791 if (VK_NULL_HANDLE == alloc.fMemory) { in uploadTexDataLinear()
796 SkASSERT(size + offset <= alloc.fSize); in uploadTexDataLinear()
797 void* mapPtr = GrVkMemory::MapAlloc(this, alloc); in uploadTexDataLinear()
810 GrVkMemory::FlushMappedAlloc(this, alloc, offset, size); in uploadTexDataLinear()
811 GrVkMemory::UnmapAlloc(this, alloc); in uploadTexDataLinear()
/third_party/skia/third_party/externals/libpng/contrib/tools/
H A Dpngfix.c901 void (*alloc)(struct file*,int idat); member
1029 const char *out_name, void *alloc_ptr, void (*alloc)(struct file*,int)) in file_init()
1055 file->alloc = alloc; in file_init()
1587 * NOTE: this routine must onely be called from the file alloc routine! in chunk_init()
1794 * structure using the file alloc routine. in IDAT_init()
1796 * NOTE: this routine must only be called from the file alloc routine! in IDAT_init()
1816 file->alloc(file, 0/*chunk*/); in IDAT_init()
1819 /* And store this for cleanup (and to check for double alloc or failure to in IDAT_init()
2847 file->alloc(fil in process_chunk()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
H A Dbtm_controller.c127 MEM_MALLOC.alloc(sizeof(uint8_t) * g_localSupportedCodecs.numberOfSupportedCodecs); in BtmControllerCopySupportedCodecs()
140 g_localSupportedCodecs.vendorSpecificCodecs = MEM_MALLOC.alloc( in BtmControllerCopyVendorSpecificCodecs()
/third_party/mesa3d/src/imagination/vulkan/
H A Dpvr_queue.c124 device->queues = vk_alloc(&device->vk.alloc, in pvr_queues_create()
167 vk_free(&device->vk.alloc, device->queues); in pvr_queues_destroy()
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_fs_builder.h204 return dst_reg(VGRF, shader->alloc.allocate( in vgrf()
787 inst->size_written = shader->alloc.sizes[dst.nr] * REG_SIZE; in UNDEF()
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_pipeline_cache.c91 vk_free(&data_obj->base.device->alloc, data_obj); in raw_data_object_destroy()
110 if (!vk_multialloc_alloc(&ma, &device->alloc, in raw_data_object_create()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
H A DvktMeshShaderPropertyTests.cpp133 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
148 BufferWithMemory storageBuffer (vkd, device, alloc, storageBufferInfo, MemoryRequirement::HostVisible); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRender.hpp640 AllocationSp alloc; member in vkt::sr::ShaderRenderCaseInstance::BufferUniform
653 AllocationSp alloc; member in vkt::sr::ShaderRenderCaseInstance::SamplerUniform
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
H A DvktMeshShaderPropertyTests.cpp133 auto& alloc = m_context.getDefaultAllocator(); in iterate() local
148 BufferWithMemory storageBuffer (vkd, device, alloc, storageBufferInfo, MemoryRequirement::HostVisible); in iterate()
/third_party/skia/src/gpu/ops/
H A DAtlasTextOp.cpp112 SkArenaAlloc* alloc) -> Geometry* {
115 void* geo = alloc->makeBytesAlignedTo(sizeof(Geometry), alignof(Geometry));
/third_party/skia/src/ports/
H A DSkFontMgr_mac_ct.cpp257 SkUniqueCFRef<CFAllocatorRef> alloc(CFAllocatorCreate(kCFAllocatorDefault, &ctx)); in cfdata_from_skdata()
259 kCFAllocatorDefault, (const UInt8 *)addr, size, alloc.get())); in cfdata_from_skdata()

Completed in 72 milliseconds

1...<<4142434445464748495051