Home
last modified time | relevance | path

Searched refs:alloc (Results 1251 - 1275 of 2107) sorted by relevance

1...<<51525354555657585960>>...85

/third_party/skia/tests/
H A DTestUtils.cpp34 pm.alloc(ii); in TestReadPixels()
60 pm.alloc(ii); in TestWritePixels()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
H A Dscheduler.h518 Scheduler::Config& Scheduler::Config::setAllocator(Allocator* alloc) { in setAllocator() argument
519 allocator = alloc; in setAllocator()
/third_party/protobuf/js/binary/
H A Ddecoder.js118 jspb.BinaryDecoder.alloc = function(opt_bytes, opt_start, opt_length) {
147 return jspb.BinaryDecoder.alloc(this.bytes_,
/third_party/python/Modules/_decimal/libmpdec/
H A Dmpdecimal.c87 #define MPD_NEW_CONST(name, flags, exp, digits, len, alloc, initval) \
88 mpd_uint_t name##_data[alloc] = {initval}; \
90 len, alloc, name##_data}
94 a->exp, a->digits, a->len, a->alloc, a->data}
478 * Input invariant: MPD_MINALLOC <= result->alloc.
480 * Case nwords == result->alloc:
483 * Case nwords > result->alloc:
489 * Case nwords < result->alloc:
503 assert(MPD_MINALLOC <= result->alloc); in mpd_qresize()
506 if (nwords == result->alloc) { in mpd_qresize()
8380 int alloc = 0; /* rdata == NULL */ mpd_qexport_u16() local
8459 int alloc = 0; /* rdata == NULL */ mpd_qexport_u32() local
[all...]
/third_party/mesa3d/src/imagination/vulkan/
H A Dpvr_cmd_buffer.c103 vk_free(&cmd_buffer->vk.pool->alloc, transfer_cmd); in pvr_cmd_buffer_free_sub_cmd()
113 vk_free(&cmd_buffer->vk.pool->alloc, sub_cmd); in pvr_cmd_buffer_free_sub_cmd()
131 vk_free(&cmd_buffer->vk.pool->alloc, in pvr_cmd_buffer_destroy()
133 vk_free(&cmd_buffer->vk.pool->alloc, in pvr_cmd_buffer_destroy()
147 vk_free(&cmd_buffer->vk.pool->alloc, cmd_buffer); in pvr_cmd_buffer_destroy()
158 cmd_buffer = vk_zalloc(&pool->alloc, in pvr_cmd_buffer_create()
167 vk_free(&pool->alloc, cmd_buffer); in pvr_cmd_buffer_create()
429 const VkAllocationCallbacks *const allocator = &cmd_buffer->vk.pool->alloc; in pvr_sub_cmd_gfx_per_job_fragment_programs_create_and_upload()
610 staging_buffer = vk_alloc(&cmd_buffer->vk.pool->alloc, in pvr_load_op_pds_data_create_and_upload()
627 vk_free(&cmd_buffer->vk.pool->alloc, staging_buffe in pvr_load_op_pds_data_create_and_upload()
[all...]
/third_party/protobuf/php/ext/google/protobuf/
H A Dphp-upb.h304 typedef void *upb_alloc_func(upb_alloc *alloc, void *ptr, size_t oldsize,
311 UPB_INLINE void *upb_malloc(upb_alloc *alloc, size_t size) { in upb_malloc() argument
312 UPB_ASSERT(alloc); in upb_malloc()
313 return alloc->func(alloc, NULL, 0, size); in upb_malloc()
316 UPB_INLINE void *upb_realloc(upb_alloc *alloc, void *ptr, size_t oldsize, in upb_realloc() argument
318 UPB_ASSERT(alloc); in upb_realloc()
319 return alloc->func(alloc, ptr, oldsize, size); in upb_realloc()
322 UPB_INLINE void upb_free(upb_alloc *alloc, voi argument
371 upb_alloc alloc; global() member
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/
H A Ducc_geth.c2154 u32 alloc; in ucc_geth_alloc_tx() local
2157 alloc = round_up(length, align); in ucc_geth_alloc_tx()
2158 alloc = roundup_pow_of_two(alloc); in ucc_geth_alloc_tx()
2160 ugeth->p_tx_bd_ring[j] = kmalloc(alloc, GFP_KERNEL); in ucc_geth_alloc_tx()
2168 memset(ugeth->p_tx_bd_ring[j] + length, 0, alloc - length); in ucc_geth_alloc_tx()
2215 u32 alloc; in ucc_geth_alloc_rx() local
2218 alloc = round_up(length, align); in ucc_geth_alloc_rx()
2219 alloc = roundup_pow_of_two(alloc); in ucc_geth_alloc_rx()
[all...]
/third_party/python/Lib/test/
H A Dtest_bytes.py1489 alloc = b.__alloc__()
1490 self.assertGreaterEqual(alloc, 0)
1491 seq = [alloc]
1494 alloc = b.__alloc__()
1495 self.assertGreater(alloc, len(b)) # including trailing null byte
1496 if alloc not in seq:
1497 seq.append(alloc)
1508 alloc = b.__alloc__()
1509 self.assertGreater(alloc, len(b)) # including trailing null byte
1513 alloc
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
H A DvktSSBOLayoutCase.cpp2189 de::MovePtr<vk::Allocation> alloc = allocateAndBindMemory(m_context, *buffer, vk::MemoryRequirement::HostVisible | (memoryDeviceAddress ? vk::MemoryRequirement::DeviceAddress : vk::MemoryRequirement::Any)); in iterate() local
2193 mapPtrs[blockNdx] = alloc->getHostPtr(); in iterate()
2196 m_uniformAllocs.push_back(AllocationSp(alloc.release())); in iterate()
2221 de::MovePtr<vk::Allocation> alloc = allocateAndBindMemory(m_context, *buffer, vk::MemoryRequirement::HostVisible | (memoryDeviceAddress ? vk::MemoryRequirement::DeviceAddress : vk::MemoryRequirement::Any)); in iterate() local
2223 mapPtrs.push_back(alloc->getHostPtr()); in iterate()
2234 m_uniformAllocs.push_back(AllocationSp(alloc.release())); in iterate()
2259 vk::Allocation* alloc = m_uniformAllocs[allocNdx].get(); in iterate() local
2260 flushMappedMemoryRange(vk, device, alloc->getMemory(), alloc->getOffset(), VK_WHOLE_SIZE); in iterate()
2428 vk::Allocation *alloc in iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/
H A DvktSSBOLayoutCase.cpp2189 de::MovePtr<vk::Allocation> alloc = allocateAndBindMemory(m_context, *buffer, vk::MemoryRequirement::HostVisible | (memoryDeviceAddress ? vk::MemoryRequirement::DeviceAddress : vk::MemoryRequirement::Any)); in iterate() local
2193 mapPtrs[blockNdx] = alloc->getHostPtr(); in iterate()
2196 m_uniformAllocs.push_back(AllocationSp(alloc.release())); in iterate()
2221 de::MovePtr<vk::Allocation> alloc = allocateAndBindMemory(m_context, *buffer, vk::MemoryRequirement::HostVisible | (memoryDeviceAddress ? vk::MemoryRequirement::DeviceAddress : vk::MemoryRequirement::Any)); in iterate() local
2223 mapPtrs.push_back(alloc->getHostPtr()); in iterate()
2234 m_uniformAllocs.push_back(AllocationSp(alloc.release())); in iterate()
2259 vk::Allocation* alloc = m_uniformAllocs[allocNdx].get(); in iterate() local
2260 flushMappedMemoryRange(vk, device, alloc->getMemory(), alloc->getOffset(), VK_WHOLE_SIZE); in iterate()
2428 vk::Allocation *alloc in iterate() local
[all...]
/kernel/linux/linux-5.10/arch/ia64/lib/
H A Dmemcpy_mck.S113 alloc saved_pfs=ar.pfs,3,Nrot-3,0,Nrot
281 alloc saved_pfs=ar.pfs,3,5,0,8
629 alloc saved_pfs_stack=ar.pfs,3,3,3,0
/kernel/linux/linux-6.6/arch/ia64/lib/
H A Dmemcpy_mck.S113 alloc saved_pfs=ar.pfs,3,Nrot-3,0,Nrot
281 alloc saved_pfs=ar.pfs,3,5,0,8
629 alloc saved_pfs_stack=ar.pfs,3,3,3,0
/kernel/linux/linux-5.10/security/
H A Dcommoncap.c370 bool alloc) in cap_inode_getsecurity()
418 if (alloc) { in cap_inode_getsecurity()
449 if (alloc) { in cap_inode_getsecurity()
369 cap_inode_getsecurity(struct inode *inode, const char *name, void **buffer, bool alloc) cap_inode_getsecurity() argument
/kernel/linux/linux-6.6/security/
H A Dcommoncap.c382 bool alloc) in cap_inode_getsecurity()
430 if (alloc) { in cap_inode_getsecurity()
461 if (alloc) { in cap_inode_getsecurity()
380 cap_inode_getsecurity(struct mnt_idmap *idmap, struct inode *inode, const char *name, void **buffer, bool alloc) cap_inode_getsecurity() argument
/third_party/node/lib/
H A Dzlib.js152 buf = Buffer.alloc(0);
346 this._transform(Buffer.alloc(0), '', callback);
517 return Buffer.alloc(0);
/third_party/mesa3d/src/microsoft/vulkan/
H A Ddzn_private.h396 const VkAllocationCallbacks *alloc; member
409 const VkAllocationCallbacks *alloc);
590 VkAllocationCallbacks alloc; member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktDynamicRenderingRandomTests.cpp179 const Allocation alloc = m_imageBuffer->getBoundMemory(); in DynamicRenderingTestInstance() local
180 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(imageBufferSize)); in DynamicRenderingTestInstance()
181 flushAlloc(vk, device, alloc); in DynamicRenderingTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationShaderInputOutputTests.cpp91 const Allocation& alloc = vertexBuffer.getAllocation(); in runTest() local
93 deMemcpy(alloc.getHostPtr(), vertexData, static_cast<std::size_t>(vertexDataSizeBytes)); in runTest()
94 flushAlloc(vk, device, alloc); in runTest()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktDynamicRenderingRandomTests.cpp179 const Allocation alloc = m_imageBuffer->getBoundMemory(); in DynamicRenderingTestInstance() local
180 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(imageBufferSize)); in DynamicRenderingTestInstance()
181 flushAlloc(vk, device, alloc); in DynamicRenderingTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationShaderInputOutputTests.cpp91 const Allocation& alloc = vertexBuffer.getAllocation(); in runTest() local
93 deMemcpy(alloc.getHostPtr(), vertexData, static_cast<std::size_t>(vertexDataSizeBytes)); in runTest()
94 flushAlloc(vk, device, alloc); in runTest()
/kernel/linux/linux-6.6/fs/ntfs3/
H A Dindex.c1437 struct ATTRIB *alloc; in indx_create_allocate() local
1453 &run, 0, len, 0, &alloc, NULL, NULL); in indx_create_allocate()
1457 alloc->nres.valid_size = alloc->nres.data_size = cpu_to_le64(data_size); in indx_create_allocate()
1476 mi_remove_attr(NULL, &ni->mi, alloc); in indx_create_allocate()
1495 struct ATTRIB *bmp, *alloc; in indx_add_allocate() local
1527 alloc = ni_find_attr(ni, NULL, NULL, ATTR_ALLOC, in->name, in->name_len, in indx_add_allocate()
1529 if (!alloc) { in indx_add_allocate()
1686 /* Create alloc and bitmap attributes (if not). */ in indx_insert_into_root()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageCompressionTranscodingSupport.cpp697 const Allocation& alloc = imageBuffer.getAllocation(); in copyDataToImage() local
698 deMemcpy(alloc.getHostPtr(), &m_data[0], m_data.size()); in copyDataToImage()
699 flushAlloc(vk, device, alloc); in copyDataToImage()
1774 const Allocation& alloc = srcImageBuffer->getAllocation(); in transcodeRead() local
1775 deMemcpy(alloc.getHostPtr(), &m_srcData[levelNdx][layerNdx]->at(0), srcImageSizeInBytes); in transcodeRead()
1776 flushAlloc(vk, device, alloc); in transcodeRead()
1907 const Allocation& alloc = srcImageBuffer->getAllocation(); in transcodeWrite() local
1908 deMemcpy(alloc.getHostPtr(), &m_srcData[levelNdx][layerNdx]->at(0), srcImageSizeInBytes); in transcodeWrite()
1909 flushAlloc(vk, device, alloc); in transcodeWrite()
2360 const Allocation& alloc in transcodeRead() local
2499 const Allocation& alloc = srcImageBuffer->getAllocation(); transcodeWrite() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageCompressionTranscodingSupport.cpp686 const Allocation& alloc = imageBuffer.getAllocation(); in copyDataToImage() local
687 deMemcpy(alloc.getHostPtr(), &m_data[0], m_data.size()); in copyDataToImage()
688 flushAlloc(vk, device, alloc); in copyDataToImage()
1759 const Allocation& alloc = srcImageBuffer->getAllocation(); in transcodeRead() local
1760 deMemcpy(alloc.getHostPtr(), &m_srcData[levelNdx][layerNdx]->at(0), srcImageSizeInBytes); in transcodeRead()
1761 flushAlloc(vk, device, alloc); in transcodeRead()
1892 const Allocation& alloc = srcImageBuffer->getAllocation(); in transcodeWrite() local
1893 deMemcpy(alloc.getHostPtr(), &m_srcData[levelNdx][layerNdx]->at(0), srcImageSizeInBytes); in transcodeWrite()
1894 flushAlloc(vk, device, alloc); in transcodeWrite()
2345 const Allocation& alloc in transcodeRead() local
2484 const Allocation& alloc = srcImageBuffer->getAllocation(); transcodeWrite() local
[all...]
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dmdesc.c68 struct mdesc_handle *(*alloc)(unsigned int mdesc_size); member
197 .alloc = mdesc_memblock_alloc,
233 .alloc = mdesc_kmalloc,
240 struct mdesc_handle *hp = mops->alloc(mdesc_size); in mdesc_alloc()
513 printk(KERN_ERR "MD: mdesc alloc fails\n"); in mdesc_update()
1336 prom_printf("MDESC: alloc of %lu bytes failed.\n", len); in sun4v_mdesc_init()
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec/
H A Dsec_drv.c519 static void sec_queue_ar_alloc(struct sec_queue *queue, u32 alloc) in sec_queue_ar_alloc() argument
525 if (alloc == SEC_QUEUE_AR_FROCE_ALLOC) { in sec_queue_ar_alloc()
536 static void sec_queue_aw_alloc(struct sec_queue *queue, u32 alloc) in sec_queue_aw_alloc() argument
542 if (alloc == SEC_QUEUE_AW_FROCE_ALLOC) { in sec_queue_aw_alloc()
778 dev_err(info->dev, "alloc sec queue failed! %ld\n", in sec_queue_alloc_start()

Completed in 80 milliseconds

1...<<51525354555657585960>>...85