Home
last modified time | relevance | path

Searched refs:getBuf (Results 1 – 22 of 22) sorted by relevance

/external/volley/src/test/java/com/android/volley/toolbox/
DByteArrayPoolTest.java30 byte[] buf1 = pool.getBuf(16); in reusesBuffer()
31 byte[] buf2 = pool.getBuf(16); in reusesBuffer()
36 byte[] buf3 = pool.getBuf(16); in reusesBuffer()
37 byte[] buf4 = pool.getBuf(16); in reusesBuffer()
47 byte[] buf1 = pool.getBuf(16); in obeysSizeLimit()
48 byte[] buf2 = pool.getBuf(16); in obeysSizeLimit()
49 byte[] buf3 = pool.getBuf(16); in obeysSizeLimit()
55 byte[] buf4 = pool.getBuf(16); in obeysSizeLimit()
56 byte[] buf5 = pool.getBuf(16); in obeysSizeLimit()
57 byte[] buf6 = pool.getBuf(16); in obeysSizeLimit()
[all …]
/external/volley/src/main/java/com/android/volley/toolbox/
DPoolingByteArrayOutputStream.java53 buf = mPool.getBuf(Math.max(size, DEFAULT_SIZE)); in PoolingByteArrayOutputStream()
75 byte[] newbuf = mPool.getBuf((count + i) * 2); in expand()
DByteArrayPool.java89 public synchronized byte[] getBuf(int len) { in getBuf() method in ByteArrayPool
DBasicNetwork.java288 buffer = mPool.getBuf(1024); in inputStreamToBytes()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseWrapCipher.java380 return wrapEngine.wrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
391 return wrapEngine.unwrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
428 enc = wrapEngine.wrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
439 enc = wrapEngine.unwrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
585 public byte[] getBuf() in getBuf() method in BaseWrapCipher.ErasableOutputStream
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseWrapCipher.java384 return wrapEngine.wrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
395 return wrapEngine.unwrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
432 enc = wrapEngine.wrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
443 enc = wrapEngine.unwrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
589 public byte[] getBuf() in getBuf() method in BaseWrapCipher.ErasableOutputStream
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DRawDexFile.java62 … return Arrays.copyOfRange(getBuf(), getBaseOffset() + start, getBaseOffset() + start + length); in readByteRange()
98 annotatedBytes.writeAnnotations(out, getBuf());
/external/pdfium/core/fxcodec/jbig2/
DJBig2_BitStream.h36 const uint8_t* getBuf() const;
DJBig2_BitStream.cpp160 const uint8_t* CJBig2_BitStream::getBuf() const { in getBuf() function in CJBig2_BitStream
DJBig2_GrdProc.cpp726 FaxG4Decode(pStream->getBuf(), pStream->getLength(), &bitpos, image->data(), in Start_decode_MMR()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DBaseDexBuffer.java143 protected byte[] getBuf() { in getBuf() method in BaseDexBuffer
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DBaseCipherSpi.java243 public byte[] getBuf() in getBuf() method in BaseCipherSpi.ErasableOutputStream
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/
DBaseCipherSpi.java247 public byte[] getBuf() in getBuf() method in BaseCipherSpi.ErasableOutputStream
/external/libjpeg-turbo/java/
DTJBench.java195 Arrays.fill(yuvImage.getBuf(), (byte)127); in decomp()
214 yuvImage.setBuf(yuvImage.getBuf(), width, yuvPad, height, subsamp); in decomp()
375 Arrays.fill(yuvImage.getBuf(), (byte)127); in fullTest()
395 yuvImage.setBuf(yuvImage.getBuf(), width, yuvPad, height, in fullTest()
DTJUnitTest.java672 if (checkBufYUV(yuvImage.getBuf(), yuvImage.getSize(), w, h, subsamp, in compTest()
738 if (checkBufYUV(yuvImage.getBuf(), yuvImage.getSize(), scaledWidth, in decompTest()
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DYUVImage.java403 public byte[] getBuf() { in getBuf() method in YUVImage
DTJCompressor.java530 return dstYUVImage.getBuf(); in encodeYUV()
DTJDecompressor.java627 return dstYUVImage.getBuf(); in decompressToYUV()
/external/apache-http/android/src/android/net/http/
DRequest.java289 buf = mConnection.getBuf(); in readResponse()
DConnection.java567 byte[] getBuf() { in getBuf() method in Connection
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DCipherSpi.java545 return cipher.processBlock(bOut.getBuf(), 0, bOut.size()); in getOutput()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DCipherSpi.java549 return cipher.processBlock(bOut.getBuf(), 0, bOut.size()); in getOutput()