Home
last modified time | relevance | path

Searched refs:inputLength (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/charset/
DUnmappableCharacterException.java43 private int inputLength; field in UnmappableCharacterException
50 public UnmappableCharacterException(int inputLength) { in UnmappableCharacterException() argument
51 this.inputLength = inputLength; in UnmappableCharacterException()
59 return inputLength; in getInputLength()
67 return "Input length = " + inputLength; in getMessage()
DMalformedInputException.java43 private int inputLength; field in MalformedInputException
50 public MalformedInputException(int inputLength) { in MalformedInputException() argument
51 this.inputLength = inputLength; in MalformedInputException()
59 return inputLength; in getInputLength()
67 return "Input length = " + inputLength; in getMessage()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherSpiTest.java344 public int engineGetOutputSize(int inputLength) { in testCrypt_doNotCallPositionInNonArrayBackedInputBuffer()
345 return inputLength; in testCrypt_doNotCallPositionInNonArrayBackedInputBuffer()
415 public int engineGetOutputSize(int inputLength) { in testCrypt_outputSizeUpdatedAfterShortBufferException()
416 if (inputLength == testInputLength) { in testCrypt_outputSizeUpdatedAfterShortBufferException()
418 } else if (inputLength == maxInternalArrayAllocation) { in testCrypt_outputSizeUpdatedAfterShortBufferException()
421 throw new IllegalStateException("Unexpected value " + inputLength); in testCrypt_outputSizeUpdatedAfterShortBufferException()
/libcore/luni/src/test/java/libcore/java/util/
DBase64Test.java446 int inputLength = inputBuffer.remaining(); in checkDecoder_decodeByteBuffer() local
450 assertEquals(inputLength, inputBuffer.position()); in checkDecoder_decodeByteBuffer()
452 assertEquals(inputLength, inputBuffer.limit()); in checkDecoder_decodeByteBuffer()
698 int inputLength = inputBuffer.remaining(); in testEncoder_encodeByteBuffer() local
702 assertEquals(inputLength, inputBuffer.position()); in testEncoder_encodeByteBuffer()
704 assertEquals(inputLength, inputBuffer.limit()); in testEncoder_encodeByteBuffer()