Home
last modified time | relevance | path

Searched defs:pool (Results 1 – 25 of 611) sorted by relevance

12345678910>>...25

/third_party/openssl/crypto/rand/
Drand_pool.c25 RAND_POOL *pool = OPENSSL_zalloc(sizeof(*pool)); in ossl_rand_pool_new() local
68 RAND_POOL *pool = OPENSSL_zalloc(sizeof(*pool)); in ossl_rand_pool_attach() local
94 void ossl_rand_pool_free(RAND_POOL *pool) in ossl_rand_pool_free()
118 const unsigned char *ossl_rand_pool_buffer(RAND_POOL *pool) in ossl_rand_pool_buffer()
126 size_t ossl_rand_pool_entropy(RAND_POOL *pool) in ossl_rand_pool_entropy()
134 size_t ossl_rand_pool_length(RAND_POOL *pool) in ossl_rand_pool_length()
145 unsigned char *ossl_rand_pool_detach(RAND_POOL *pool) in ossl_rand_pool_detach()
157 void ossl_rand_pool_reattach(RAND_POOL *pool, unsigned char *buffer) in ossl_rand_pool_reattach()
180 size_t ossl_rand_pool_entropy_available(RAND_POOL *pool) in ossl_rand_pool_entropy_available()
196 size_t ossl_rand_pool_entropy_needed(RAND_POOL *pool) in ossl_rand_pool_entropy_needed()
[all …]
/third_party/gstreamer/gstreamer/gst/
Dgsttaskpool.c61 default_func (TaskData * tdata, GstTaskPool * pool) in default_func()
74 default_prepare (GstTaskPool * pool, GError ** error) in default_prepare()
82 default_cleanup (GstTaskPool * pool) in default_cleanup()
100 default_push (GstTaskPool * pool, GstTaskPoolFunction func, in default_push()
124 default_join (GstTaskPool * pool, gpointer id) in default_join()
130 default_dispose_handle (GstTaskPool * pool, gpointer id) in default_dispose_handle()
156 gst_task_pool_init (GstTaskPool * pool) in gst_task_pool_init()
180 GstTaskPool *pool; in gst_task_pool_new() local
200 gst_task_pool_prepare (GstTaskPool * pool, GError ** error) in gst_task_pool_prepare()
222 gst_task_pool_cleanup (GstTaskPool * pool) in gst_task_pool_cleanup()
[all …]
Dgstbufferpool.c90 #define GST_BUFFER_POOL_LOCK(pool) (g_rec_mutex_lock(&pool->priv->rec_lock)) argument
91 #define GST_BUFFER_POOL_UNLOCK(pool) (g_rec_mutex_unlock(&pool->priv->rec_lock)) argument
154 gst_buffer_pool_init (GstBufferPool * pool) in gst_buffer_pool_init()
185 GstBufferPool *pool; in gst_buffer_pool_dispose() local
202 GstBufferPool *pool; in gst_buffer_pool_finalize() local
240 default_alloc_buffer (GstBufferPool * pool, GstBuffer ** buffer, in default_alloc_buffer()
266 do_alloc_buffer (GstBufferPool * pool, GstBuffer ** buffer, in do_alloc_buffer()
326 default_start (GstBufferPool * pool) in default_start()
358 do_start (GstBufferPool * pool) in do_start()
380 default_free_buffer (GstBufferPool * pool, GstBuffer * buffer) in default_free_buffer()
[all …]
Dgsttaskpool.h31 #define GST_TASK_POOL(pool) (G_TYPE_CHECK_INSTANCE_CAST ((pool), GST_TYPE_TASK_POOL, Gst… argument
32 #define GST_IS_TASK_POOL(pool) (G_TYPE_CHECK_INSTANCE_TYPE ((pool), GST_TYPE_TASK_POOL)) argument
35 #define GST_TASK_POOL_GET_CLASS(pool) (G_TYPE_INSTANCE_GET_CLASS ((pool), GST_TYPE_TASK_POOL, GstT… argument
36 #define GST_TASK_POOL_CAST(pool) ((GstTaskPool*)(pool)) argument
58 GThreadPool *pool; member
127 #define GST_SHARED_TASK_POOL(pool) (G_TYPE_CHECK_INSTANCE_CAST ((pool), GST_TYPE_TASK_PO… argument
128 #define GST_IS_SHARED_TASK_POOL(pool) (G_TYPE_CHECK_INSTANCE_TYPE ((pool), GST_TYPE_SHARED_… argument
131 #define GST_SHARED_TASK_POOL_GET_CLASS(pool) (G_TYPE_INSTANCE_GET_CLASS ((pool), GST_TYPE_SHARED_T… argument
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkhandlepool.c48 gst_vulkan_handle_pool_default_alloc (GstVulkanHandlePool * pool, in gst_vulkan_handle_pool_default_alloc()
55 gst_vulkan_handle_pool_default_acquire (GstVulkanHandlePool * pool, in gst_vulkan_handle_pool_default_acquire()
83 gst_vulkan_handle_pool_default_release (GstVulkanHandlePool * pool, in gst_vulkan_handle_pool_default_release()
99 gst_vulkan_handle_pool_default_free (GstVulkanHandlePool * pool, in gst_vulkan_handle_pool_default_free()
105 do_free_handle (gpointer handle, GstVulkanHandlePool * pool) in do_free_handle()
114 GstVulkanHandlePool *pool = GST_VULKAN_HANDLE_POOL (object); in gst_vulkan_handle_pool_dispose() local
134 GstVulkanHandlePool *pool = GST_VULKAN_HANDLE_POOL (object); in gst_vulkan_handle_pool_finalize() local
163 gst_vulkan_handle_pool_alloc (GstVulkanHandlePool * pool, GError ** error) in gst_vulkan_handle_pool_alloc()
175 gst_vulkan_handle_pool_acquire (GstVulkanHandlePool * pool, GError ** error) in gst_vulkan_handle_pool_acquire()
187 gst_vulkan_handle_pool_release (GstVulkanHandlePool * pool, gpointer handle) in gst_vulkan_handle_pool_release()
Dgstvkcommandpool.c37 #define GET_PRIV(pool) gst_vulkan_command_pool_get_instance_private (pool) argument
60 gst_vulkan_command_pool_init (GstVulkanCommandPool * pool) in gst_vulkan_command_pool_init()
85 GstVulkanCommandPool *pool = GST_VULKAN_COMMAND_POOL (object); in gst_vulkan_command_pool_finalize() local
117 gst_vulkan_command_pool_get_queue (GstVulkanCommandPool * pool) in gst_vulkan_command_pool_get_queue()
125 command_alloc (GstVulkanCommandPool * pool, GError ** error) in command_alloc()
153 gst_vulkan_command_pool_can_reset (GstVulkanCommandPool * pool) in gst_vulkan_command_pool_can_reset()
172 gst_vulkan_command_pool_create (GstVulkanCommandPool * pool, GError ** error) in gst_vulkan_command_pool_create()
204 gst_vulkan_command_pool_release_buffer (GstVulkanCommandPool * pool, in gst_vulkan_command_pool_release_buffer()
249 gst_vulkan_command_pool_lock (GstVulkanCommandPool * pool) in gst_vulkan_command_pool_lock()
267 gst_vulkan_command_pool_unlock (GstVulkanCommandPool * pool) in gst_vulkan_command_pool_unlock()
Dgstvkdescriptorpool.c34 #define GET_PRIV(pool) gst_vulkan_descriptor_pool_get_instance_private (pool) argument
54 gst_vulkan_descriptor_pool_init (GstVulkanDescriptorPool * pool) in gst_vulkan_descriptor_pool_init()
70 GstVulkanDescriptorPool *pool = GST_VULKAN_DESCRIPTOR_POOL (object); in gst_vulkan_descriptor_pool_finalize() local
101 VkDescriptorPool pool, gsize max_sets) in gst_vulkan_descriptor_pool_new_wrapped()
131 gst_vulkan_descriptor_pool_get_device (GstVulkanDescriptorPool * pool) in gst_vulkan_descriptor_pool_get_device()
147 gst_vulkan_descriptor_pool_get_max_sets (GstVulkanDescriptorPool * pool) in gst_vulkan_descriptor_pool_get_max_sets()
159 descriptor_set_alloc (GstVulkanDescriptorPool * pool, guint n_layouts, in descriptor_set_alloc()
206 gst_vulkan_descriptor_pool_create (GstVulkanDescriptorPool * pool, in gst_vulkan_descriptor_pool_create()
Dgstvkbufferpool.c55 #define GET_PRIV(pool) gst_vulkan_buffer_pool_get_instance_private (pool) argument
64 gst_vulkan_buffer_pool_get_options (GstBufferPool * pool) in gst_vulkan_buffer_pool_get_options()
74 gst_vulkan_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config) in gst_vulkan_buffer_pool_set_config()
137 gst_vulkan_buffer_pool_alloc (GstBufferPool * pool, GstBuffer ** buffer, in gst_vulkan_buffer_pool_alloc()
200 GstVulkanBufferPool *pool; in gst_vulkan_buffer_pool_new() local
226 gst_vulkan_buffer_pool_init (GstVulkanBufferPool * pool) in gst_vulkan_buffer_pool_init()
233 GstVulkanBufferPool *pool = GST_VULKAN_BUFFER_POOL_CAST (object); in gst_vulkan_buffer_pool_finalize() local
/third_party/iowow/src/utils/
Diwpool.c29 IWPOOL *pool; in iwpool_create() local
67 IW_INLINE int iwpool_extend(IWPOOL *pool, size_t siz) { in iwpool_extend()
86 void* iwpool_alloc(size_t siz, IWPOOL *pool) { in iwpool_alloc()
108 void* iwpool_calloc(size_t siz, IWPOOL *pool) { in iwpool_calloc()
117 char* iwpool_strndup(IWPOOL *pool, const char *str, size_t len, iwrc *rcp) { in iwpool_strndup()
130 char* iwpool_strdup(IWPOOL *pool, const char *str, iwrc *rcp) { in iwpool_strdup()
134 char* iwpool_strdup2(IWPOOL *pool, const char *str) { in iwpool_strdup2()
139 char* iwpool_strndup2(IWPOOL *pool, const char *str, size_t len) { in iwpool_strndup2()
149 static char* _iwpool_printf_va(IWPOOL *pool, int size, const char *format, va_list ap) { in _iwpool_printf_va()
158 char* iwpool_printf(IWPOOL *pool, const char *format, ...) { in iwpool_printf()
[all …]
/third_party/mesa3d/src/asahi/lib/
Dpool.c37 agx_pool_alloc_backing(struct agx_pool *pool, size_t bo_sz) in agx_pool_alloc_backing()
50 agx_pool_init(struct agx_pool *pool, struct agx_device *dev, in agx_pool_init()
63 agx_pool_cleanup(struct agx_pool *pool) in agx_pool_cleanup()
73 agx_pool_get_bo_handles(struct agx_pool *pool, uint32_t *handles) in agx_pool_get_bo_handles()
82 agx_pool_alloc_aligned(struct agx_pool *pool, size_t sz, unsigned alignment) in agx_pool_alloc_aligned()
109 agx_pool_upload(struct agx_pool *pool, const void *data, size_t sz) in agx_pool_upload()
115 agx_pool_upload_aligned(struct agx_pool *pool, const void *data, size_t sz, unsigned alignment) in agx_pool_upload_aligned()
/third_party/skia/tests/
DSkBlockAllocatorTest.cpp19 static size_t ScratchBlockSize(SkSBlockAllocator<N>& pool) { in ScratchBlockSize()
26 static int block_count(const SkSBlockAllocator<N>& pool) { in block_count()
36 static Block* get_block(SkSBlockAllocator<N>& pool, int blockIndex) { in get_block()
55 static size_t total_size(SkSBlockAllocator<N>& pool) { in total_size()
60 static size_t add_block(SkSBlockAllocator<N>& pool) { in add_block()
70 static void* alloc_byte(SkSBlockAllocator<N>& pool) { in alloc_byte()
102 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local
183 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local
236 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local
270 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local
[all …]
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstbufferpool.c30 GstBufferPool *pool = gst_buffer_pool_new (); in create_pool() local
64 GstBufferPool *pool = create_pool (10, 0, 0); in GST_START_TEST() local
81 GstBufferPool *pool = create_pool (10, 0, 0); in GST_START_TEST() local
110 GstBufferPool *pool = create_pool (10, 0, 0); in GST_START_TEST() local
142 GstBufferPool *pool = create_pool (10, 0, 0); in GST_START_TEST() local
159 GstBufferPool *pool = create_pool (10, 0, 0); in GST_START_TEST() local
174 GstBufferPool *pool = create_pool (10, 0, 0); in GST_START_TEST() local
232 GstBufferPool *pool = gst_buffer_pool_new (); in GST_START_TEST() local
262 GstBufferPool *pool = create_pool (5, 4, 30); in GST_START_TEST() local
284 GstBufferPool *pool = create_pool (10, 0, 0); in GST_START_TEST() local
[all …]
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2bufferpool.c125 gst_v4l2_buffer_pool_copy_buffer (GstV4l2BufferPool * pool, GstBuffer * dest, in gst_v4l2_buffer_pool_copy_buffer()
214 gst_v4l2_buffer_pool_import_userptr (GstV4l2BufferPool * pool, in gst_v4l2_buffer_pool_import_userptr()
340 gst_v4l2_buffer_pool_import_dmabuf (GstV4l2BufferPool * pool, in gst_v4l2_buffer_pool_import_dmabuf()
389 gst_v4l2_buffer_pool_prepare_buffer (GstV4l2BufferPool * pool, in gst_v4l2_buffer_pool_prepare_buffer()
436 GstV4l2BufferPool *pool = GST_V4L2_BUFFER_POOL (bpool); in gst_v4l2_buffer_pool_alloc_buffer() local
510 GstV4l2BufferPool *pool = GST_V4L2_BUFFER_POOL (bpool); in gst_v4l2_buffer_pool_set_config() local
637 gst_v4l2_buffer_pool_resurrect_buffer (GstV4l2BufferPool * pool) in gst_v4l2_buffer_pool_resurrect_buffer()
663 gst_v4l2_buffer_pool_streamon (GstV4l2BufferPool * pool) in gst_v4l2_buffer_pool_streamon()
714 gst_v4l2_buffer_pool_streamoff (GstV4l2BufferPool * pool) in gst_v4l2_buffer_pool_streamoff()
769 GstV4l2BufferPool *pool = GST_V4L2_BUFFER_POOL (bpool); in gst_v4l2_buffer_pool_start() local
[all …]
/third_party/nghttp2/src/
Dmemchunk_test.cc37 MemchunkPool pool; in test_pool_recycle() local
90 MemchunkPool16 pool; in test_memchunks_append() local
131 MemchunkPool16 pool; in test_memchunks_drain() local
151 MemchunkPool16 pool; in test_memchunks_riovec() local
184 MemchunkPool16 pool; in test_memchunks_recycle() local
201 MemchunkPool16 pool; in test_memchunks_reset() local
224 MemchunkPool16 pool; in test_peek_memchunks_append() local
259 MemchunkPool16 pool; in test_peek_memchunks_disable_peek_drain() local
287 MemchunkPool16 pool; in test_peek_memchunks_disable_peek_no_drain() local
315 MemchunkPool16 pool; in test_peek_memchunks_reset() local
/third_party/mesa3d/src/gallium/drivers/r600/
Dcompute_memory_pool.c75 struct compute_memory_pool* pool = (struct compute_memory_pool*) in compute_memory_pool_new() local
98 static void compute_memory_pool_init(struct compute_memory_pool * pool, in compute_memory_pool_init()
113 void compute_memory_pool_delete(struct compute_memory_pool* pool) in compute_memory_pool_delete()
132 static int compute_memory_grow_defrag_pool(struct compute_memory_pool *pool, in compute_memory_grow_defrag_pool()
194 static void compute_memory_shadow(struct compute_memory_pool* pool, in compute_memory_shadow()
215 int compute_memory_finalize_pending(struct compute_memory_pool* pool, in compute_memory_finalize_pending()
325 static void compute_memory_defrag(struct compute_memory_pool *pool, in compute_memory_defrag()
355 static int compute_memory_promote_item(struct compute_memory_pool *pool, in compute_memory_promote_item()
404 void compute_memory_demote_item(struct compute_memory_pool *pool, in compute_memory_demote_item()
466 static void compute_memory_move_item(struct compute_memory_pool *pool, in compute_memory_move_item()
[all …]
/third_party/mesa3d/src/gallium/frontends/nine/
Dthreadpool.c44 struct threadpool *pool = data; in threadpool_worker() local
90 struct threadpool *pool = calloc(1, sizeof(*pool)); in _mesa_threadpool_create() local
109 _mesa_threadpool_destroy(struct NineSwapChain9 *swapchain, struct threadpool *pool) in _mesa_threadpool_destroy()
142 _mesa_threadpool_queue_task(struct threadpool *pool, in _mesa_threadpool_queue_task()
184 _mesa_threadpool_wait_for_task(struct threadpool *pool, in _mesa_threadpool_wait_for_task()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
Dpool_test.cpp22 marl::UnboundedPool<int> pool; in TEST_P() local
26 marl::BoundedPool<int, 10> pool; in TEST_P() local
40 marl::UnboundedPool<int> pool; in TEST_P() local
47 marl::UnboundedPool<int> pool; in TEST_P() local
60 marl::BoundedPool<int, 100> pool; in TEST_P() local
67 marl::BoundedPool<int, 10> pool; in TEST_P() local
95 marl::UnboundedPool<CtorDtorCounter, marl::PoolPolicy::Reconstruct> pool; in TEST_P() local
116 marl::BoundedPool<CtorDtorCounter, 10, marl::PoolPolicy::Reconstruct> pool; in TEST_P() local
138 marl::UnboundedPool<CtorDtorCounter, marl::PoolPolicy::Preserve> pool; in TEST_P() local
162 marl::BoundedPool<CtorDtorCounter, 10, marl::PoolPolicy::Preserve> pool; in TEST_P() local
[all …]
/third_party/gstreamer/gstreamer/tests/examples/streams/
Dtestrtpool.c34 default_prepare (GstTaskPool * pool, GError ** error) in default_prepare()
42 default_cleanup (GstTaskPool * pool) in default_cleanup()
48 default_push (GstTaskPool * pool, GstTaskPoolFunction func, gpointer data, in default_push()
88 default_join (GstTaskPool * pool, gpointer id) in default_join()
117 test_rt_pool_init (TestRTPool * pool) in test_rt_pool_init()
130 GstTaskPool *pool; in test_rt_pool_new() local
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_mempool.c44 panvk_pool_alloc_backing(struct panvk_pool *pool, size_t bo_sz) in panvk_pool_alloc_backing()
75 panvk_pool_alloc_aligned(struct panvk_pool *pool, size_t sz, unsigned alignment) in panvk_pool_alloc_aligned()
120 panvk_pool_reset(struct panvk_pool *pool) in panvk_pool_reset()
142 panvk_pool_cleanup(struct panvk_pool *pool) in panvk_pool_cleanup()
150 panvk_pool_get_bo_handles(struct panvk_pool *pool, uint32_t *handles) in panvk_pool_get_bo_handles()
/third_party/libunwind/src/mi/
Dmempool.c75 free_object (struct mempool *pool, void *object) in free_object()
85 add_memory (struct mempool *pool, char *mem, size_t size, size_t obj_size) in add_memory()
94 expand (struct mempool *pool) in expand()
116 mempool_init (struct mempool *pool, size_t obj_size, size_t reserve) in mempool_init()
143 mempool_alloc (struct mempool *pool) in mempool_alloc()
164 mempool_free (struct mempool *pool, void *object) in mempool_free()
/third_party/vk-gl-cts/framework/delibs/depool/
DdeMemPool.c171 deMemPool* pool; in createPoolInternal() local
243 deMemPool* pool = createPoolInternal(DE_NULL); in deMemPool_createRoot() local
283 deMemPool* pool; in deMemPool_create() local
298 void deMemPool_destroy (deMemPool* pool) in deMemPool_destroy()
378 int deMemPool_getNumChildren (const deMemPool* pool) in deMemPool_getNumChildren()
390 int deMemPool_getNumAllocatedBytes (const deMemPool* pool, deBool recurse) in deMemPool_getNumAllocatedBytes()
408 int deMemPool_getCapacity (const deMemPool* pool, deBool recurse) in deMemPool_getCapacity()
426 DE_INLINE void* deMemPool_allocInternal (deMemPool* pool, size_t numBytes, deUint32 alignBytes) in deMemPool_allocInternal()
499 void* deMemPool_alloc (deMemPool* pool, size_t numBytes) in deMemPool_alloc()
517 void* deMemPool_alignedAlloc (deMemPool* pool, size_t numBytes, deUint32 alignBytes) in deMemPool_alignedAlloc()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_cs_tpool.c38 struct lp_cs_tpool *pool = data; in lp_cs_tpool_worker() local
89 struct lp_cs_tpool *pool = CALLOC_STRUCT(lp_cs_tpool); in lp_cs_tpool_create() local
110 lp_cs_tpool_destroy(struct lp_cs_tpool *pool) in lp_cs_tpool_destroy()
130 lp_cs_tpool_queue_task(struct lp_cs_tpool *pool, in lp_cs_tpool_queue_task()
169 lp_cs_tpool_wait_for_task(struct lp_cs_tpool *pool, in lp_cs_tpool_wait_for_task()
/third_party/gstreamer/gstplugins_base/sys/xvimage/
Dxvimagepool.c48 xvimage_buffer_pool_get_options (GstBufferPool * pool) in xvimage_buffer_pool_get_options()
58 xvimage_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config) in xvimage_buffer_pool_set_config()
196 xvimage_buffer_pool_alloc (GstBufferPool * pool, GstBuffer ** buffer, in xvimage_buffer_pool_alloc()
251 GstXvImageBufferPool *pool; in gst_xvimage_buffer_pool_new() local
276 gst_xvimage_buffer_pool_init (GstXvImageBufferPool * pool) in gst_xvimage_buffer_pool_init()
284 GstXvImageBufferPool *pool = GST_XVIMAGE_BUFFER_POOL_CAST (object); in gst_xvimage_buffer_pool_finalize() local
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_mempool.c47 panfrost_pool_alloc_backing(struct panfrost_pool *pool, size_t bo_sz) in panfrost_pool_alloc_backing()
70 panfrost_pool_init(struct panfrost_pool *pool, void *memctx, in panfrost_pool_init()
87 panfrost_pool_cleanup(struct panfrost_pool *pool) in panfrost_pool_cleanup()
101 panfrost_pool_get_bo_handles(struct panfrost_pool *pool, uint32_t *handles) in panfrost_pool_get_bo_handles()
124 panfrost_pool_alloc_aligned(struct panfrost_pool *pool, size_t sz, unsigned alignment) in panfrost_pool_alloc_aligned()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglbufferpool.c72 gst_gl_buffer_pool_get_options (GstBufferPool * pool) in gst_gl_buffer_pool_get_options()
86 gst_gl_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config) in gst_gl_buffer_pool_set_config()
261 gst_gl_buffer_pool_start (GstBufferPool * pool) in gst_gl_buffer_pool_start()
268 gst_gl_buffer_pool_alloc (GstBufferPool * pool, GstBuffer ** buffer, in gst_gl_buffer_pool_alloc()
313 GstGLBufferPool *pool; in gst_gl_buffer_pool_new() local
340 gst_gl_buffer_pool_init (GstGLBufferPool * pool) in gst_gl_buffer_pool_init()
356 GstGLBufferPool *pool = GST_GL_BUFFER_POOL_CAST (object); in gst_gl_buffer_pool_finalize() local
396 gst_gl_buffer_pool_get_gl_allocation_params (GstGLBufferPool * pool) in gst_gl_buffer_pool_get_gl_allocation_params()

12345678910>>...25