/libcore/ojluni/src/main/java/javax/crypto/ |
D | NullCipherSpi.java | 56 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 57 return inputLen; in engineGetOutputSize() 80 int inputLen) { in engineUpdate() argument 82 byte[] x = new byte[inputLen]; in engineUpdate() 83 System.arraycopy(input, inputOffset, x, 0, inputLen); in engineUpdate() 88 int inputLen, byte[] output, in engineUpdate() argument 91 System.arraycopy(input, inputOffset, output, outputOffset, inputLen); in engineUpdate() 92 return inputLen; in engineUpdate() 96 int inputLen) in engineDoFinal() argument 98 return engineUpdate(input, inputOffset, inputLen); in engineDoFinal() [all …]
|
D | Cipher.java | 865 public final int getOutputSize(int inputLen) { in getOutputSize() argument 870 if (inputLen < 0) { in getOutputSize() 875 return spi.engineGetOutputSize(inputLen); in getOutputSize() 1728 public final byte[] update(byte[] input, int inputOffset, int inputLen) { in update() argument 1733 || inputLen > (input.length - inputOffset) || inputLen < 0) { in update() 1738 if (inputLen == 0) { in update() 1741 return spi.engineUpdate(input, inputOffset, inputLen); in update() 1780 public final int update(byte[] input, int inputOffset, int inputLen, in update() argument 1787 || inputLen > (input.length - inputOffset) || inputLen < 0) { in update() 1792 if (inputLen == 0) { in update() [all …]
|
D | CipherSpi.java | 280 protected abstract int engineGetOutputSize(int inputLen); in engineGetOutputSize() argument 490 int inputLen); in engineUpdate() argument 519 int inputLen, byte[] output, in engineUpdate() argument 611 int inputLen) in engineDoFinal() argument 668 int inputLen, byte[] output, in engineDoFinal() argument
|
D | ExemptionMechanism.java | 285 public final int getOutputSize(int inputLen) throws IllegalStateException { in getOutputSize() argument 290 if (inputLen < 0) { in getOutputSize() 294 return exmechSpi.engineGetOutputSize(inputLen); in getOutputSize()
|
D | ExemptionMechanismSpi.java | 62 protected abstract int engineGetOutputSize(int inputLen); in engineGetOutputSize() argument
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | CipherSpiTest.java | 52 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument 54 return super.engineDoFinal(input, inputOffset, inputLen); in engineDoFinal() 58 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, in engineDoFinal() argument 61 return super.engineDoFinal(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal() 75 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 76 return super.engineGetOutputSize(inputLen); in engineGetOutputSize() 113 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 114 return super.engineUpdate(input, inputOffset, inputLen); in engineUpdate() 118 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 120 return super.engineUpdate(input, inputOffset, inputLen, output, outputOffset); in engineUpdate() [all …]
|
D | CipherOutputStream1Test.java | 236 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 271 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 276 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 282 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument 286 engineDoFinal(input, inputOffset, inputLen, new byte[10], 0); in engineDoFinal() 294 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, in engineDoFinal() argument
|
D | ExemptionMechanismSpiTest.java | 61 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 62 return super.engineGetOutputSize(inputLen); in engineGetOutputSize()
|
/libcore/ojluni/src/main/native/ |
D | Inflater.c | 132 jbyte *input, jint inputLen, in doInflate() argument 140 strm->avail_in = inputLen; in doInflate() 148 jint inputLen, jint outputLen, jint ret ) in checkInflateStatus() argument 160 inputUsed = inputLen - strm->avail_in; in checkInflateStatus() 166 inputUsed = inputLen - strm->avail_in; in checkInflateStatus() 173 inputUsed = inputLen - strm->avail_in; in checkInflateStatus() 191 jbyteArray inputArray, jint inputOff, jint inputLen, in Inflater_inflateBytesBytes() argument 200 if (inputLen != 0 && (*env)->ExceptionOccurred(env) == NULL) in Inflater_inflateBytesBytes() 212 ret = doInflate(addr, input + inputOff, inputLen, output + outputOff, in Inflater_inflateBytesBytes() 218 retVal = checkInflateStatus(env, this, addr, inputLen, outputLen, ret ); in Inflater_inflateBytesBytes() [all …]
|
D | Deflater.c | 127 jbyte *input, jint inputLen, in doDeflate() argument 137 strm->avail_in = inputLen; in doDeflate() 151 jint inputLen, in checkDeflateStatus() argument 166 inputUsed = inputLen - strm->avail_in; in checkDeflateStatus() 180 inputUsed = inputLen - strm->avail_in; in checkDeflateStatus() 193 jbyteArray inputArray, jint inputOff, jint inputLen, in Deflater_deflateBytesBytes() argument 203 if (inputLen != 0 && (*env)->ExceptionOccurred(env) == NULL) in Deflater_deflateBytesBytes() 215 res = doDeflate(env, addr, input + inputOff, inputLen,output + outputOff, in Deflater_deflateBytesBytes() 221 retVal = checkDeflateStatus(env, addr, inputLen, outputLen, params, res); in Deflater_deflateBytesBytes() 228 jbyteArray inputArray, jint inputOff, jint inputLen, in Deflater_deflateBytesBuffer() argument [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
D | MyCipher.java | 67 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 68 return inputLen + 10; in engineGetOutputSize() 100 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 105 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, in engineUpdate() argument 111 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument 117 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, in engineDoFinal() argument
|
D | MyExemptionMechanismSpi.java | 61 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
|
/libcore/ojluni/annotations/mmodule/javax/crypto/ |
D | Cipher.annotated.java | 61 public final int getOutputSize(int inputLen) { throw new RuntimeException("Stub!"); } in getOutputSize() argument 87 public final byte[] update(byte[] input, int inputOffset, int inputLen) { throw new RuntimeExceptio… in update() argument 89 public final int update(byte[] input, int inputOffset, int inputLen, byte[] output) throws javax.cr… in update() argument 91 public final int update(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffse… in update() argument 101 public final byte[] doFinal(byte[] input, int inputOffset, int inputLen) throws javax.crypto.BadPad… in doFinal() argument 103 public final int doFinal(byte[] input, int inputOffset, int inputLen, byte[] output) throws javax.c… in doFinal() argument 105 public final int doFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffs… in doFinal() argument
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | MockCipherSpi.java | 220 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 254 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 259 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 265 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument 271 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, in engineDoFinal() argument
|
D | CipherInputStreamTest.java | 240 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 241 return inputLen + outputSizeDelta; in engineGetOutputSize() 245 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 247 int expectedOutputSize = inputLen + outputSizeDelta++; in engineUpdate() 255 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 256 int expectedOutputSize = inputLen + outputSizeDelta++; in engineUpdate() 261 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) { in engineDoFinal() argument
|
D | MockMacSpi.java | 78 protected void engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | Inflater.java | 740 byte[] inputArray, int inputOff, int inputLen, in inflateBytesBytes() argument 743 byte[] inputArray, int inputOff, int inputLen, in inflateBytesBuffer() argument 746 long inputAddress, int inputLen, in inflateBufferBytes() argument 749 long inputAddress, int inputLen, in inflateBufferBuffer() argument
|
D | Deflater.java | 931 byte[] inputArray, int inputOff, int inputLen, in deflateBytesBytes() argument 935 byte[] inputArray, int inputOff, int inputLen, in deflateBytesBuffer() argument 939 long inputAddress, int inputLen, in deflateBufferBytes() argument 943 long inputAddress, int inputLen, in deflateBufferBuffer() argument
|