Searched refs:getBuf (Results 1 – 6 of 6) sorted by relevance
25 byte[] buf1 = pool.getBuf(16); in testReusesBuffer()26 byte[] buf2 = pool.getBuf(16); in testReusesBuffer()31 byte[] buf3 = pool.getBuf(16); in testReusesBuffer()32 byte[] buf4 = pool.getBuf(16); in testReusesBuffer()41 byte[] buf1 = pool.getBuf(16); in testObeysSizeLimit()42 byte[] buf2 = pool.getBuf(16); in testObeysSizeLimit()43 byte[] buf3 = pool.getBuf(16); in testObeysSizeLimit()49 byte[] buf4 = pool.getBuf(16); in testObeysSizeLimit()50 byte[] buf5 = pool.getBuf(16); in testObeysSizeLimit()51 byte[] buf6 = pool.getBuf(16); in testObeysSizeLimit()[all …]
53 buf = mPool.getBuf(Math.max(size, DEFAULT_SIZE)); in PoolingByteArrayOutputStream()76 byte[] newbuf = mPool.getBuf((count + i) * 2); in expand()
91 public synchronized byte[] getBuf(int len) { in getBuf() method in ByteArrayPool
210 buffer = mPool.getBuf(1024); in entityToBytes()
516 byte[] getBuf() { in getBuf() method in Connection
294 buf = mConnection.getBuf(); in readResponse()