Searched refs:textLength (Results 1 - 15 of 15) sorted by relevance

/openjdk10/jdk/test/com/sun/crypto/provider/Cipher/AEAD/
H A DReadWriteSkip.java62 final int textLength;; field in class:ReadWriteSkip
76 for (int textLength : TXT_LENGTHS) {
79 + ", text length = " + textLength
82 run(keyLength, textLength, AADLength);
99 ReadWriteSkip(int keyLength, int textLength, int AADLength) argument
102 this.textLength = textLength;
112 this.plaintext = Helper.generateBytes(textLength);
148 static void run(int keyLength, int textLength, int AADLength) argument
150 new ReadWriteTest(keyLength, textLength, AADLengt
186 ReadWriteTest(int keyLength, int textLength, int AADLength) argument
256 SkipTest(int keyLength, int textLength, int AADLength) argument
[all...]
H A DSameBuffer.java54 private final int textLength; field in class:SameBuffer
62 * @param textLength length of data
66 String padding, int keyStrength, int textLength, int AADLength)
76 this.textLength = textLength;
83 for (int textLength : TEXT_LENGTHS) {
88 runTest(p, AES, GCM, PADDING, keyLength, textLength,
100 String padding, int keyLength, int textLength, int AADLength,
103 + textLength + " text lenght; " + AADLength + " AAD length; "
111 padding, keyLength, textLength, AADLengt
65 SameBuffer(Provider provider, String algorithm, String mode, String padding, int keyStrength, int textLength, int AADLength) argument
99 runTest(Provider p, String algo, String mode, String padding, int keyLength, int textLength, int AADLength, int offset) argument
[all...]
H A DGCMParameterSpecTest.java66 * @param textLength plain text length
70 int offset, int textLength, int AADLength)
84 data = Helper.generateBytes(textLength);
69 GCMParameterSpecTest(int keyLength, int tagLength, int IVlength, int offset, int textLength, int AADLength) argument
H A DEncrypt.java96 private final int textLength; field in class:Encrypt
105 * @param textLength Plain text length
109 String padding, int keyStrength, int textLength, int AADLength)
119 this.textLength = textLength;
132 for (int textLength : TEXT_LENGTHS) {
135 "GCM", "NoPadding", keyStrength, textLength,
142 + keyStrength + ":" + textLength + ":"
152 + ", textLength = " + textLength
108 Encrypt(Provider provider, String algorithm, String mode, String padding, int keyStrength, int textLength, int AADLength) argument
[all...]
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DText.java110 final int textLength = _text.length();
111 for (i = 0; i < textLength; i++) {
116 if (i == textLength)
122 final int textLength = _text.length();
123 for (i = 0; i < textLength; i++)
129 if (i == textLength)
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/event/
H A DInputMethodEvent.java165 int textLength = 0;
167 textLength = text.getEndIndex() - text.getBeginIndex();
170 if (committedCharacterCount < 0 || committedCharacterCount > textLength) {
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/trax/
H A DStAXStream2SAX.java242 int textLength = staxStreamReader.getTextLength();
243 char[] chars = new char[textLength];
245 staxStreamReader.getTextCharacters(0, chars, 0, textLength);
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/encoding/
H A DMtomCodec.java631 int textLength = base64AttData.length();
632 if(sourceStart > textLength)
640 int copiedLength = Math.min(textLength - sourceStart, length);
/openjdk10/jdk/src/java.base/share/classes/java/text/
H A DAttributedString.java637 int textLength = length();
638 if (endIndex < textLength) {
640 int runLimit = (currIndex < runCount - 1) ? runStarts[currIndex + 1] : textLength;
644 runLimit = (currIndex < runCount - 1) ? runStarts[currIndex + 1] : textLength;
H A DSimpleDateFormat.java1458 int textLength = text.length();
1474 if (start >= textLength || text.charAt(start) != (char)count) {
1484 if (start >= textLength || text.charAt(start) != compiledPattern[i++]) {
/openjdk10/jdk/test/java/text/Bidi/
H A DBidiConformance.java878 errorHandling("createLineBidi(0, textLength)" +
884 errorHandling("createLineBidi(-1, textLength)" +
892 errorHandling("createLineBidi(0, textLength+1)" +
923 errorHandling("getLevelAt(textLength+1)" +
1356 int textLength = txt.length;
1359 Bidi.requiresBidi(txt, -1, textLength);
1371 Bidi.requiresBidi(txt, textLength, textLength);
1375 "when start is textLength.");
1379 Bidi.requiresBidi(txt, textLength
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DJLabel.java549 int textLength = (text == null) ? 0 : text.length();
550 if (index < -1 || index >= textLength) { // index out of range
H A DAbstractButton.java1582 int textLength = (text == null) ? 0 : text.length();
1583 if (index < -1 || index >= textLength) { // index out of range
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/
H A DUtils.java1403 final int textLength = text.length();
1404 StringBuilder result = new StringBuilder(textLength);
1407 for (int i = 0; i < textLength; i++) {
1424 result.append(text, pos, textLength);
1430 final int textLength = text.length();
1433 for (int i = 0; i < textLength; i++) {
1444 if (i + 1 < textLength && text.charAt(i + 1) == '\n')
1450 sb.append(text, pos, textLength);
/openjdk10/jdk/src/java.desktop/share/classes/sun/swing/
H A DSwingUtilities2.java602 int textLength = text.length();
603 if (underlinedIndex >= 0 && underlinedIndex < textLength ) {
614 isComplexLayout(charsBuffer, 0, textLength);

Completed in 148 milliseconds