/third_party/ffmpeg/libavcodec/ |
H A D | nvdec.c | 248 NVDECFramePool *pool = opaque; in nvdec_decoder_frame_alloc() local 251 if (pool->nb_allocated >= pool->dpb_size) in nvdec_decoder_frame_alloc() 258 *(unsigned int*)ret->data = pool->nb_allocated++; in nvdec_decoder_frame_alloc() 284 av_buffer_pool_uninit(&ctx->pool); in nvdec_free_dummy() 311 frames_ctx->pool = av_buffer_pool_init(0, nvdec_alloc_dummy); in nvdec_init_hwframes() 313 if (!frames_ctx->pool) { in nvdec_init_hwframes() 337 NVDECFramePool *pool; in ff_nvdec_decode_init() local 423 pool = av_mallocz(sizeof(*pool)); in ff_nvdec_decode_init() [all...] |
/third_party/gn/src/gn/ |
H A D | builder.cc | 16 #include "gn/pool.h" 299 if (tool.second->pool().label.is_null()) in ToolchainDefined() 303 tool.second->pool().label, tool.second->pool().origin, in ToolchainDefined() 441 if (target->pool().label.is_null()) in AddPoolDep() 445 GetOrCreateRecordOfType(target->pool().label, target->pool().origin, in AddPoolDep() 585 if (target->pool().label.is_null()) in ResolvePool() 589 GetResolvedRecordOfType(target->pool().label, target->pool() in ResolvePool() [all...] |
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_query.c | 36 struct zink_query_pool *pool; member 54 struct zink_query_pool *pool[2]; member 105 vkq->pool->query_pool, in begin_vk_query_indexed() 119 vkq->pool->query_pool, in end_vk_query_indexed() 130 VKCTX(CmdResetQueryPool)(batch->state->cmdbuf, vkq->pool->query_pool, vkq->query_id, 1); in reset_vk_query_pool() 139 list_for_each_entry_safe(struct zink_query_pool, pool, &ctx->query_pools, list) { in zink_context_destroy_query_pools() 140 VKSCR(DestroyQueryPool)(screen->dev, pool->query_pool, NULL); in zink_context_destroy_query_pools() 141 list_del(&pool->list); in zink_context_destroy_query_pools() 142 FREE(pool); in zink_context_destroy_query_pools() 152 list_for_each_entry(struct zink_query_pool, pool, in find_or_allocate_qp() 423 struct zink_query_pool *pool = q->pool[pool_idx]; query_pool_get_range() local 719 copy_pool_results_to_buffer(struct zink_context *ctx, struct zink_query *query, VkQueryPool pool, unsigned query_id, struct zink_resource *res, unsigned offset, int num_results, VkQueryResultFlags flags) copy_pool_results_to_buffer() argument [all...] |
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | Descriptors.java | 192 final GenericDescriptor result = pool.findSymbol(name); in findMessageTypeByName() 216 final GenericDescriptor result = pool.findSymbol(name); in findEnumTypeByName() 240 final GenericDescriptor result = pool.findSymbol(name); in findServiceByName() 262 final GenericDescriptor result = pool.findSymbol(name); in findExtensionByName() 310 final DescriptorPool pool = new DescriptorPool(dependencies, allowUnknownDependencies); in buildFrom() 312 new FileDescriptor(proto, dependencies, pool, allowUnknownDependencies); in buildFrom() 499 private final DescriptorPool pool; field in Descriptors.FileDescriptor 504 final DescriptorPool pool, in FileDescriptor() 507 this.pool = pool; in FileDescriptor() 501 FileDescriptor( final FileDescriptorProto proto, final FileDescriptor[] dependencies, final DescriptorPool pool, boolean allowUnknownDependencies) FileDescriptor() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-xsk.c | 175 struct xsk_buff_pool *pool = xsk_get_pool_from_qid(dev, qid); in dpaa2_xsk_disable_pool() local 190 xsk_pool_dma_unmap(pool, 0); in dpaa2_xsk_disable_pool() 221 struct xsk_buff_pool *pool, in dpaa2_xsk_enable_pool() 244 err = xsk_pool_dma_map(pool, priv->net_dev->dev.parent, 0); in dpaa2_xsk_enable_pool() 257 xsk_pool_set_rxq_info(pool, &ch->xdp_rxq); in dpaa2_xsk_enable_pool() 265 ch->xsk_pool = pool; in dpaa2_xsk_enable_pool() 295 xsk_pool_dma_unmap(pool, 0); in dpaa2_xsk_enable_pool() 303 int dpaa2_xsk_setup_pool(struct net_device *dev, struct xsk_buff_pool *pool, u16 qid) in dpaa2_xsk_setup_pool() argument 305 return pool ? dpaa2_xsk_enable_pool(dev, pool, qi in dpaa2_xsk_setup_pool() 220 dpaa2_xsk_enable_pool(struct net_device *dev, struct xsk_buff_pool *pool, u16 qid) dpaa2_xsk_enable_pool() argument [all...] |
/kernel/liteos_a/kernel/extended/trace/cnv/ |
H A D | trace_cnv.c | 43 STATIC VOID LOS_TraceMemInit(VOID *pool, UINT32 size) in LOS_TraceMemInit() argument 45 LOS_TRACE(MEM_INFO_REQ, pool); in LOS_TraceMemInit() 48 STATIC VOID LOS_TraceMemAlloc(VOID *pool, VOID *ptr, UINT32 size) in LOS_TraceMemAlloc() argument 50 LOS_TRACE(MEM_ALLOC, pool, (UINTPTR)ptr, size); in LOS_TraceMemAlloc() 53 STATIC VOID LOS_TraceMemFree(VOID *pool, VOID *ptr) in LOS_TraceMemFree() argument 55 LOS_TRACE(MEM_FREE, pool, (UINTPTR)ptr); in LOS_TraceMemFree() 58 STATIC VOID LOS_TraceMemRealloc(VOID *pool, VOID *ptr, UINT32 size) in LOS_TraceMemRealloc() argument 60 LOS_TRACE(MEM_REALLOC, pool, (UINTPTR)ptr, size); in LOS_TraceMemRealloc() 63 STATIC VOID LOS_TraceMemAllocAlign(VOID *pool, VOID *ptr, UINT32 size, UINT32 boundary) in LOS_TraceMemAllocAlign() argument 65 LOS_TRACE(MEM_ALLOC_ALIGN, pool, (UINTPT in LOS_TraceMemAllocAlign() [all...] |
/third_party/protobuf/python/google/protobuf/pyext/ |
H A D | extension_dict.cc | 171 // 1- add FileDescriptor to the pool that contains extensions of a message in subscript() 241 PyDescriptorPool* pool = cmessage::GetFactoryForMessage(self->parent)->pool; in _FindExtensionByName() local 243 pool->pool->FindExtensionByName(StringParam(name, name_size)); in _FindExtensionByName() 247 pool->pool->FindMessageTypeByName(StringParam(name, name_size)); in _FindExtensionByName() 271 PyDescriptorPool* pool = cmessage::GetFactoryForMessage(self->parent)->pool; in _FindExtensionByNumber() local 272 const FieldDescriptor* message_extension = pool in _FindExtensionByNumber() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_dl.h | 27 * @pool: pool to which this command belongs 28 * @free: entry in the pool of free commands list 38 struct vsp1_dl_cmd_pool *pool; member 71 void vsp1_dl_body_pool_destroy(struct vsp1_dl_body_pool *pool); 72 struct vsp1_dl_body *vsp1_dl_body_get(struct vsp1_dl_body_pool *pool);
|
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_dl.h | 27 * @pool: pool to which this command belongs 28 * @free: entry in the pool of free commands list 38 struct vsp1_dl_cmd_pool *pool; member 71 void vsp1_dl_body_pool_destroy(struct vsp1_dl_body_pool *pool); 72 struct vsp1_dl_body *vsp1_dl_body_get(struct vsp1_dl_body_pool *pool);
|
/kernel/liteos_m/testsuites/sample/kernel/mem/ |
H A D | it_los_mem.c | 63 UINT32 MemGetFreeSize(void *pool)
in MemGetFreeSize() argument 65 return LOS_MemPoolSizeGet(pool) - LOS_MemTotalUsedGet(pool);
in MemGetFreeSize()
|
/kernel/liteos_m/testsuites/sample/kernel/task/ |
H A D | It_los_task_124.c | 35 static UINT32 GetfreeMemSize(void *pool)
in GetfreeMemSize() argument 37 return LOS_MemPoolSizeGet(pool) - LOS_MemTotalUsedGet(pool);
in GetfreeMemSize()
|
H A D | It_los_task_125.c | 35 static UINT32 GetfreeMemSize(void *pool)
in GetfreeMemSize() argument 37 return LOS_MemPoolSizeGet(pool) - LOS_MemTotalUsedGet(pool);
in GetfreeMemSize()
|
H A D | It_los_task_127.c | 35 static UINT32 GetfreeMemSize(void *pool)
in GetfreeMemSize() argument 37 return LOS_MemPoolSizeGet(pool) - LOS_MemTotalUsedGet(pool);
in GetfreeMemSize()
|
H A D | It_los_task_128.c | 35 static UINT32 GetfreeMemSize(void *pool)
in GetfreeMemSize() argument 37 return LOS_MemPoolSizeGet(pool) - LOS_MemTotalUsedGet(pool);
in GetfreeMemSize()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | WorkerThread.h | 46 void setWorkerThreadPool(std::shared_ptr<WorkerThreadPool> pool) { mPool = pool; } in setWorkerThreadPool() argument 70 // Request WorkerThreads from the WorkerThreadPool. Each pool can keep worker threads around so 79 static std::shared_ptr<WaitableEvent> PostWorkerTask(std::shared_ptr<WorkerThreadPool> pool, 88 // If the pool fails to create the task, returns null.
|
/kernel/linux/linux-5.10/include/linux/ceph/ |
H A D | osdmap.h | 23 uint64_t pool; member 37 #define CEPH_POOL_FLAG_HASHPSPOOL (1ULL << 0) /* hash pg seed and pool id 39 #define CEPH_POOL_FLAG_FULL (1ULL << 1) /* pool is full */ 40 #define CEPH_POOL_FLAG_FULL_QUOTA (1ULL << 10) /* pool ran out of quota, 42 #define CEPH_POOL_FLAG_NEARFULL (1ULL << 11) /* pool is nearfull */ 63 static inline bool ceph_can_shift_osds(struct ceph_pg_pool_info *pool) in ceph_can_shift_osds() argument 65 switch (pool->type) { in ceph_can_shift_osds() 76 s64 pool; member 82 oloc->pool = -1; in ceph_oloc_init() 88 return oloc->pool in ceph_oloc_empty() [all...] |
/kernel/linux/linux-6.6/include/linux/ceph/ |
H A D | osdmap.h | 23 uint64_t pool; member 37 #define CEPH_POOL_FLAG_HASHPSPOOL (1ULL << 0) /* hash pg seed and pool id 39 #define CEPH_POOL_FLAG_FULL (1ULL << 1) /* pool is full */ 40 #define CEPH_POOL_FLAG_FULL_QUOTA (1ULL << 10) /* pool ran out of quota, 42 #define CEPH_POOL_FLAG_NEARFULL (1ULL << 11) /* pool is nearfull */ 63 static inline bool ceph_can_shift_osds(struct ceph_pg_pool_info *pool) in ceph_can_shift_osds() argument 65 switch (pool->type) { in ceph_can_shift_osds() 76 s64 pool; member 82 oloc->pool = -1; in ceph_oloc_init() 88 return oloc->pool in ceph_oloc_empty() [all...] |
/third_party/ninja/misc/ |
H A D | ninja_syntax.py | 57 def pool(self, name: str, depth: int) -> None: member in Writer 58 self._line('pool %s' % name) 68 pool: Optional[str] = None, 82 if pool: 83 self.variable('pool', pool, indent=1) 107 pool: Optional[str] = None, 130 if pool is not None: 131 self._line(' pool = %s' % pool) [all...] |
/third_party/vk-gl-cts/framework/delibs/depool/ |
H A D | dePoolMultiSet.h | 23 * \brief Memory pool multiset class. 38 * \brief Declare a template pool multiset class interface. 52 * MultiSet* MultiSet_create (deMemPool* pool); 67 deMemPool* pool; \ 72 TYPENAME* TYPENAME##_create (deMemPool* pool); \ 110 * \brief Implement a template pool multiset class. 125 TYPENAME* TYPENAME##_create (deMemPool* pool) \ 128 DE_PTR_TYPE(TYPENAME) set = DE_POOL_NEW(pool, TYPENAME); \ 134 set->pool = pool; \ [all...] |
/kernel/linux/linux-5.10/drivers/staging/android/ion/ |
H A D | ion.h | 83 * system, not put in a page pool or otherwise cached. 134 * Represents a pool of memory from which buffers can be made. In some 252 * functions for creating and destroying a heap pool -- allows you 253 * to keep a pool of pre allocated memory to use from your heap. Keeping 254 * a pool of memory that is ready for dma, ie any cached mapping have been 261 * @high_count: number of highmem items in the pool 262 * @low_count: number of lowmem items in the pool 268 * @order: order of pages in the pool 271 * Allows you to keep a pool of pre allocated pages to use from your heap. 272 * Keeping a pool o [all...] |
/third_party/glslang/glslang/Include/ |
H A D | ShHandle.h | 59 TShHandleBase() { pool = new glslang::TPoolAllocator; } in TShHandleBase() 60 virtual ~TShHandleBase() { delete pool; } in ~TShHandleBase() 64 virtual glslang::TPoolAllocator* getPool() const { return pool; } in getPool() 66 glslang::TPoolAllocator* pool; member in TShHandleBase
|
/third_party/curl/lib/ |
H A D | bufq.h | 47 * A pool for providing/keeping a number of chunks of the same size 49 * The same pool can be shared by many `bufq` instances. However, a pool 55 size_t chunk_size; /* the size of chunks in this pool */ 60 void Curl_bufcp_init(struct bufc_pool *pool, 63 void Curl_bufcp_free(struct bufc_pool *pool); 87 * By default and without a pool, a bufq will keep chunks that read 91 * When providing a pool to a bufq, all chunk creation and spare handling 92 * will be delegated to that pool. 97 struct buf_chunk *spare; /* list of free chunks, unless `pool` */ 98 struct bufc_pool *pool; /* optional pool for free chunks */ global() member [all...] |
/third_party/pulseaudio/src/tests/ |
H A D | remix-test.c | 74 pa_mempool *pool; in main() local 79 pa_assert_se(pool = pa_mempool_new(PA_MEM_TYPE_PRIVATE, 0, true)); in main() 97 r = pa_resampler_new(pool, &ss1, &maps[i], &ss2, &maps[j], crossover_freq, PA_RESAMPLER_AUTO, in main() 107 pa_mempool_unref(pool); in main()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | VulkanSecondaryCommandBuffer.cpp | 21 CommandPool *pool, in InitializeCommandPool() 33 ANGLE_VK_TRY(context, pool->init(context->getDevice(), poolInfo)); in InitializeCommandPool() 55 vk::CommandPool *pool, in initialize() 68 allocInfo.commandPool = pool->getHandle(); in initialize() 20 InitializeCommandPool(Context *context, CommandPool *pool, uint32_t queueFamilyIndex, bool hasProtectedContent) InitializeCommandPool() argument 54 initialize(Context *context, vk::CommandPool *pool, bool isRenderPassCommandBuffer, angle::PoolAllocator *allocator) initialize() argument
|
/third_party/skia/tools/skqp/ |
H A D | download_model.py | 61 pool = multiprocessing.Pool(processes=multiprocessing.cpu_count() * 2) 63 pool.apply_async(download, record, callback=lambda x: sys.stderr.write('.')) 64 pool.close() 65 pool.join()
|