/external/rust/android-crates-io/crates/futures-executor/tests/ |
D | local_pool.rs | 33 let mut pool = LocalPool::new(); in run_until_single_future() localVariable 45 let mut pool = LocalPool::new(); in run_until_ignores_spawned() localVariable 54 let mut pool = LocalPool::new(); in run_until_executes_spawned() localVariable 69 let mut pool = LocalPool::new(); in run_returns_if_empty() localVariable 79 let mut pool = LocalPool::new(); in run_executes_spawned() localVariable 110 let mut pool = LocalPool::new(); in run_spawn_many() localVariable 132 let mut pool = LocalPool::new(); in try_run_one_returns_if_empty() localVariable 142 let mut pool = LocalPool::new(); in try_run_one_executes_one_ready() localVariable 175 let mut pool = LocalPool::new(); in try_run_one_returns_on_no_progress() localVariable 212 let mut pool = LocalPool::new(); in try_run_one_runs_sub_futures() localVariable [all …]
|
/external/rust/android-crates-io/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/android-crates-io/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/vulkan/ |
D | hk_cmd_pool.c | 15 hk_cmd_bo_create(struct hk_cmd_pool *pool, bool usc, struct hk_cmd_bo **bo_out) in hk_cmd_bo_create() 39 hk_cmd_bo_destroy(struct hk_cmd_pool *pool, struct hk_cmd_bo *bo) in hk_cmd_bo_destroy() 53 struct hk_cmd_pool *pool; in hk_CreateCommandPool() local 76 hk_cmd_pool_destroy_bos(struct hk_cmd_pool *pool) in hk_cmd_pool_destroy_bos() 90 hk_cmd_pool_alloc_bo(struct hk_cmd_pool *pool, bool usc, in hk_cmd_pool_alloc_bo() 115 hk_cmd_pool_free_bo_list(struct hk_cmd_pool *pool, struct list_head *bos) in hk_cmd_pool_free_bo_list() 129 hk_cmd_pool_free_usc_bo_list(struct hk_cmd_pool *pool, struct list_head *bos) in hk_cmd_pool_free_usc_bo_list()
|
/external/mesa3d/src/nouveau/vulkan/ |
D | nvk_cmd_pool.c | 13 nvk_cmd_mem_create(struct nvk_cmd_pool *pool, bool force_gart, struct nvk_cmd_mem **mem_out) in nvk_cmd_mem_create() 41 nvk_cmd_mem_destroy(struct nvk_cmd_pool *pool, struct nvk_cmd_mem *mem) in nvk_cmd_mem_destroy() 54 struct nvk_cmd_pool *pool; in nvk_CreateCommandPool() local 77 nvk_cmd_pool_destroy_mem(struct nvk_cmd_pool *pool) in nvk_cmd_pool_destroy_mem() 91 nvk_cmd_pool_alloc_mem(struct nvk_cmd_pool *pool, bool force_gart, in nvk_cmd_pool_alloc_mem() 112 nvk_cmd_pool_free_mem_list(struct nvk_cmd_pool *pool, in nvk_cmd_pool_free_mem_list() 120 nvk_cmd_pool_free_gart_mem_list(struct nvk_cmd_pool *pool, in nvk_cmd_pool_free_gart_mem_list()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | compute_memory_pool.c | 57 struct compute_memory_pool* pool = (struct compute_memory_pool*) in compute_memory_pool_new() local 80 static void compute_memory_pool_init(struct compute_memory_pool * pool, in compute_memory_pool_init() 95 void compute_memory_pool_delete(struct compute_memory_pool* pool) in compute_memory_pool_delete() 114 static int compute_memory_grow_defrag_pool(struct compute_memory_pool *pool, in compute_memory_grow_defrag_pool() 176 static void compute_memory_shadow(struct compute_memory_pool* pool, in compute_memory_shadow() 197 int compute_memory_finalize_pending(struct compute_memory_pool* pool, in compute_memory_finalize_pending() 307 static void compute_memory_defrag(struct compute_memory_pool *pool, in compute_memory_defrag() 337 static int compute_memory_promote_item(struct compute_memory_pool *pool, in compute_memory_promote_item() 386 void compute_memory_demote_item(struct compute_memory_pool *pool, in compute_memory_demote_item() 447 static void compute_memory_move_item(struct compute_memory_pool *pool, in compute_memory_move_item() [all …]
|
/external/rust/android-crates-io/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/rust/android-crates-io/crates/etherparse/src/defrag/ |
D | ip_defrag_pool.rs | 259 let pool = IpDefragPool::<(), ()>::new(); in new() localVariable 265 let pool = IpDefragPool::<u32, (u32, u32)>::new(); in new() localVariable 275 let pool: IpDefragPool<(), ()> = Default::default(); in default() localVariable 281 let pool: IpDefragPool<u32, (u32, u32)> = Default::default(); in default() localVariable 423 let mut pool = IpDefragPool::<(), ()>::new(); in process_sliced_packet() localVariable 439 let mut pool = IpDefragPool::<(), ()>::new(); in process_sliced_packet() localVariable 474 let mut pool = IpDefragPool::<(), ()>::new(); in process_sliced_packet() localVariable 584 let mut pool = IpDefragPool::<(), ()>::new(); in process_sliced_packet() localVariable 693 let mut pool = IpDefragPool::<(), ()>::new(); in process_sliced_packet() localVariable 728 let mut pool = IpDefragPool::<(), ()>::new(); in process_sliced_packet() localVariable [all …]
|
/external/cronet/tot/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/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, const char *label, in agx_pool_init() 46 agx_pool_cleanup(struct agx_pool *pool) in agx_pool_cleanup() 56 agx_pool_alloc_aligned_with_bo(struct agx_pool *pool, size_t sz, in agx_pool_alloc_aligned_with_bo() 86 agx_pool_upload(struct agx_pool *pool, const void *data, size_t sz) in agx_pool_upload() 92 agx_pool_upload_aligned_with_bo(struct agx_pool *pool, const void *data, in agx_pool_upload_aligned_with_bo()
|
/external/cronet/stable/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/stable/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/tot/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/stable/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/cronet/tot/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 | 26 struct threadpool *pool = data; in threadpool_worker() local 72 struct threadpool *pool = calloc(1, sizeof(*pool)); in _mesa_threadpool_create() local 91 _mesa_threadpool_destroy(struct NineSwapChain9 *swapchain, struct threadpool *pool) in _mesa_threadpool_destroy() 124 _mesa_threadpool_queue_task(struct threadpool *pool, in _mesa_threadpool_queue_task() 166 _mesa_threadpool_wait_for_task(struct threadpool *pool, in _mesa_threadpool_wait_for_task()
|
/external/mesa3d/src/panfrost/vulkan/ |
D | panvk_mempool.c | 56 panvk_pool_alloc_backing(struct panvk_pool *pool, size_t sz) in panvk_pool_alloc_backing() 123 panvk_pool_alloc_mem(struct panvk_pool *pool, struct panvk_pool_alloc_info info) in panvk_pool_alloc_mem() 166 panvk_pool_alloc_aligned(struct panvk_pool *pool, size_t sz, unsigned alignment) in panvk_pool_alloc_aligned() 205 panvk_pool_reset(struct panvk_pool *pool) in panvk_pool_reset() 230 panvk_pool_cleanup(struct panvk_pool *pool) in panvk_pool_cleanup() 236 panvk_pool_get_bo_handles(struct panvk_pool *pool, uint32_t *handles) in panvk_pool_get_bo_handles()
|
/external/deqp/framework/delibs/depool/ |
D | deMemPool.c | 171 deMemPool *pool; in createPoolInternal() local 244 deMemPool *pool = createPoolInternal(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 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 …]
|