Home
last modified time | relevance | path

Searched refs:getBuf (Results 1 – 21 of 21) 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
DNetworkUtility.java92 buffer = pool.getBuf(1024); in inputStreamToBytes()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DRawDexFile.java59 … return Arrays.copyOfRange(getBuf(), getBaseOffset() + start, getBaseOffset() + start + length); in readByteRange()
64 annotatedBytes.writeAnnotations(out, getBuf()); in writeAnnotations()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseWrapCipher.java372 return wrapEngine.wrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
383 return wrapEngine.unwrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
420 enc = wrapEngine.wrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
431 enc = wrapEngine.unwrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
577 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.java376 return wrapEngine.wrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
387 return wrapEngine.unwrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
424 enc = wrapEngine.wrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
435 enc = wrapEngine.unwrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
581 public byte[] getBuf() in getBuf() method in BaseWrapCipher.ErasableOutputStream
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseWrapCipher.java376 return wrapEngine.wrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
387 return wrapEngine.unwrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
424 enc = wrapEngine.wrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
435 enc = wrapEngine.unwrap(wrapStream.getBuf(), 0, wrapStream.size()); in engineDoFinal()
581 public byte[] getBuf() in getBuf() method in BaseWrapCipher.ErasableOutputStream
/external/pdfium/core/fxcodec/jbig2/
DJBig2_BitStream.cpp158 const uint8_t* CJBig2_BitStream::getBuf() const { in getBuf() function in CJBig2_BitStream
163 return getBuf() + m_dwByteIdx; in getPointer()
DJBig2_BitStream.h37 const uint8_t* getBuf() const;
DJBig2_GrdProc.cpp462 FaxModule::FaxG4Decode(pStream->getBuf(), pStream->getLength(), bitpos, in StartDecodeMMR()
/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/llvm-project/openmp/runtime/src/
DextractExternal.cpp69 static pair<const char *, streamsize> getBuf(const char *fileName) { in getBuf() function in rstream
89 rstream(const char *fileName) : _rstream(getBuf(fileName)) {} in rstream()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/util/
DBaseCipherSpi.java247 public byte[] getBuf() in getBuf() method in BaseCipherSpi.ErasableOutputStream
/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()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DCipherSpi.java549 return cipher.processBlock(bOut.getBuf(), 0, bOut.size()); in getOutput()