Home
last modified time | relevance | path

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

12345678910>>...36

/external/rust/crates/futures-executor/tests/
Dlocal_pool.rs32 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/volley/core/src/test/java/com/android/volley/toolbox/
DPoolingByteArrayOutputStreamTest.java28 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/
Dvideo_frame_buffer_pool_unittest.cc24 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/
DSkBlockAllocatorTest.cpp24 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/libiio/src/iiod/
Dthread-pool.c46 struct thread_pool *pool; member
51 static void thread_pool_thread_started(struct thread_pool *pool) in thread_pool_thread_started()
58 static void thread_pool_thread_stopped(struct thread_pool *pool) in thread_pool_thread_stopped()
78 int thread_pool_add_thread(struct thread_pool *pool, in thread_pool_add_thread()
125 struct thread_pool *pool; in thread_pool_new() local
149 int thread_pool_get_poll_fd(const struct thread_pool *pool) in thread_pool_get_poll_fd()
154 void thread_pool_stop(struct thread_pool *pool) in thread_pool_stop()
164 void thread_pool_stop_and_wait(struct thread_pool *pool) in thread_pool_stop_and_wait()
182 void thread_pool_destroy(struct thread_pool *pool) in thread_pool_destroy()
/external/rust/crates/rayon-core/src/broadcast/
Dtest.rs28 let pool = ThreadPoolBuilder::new().num_threads(7).build().unwrap(); in broadcast_pool() localVariable
37 let pool = ThreadPoolBuilder::new().num_threads(7).build().unwrap(); in spawn_broadcast_pool() localVariable
48 let pool = ThreadPoolBuilder::new().num_threads(7).build().unwrap(); in broadcast_self() localVariable
57 let pool = ThreadPoolBuilder::new().num_threads(7).build().unwrap(); in spawn_broadcast_self() localVariable
145 let pool = ThreadPoolBuilder::new().num_threads(7).build().unwrap(); in broadcast_panic_one() localVariable
163 let pool = ThreadPoolBuilder::new() in spawn_broadcast_panic_one() localVariable
183 let pool = ThreadPoolBuilder::new().num_threads(7).build().unwrap(); in broadcast_panic_many() localVariable
201 let pool = ThreadPoolBuilder::new() in spawn_broadcast_panic_many() localVariable
221 let pool = ThreadPoolBuilder::new().num_threads(7).build().unwrap(); in broadcast_sleep_race() localVariable
/external/mesa3d/src/panfrost/lib/
Dpan_pool.c34 panfrost_pool_alloc_backing(struct pan_pool *pool, size_t bo_sz) in panfrost_pool_alloc_backing()
53 panfrost_pool_init(struct pan_pool *pool, void *memctx, in panfrost_pool_init()
67 panfrost_pool_cleanup(struct pan_pool *pool) in panfrost_pool_cleanup()
76 panfrost_pool_get_bo_handles(struct pan_pool *pool, uint32_t *handles) in panfrost_pool_get_bo_handles()
95 panfrost_pool_alloc_aligned(struct pan_pool *pool, size_t sz, unsigned alignment) in panfrost_pool_alloc_aligned()
121 panfrost_pool_upload(struct pan_pool *pool, const void *data, size_t sz) in panfrost_pool_upload()
127 panfrost_pool_upload_aligned(struct pan_pool *pool, const void *data, size_t sz, unsigned alignment) in panfrost_pool_upload_aligned()
/external/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()
288 static void compute_memory_defrag(struct compute_memory_pool *pool, in compute_memory_defrag()
318 static int compute_memory_promote_item(struct compute_memory_pool *pool, in compute_memory_promote_item()
367 void compute_memory_demote_item(struct compute_memory_pool *pool, in compute_memory_demote_item()
423 static void compute_memory_move_item(struct compute_memory_pool *pool, in compute_memory_move_item()
[all …]
/external/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 …]
/external/jemalloc_new/include/jemalloc/internal/
Dmutex_pool.h20 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/
DConnectionPoolTest.java48 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/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()
/external/deqp/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 …]
/external/perfetto/src/trace_processor/tables/
Dpy_tables_benchmark.cc66 StringPool pool; in BM_TableInsert() local
76 StringPool pool; in BM_TableIteratorChild() local
99 StringPool pool; in BM_TableFilterAndSortRoot() local
123 StringPool pool; in BM_TableFilterRootId() local
137 StringPool pool; in BM_TableFilterRootIdAndOther() local
156 StringPool pool; in BM_TableFilterChildId() local
173 StringPool pool; in BM_TableFilterChildIdAndSortedInRoot() local
196 StringPool pool; in BM_TableFilterRootNonNullEqMatchMany() local
215 StringPool pool; in BM_TableFilterRootMultipleNonNull() local
237 StringPool pool; in BM_TableFilterRootNullableEqMatchMany() local
[all …]
/external/crosvm/resources/src/
Daddress_allocator.rs489 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/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_cs_tpool.c38 struct lp_cs_tpool *pool = data; in lp_cs_tpool_worker() local
75 struct lp_cs_tpool *pool = CALLOC_STRUCT(lp_cs_tpool); in lp_cs_tpool_create() local
92 lp_cs_tpool_destroy(struct lp_cs_tpool *pool) in lp_cs_tpool_destroy()
112 lp_cs_tpool_queue_task(struct lp_cs_tpool *pool, in lp_cs_tpool_queue_task()
146 lp_cs_tpool_wait_for_task(struct lp_cs_tpool *pool, in lp_cs_tpool_wait_for_task()
/external/cronet/third_party/boringssl/src/crypto/pool/
Dpool.c45 CRYPTO_BUFFER_POOL *pool = OPENSSL_malloc(sizeof(CRYPTO_BUFFER_POOL)); in CRYPTO_BUFFER_POOL_new() local
63 void CRYPTO_BUFFER_POOL_free(CRYPTO_BUFFER_POOL *pool) { in CRYPTO_BUFFER_POOL_free()
88 CRYPTO_BUFFER_POOL *pool) { in crypto_buffer_new()
168 CRYPTO_BUFFER_POOL *pool) { in CRYPTO_BUFFER_new()
192 CRYPTO_BUFFER_POOL *pool) { in CRYPTO_BUFFER_new_from_CBS()
197 const uint8_t *data, size_t len, CRYPTO_BUFFER_POOL *pool) { in CRYPTO_BUFFER_new_from_static_data_unsafe()
206 CRYPTO_BUFFER_POOL *const pool = buf->pool; in CRYPTO_BUFFER_free() local
/external/boringssl/src/crypto/pool/
Dpool.c45 CRYPTO_BUFFER_POOL *pool = OPENSSL_malloc(sizeof(CRYPTO_BUFFER_POOL)); in CRYPTO_BUFFER_POOL_new() local
63 void CRYPTO_BUFFER_POOL_free(CRYPTO_BUFFER_POOL *pool) { in CRYPTO_BUFFER_POOL_free()
88 CRYPTO_BUFFER_POOL *pool) { in crypto_buffer_new()
168 CRYPTO_BUFFER_POOL *pool) { in CRYPTO_BUFFER_new()
192 CRYPTO_BUFFER_POOL *pool) { in CRYPTO_BUFFER_new_from_CBS()
197 const uint8_t *data, size_t len, CRYPTO_BUFFER_POOL *pool) { in CRYPTO_BUFFER_new_from_static_data_unsafe()
206 CRYPTO_BUFFER_POOL *const pool = buf->pool; in CRYPTO_BUFFER_free() local
/external/rust/crates/tokio-util/tests/
Dspawn_pinned.rs12 let pool = task::LocalPoolHandle::new(1); in can_spawn_not_send_future() localVariable
31 let pool = task::LocalPoolHandle::new(1); in can_drop_future_and_still_get_output() localVariable
56 let pool = task::LocalPoolHandle::new(2); in can_spawn_multiple_futures() localVariable
75 let pool = task::LocalPoolHandle::new(1); in task_panic_propagates() localVariable
99 let pool = task::LocalPoolHandle::new(1); in callback_panic_does_not_kill_worker() localVariable
125 let pool = task::LocalPoolHandle::new(1); in task_cancellation_propagates() localVariable
162 let pool = task::LocalPoolHandle::new(2); in tasks_are_balanced() localVariable
199 let pool = task::LocalPoolHandle::new(3); in spawn_by_idx() localVariable
/external/mesa3d/src/gallium/drivers/iris/
Diris_border_color.c66 iris_reset_border_color_pool(struct iris_border_color_pool *pool, in iris_reset_border_color_pool()
88 struct iris_border_color_pool *pool = &ice->state.border_color_pool; in iris_init_border_color_pool() local
99 struct iris_border_color_pool *pool = &ice->state.border_color_pool; in iris_destroy_border_color_pool() local
111 struct iris_border_color_pool *pool = &ice->state.border_color_pool; in iris_border_color_pool_reserve() local
136 struct iris_border_color_pool *pool = &ice->state.border_color_pool; in iris_upload_border_color() local
/external/turbine/java/com/google/turbine/bytecode/
DClassWriter.java37 ConstantPool pool = new ConstantPool(); in writeClass() local
59 ConstantPool pool, ByteArrayDataOutput output, ClassFile.MethodInfo method) { in writeMethod()
67 ConstantPool pool, ByteArrayDataOutput output, ClassFile.FieldInfo field) { in writeField()
75 ConstantPool pool, ByteArrayDataOutput body, List<Attribute> attributes) { in writeAttributes()
114 ConstantPool pool, ByteArrayDataOutput body, ClassFile classfile) { in finishClass()
/external/mesa3d/src/intel/vulkan/
Danv_allocator.c365 anv_block_pool_init(struct anv_block_pool *pool, in anv_block_pool_init()
433 anv_block_pool_finish(struct anv_block_pool *pool) in anv_block_pool_finish()
451 anv_block_pool_expand_range(struct anv_block_pool *pool, in anv_block_pool_expand_range()
568 anv_block_pool_map(struct anv_block_pool *pool, int32_t offset, uint32_t size) in anv_block_pool_map()
615 anv_block_pool_grow(struct anv_block_pool *pool, struct anv_block_state *state, in anv_block_pool_grow()
735 anv_block_pool_alloc_new(struct anv_block_pool *pool, in anv_block_pool_alloc_new()
788 anv_block_pool_alloc(struct anv_block_pool *pool, in anv_block_pool_alloc()
808 anv_block_pool_alloc_back(struct anv_block_pool *pool, in anv_block_pool_alloc_back()
824 anv_state_pool_init(struct anv_state_pool *pool, in anv_state_pool_init()
861 anv_state_pool_finish(struct anv_state_pool *pool) in anv_state_pool_finish()
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dmemory_pool.c38 void memory_pool_init(struct memory_pool * pool) in memory_pool_init()
44 void memory_pool_destroy(struct memory_pool * pool) in memory_pool_destroy()
53 static void refill_pool(struct memory_pool * pool) in refill_pool()
71 void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes) in memory_pool_malloc()
/external/javassist/src/main/javassist/bytecode/
DInstructionPrinter.java51 ConstPool pool = info.getConstPool(); in print() local
73 public static String instructionString(CodeIterator iter, int pos, ConstPool pool) { in instructionString()
209 private static String classInfo(ConstPool pool, int index) { in classInfo()
214 private static String interfaceMethodInfo(ConstPool pool, int index) { in interfaceMethodInfo()
221 private static String methodInfo(ConstPool pool, int index) { in methodInfo()
229 private static String fieldInfo(ConstPool pool, int index) { in fieldInfo()
276 private static String ldc(ConstPool pool, int index) { in ldc()
/external/guava/guava-tests/test/com/google/common/collect/
DInternersTest.java38 Interner<String> pool = Interners.newStrongInterner(); in testStrong_simplistic() local
44 Interner<String> pool = Interners.newStrongInterner(); in testStrong_null() local
64 Interner<String> pool = Interners.newWeakInterner(); in testWeak_simplistic() local
70 Interner<String> pool = Interners.newWeakInterner(); in testWeak_null() local
92 Interner<Integer> pool = Interners.newWeakInterner(); in testWeak_afterGC() local

12345678910>>...36