Home
last modified time | relevance | path

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

12345678910>>...13

/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/auxiliary/util/
Du_slab.c46 util_slab_get_block(struct util_slab_mempool *pool, in util_slab_get_block()
54 static void util_slab_add_new_page(struct util_slab_mempool *pool) in util_slab_add_new_page()
81 static void *util_slab_alloc_st(struct util_slab_mempool *pool) in util_slab_alloc_st()
95 static void util_slab_free_st(struct util_slab_mempool *pool, void *ptr) in util_slab_free_st()
106 static void *util_slab_alloc_mt(struct util_slab_mempool *pool) in util_slab_alloc_mt()
116 static void util_slab_free_mt(struct util_slab_mempool *pool, void *ptr) in util_slab_free_mt()
123 void util_slab_set_thread_safety(struct util_slab_mempool *pool, in util_slab_set_thread_safety()
137 void util_slab_create(struct util_slab_mempool *pool, in util_slab_create()
159 void util_slab_destroy(struct util_slab_mempool *pool) in util_slab_destroy()
/external/mesa3d/src/gallium/drivers/r600/
Dcompute_memory_pool.c79 struct compute_memory_pool* pool = (struct compute_memory_pool*) in compute_memory_pool_new() local
88 static void compute_memory_pool_init(struct compute_memory_pool * pool, in compute_memory_pool_init()
108 void compute_memory_pool_delete(struct compute_memory_pool* pool) in compute_memory_pool_delete()
124 struct compute_memory_pool* pool, in compute_memory_prealloc_chunk()
158 struct compute_memory_pool* pool, in compute_memory_postalloc_chunk()
187 void compute_memory_grow_pool(struct compute_memory_pool* pool, in compute_memory_grow_pool()
228 void compute_memory_shadow(struct compute_memory_pool* pool, in compute_memory_shadow()
247 void compute_memory_finalize_pending(struct compute_memory_pool* pool, in compute_memory_finalize_pending()
351 void compute_memory_free(struct compute_memory_pool* pool, int64_t id) in compute_memory_free()
388 struct compute_memory_pool* pool, in compute_memory_alloc()
[all …]
/external/fio/
Dsmalloc.c37 struct pool { struct
38 struct fio_mutex *lock; /* protects this pool */ argument
54 static struct pool mp[MAX_POOLS]; argument
59 static inline void pool_lock(struct pool *pool) in pool_lock()
64 static inline void pool_unlock(struct pool *pool) in pool_unlock()
89 static inline int ptr_valid(struct pool *pool, void *ptr) in ptr_valid()
101 static int blocks_iter(struct pool *pool, unsigned int pool_idx, in blocks_iter()
156 static int blocks_free(struct pool *pool, unsigned int pool_idx, in blocks_free()
162 static void set_blocks(struct pool *pool, unsigned int pool_idx, in set_blocks()
168 static void clear_blocks(struct pool *pool, unsigned int pool_idx, in clear_blocks()
[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/llvm/test/MC/ARM/
Dpool.s6 .global pool symbol
8 pool: label
/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::Create(1000)); in DEF_TEST() local
/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()
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
DWaitingThread.java62 private final RouteSpecificPool pool; field in WaitingThread
78 public WaitingThread(Condition cond, RouteSpecificPool pool) { in WaitingThread()
/external/deqp/framework/delibs/decpp/
DdePoolArray.cpp34 MemPool pool; in intArrayTest() local
108 MemPool pool; in alignedIntArrayTest() local
240 MemPool pool; in sideEffectTest() local
272 MemPool pool; in iteratorTest() local
/external/javassist/src/main/javassist/scopedpool/
DScopedClassPoolRepositoryImpl.java125 ScopedClassPool pool = createScopedClassPool(ucl, classpool); in registerClassLoader() local
148 ScopedClassPool pool = (ScopedClassPool)it.next(); in clearUnregisteredClassLoaders() local
170 ScopedClassPool pool = (ScopedClassPool)registeredCLs.remove(cl); in unregisterClassLoader() local

12345678910>>...13