Searched refs:mPool (Results 1 – 4 of 4) sorted by relevance
33 private final ByteArrayPool mPool; field in PoolingByteArrayOutputStream52 mPool = pool; in PoolingByteArrayOutputStream()53 buf = mPool.getBuf(Math.max(size, DEFAULT_SIZE)); in PoolingByteArrayOutputStream()58 mPool.returnBuf(buf); in close()65 mPool.returnBuf(buf); in finalize()76 byte[] newbuf = mPool.getBuf((count + i) * 2); in expand()78 mPool.returnBuf(buf); in expand()
62 protected final ByteArrayPool mPool; field in BasicNetwork79 mPool = pool; in BasicNetwork()203 new PoolingByteArrayOutputStream(mPool, (int) entity.getContentLength()); in entityToBytes()210 buffer = mPool.getBuf(1024); in entityToBytes()225 mPool.returnBuf(buffer); in entityToBytes()
78 private final Object[] mPool; field in Pools.SimplePool93 mPool = new Object[maxPoolSize]; in SimplePool()101 T instance = (T) mPool[lastPooledIndex]; in acquire()102 mPool[lastPooledIndex] = null; in acquire()114 if (mPoolSize < mPool.length) { in release()115 mPool[mPoolSize] = instance; in release()124 if (mPool[i] == instance) { in isInPool()
98 private final SQLiteConnectionPool mPool; field in SQLiteConnection163 mPool = pool; in SQLiteConnection()176 if (mPool != null && mConnectionPtr != 0) { in finalize()177 mPool.onConnectionLeaked(); in finalize()