Home
last modified time | relevance | path

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

12345678910>>...14

/external/volley/src/test/java/com/android/volley/toolbox/
DPoolingByteArrayOutputStreamTest.java28 ByteArrayPool pool = new ByteArrayPool(32768); in pooledOneBuffer() local
35 ByteArrayPool pool = new ByteArrayPool(32768); in pooledIndividualWrites() local
42 ByteArrayPool pool = new ByteArrayPool(0); in unpooled() local
49 ByteArrayPool pool = new ByteArrayPool(0); in unpooledIndividualWrites() local
55 private void writeOneBuffer(ByteArrayPool pool) throws IOException { in writeOneBuffer()
66 private void writeBytesIndividually(ByteArrayPool pool) { in writeBytesIndividually()
DByteArrayPoolTest.java28 ByteArrayPool pool = new ByteArrayPool(32); in reusesBuffer() local
44 ByteArrayPool pool = new ByteArrayPool(32); in obeysSizeLimit() local
65 ByteArrayPool pool = new ByteArrayPool(32); in returnsBufferWithRightSize() local
/external/mesa3d/src/gallium/state_trackers/nine/
Dthreadpool.c43 struct threadpool *pool = data; in threadpool_worker() local
82 struct threadpool *pool = calloc(1, sizeof(*pool)); in _mesa_threadpool_create() local
99 _mesa_threadpool_destroy(struct NineSwapChain9 *swapchain, struct threadpool *pool) in _mesa_threadpool_destroy()
132 _mesa_threadpool_queue_task(struct threadpool *pool, in _mesa_threadpool_queue_task()
174 _mesa_threadpool_wait_for_task(struct threadpool *pool, in _mesa_threadpool_wait_for_task()
Dnine_helpers.c26 nine_range_pool_more(struct nine_range_pool *pool) in nine_range_pool_more()
53 nine_range_pool_get(struct nine_range_pool *pool, int16_t bgn, int16_t end) in nine_range_pool_get()
66 nine_ranges_coalesce(struct nine_range *r, struct nine_range_pool *pool) in nine_ranges_coalesce()
80 struct nine_range_pool *pool) in nine_ranges_insert()
/external/fio/
Dsmalloc.c42 struct pool { struct
43 struct fio_mutex *lock; /* protects this pool */ argument
59 static struct pool mp[MAX_POOLS]; argument
63 static inline int ptr_valid(struct pool *pool, void *ptr) in ptr_valid()
75 static int blocks_iter(struct pool *pool, unsigned int pool_idx, in blocks_iter()
130 static int blocks_free(struct pool *pool, unsigned int pool_idx, in blocks_free()
136 static void set_blocks(struct pool *pool, unsigned int pool_idx, in set_blocks()
142 static void clear_blocks(struct pool *pool, unsigned int pool_idx, in clear_blocks()
155 static bool add_pool(struct pool *pool, unsigned int alloc_size) in add_pool()
226 static void cleanup_pool(struct pool *pool) in cleanup_pool()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dcompute_memory_pool.c52 struct compute_memory_pool* pool = (struct compute_memory_pool*) in compute_memory_pool_new() local
75 static void compute_memory_pool_init(struct compute_memory_pool * pool, in compute_memory_pool_init()
90 void compute_memory_pool_delete(struct compute_memory_pool* pool) in compute_memory_pool_delete()
114 struct compute_memory_pool* pool, in compute_memory_prealloc_chunk()
147 struct compute_memory_pool* pool, in compute_memory_postalloc_chunk()
189 int compute_memory_grow_defrag_pool(struct compute_memory_pool *pool, in compute_memory_grow_defrag_pool()
254 void compute_memory_shadow(struct compute_memory_pool* pool, in compute_memory_shadow()
275 int compute_memory_finalize_pending(struct compute_memory_pool* pool, in compute_memory_finalize_pending()
348 void compute_memory_defrag(struct compute_memory_pool *pool, in compute_memory_defrag()
378 int compute_memory_promote_item(struct compute_memory_pool *pool, in compute_memory_promote_item()
[all …]
/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
55 Interner<String> pool = Interners.newWeakInterner(); in testWeak_simplistic() local
61 Interner<String> pool = Interners.newWeakInterner(); in testWeak_null() local
72 Interner<Integer> pool = Interners.newWeakInterner(); in testWeak_afterGC() local
/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/libunwind/src/mi/
Dmempool.c86 free_object (struct mempool *pool, void *object) in free_object()
96 add_memory (struct mempool *pool, char *mem, size_t size, size_t obj_size) in add_memory()
105 expand (struct mempool *pool) in expand()
127 mempool_init (struct mempool *pool, size_t obj_size, size_t reserve) in mempool_init()
154 mempool_alloc (struct mempool *pool) in mempool_alloc()
175 mempool_free (struct mempool *pool, void *object) in mempool_free()
/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/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/mesa3d/src/util/
Dslab.c126 void slab_create_child(struct slab_child_pool *pool, in slab_create_child()
141 void slab_destroy_child(struct slab_child_pool *pool) in slab_destroy_child()
175 slab_add_new_page(struct slab_child_pool *pool) in slab_add_new_page()
205 slab_alloc(struct slab_child_pool *pool) in slab_alloc()
241 void slab_free(struct slab_child_pool *pool, void *ptr) in slab_free()
282 slab_alloc_st(struct slab_mempool *pool) in slab_alloc_st()
291 slab_free_st(struct slab_mempool *pool, void *ptr) in slab_free_st()
297 slab_destroy(struct slab_mempool *pool) in slab_destroy()
310 slab_create(struct slab_mempool *pool, in slab_create()
/external/skia/tests/
DGrMemoryPoolTest.cpp50 GrMemoryPool* pool = new GrMemoryPool(preallocSize, minAllocSize); in SetAllocator() local
235 AutoPoolReleaser(GrMemoryPool& pool): fPool(pool) { in AutoPoolReleaser()
254 auto allocateMemory = [](GrMemoryPool& pool, AutoPoolReleaser& r) { in DEF_TEST()
263 GrMemoryPool pool(0, 0); in DEF_TEST() local
270 GrMemoryPool pool(kSmallestMinAllocSize, kMinAllocSize); in DEF_TEST() local
276 GrMemoryPool pool(kSmallestMinAllocSize, kSmallestMinAllocSize / 2); in DEF_TEST() local
286 GrMemoryPool pool(kPreallocSize, 0); in DEF_TEST() local
293 GrMemoryPool pool(0, kMinAllocSize); in DEF_TEST() local
307 GrMemoryPool pool(kSmallestMinAllocSize, kMinAllocSize); in DEF_TEST() local
334 auto allocateObjects = [](DataObjectPool& pool, AutoPoolReleaser& r) -> size_t { in DEF_TEST()
[all …]
DCachedDataTest.cpp29 static SkCachedData* make_data(size_t size, SkDiscardableMemoryPool* pool) { in make_data()
42 size_t size, SkDiscardableMemoryPool* pool) { in test_locking()
75 sk_sp<SkDiscardableMemoryPool> pool(SkDiscardableMemoryPool::Make(1000)); in DEF_TEST() local
/external/llvm/test/MC/ARM/
Dpool.s6 .global pool symbol
8 pool: label
/external/mesa3d/src/intel/vulkan/
Danv_allocator.c250 anv_block_pool_init(struct anv_block_pool *pool, in anv_block_pool_init()
300 anv_block_pool_finish(struct anv_block_pool *pool) in anv_block_pool_finish()
343 anv_block_pool_grow(struct anv_block_pool *pool, struct anv_block_state *state) in anv_block_pool_grow()
502 anv_block_pool_alloc_new(struct anv_block_pool *pool, in anv_block_pool_alloc_new()
532 anv_block_pool_alloc(struct anv_block_pool *pool) in anv_block_pool_alloc()
556 anv_block_pool_alloc_back(struct anv_block_pool *pool) in anv_block_pool_alloc_back()
579 anv_block_pool_free(struct anv_block_pool *pool, int32_t offset) in anv_block_pool_free()
589 anv_fixed_size_state_pool_init(struct anv_fixed_size_state_pool *pool, in anv_fixed_size_state_pool_init()
602 anv_fixed_size_state_pool_alloc(struct anv_fixed_size_state_pool *pool, in anv_fixed_size_state_pool_alloc()
636 anv_fixed_size_state_pool_free(struct anv_fixed_size_state_pool *pool, in anv_fixed_size_state_pool_free()
[all …]
/external/boringssl/src/crypto/pool/
Dpool.c41 CRYPTO_BUFFER_POOL *pool = OPENSSL_malloc(sizeof(CRYPTO_BUFFER_POOL)); in CRYPTO_BUFFER_POOL_new() local
58 void CRYPTO_BUFFER_POOL_free(CRYPTO_BUFFER_POOL *pool) { in CRYPTO_BUFFER_POOL_free()
75 CRYPTO_BUFFER_POOL *pool) { in CRYPTO_BUFFER_new()
138 CRYPTO_BUFFER* CRYPTO_BUFFER_new_from_CBS(CBS *cbs, CRYPTO_BUFFER_POOL *pool) { in CRYPTO_BUFFER_new_from_CBS()
147 CRYPTO_BUFFER_POOL *const pool = buf->pool; in CRYPTO_BUFFER_free() local
/external/javassist/src/main/javassist/bytecode/
DInstructionPrinter.java41 ConstPool pool = info.getConstPool(); in print() local
59 public static String instructionString(CodeIterator iter, int pos, ConstPool pool) { in instructionString()
195 private static String classInfo(ConstPool pool, int index) { in classInfo()
200 private static String interfaceMethodInfo(ConstPool pool, int index) { in interfaceMethodInfo()
207 private static String methodInfo(ConstPool pool, int index) { in methodInfo()
215 private static String fieldInfo(ConstPool pool, int index) { in fieldInfo()
262 private static String ldc(ConstPool pool, int index) { in ldc()
/external/webrtc/webrtc/common_video/
Di420_buffer_pool_unittest.cc19 I420BufferPool pool; in TEST() local
39 I420BufferPool pool; in TEST() local
56 I420BufferPool pool; in TEST() local
64 I420BufferPool pool; in TEST() local
/external/libmicrohttpd/src/microhttpd/
Dmemorypool.c89 struct MemoryPool *pool; in MHD_pool_create() local
135 MHD_pool_destroy (struct MemoryPool *pool) in MHD_pool_destroy()
165 MHD_pool_allocate (struct MemoryPool *pool, in MHD_pool_allocate()
208 MHD_pool_reallocate (struct MemoryPool *pool, in MHD_pool_reallocate()
262 MHD_pool_reset (struct MemoryPool *pool, in MHD_pool_reset()
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_bufmgr_pool.c109 struct pool_pb_manager *pool = pool_buf->mgr; in pool_buffer_destroy() local
124 struct pool_pb_manager *pool = pool_buf->mgr; in pool_buffer_map() local
149 struct pool_pb_manager *pool = pool_buf->mgr; in pool_buffer_validate() local
159 struct pool_pb_manager *pool = pool_buf->mgr; in pool_buffer_fence() local
170 struct pool_pb_manager *pool = pool_buf->mgr; in pool_buffer_get_base_buffer() local
192 struct pool_pb_manager *pool = pool_pb_manager(mgr); in pool_bufmgr_create_buffer() local
240 struct pool_pb_manager *pool = pool_pb_manager(mgr); in pool_bufmgr_destroy() local
260 struct pool_pb_manager *pool; in pool_bufmgr_create() local
/external/valgrind/memcheck/tests/
Dleak-pool.c15 struct pool struct
23 allocate_from_pool(struct pool *p, size_t n) in allocate_from_pool() argument
/external/javassist/src/main/javassist/
DTranslator.java42 void start(ClassPool pool) in start()
68 void onLoad(ClassPool pool, String classname) in onLoad()
/external/llvm/unittests/Support/
DStringPool.cpp18 StringPool pool; in TEST() local
25 StringPool pool; in TEST() local
/external/javassist/sample/vector/
DVectorAssistant.java52 public CtClass[] assist(ClassPool pool, String vec, String[] args) in assist()
84 public CtClass makeSubclass(ClassPool pool, CtClass type) in makeSubclass()
109 public CtClass makeSubclass2(ClassPool pool, CtClass type) in makeSubclass2()

12345678910>>...14