Home
last modified time | relevance | path

Searched refs:pool (Results 26 - 50 of 641) sorted by relevance

12345678910>>...26

/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_command_pool.c34 vk_command_pool_init(struct vk_command_pool *pool, in vk_command_pool_init() argument
39 memset(pool, 0, sizeof(*pool)); in vk_command_pool_init()
40 vk_object_base_init(device, &pool->base, in vk_command_pool_init()
43 pool->flags = pCreateInfo->flags; in vk_command_pool_init()
44 pool->queue_family_index = pCreateInfo->queueFamilyIndex; in vk_command_pool_init()
45 pool->alloc = pAllocator ? *pAllocator : device->alloc; in vk_command_pool_init()
46 list_inithead(&pool->command_buffers); in vk_command_pool_init()
52 vk_command_pool_finish(struct vk_command_pool *pool) in vk_command_pool_finish() argument
55 &pool in vk_command_pool_finish()
70 struct vk_command_pool *pool; vk_common_CreateCommandPool() local
[all...]
/third_party/mesa3d/src/virtio/vulkan/
H A Dvn_renderer_util.c49 struct vn_renderer_shmem_pool *pool, in vn_renderer_shmem_pool_init()
52 *pool = (struct vn_renderer_shmem_pool){ in vn_renderer_shmem_pool_init()
60 struct vn_renderer_shmem_pool *pool) in vn_renderer_shmem_pool_fini()
62 if (pool->shmem) in vn_renderer_shmem_pool_fini()
63 vn_renderer_shmem_unref(renderer, pool->shmem); in vn_renderer_shmem_pool_fini()
68 struct vn_renderer_shmem_pool *pool, in vn_renderer_shmem_pool_grow()
73 size_t alloc_size = pool->min_alloc_size; in vn_renderer_shmem_pool_grow()
85 if (pool->shmem) in vn_renderer_shmem_pool_grow()
86 vn_renderer_shmem_unref(renderer, pool->shmem); in vn_renderer_shmem_pool_grow()
88 pool in vn_renderer_shmem_pool_grow()
48 vn_renderer_shmem_pool_init(UNUSED struct vn_renderer *renderer, struct vn_renderer_shmem_pool *pool, size_t min_alloc_size) vn_renderer_shmem_pool_init() argument
59 vn_renderer_shmem_pool_fini(struct vn_renderer *renderer, struct vn_renderer_shmem_pool *pool) vn_renderer_shmem_pool_fini() argument
67 vn_renderer_shmem_pool_grow(struct vn_renderer *renderer, struct vn_renderer_shmem_pool *pool, size_t size) vn_renderer_shmem_pool_grow() argument
96 vn_renderer_shmem_pool_alloc(struct vn_renderer *renderer, struct vn_renderer_shmem_pool *pool, size_t size, size_t *out_offset) vn_renderer_shmem_pool_alloc() argument
[all...]
H A Dvn_feedback.c139 vn_feedback_pool_grow_locked(struct vn_feedback_pool *pool) in vn_feedback_pool_grow_locked() argument
145 result = vn_feedback_buffer_create(pool->device, pool->size, pool->alloc, in vn_feedback_pool_grow_locked()
150 pool->used = 0; in vn_feedback_pool_grow_locked()
152 list_add(&feedback_buf->head, &pool->feedback_buffers); in vn_feedback_pool_grow_locked()
159 struct vn_feedback_pool *pool, in vn_feedback_pool_init()
163 simple_mtx_init(&pool->mutex, mtx_plain); in vn_feedback_pool_init()
165 pool->device = dev; in vn_feedback_pool_init()
166 pool in vn_feedback_pool_init()
158 vn_feedback_pool_init(struct vn_device *dev, struct vn_feedback_pool *pool, uint32_t size, const VkAllocationCallbacks *alloc) vn_feedback_pool_init() argument
177 vn_feedback_pool_fini(struct vn_feedback_pool *pool) vn_feedback_pool_fini() argument
191 vn_feedback_pool_alloc_locked(struct vn_feedback_pool *pool, uint32_t size, uint32_t *out_offset) vn_feedback_pool_alloc_locked() argument
214 vn_feedback_pool_alloc(struct vn_feedback_pool *pool, enum vn_feedback_type type) vn_feedback_pool_alloc() argument
260 vn_feedback_pool_free(struct vn_feedback_pool *pool, struct vn_feedback_slot *slot) vn_feedback_pool_free() argument
388 vn_feedback_fence_cmd_alloc(VkDevice dev_handle, struct vn_feedback_cmd_pool *pool, struct vn_feedback_slot *slot, VkCommandBuffer *out_cmd_handle) vn_feedback_fence_cmd_alloc() argument
423 vn_feedback_fence_cmd_free(VkDevice dev_handle, struct vn_feedback_cmd_pool *pool, VkCommandBuffer cmd_handle) vn_feedback_fence_cmd_free() argument
[all...]
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_query.c97 * pool. */
98 #define query_iova(type, pool, query, field) \
99 pool->bo->iova + pool->stride * (query) + offsetof(type, field)
101 #define occlusion_query_iova(pool, query, field) \
102 query_iova(struct occlusion_query_slot, pool, query, field)
104 #define pipeline_stat_query_iova(pool, query, field) \
105 pool->bo->iova + pool->stride * (query) + \
108 #define primitive_query_iova(pool, quer
174 slot_address(struct tu_query_pool *pool, uint32_t query) slot_address() argument
255 struct tu_query_pool *pool = tu_CreateQueryPool() local
352 get_result_count(struct tu_query_pool *pool) get_result_count() argument
437 wait_for_available(struct tu_device *device, struct tu_query_pool *pool, uint32_t query) wait_for_available() argument
468 get_query_pool_results(struct tu_device *device, struct tu_query_pool *pool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void *pData, VkDeviceSize stride, VkQueryResultFlags flags) get_query_pool_results() argument
604 emit_copy_query_pool_results(struct tu_cmd_buffer *cmdbuf, struct tu_cs *cs, struct tu_query_pool *pool, uint32_t firstQuery, uint32_t queryCount, struct tu_buffer *buffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags) emit_copy_query_pool_results() argument
726 emit_reset_query_pool(struct tu_cmd_buffer *cmdbuf, struct tu_query_pool *pool, uint32_t firstQuery, uint32_t queryCount) emit_reset_query_pool() argument
813 emit_begin_occlusion_query(struct tu_cmd_buffer *cmdbuf, struct tu_query_pool *pool, uint32_t query) emit_begin_occlusion_query() argument
845 emit_begin_stat_query(struct tu_cmd_buffer *cmdbuf, struct tu_query_pool *pool, uint32_t query) emit_begin_stat_query() argument
905 emit_begin_perf_query(struct tu_cmd_buffer *cmdbuf, struct tu_query_pool *pool, uint32_t query) emit_begin_perf_query() argument
983 emit_begin_xfb_query(struct tu_cmd_buffer *cmdbuf, struct tu_query_pool *pool, uint32_t query, uint32_t stream_id) emit_begin_xfb_query() argument
996 emit_begin_prim_generated_query(struct tu_cmd_buffer *cmdbuf, struct tu_query_pool *pool, uint32_t query) emit_begin_prim_generated_query() argument
1096 emit_end_occlusion_query(struct tu_cmd_buffer *cmdbuf, struct tu_query_pool *pool, uint32_t query) emit_end_occlusion_query() argument
1216 emit_end_stat_query(struct tu_cmd_buffer *cmdbuf, struct tu_query_pool *pool, uint32_t query) emit_end_stat_query() argument
1279 emit_end_perf_query(struct tu_cmd_buffer *cmdbuf, struct tu_query_pool *pool, uint32_t query) emit_end_perf_query() argument
1358 emit_end_xfb_query(struct tu_cmd_buffer *cmdbuf, struct tu_query_pool *pool, uint32_t query, uint32_t stream_id) emit_end_xfb_query() argument
1407 emit_end_prim_generated_query(struct tu_cmd_buffer *cmdbuf, struct tu_query_pool *pool, uint32_t query) emit_end_prim_generated_query() argument
1485 handle_multiview_queries(struct tu_cmd_buffer *cmd, struct tu_query_pool *pool, uint32_t query) handle_multiview_queries() argument
[all...]
/third_party/openssl/ohos_lite/include/crypto/
H A Drand.h41 size_t rand_acquire_entropy_from_tsc(RAND_POOL *pool);
42 size_t rand_acquire_entropy_from_cpu(RAND_POOL *pool);
57 size_t rand_drbg_get_additional_data(RAND_POOL *pool, unsigned char **pout);
59 void rand_drbg_cleanup_additional_data(RAND_POOL *pool, unsigned char *out);
68 void rand_pool_free(RAND_POOL *pool);
70 const unsigned char *rand_pool_buffer(RAND_POOL *pool);
71 unsigned char *rand_pool_detach(RAND_POOL *pool);
72 void rand_pool_reattach(RAND_POOL *pool, unsigned char *buffer);
74 size_t rand_pool_entropy(RAND_POOL *pool);
75 size_t rand_pool_length(RAND_POOL *pool);
[all...]
/third_party/mesa3d/src/gallium/frontends/lavapipe/
H A Dlvp_query.c55 struct lvp_query_pool *pool; in lvp_CreateQueryPool() local
56 uint32_t pool_size = sizeof(*pool) + pCreateInfo->queryCount * sizeof(struct pipe_query *); in lvp_CreateQueryPool()
58 pool = vk_zalloc2(&device->vk.alloc, pAllocator, in lvp_CreateQueryPool()
61 if (!pool) in lvp_CreateQueryPool()
64 vk_object_base_init(&device->vk, &pool->base, in lvp_CreateQueryPool()
66 pool->type = pCreateInfo->queryType; in lvp_CreateQueryPool()
67 pool->count = pCreateInfo->queryCount; in lvp_CreateQueryPool()
68 pool->base_type = pipeq; in lvp_CreateQueryPool()
69 pool->pipeline_stats = pCreateInfo->pipelineStatistics; in lvp_CreateQueryPool()
71 *pQueryPool = lvp_query_pool_to_handle(pool); in lvp_CreateQueryPool()
[all...]
H A Dlvp_cmd_buffer.c30 struct lvp_cmd_pool * pool, in lvp_create_cmd_buffer()
36 cmd_buffer = vk_alloc(&pool->vk.alloc, sizeof(*cmd_buffer), 8, in lvp_create_cmd_buffer()
41 VkResult result = vk_command_buffer_init(&cmd_buffer->vk, &pool->vk, level); in lvp_create_cmd_buffer()
43 vk_free(&pool->vk.alloc, cmd_buffer); in lvp_create_cmd_buffer()
48 cmd_buffer->pool = pool; in lvp_create_cmd_buffer()
51 if (pool) { in lvp_create_cmd_buffer()
52 list_addtail(&cmd_buffer->pool_link, &pool->cmd_buffers); in lvp_create_cmd_buffer()
78 LVP_FROM_HANDLE(lvp_cmd_pool, pool, pAllocateInfo->commandPool); in lvp_AllocateCommandBuffers()
85 if (!list_is_empty(&pool in lvp_AllocateCommandBuffers()
28 lvp_create_cmd_buffer( struct lvp_device * device, struct lvp_cmd_pool * pool, VkCommandBufferLevel level, VkCommandBuffer* pCommandBuffer) lvp_create_cmd_buffer() argument
188 struct lvp_cmd_pool *pool; lvp_CreateCommandPool() local
[all...]
/third_party/mesa3d/src/gallium/frontends/nine/
H A Dnine_helpers.c26 nine_range_pool_more(struct nine_range_pool *pool) in nine_range_pool_more() argument
30 assert(!pool->free); in nine_range_pool_more()
32 if (pool->num_slabs == pool->num_slabs_max) { in nine_range_pool_more()
33 unsigned p = pool->num_slabs_max; in nine_range_pool_more()
34 unsigned n = pool->num_slabs_max * 2; in nine_range_pool_more()
37 pool->slabs = REALLOC(pool->slabs, in nine_range_pool_more()
40 pool->num_slabs_max = n; in nine_range_pool_more()
42 pool in nine_range_pool_more()
53 nine_range_pool_get(struct nine_range_pool *pool, int16_t bgn, int16_t end) nine_range_pool_get() argument
66 nine_ranges_coalesce(struct nine_range *r, struct nine_range_pool *pool) nine_ranges_coalesce() argument
79 nine_ranges_insert(struct nine_range **head, int16_t bgn, int16_t end, struct nine_range_pool *pool) nine_ranges_insert() argument
[all...]
/third_party/nghttp2/src/
H A Dmemchunk_test.cc37 MemchunkPool pool; in test_pool_recycle() local
39 CU_ASSERT(!pool.pool); in test_pool_recycle()
40 CU_ASSERT(0 == pool.poolsize); in test_pool_recycle()
41 CU_ASSERT(nullptr == pool.freelist); in test_pool_recycle()
43 auto m1 = pool.get(); in test_pool_recycle()
45 CU_ASSERT(m1 == pool.pool); in test_pool_recycle()
46 CU_ASSERT(MemchunkPool::value_type::size == pool.poolsize); in test_pool_recycle()
47 CU_ASSERT(nullptr == pool in test_pool_recycle()
90 MemchunkPool16 pool; test_memchunks_append() local
131 MemchunkPool16 pool; test_memchunks_drain() local
151 MemchunkPool16 pool; test_memchunks_riovec() local
184 MemchunkPool16 pool; test_memchunks_recycle() local
201 MemchunkPool16 pool; test_memchunks_reset() local
224 MemchunkPool16 pool; test_peek_memchunks_append() local
259 MemchunkPool16 pool; test_peek_memchunks_disable_peek_drain() local
287 MemchunkPool16 pool; test_peek_memchunks_disable_peek_no_drain() local
315 MemchunkPool16 pool; test_peek_memchunks_reset() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/rand/
H A Dprov_seed.c21 RAND_POOL *pool; in ossl_rand_get_entropy() local
23 pool = ossl_rand_pool_new(entropy, 1, min_len, max_len); in ossl_rand_get_entropy()
24 if (pool == NULL) { in ossl_rand_get_entropy()
30 entropy_available = ossl_pool_acquire_entropy(pool); in ossl_rand_get_entropy()
33 ret = ossl_rand_pool_length(pool); in ossl_rand_get_entropy()
34 *pout = ossl_rand_pool_detach(pool); in ossl_rand_get_entropy()
37 ossl_rand_pool_free(pool); in ossl_rand_get_entropy()
52 RAND_POOL *pool; in ossl_rand_get_nonce() local
54 pool = ossl_rand_pool_new(0, 0, min_len, max_len); in ossl_rand_get_nonce()
55 if (pool in ossl_rand_get_nonce()
[all...]
/third_party/openssl/crypto/rand/
H A Dprov_seed.c21 RAND_POOL *pool; in ossl_rand_get_entropy() local
23 pool = ossl_rand_pool_new(entropy, 1, min_len, max_len); in ossl_rand_get_entropy()
24 if (pool == NULL) { in ossl_rand_get_entropy()
30 entropy_available = ossl_pool_acquire_entropy(pool); in ossl_rand_get_entropy()
33 ret = ossl_rand_pool_length(pool); in ossl_rand_get_entropy()
34 *pout = ossl_rand_pool_detach(pool); in ossl_rand_get_entropy()
37 ossl_rand_pool_free(pool); in ossl_rand_get_entropy()
52 RAND_POOL *pool; in ossl_rand_get_nonce() local
54 pool = ossl_rand_pool_new(0, 0, min_len, max_len); in ossl_rand_get_nonce()
55 if (pool in ossl_rand_get_nonce()
[all...]
/third_party/node/deps/openssl/openssl/crypto/async/
H A Dasync.c106 async_pool *pool; in async_get_pool_job() local
108 pool = (async_pool *)CRYPTO_THREAD_get_local(&poolkey); in async_get_pool_job()
109 if (pool == NULL) { in async_get_pool_job()
116 pool = (async_pool *)CRYPTO_THREAD_get_local(&poolkey); in async_get_pool_job()
119 job = sk_ASYNC_JOB_pop(pool->jobs); in async_get_pool_job()
122 if ((pool->max_size != 0) && (pool->curr_size >= pool->max_size)) in async_get_pool_job()
131 pool->curr_size++; in async_get_pool_job()
138 async_pool *pool; in async_release_job() local
320 async_empty_pool(async_pool *pool) async_empty_pool() argument
354 async_pool *pool; ASYNC_init_thread() local
415 async_pool *pool = (async_pool *)CRYPTO_THREAD_get_local(&poolkey); async_delete_thread_state() local
[all...]
/third_party/openssl/crypto/async/
H A Dasync.c106 async_pool *pool; in async_get_pool_job() local
108 pool = (async_pool *)CRYPTO_THREAD_get_local(&poolkey); in async_get_pool_job()
109 if (pool == NULL) { in async_get_pool_job()
116 pool = (async_pool *)CRYPTO_THREAD_get_local(&poolkey); in async_get_pool_job()
119 job = sk_ASYNC_JOB_pop(pool->jobs); in async_get_pool_job()
122 if ((pool->max_size != 0) && (pool->curr_size >= pool->max_size)) in async_get_pool_job()
131 pool->curr_size++; in async_get_pool_job()
138 async_pool *pool; in async_release_job() local
320 async_empty_pool(async_pool *pool) async_empty_pool() argument
354 async_pool *pool; ASYNC_init_thread() local
415 async_pool *pool = (async_pool *)CRYPTO_THREAD_get_local(&poolkey); async_delete_thread_state() local
[all...]
/third_party/mesa3d/src/panfrost/lib/
H A Dpan_pool.h43 /* BO flags to use in the pool */
51 pan_pool_init(struct pan_pool *pool, struct panfrost_device *dev, in pan_pool_init() argument
54 pool->dev = dev; in pan_pool_init()
55 pool->create_flags = create_flags; in pan_pool_init()
56 pool->slab_size = slab_size; in pan_pool_init()
57 pool->label = label; in pan_pool_init()
64 pan_pool_alloc_aligned(struct pan_pool *pool, size_t sz, unsigned alignment);
70 pool_subclass *pool = container_of(p, pool_subclass, base); \
71 return alloc_func(pool, sz, alignment); \
75 pan_pool_upload_aligned(struct pan_pool *pool, cons argument
83 pan_pool_upload(struct pan_pool *pool, const void *data, size_t sz) pan_pool_upload() argument
110 pan_pool_alloc_descs(struct pan_pool *pool, const struct pan_desc_alloc_info *descs) pan_pool_alloc_descs() argument
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/rands/seeding/
H A Drand_win.c47 size_t ossl_pool_acquire_entropy(RAND_POOL *pool) in ossl_pool_acquire_entropy() argument
58 entropy_available = ossl_prov_acquire_entropy_from_tsc(pool); in ossl_pool_acquire_entropy()
64 entropy_available = ossl_prov_acquire_entropy_from_cpu(pool); in ossl_pool_acquire_entropy()
70 bytes_needed = ossl_rand_pool_bytes_needed(pool, 1 /*entropy_factor*/); in ossl_pool_acquire_entropy()
71 buffer = ossl_rand_pool_add_begin(pool, bytes_needed); in ossl_pool_acquire_entropy()
78 ossl_rand_pool_add_end(pool, bytes, 8 * bytes); in ossl_pool_acquire_entropy()
79 entropy_available = ossl_rand_pool_entropy_available(pool); in ossl_pool_acquire_entropy()
84 bytes_needed = ossl_rand_pool_bytes_needed(pool, 1 /*entropy_factor*/); in ossl_pool_acquire_entropy()
85 buffer = ossl_rand_pool_add_begin(pool, bytes_needed); in ossl_pool_acquire_entropy()
97 ossl_rand_pool_add_end(pool, byte in ossl_pool_acquire_entropy()
127 ossl_pool_add_nonce_data(RAND_POOL *pool) ossl_pool_add_nonce_data() argument
150 ossl_rand_pool_add_additional_data(RAND_POOL *pool) ossl_rand_pool_add_additional_data() argument
[all...]
/third_party/openssl/providers/implementations/rands/seeding/
H A Drand_win.c47 size_t ossl_pool_acquire_entropy(RAND_POOL *pool) in ossl_pool_acquire_entropy() argument
58 entropy_available = ossl_prov_acquire_entropy_from_tsc(pool); in ossl_pool_acquire_entropy()
64 entropy_available = ossl_prov_acquire_entropy_from_cpu(pool); in ossl_pool_acquire_entropy()
70 bytes_needed = ossl_rand_pool_bytes_needed(pool, 1 /*entropy_factor*/); in ossl_pool_acquire_entropy()
71 buffer = ossl_rand_pool_add_begin(pool, bytes_needed); in ossl_pool_acquire_entropy()
78 ossl_rand_pool_add_end(pool, bytes, 8 * bytes); in ossl_pool_acquire_entropy()
79 entropy_available = ossl_rand_pool_entropy_available(pool); in ossl_pool_acquire_entropy()
84 bytes_needed = ossl_rand_pool_bytes_needed(pool, 1 /*entropy_factor*/); in ossl_pool_acquire_entropy()
85 buffer = ossl_rand_pool_add_begin(pool, bytes_needed); in ossl_pool_acquire_entropy()
97 ossl_rand_pool_add_end(pool, byte in ossl_pool_acquire_entropy()
127 ossl_pool_add_nonce_data(RAND_POOL *pool) ossl_pool_add_nonce_data() argument
150 ossl_rand_pool_add_additional_data(RAND_POOL *pool) ossl_rand_pool_add_additional_data() argument
[all...]
/third_party/protobuf/python/google/protobuf/internal/
H A Ddescriptor_pool_test.py74 file_desc1 = self.pool.FindFileByName(name1)
81 file_desc2 = self.pool.FindFileByName(name2)
89 self.pool.FindFileByName('Does not exist')
92 file_desc1 = self.pool.FindFileContainingSymbol(
100 file_desc2 = self.pool.FindFileContainingSymbol(
109 file_desc3 = self.pool.FindFileContainingSymbol(
116 file_desc4 = self.pool.FindFileContainingSymbol(
122 file_desc5 = self.pool.FindFileContainingSymbol(
127 # Tests the generated pool.
136 file_desc6 = self.pool
[all...]
/third_party/mesa3d/src/asahi/lib/
H A Dpool.h34 /* Represents a pool of memory that can only grow, used to allocate objects
35 * with the same lifetime as the pool itself. In OpenGL, a pool is owned by the
37 * command pool */
43 /* BOs allocated by this pool */
52 /* BO flags to use in the pool */
57 agx_pool_init(struct agx_pool *pool, struct agx_device *dev,
61 agx_pool_cleanup(struct agx_pool *pool);
64 agx_pool_num_bos(struct agx_pool *pool) in agx_pool_num_bos() argument
66 return util_dynarray_num_elements(&pool in agx_pool_num_bos()
106 agx_pool_alloc_descs(struct agx_pool *pool, const struct agx_desc_alloc_info *descs) agx_pool_alloc_descs() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
H A Dpool_test.cpp18 #include "marl/pool.h"
22 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
42 pool.borrow(); in TEST_P()
47 marl::UnboundedPool<int> pool; in TEST_P() local
52 pool.borrow(); in TEST_P()
60 marl::BoundedPool<int, 100> pool; in TEST_P() local
62 pool.borrow(); in TEST_P()
67 marl::BoundedPool<int, 10> pool; in TEST_P() local
95 marl::UnboundedPool<CtorDtorCounter, marl::PoolPolicy::Reconstruct> pool; TEST_P() local
116 marl::BoundedPool<CtorDtorCounter, 10, marl::PoolPolicy::Reconstruct> pool; TEST_P() local
138 marl::UnboundedPool<CtorDtorCounter, marl::PoolPolicy::Preserve> pool; TEST_P() local
162 marl::BoundedPool<CtorDtorCounter, 10, marl::PoolPolicy::Preserve> pool; TEST_P() local
189 marl::BoundedPool<StructWithAlignment, 100> pool; TEST_P() local
199 marl::UnboundedPool<StructWithAlignment> pool; TEST_P() local
[all...]
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_mempool.h37 /* BOs allocated by this pool */
46 /* Mode of the pool. BO management is in the pool for owned mode, but
52 to_panfrost_pool(struct pan_pool *pool) in to_panfrost_pool() argument
54 return container_of(pool, struct panfrost_pool, base); in to_panfrost_pool()
57 /* Reference to pool allocated memory for an unowned pool */
67 /* Take a reference to an allocation pool. Call directly after allocating from
68 * an unowned pool for correct operation. */
71 panfrost_pool_take_ref(struct panfrost_pool *pool, mali_pt argument
92 panfrost_pool_num_bos(struct panfrost_pool *pool) panfrost_pool_num_bos() argument
[all...]
/third_party/skia/tests/
H A DDiscardableMemoryPoolTest.cpp16 sk_sp<SkDiscardableMemoryPool> pool(SkDiscardableMemoryPool::Make(1)); in DEF_TEST()
17 pool->setRAMBudget(3); in DEF_TEST()
18 REPORTER_ASSERT(reporter, 0 == pool->getRAMUsed()); in DEF_TEST()
20 std::unique_ptr<SkDiscardableMemory> dm1(pool->create(100)); in DEF_TEST()
22 REPORTER_ASSERT(reporter, 100 == pool->getRAMUsed()); in DEF_TEST()
24 REPORTER_ASSERT(reporter, 0 == pool->getRAMUsed()); in DEF_TEST()
28 std::unique_ptr<SkDiscardableMemory> dm2(pool->create(200)); in DEF_TEST()
29 REPORTER_ASSERT(reporter, 200 == pool->getRAMUsed()); in DEF_TEST()
30 pool->setRAMBudget(400); in DEF_TEST()
32 REPORTER_ASSERT(reporter, 200 == pool in DEF_TEST()
[all...]
/foundation/communication/dhcp/test/fuzztest/dhcpaddresspool_fuzzer/
H A Ddhcpaddresspool_fuzzer.cpp42 DhcpAddressPool pool; in DhcpAddressPoolFuzzTest() local
43 strncpy_s(pool.ifname, IFACE_NAME_SIZE, "*", IFACE_NAME_SIZE - 1); in DhcpAddressPoolFuzzTest()
44 pool.netmask = static_cast<uint32_t>(data[0]); in DhcpAddressPoolFuzzTest()
45 pool.serverId = static_cast<uint32_t>(data[0]); in DhcpAddressPoolFuzzTest()
46 pool.gateway = static_cast<uint32_t>(data[0]); in DhcpAddressPoolFuzzTest()
47 pool.leaseTime = static_cast<uint32_t>(data[0]); in DhcpAddressPoolFuzzTest()
48 pool.renewalTime = static_cast<uint32_t>(data[0]); in DhcpAddressPoolFuzzTest()
57 InitAddressPool(&pool, ifname, &options); in DhcpAddressPoolFuzzTest()
58 FreeAddressPool(&pool); in DhcpAddressPoolFuzzTest()
59 IsReservedIp(&pool, ipAd in DhcpAddressPoolFuzzTest()
[all...]
/third_party/node/deps/openssl/openssl/include/crypto/
H A Drand_pool.h23 * function chooses more modest values as default pool length, bounded
63 * The 'random pool' acts as a dumb container for collecting random
65 * the random pool, 2) pass it to the polling callbacks, 3) seed the RNG, and
66 * 4) cleanup the random pool again.
68 * The random pool contains no locking mechanism because its scope and
72 unsigned char *buffer; /* points to the beginning of the random pool */
73 size_t len; /* current number of random bytes contained in the pool */
75 int attached; /* true pool was attached to existing buffer */
89 void ossl_rand_pool_free(RAND_POOL *pool);
91 const unsigned char *ossl_rand_pool_buffer(RAND_POOL *pool);
[all...]
/third_party/openssl/include/crypto/
H A Drand_pool.h23 * function chooses more modest values as default pool length, bounded
63 * The 'random pool' acts as a dumb container for collecting random
65 * the random pool, 2) pass it to the polling callbacks, 3) seed the RNG, and
66 * 4) cleanup the random pool again.
68 * The random pool contains no locking mechanism because its scope and
72 unsigned char *buffer; /* points to the beginning of the random pool */
73 size_t len; /* current number of random bytes contained in the pool */
75 int attached; /* true pool was attached to existing buffer */
89 void ossl_rand_pool_free(RAND_POOL *pool);
91 const unsigned char *ossl_rand_pool_buffer(RAND_POOL *pool);
[all...]
/foundation/systemabilitymgr/samgr_lite/samgr/source/
H A Dtask_manager.c70 int32 SAMGR_StartTaskPool(TaskPool *pool, const char *name) in SAMGR_StartTaskPool() argument
72 if (pool == NULL) { in SAMGR_StartTaskPool()
76 if (pool->top > 0) { in SAMGR_StartTaskPool()
80 ThreadAttr attr = {name, pool->stackSize, pool->priority, 0, 0}; in SAMGR_StartTaskPool()
81 while (pool->top < pool->size) { in SAMGR_StartTaskPool()
82 register ThreadId threadId = (ThreadId)THREAD_Create(TaskEntry, pool->queueId, &attr); in SAMGR_StartTaskPool()
84 HILOG_ERROR(HILOG_MODULE_SAMGR, "Start Task<%s, %hu, %hhu> failed!", name, pool->stackSize, pool in SAMGR_StartTaskPool()
93 SAMGR_ReleaseTaskPool(TaskPool *pool) SAMGR_ReleaseTaskPool() argument
109 SAMGR_ReferenceTaskPool(TaskPool *pool) SAMGR_ReferenceTaskPool() argument
[all...]

Completed in 10 milliseconds

12345678910>>...26