Home
last modified time | relevance | path

Searched refs:outputOffset (Results 1 – 16 of 16) sorted by relevance

/libcore/ojluni/src/main/java/javax/crypto/
DNullCipherSpi.java89 int outputOffset) { in engineUpdate() argument
91 System.arraycopy(input, inputOffset, output, outputOffset, inputLen); in engineUpdate()
103 int outputOffset) in engineDoFinal() argument
106 output, outputOffset); in engineDoFinal()
DCipher.java1839 byte[] output, int outputOffset) in update() argument
1846 || outputOffset < 0) { in update()
1855 output, outputOffset); in update()
2010 public final int doFinal(byte[] output, int outputOffset) in doFinal() argument
2016 if ((output == null) || (outputOffset < 0)) { in doFinal()
2021 return spi.engineDoFinal(null, 0, 0, output, outputOffset); in doFinal()
2273 byte[] output, int outputOffset) in doFinal() argument
2281 || outputOffset < 0) { in doFinal()
2287 output, outputOffset); in doFinal()
DExemptionMechanism.java466 public final int genExemptionBlob(byte[] output, int outputOffset) in genExemptionBlob() argument
473 int n = exmechSpi.engineGenExemptionBlob(output, outputOffset); in genExemptionBlob()
DExemptionMechanismSpi.java168 (byte[] output, int outputOffset) in engineGenExemptionBlob() argument
DCipherSpi.java520 int outputOffset) in engineUpdate() argument
669 int outputOffset) in engineDoFinal() argument
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherSpiTest.java59 int outputOffset) throws ShortBufferException, IllegalBlockSizeException, in engineDoFinal() argument
61 return super.engineDoFinal(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
119 int outputOffset) throws ShortBufferException { in engineUpdate() argument
120 return super.engineUpdate(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
366 byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) { in testCrypt_doNotCallPutForZeroLengthOutput()
427 byte[] inArray, int inOfs, int inLen, byte[] outArray, int outputOffset) in testCrypt_outputSizeUpdatedAfterShortBufferException()
534 byte[] output, int outputOffset) throws ShortBufferException { in engineUpdate() argument
537 if ((output.length - outputOffset) < t) { in engineUpdate()
541 output[i + outputOffset] = initV[i]; in engineUpdate()
559 byte[] output, int outputOffset) throws ShortBufferException, in engineDoFinal() argument
[all …]
DExemptionMechanismTest.java179 protected int engineGenExemptionBlob(byte[] output, int outputOffset) in engineGenExemptionBlob() argument
181 if (output.length - outputOffset < in engineGenExemptionBlob()
182 super.engineGenExemptionBlob(output, outputOffset)) { in engineGenExemptionBlob()
185 if (output[outputOffset + 3] == 33) { in engineGenExemptionBlob()
188 return super.engineGenExemptionBlob(output, outputOffset); in engineGenExemptionBlob()
DExemptionMechanismSpiTest.java56 …protected int engineGenExemptionBlob(byte[] output, int outputOffset) throws ShortBufferException,… in engineGenExemptionBlob() argument
57 return super.engineGenExemptionBlob(output, outputOffset); in engineGenExemptionBlob()
DCipherOutputStream1Test.java277 int outputOffset) throws ShortBufferException { in engineUpdate() argument
295 int outputOffset) in engineDoFinal() argument
/libcore/ojluni/src/main/java/java/util/zip/
DInflater.java539 int outputOffset = ZipUtils.getBufferOffset(output); in inflate() local
542 outputArray, outputOffset + outputPos, outputRem); in inflate()
566 int outputOffset = ZipUtils.getBufferOffset(output); in inflate() local
569 outputArray, outputOffset + outputPos, outputRem); in inflate()
588 int outputOffset = ZipUtils.getBufferOffset(output); in inflate() local
591 outputArray, outputOffset + outputPos, outputRem); in inflate()
DDeflater.java737 int outputOffset = ZipUtils.getBufferOffset(output); in deflate() local
740 outputArray, outputOffset + outputPos, outputRem, in deflate()
761 int outputOffset = ZipUtils.getBufferOffset(output); in deflate() local
764 outputArray, outputOffset + outputPos, outputRem, in deflate()
785 int outputOffset = ZipUtils.getBufferOffset(output); in deflate() local
788 outputArray, outputOffset + outputPos, outputRem, in deflate()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMyCipher.java106 byte[] output, int outputOffset) throws ShortBufferException { in engineUpdate() argument
118 byte[] output, int outputOffset) throws ShortBufferException, in engineDoFinal() argument
DMyExemptionMechanismSpi.java55 protected int engineGenExemptionBlob(byte[] output, int outputOffset) in engineGenExemptionBlob() argument
/libcore/ojluni/annotations/mmodule/javax/crypto/
DCipher.annotated.java91 …pdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws javax.c… in update() argument
97 public final int doFinal(byte[] output, int outputOffset) throws javax.crypto.BadPaddingException, … in doFinal() argument
105 …Final(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws javax.c… in doFinal() argument
/libcore/luni/src/test/java/libcore/javax/crypto/
DMockCipherSpi.java260 int outputOffset) throws ShortBufferException { in engineUpdate() argument
272 int outputOffset) throws ShortBufferException, IllegalBlockSizeException, in engineDoFinal() argument
DCipherInputStreamTest.java246 int outputOffset) throws ShortBufferException { in engineUpdate() argument
248 if ((output.length - outputOffset) < expectedOutputSize) { in engineUpdate()