| /external/rust/crates/futures-executor/tests/ |
| D | local_pool.rs | 32 let mut pool = LocalPool::new(); in run_until_single_future() localVariable 44 let mut pool = LocalPool::new(); in run_until_ignores_spawned() localVariable 53 let mut pool = LocalPool::new(); in run_until_executes_spawned() localVariable 68 let mut pool = LocalPool::new(); in run_returns_if_empty() localVariable 78 let mut pool = LocalPool::new(); in run_executes_spawned() localVariable 109 let mut pool = LocalPool::new(); in run_spawn_many() localVariable 131 let mut pool = LocalPool::new(); in try_run_one_returns_if_empty() localVariable 141 let mut pool = LocalPool::new(); in try_run_one_executes_one_ready() localVariable 174 let mut pool = LocalPool::new(); in try_run_one_returns_on_no_progress() localVariable 211 let mut pool = LocalPool::new(); in try_run_one_runs_sub_futures() localVariable [all …]
|
| /external/rust/crates/tower/src/balance/pool/ |
| D | test.rs | 14 let mut pool = mock::Spawn::new(Builder::new().build(mock, ())); in basic() localVariable 38 let pool = Builder::new() in high_load() localVariable 43 let mut pool = mock::Spawn::new(pool); in high_load() localVariable 90 let pool = Builder::new() in low_load() localVariable 94 let mut pool = mock::Spawn::new(pool); in low_load() localVariable 148 let pool = Builder::new() in failing_service() localVariable 153 let mut pool = mock::Spawn::new(pool); in failing_service() localVariable
|
| /external/volley/core/src/test/java/com/android/volley/toolbox/ |
| D | PoolingByteArrayOutputStreamTest.java | 28 ByteArrayPool pool = new ByteArrayPool(32768); in pooledOneBuffer() local 36 ByteArrayPool pool = new ByteArrayPool(32768); in pooledIndividualWrites() local 44 ByteArrayPool pool = new ByteArrayPool(0); in unpooled() local 52 ByteArrayPool pool = new ByteArrayPool(0); in unpooledIndividualWrites() local 58 private void writeOneBuffer(ByteArrayPool pool) throws IOException { in writeOneBuffer() 69 private void writeBytesIndividually(ByteArrayPool pool) { in writeBytesIndividually()
|
| /external/webrtc/common_video/ |
| D | video_frame_buffer_pool_unittest.cc | 24 VideoFrameBufferPool pool; in TEST() local 43 VideoFrameBufferPool pool(/*zero_initialize=*/false, 1); in TEST() local 59 VideoFrameBufferPool pool; in TEST() local 70 VideoFrameBufferPool pool(false, 1); in TEST() local 77 VideoFrameBufferPool pool(false, 1); in TEST() local 83 VideoFrameBufferPool pool(false, 1); in TEST() local 89 VideoFrameBufferPool pool(false, 1); in TEST() local 95 VideoFrameBufferPool pool(false, 1); in TEST() local 101 VideoFrameBufferPool pool(false, 1); in TEST() local 107 VideoFrameBufferPool pool(false, 1); in TEST() local
|
| /external/skia/tests/ |
| D | SkBlockAllocatorTest.cpp | 24 static size_t ScratchBlockSize(SkSBlockAllocator<N>& pool) { in ScratchBlockSize() 31 static int block_count(const SkSBlockAllocator<N>& pool) { in block_count() 41 static Block* get_block(SkSBlockAllocator<N>& pool, int blockIndex) { in get_block() 60 static size_t total_size(SkSBlockAllocator<N>& pool) { in total_size() 65 static size_t add_block(SkSBlockAllocator<N>& pool) { in add_block() 75 static void* alloc_byte(SkSBlockAllocator<N>& pool) { in alloc_byte() 107 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local 188 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local 241 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local 275 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local [all …]
|
| /external/rust/crates/rayon-core/src/broadcast/ |
| D | test.rs | 29 let pool = ThreadPoolBuilder::new().num_threads(7).build().unwrap(); in broadcast_pool() localVariable 38 let pool = ThreadPoolBuilder::new().num_threads(7).build().unwrap(); in spawn_broadcast_pool() localVariable 49 let pool = ThreadPoolBuilder::new().num_threads(7).build().unwrap(); in broadcast_self() localVariable 58 let pool = ThreadPoolBuilder::new().num_threads(7).build().unwrap(); in spawn_broadcast_self() localVariable 146 let pool = ThreadPoolBuilder::new().num_threads(7).build().unwrap(); in broadcast_panic_one() localVariable 164 let pool = ThreadPoolBuilder::new() in spawn_broadcast_panic_one() localVariable 184 let pool = ThreadPoolBuilder::new().num_threads(7).build().unwrap(); in broadcast_panic_many() localVariable 202 let pool = ThreadPoolBuilder::new() in spawn_broadcast_panic_many() localVariable 222 let pool = ThreadPoolBuilder::new().num_threads(7).build().unwrap(); in broadcast_sleep_race() localVariable
|
| /external/mesa3d/src/asahi/lib/ |
| D | pool.c | 19 agx_pool_alloc_backing(struct agx_pool *pool, size_t bo_sz) in agx_pool_alloc_backing() 32 agx_pool_init(struct agx_pool *pool, struct agx_device *dev, in agx_pool_init() 45 agx_pool_cleanup(struct agx_pool *pool) in agx_pool_cleanup() 55 agx_pool_get_bo_handles(struct agx_pool *pool, uint32_t *handles) in agx_pool_get_bo_handles() 64 agx_pool_alloc_aligned_with_bo(struct agx_pool *pool, size_t sz, in agx_pool_alloc_aligned_with_bo() 94 agx_pool_upload(struct agx_pool *pool, const void *data, size_t sz) in agx_pool_upload() 100 agx_pool_upload_aligned_with_bo(struct agx_pool *pool, const void *data, in agx_pool_upload_aligned_with_bo()
|
| D | pool.h | 43 agx_pool_num_bos(struct agx_pool *pool) in agx_pool_num_bos() 58 agx_pool_alloc_aligned(struct agx_pool *pool, size_t sz, unsigned alignment) in agx_pool_alloc_aligned() 71 agx_pool_upload_aligned(struct agx_pool *pool, const void *data, size_t sz, in agx_pool_upload_aligned() 98 agx_pool_alloc_descs(struct agx_pool *pool, in agx_pool_alloc_descs() 112 #define agx_pool_alloc_desc(pool, name) \ argument 115 #define agx_pool_alloc_desc_array(pool, count, name) \ argument 118 #define agx_pool_alloc_desc_aggregate(pool, ...) \ argument
|
| /external/mesa3d/src/nouveau/vulkan/ |
| D | nvk_cmd_pool.c | 12 nvk_cmd_bo_create(struct nvk_cmd_pool *pool, bool force_gart, struct nvk_cmd_bo **bo_out) in nvk_cmd_bo_create() 37 nvk_cmd_bo_destroy(struct nvk_cmd_pool *pool, struct nvk_cmd_bo *bo) in nvk_cmd_bo_destroy() 51 struct nvk_cmd_pool *pool; in nvk_CreateCommandPool() local 74 nvk_cmd_pool_destroy_bos(struct nvk_cmd_pool *pool) in nvk_cmd_pool_destroy_bos() 88 nvk_cmd_pool_alloc_bo(struct nvk_cmd_pool *pool, bool force_gart, struct nvk_cmd_bo **bo_out) in nvk_cmd_pool_alloc_bo() 108 nvk_cmd_pool_free_bo_list(struct nvk_cmd_pool *pool, struct list_head *bos) in nvk_cmd_pool_free_bo_list() 115 nvk_cmd_pool_free_gart_bo_list(struct nvk_cmd_pool *pool, struct list_head *bos) in nvk_cmd_pool_free_gart_bo_list()
|
| /external/mesa3d/src/gallium/drivers/r600/ |
| D | compute_memory_pool.c | 75 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 …]
|
| /external/rust/crates/sharded-slab/src/tests/ |
| D | loom_pool.rs | 74 let pool: Pool<DontDropMe> = Pool::new(); in dont_drop() localVariable 93 let pool: Arc<Pool<DontDropMe>> = Arc::new(Pool::new()); in concurrent_create_with_clear() localVariable 136 let pool = Arc::new(Pool::new()); in racy_clear() localVariable 164 let pool = Arc::new(Pool::new_with_config::<TinyConfig>()); in clear_local_and_reuse() localVariable 198 let pool = Arc::new(Pool::<String>::new()); in create_mut_guard_prevents_access() localVariable 214 let pool = Arc::new(Pool::<String>::new()); in create_mut_guard() localVariable 233 let pool = Arc::new(Pool::<String>::new()); in create_mut_guard_2() localVariable 257 let pool = Arc::new(Pool::<String>::new()); in create_mut_guard_downgrade() localVariable 282 let pool = Arc::new(Pool::<String>::new()); in create_mut_guard_downgrade_clear() localVariable 311 let pool = Arc::new(Pool::<String>::new()); in create_mut_downgrade_during_clear() localVariable [all …]
|
| /external/jemalloc_new/include/jemalloc/internal/ |
| D | mutex_pool.h | 20 mutex_pool_mutex(mutex_pool_t *pool, uintptr_t key) { in mutex_pool_mutex() 27 mutex_pool_assert_not_held(tsdn_t *tsdn, mutex_pool_t *pool) { in mutex_pool_assert_not_held() 41 mutex_pool_lock(tsdn_t *tsdn, mutex_pool_t *pool, uintptr_t key) { in mutex_pool_lock() 49 mutex_pool_unlock(tsdn_t *tsdn, mutex_pool_t *pool, uintptr_t key) { in mutex_pool_unlock() 57 mutex_pool_lock2(tsdn_t *tsdn, mutex_pool_t *pool, uintptr_t key1, in mutex_pool_lock2() 75 mutex_pool_unlock2(tsdn_t *tsdn, mutex_pool_t *pool, uintptr_t key1, in mutex_pool_unlock2() 90 mutex_pool_assert_owner(tsdn_t *tsdn, mutex_pool_t *pool, uintptr_t key) { in mutex_pool_assert_owner()
|
| /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
| D | ConnectionPoolTest.java | 48 ConnectionPool pool = new ConnectionPool(Integer.MAX_VALUE, 100L, TimeUnit.NANOSECONDS); in connectionsEvictedWhenIdleLongEnough() local 80 ConnectionPool pool = new ConnectionPool(Integer.MAX_VALUE, 100L, TimeUnit.NANOSECONDS); in inUseConnectionsNotEvicted() local 104 ConnectionPool pool = new ConnectionPool(Integer.MAX_VALUE, 100L, TimeUnit.NANOSECONDS); in cleanupPrioritizesEarliestEviction() local 136 ConnectionPool pool = new ConnectionPool(2, 100L, TimeUnit.NANOSECONDS); in oldestConnectionsEvictedIfIdleLimitExceeded() local 160 ConnectionPool pool = new ConnectionPool(2, 100L, TimeUnit.NANOSECONDS); in leakedAllocation() local 174 private void allocateAndLeakAllocation(ConnectionPool pool, RealConnection connection) { in allocateAndLeakAllocation() 190 private RealConnection newConnection(ConnectionPool pool, Route route, long idleAtNanos) { in newConnection()
|
| /external/swiftshader/third_party/marl/src/ |
| D | pool_test.cpp | 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 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 …]
|
| /external/cronet/third_party/apache-portable-runtime/src/include/arch/win32/ |
| D | apr_arch_inherit.h | 27 #define APR_IMPLEMENT_INHERIT_SET(name, flag, pool, cleanup) \ argument 50 #define APR_IMPLEMENT_INHERIT_UNSET(name, flag, pool, cleanup) \ argument 74 #define APR_IMPLEMENT_INHERIT_SET(name, flag, pool, cleanup) \ argument 87 #define APR_IMPLEMENT_INHERIT_UNSET(name, flag, pool, cleanup) \ argument 102 #define APR_IMPLEMENT_INHERIT_SET(name, flag, pool, cleanup) \ argument 112 #define APR_IMPLEMENT_INHERIT_UNSET(name, flag, pool, cleanup) \ argument
|
| /external/cronet/third_party/apache-portable-runtime/src/file_io/unix/ |
| D | open.c | 94 apr_pool_t *pool) in apr_file_open() 258 APR_DECLARE(apr_status_t) apr_file_remove(const char *path, apr_pool_t *pool) in apr_file_remove() 287 apr_int32_t flags, apr_pool_t *pool) in apr_os_file_put() 335 apr_pool_t *pool) in apr_file_open_flags_stderr() 344 apr_pool_t *pool) in apr_file_open_flags_stdout() 353 apr_pool_t *pool) in apr_file_open_flags_stdin() 361 apr_pool_t *pool) in apr_file_open_stderr() 367 apr_pool_t *pool) in apr_file_open_stdout() 373 apr_pool_t *pool) in apr_file_open_stdin() 378 APR_IMPLEMENT_INHERIT_SET(file, flags, pool, apr_unix_file_cleanup) in APR_IMPLEMENT_INHERIT_SET() argument
|
| /external/cronet/third_party/apache-portable-runtime/src/memory/unix/ |
| D | apr_pools.c | 175 apr_pool_t *pool) in apr_allocator_owner_set() 668 APR_DECLARE(void *) apr_palloc(apr_pool_t *pool, apr_size_t in_size) in apr_palloc() 741 APR_DECLARE(void *) apr_pcalloc(apr_pool_t *pool, apr_size_t size) in apr_pcalloc() 757 APR_DECLARE(void) apr_pool_clear(apr_pool_t *pool) in apr_pool_clear() 798 APR_DECLARE(void) apr_pool_destroy(apr_pool_t *pool) in apr_pool_destroy() 873 apr_pool_t *pool; in apr_pool_create_ex() local 962 apr_pool_t *pool; in apr_pool_create_unmanaged_ex() local 1039 apr_pool_t *pool; member 1052 apr_pool_t *pool; in psprintf_flush() local 1117 APR_DECLARE(char *) apr_pvsprintf(apr_pool_t *pool, const char *fmt, va_list ap) in apr_pvsprintf() [all …]
|
| /external/mesa3d/src/gallium/frontends/nine/ |
| D | threadpool.c | 44 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()
|
| /external/deqp/framework/delibs/depool/ |
| D | deMemPool.c | 171 deMemPool *pool; in createPoolInternal() local 244 deMemPool *pool = createPoolInternal(DE_NULL); in deMemPool_createRoot() local 284 deMemPool *pool; in deMemPool_create() local 299 void deMemPool_destroy(deMemPool *pool) in deMemPool_destroy() 381 int deMemPool_getNumChildren(const deMemPool *pool) in deMemPool_getNumChildren() 393 int deMemPool_getNumAllocatedBytes(const deMemPool *pool, bool recurse) in deMemPool_getNumAllocatedBytes() 411 int deMemPool_getCapacity(const deMemPool *pool, bool recurse) in deMemPool_getCapacity() 429 DE_INLINE void *deMemPool_allocInternal(deMemPool *pool, size_t numBytes, uint32_t alignBytes) in deMemPool_allocInternal() 503 void *deMemPool_alloc(deMemPool *pool, size_t numBytes) in deMemPool_alloc() 521 void *deMemPool_alignedAlloc(deMemPool *pool, size_t numBytes, uint32_t alignBytes) in deMemPool_alignedAlloc() [all …]
|
| /external/crosvm/resources/src/ |
| D | address_allocator.rs | 489 let mut pool = AddressAllocator::new( in example() localVariable 524 let mut pool = AddressAllocator::new_from_list(Vec::new(), None, None).unwrap(); in empty_allocator() localVariable 560 let mut pool = AddressAllocator::new( in allocate_fails_exising_alloc() localVariable 581 let mut pool = AddressAllocator::new( in allocate_fails_not_enough_space() localVariable 606 let mut pool = AddressAllocator::new( in allocate_with_special_alignment() localVariable 638 let mut pool = AddressAllocator::new( in allocate_and_split_allocate_at() localVariable 737 let mut pool = AddressAllocator::new( in allocate_alignment() localVariable 758 let mut pool = AddressAllocator::new( in allocate_retrieve_alloc() localVariable 785 let mut pool = AddressAllocator::new( in allocate_with_alignment_allocator_alignment() localVariable 806 let mut pool = AddressAllocator::new( in allocate_with_alignment_custom_alignment() localVariable [all …]
|
| /external/cronet/third_party/apache-portable-runtime/src/file_io/os2/ |
| D | open.c | 33 …pen(apr_file_t **new, const char *fname, apr_int32_t flag, apr_fileperms_t perm, apr_pool_t *pool) in apr_file_open() 154 APR_DECLARE(apr_status_t) apr_file_remove(const char *path, apr_pool_t *pool) in apr_file_remove() 188 …_t) apr_os_file_put(apr_file_t **file, apr_os_file_t *thefile, apr_int32_t flags, apr_pool_t *pool) in apr_os_file_put() 227 apr_pool_t *pool) in apr_file_open_flags_stderr() 237 apr_pool_t *pool) in apr_file_open_flags_stdout() 247 apr_pool_t *pool) in apr_file_open_flags_stdin() 255 APR_DECLARE(apr_status_t) apr_file_open_stderr(apr_file_t **thefile, apr_pool_t *pool) in apr_file_open_stderr() 261 APR_DECLARE(apr_status_t) apr_file_open_stdout(apr_file_t **thefile, apr_pool_t *pool) in apr_file_open_stdout() 267 APR_DECLARE(apr_status_t) apr_file_open_stdin(apr_file_t **thefile, apr_pool_t *pool) in apr_file_open_stdin()
|
| /external/mesa3d/src/panfrost/vulkan/ |
| D | panvk_mempool.c | 53 panvk_pool_alloc_backing(struct panvk_pool *pool, size_t bo_sz) in panvk_pool_alloc_backing() 84 panvk_pool_alloc_aligned(struct panvk_pool *pool, size_t sz, unsigned alignment) in panvk_pool_alloc_aligned() 130 panvk_pool_reset(struct panvk_pool *pool) in panvk_pool_reset() 152 panvk_pool_cleanup(struct panvk_pool *pool) in panvk_pool_cleanup() 160 panvk_pool_get_bo_handles(struct panvk_pool *pool, uint32_t *handles) in panvk_pool_get_bo_handles()
|
| /external/boringssl/src/crypto/pool/ |
| D | pool.c | 45 CRYPTO_BUFFER_POOL *pool = OPENSSL_zalloc(sizeof(CRYPTO_BUFFER_POOL)); in CRYPTO_BUFFER_POOL_new() local 62 void CRYPTO_BUFFER_POOL_free(CRYPTO_BUFFER_POOL *pool) { in CRYPTO_BUFFER_POOL_free() 87 CRYPTO_BUFFER_POOL *pool) { in crypto_buffer_new() 166 CRYPTO_BUFFER_POOL *pool) { in CRYPTO_BUFFER_new() 189 CRYPTO_BUFFER_POOL *pool) { in CRYPTO_BUFFER_new_from_CBS() 194 const uint8_t *data, size_t len, CRYPTO_BUFFER_POOL *pool) { in CRYPTO_BUFFER_new_from_static_data_unsafe() 203 CRYPTO_BUFFER_POOL *const pool = buf->pool; in CRYPTO_BUFFER_free() local
|
| /external/cronet/third_party/boringssl/src/crypto/pool/ |
| D | pool.c | 45 CRYPTO_BUFFER_POOL *pool = OPENSSL_zalloc(sizeof(CRYPTO_BUFFER_POOL)); in CRYPTO_BUFFER_POOL_new() local 62 void CRYPTO_BUFFER_POOL_free(CRYPTO_BUFFER_POOL *pool) { in CRYPTO_BUFFER_POOL_free() 87 CRYPTO_BUFFER_POOL *pool) { in crypto_buffer_new() 166 CRYPTO_BUFFER_POOL *pool) { in CRYPTO_BUFFER_new() 189 CRYPTO_BUFFER_POOL *pool) { in CRYPTO_BUFFER_new_from_CBS() 194 const uint8_t *data, size_t len, CRYPTO_BUFFER_POOL *pool) { in CRYPTO_BUFFER_new_from_static_data_unsafe() 203 CRYPTO_BUFFER_POOL *const pool = buf->pool; in CRYPTO_BUFFER_free() local
|
| /external/mesa3d/src/gallium/drivers/llvmpipe/ |
| D | lp_cs_tpool.c | 38 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()
|