/dports/lang/kawa/kawa-3.1.1/gnu/lists/ |
H A D | IString.java | 57 int jlStart = Character.offsetByCodePoints(str, 0, start); in valueOf() 58 int jlEnd = Character.offsetByCodePoints(str, jlStart, count); in valueOf() 70 off = str.offsetByCodePoints(off, INDEX_STEP); in init() 79 return offsetByCodePoints(index)+jlStart(); in effectiveIndex() 94 public int offsetByCodePoints(int i) { in offsetByCodePoints() method in IString 119 return str.offsetByCodePoints(clo, restStep(i)) - jlOffset; in offsetByCodePoints() 192 base.offsetByCodePoints(start), in SubString() 193 base.offsetByCodePoints(end)); in SubString()
|
H A D | Strings.java | 49 index = Character.offsetByCodePoints(str, 0, index); in indexByCodePoints() 58 public static int offsetByCodePoints(CharSequence str, int offset, in offsetByCodePoints() method in Strings 65 return istr.offsetByCodePoints(offset); in offsetByCodePoints() 67 return Character.offsetByCodePoints(str, cuStart, offset); in offsetByCodePoints() 326 int sstart = Strings.offsetByCodePoints(string, start, 0, 0); in replicate() 336 int ptr = Strings.offsetByCodePoints(string, startOffset, in replicate() 339 : Strings.offsetByCodePoints(string, end-startOffset, ptr, startOffset); in replicate()
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/lang/StringBuilder/ |
H A D | CompactStringBuilder.java | 245 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePoint() 246 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePoint() 282 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed1() 283 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 3); in testCompactStringForSupplementaryCodePointMixed1() 314 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 315 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 316 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed2() 341 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed3() 342 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed3() 343 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed3() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/lang/StringBuilder/ |
H A D | CompactStringBuilder.java | 245 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePoint() 246 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePoint() 282 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed1() 283 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 3); in testCompactStringForSupplementaryCodePointMixed1() 314 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 315 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 316 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed2() 341 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed3() 342 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed3() 343 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed3() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/lang/StringBuilder/ |
H A D | CompactStringBuilder.java | 245 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePoint() 246 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePoint() 282 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed1() 283 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 3); in testCompactStringForSupplementaryCodePointMixed1() 314 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 315 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 316 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed2() 341 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed3() 342 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed3() 343 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed3() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/lang/StringBuilder/ |
H A D | CompactStringBuilder.java | 245 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePoint() 246 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePoint() 282 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed1() 283 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 3); in testCompactStringForSupplementaryCodePointMixed1() 314 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 315 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 316 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed2() 341 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed3() 342 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed3() 343 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed3() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/lang/StringBuilder/ |
H A D | CompactStringBuilder.java | 245 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); 246 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 2); 282 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 1); 283 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 3); 314 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); 315 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 2); 316 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(2, 1), 3); 341 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 1); 342 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); 343 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(2, 1), 3); [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/lang/StringBuilder/ |
H A D | CompactStringBuilder.java | 245 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePoint() 246 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePoint() 282 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed1() 283 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 3); in testCompactStringForSupplementaryCodePointMixed1() 314 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 315 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 316 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed2() 341 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed3() 342 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed3() 343 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed3() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/lang/StringBuilder/ |
H A D | CompactStringBuilder.java | 245 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePoint() 246 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePoint() 282 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed1() 283 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 3); in testCompactStringForSupplementaryCodePointMixed1() 314 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 315 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 316 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed2() 341 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed3() 342 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed3() 343 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed3() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/lang/StringBuilder/ |
H A D | CompactStringBuilder.java | 245 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePoint() 246 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePoint() 282 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed1() 283 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 3); in testCompactStringForSupplementaryCodePointMixed1() 314 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 315 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 316 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed2() 341 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed3() 342 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed3() 343 assertEquals(new StringBuilder(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed3() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/lang/StringBuffer/ |
H A D | CompactStringBuffer.java | 244 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePoint() 245 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePoint() 280 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed1() 281 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 3); in testCompactStringForSupplementaryCodePointMixed1() 312 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 313 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 314 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed2() 339 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed3() 340 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed3() 341 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed3() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/lang/StringBuffer/ |
H A D | CompactStringBuffer.java | 244 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePoint() 245 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePoint() 280 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed1() 281 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 3); in testCompactStringForSupplementaryCodePointMixed1() 312 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 313 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 314 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed2() 339 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed3() 340 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed3() 341 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed3() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/lang/StringBuffer/ |
H A D | CompactStringBuffer.java | 244 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePoint() 245 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePoint() 280 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed1() 281 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 3); in testCompactStringForSupplementaryCodePointMixed1() 312 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 313 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 314 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed2() 339 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed3() 340 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed3() 341 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed3() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/lang/StringBuffer/ |
H A D | CompactStringBuffer.java | 244 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePoint() 245 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePoint() 280 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed1() 281 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 3); in testCompactStringForSupplementaryCodePointMixed1() 312 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 313 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 314 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed2() 339 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed3() 340 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed3() 341 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed3() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/lang/StringBuffer/ |
H A D | CompactStringBuffer.java | 244 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePoint() 245 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePoint() 280 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed1() 281 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 3); in testCompactStringForSupplementaryCodePointMixed1() 312 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 313 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 314 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed2() 339 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed3() 340 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed3() 341 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed3() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/lang/StringBuffer/ |
H A D | CompactStringBuffer.java | 244 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePoint() 245 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePoint() 280 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed1() 281 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 3); in testCompactStringForSupplementaryCodePointMixed1() 312 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 313 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 314 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed2() 339 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed3() 340 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed3() 341 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed3() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/lang/StringBuffer/ |
H A D | CompactStringBuffer.java | 244 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePoint() 245 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePoint() 280 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed1() 281 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 3); in testCompactStringForSupplementaryCodePointMixed1() 312 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 313 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 314 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed2() 339 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed3() 340 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed3() 341 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed3() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/lang/StringBuffer/ |
H A D | CompactStringBuffer.java | 244 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePoint() 245 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePoint() 280 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed1() 281 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 3); in testCompactStringForSupplementaryCodePointMixed1() 312 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 313 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 2); in testCompactStringForSupplementaryCodePointMixed2() 314 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed2() 339 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(0, 1), 1); in testCompactStringForSupplementaryCodePointMixed3() 340 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(1, 1), 2); in testCompactStringForSupplementaryCodePointMixed3() 341 assertEquals(new StringBuffer(ORIGIN).offsetByCodePoints(2, 1), 3); in testCompactStringForSupplementaryCodePointMixed3() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/lang/Character/ |
H A D | Supplementary.java | 410 index = Character.offsetByCodePoints(str, i, nCodePoints); in test05() 426 index = Character.offsetByCodePoints(a, start, limit - start, in test05() 434 index = Character.offsetByCodePoints(a, start, limit - start, in test05() 438 index = Character.offsetByCodePoints(a, i, limit - i, in test05() 446 int index = Character.offsetByCodePoints(str, 0, 0); in test05() 448 index = Character.offsetByCodePoints(str, length, 0); in test05() 450 index = Character.offsetByCodePoints(a, 0, 0, 0, 0); in test05() 452 index = Character.offsetByCodePoints(a, 0, length, 0, 0); in test05() 454 index = Character.offsetByCodePoints(a, 0, length, length, 0); in test05() 456 index = Character.offsetByCodePoints(a, length, 0, length, 0); in test05() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/lang/Character/ |
H A D | Supplementary.java | 410 index = Character.offsetByCodePoints(str, i, nCodePoints); in test05() 426 index = Character.offsetByCodePoints(a, start, limit - start, in test05() 434 index = Character.offsetByCodePoints(a, start, limit - start, in test05() 438 index = Character.offsetByCodePoints(a, i, limit - i, in test05() 446 int index = Character.offsetByCodePoints(str, 0, 0); in test05() 448 index = Character.offsetByCodePoints(str, length, 0); in test05() 450 index = Character.offsetByCodePoints(a, 0, 0, 0, 0); in test05() 452 index = Character.offsetByCodePoints(a, 0, length, 0, 0); in test05() 454 index = Character.offsetByCodePoints(a, 0, length, length, 0); in test05() 456 index = Character.offsetByCodePoints(a, length, 0, length, 0); in test05() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/lang/Character/ |
H A D | Supplementary.java | 410 index = Character.offsetByCodePoints(str, i, nCodePoints); in test05() 426 index = Character.offsetByCodePoints(a, start, limit - start, in test05() 434 index = Character.offsetByCodePoints(a, start, limit - start, in test05() 438 index = Character.offsetByCodePoints(a, i, limit - i, in test05() 446 int index = Character.offsetByCodePoints(str, 0, 0); in test05() 448 index = Character.offsetByCodePoints(str, length, 0); in test05() 450 index = Character.offsetByCodePoints(a, 0, 0, 0, 0); in test05() 452 index = Character.offsetByCodePoints(a, 0, length, 0, 0); in test05() 454 index = Character.offsetByCodePoints(a, 0, length, length, 0); in test05() 456 index = Character.offsetByCodePoints(a, length, 0, length, 0); in test05() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/lang/Character/ |
H A D | Supplementary.java | 410 index = Character.offsetByCodePoints(str, i, nCodePoints); in test05() 426 index = Character.offsetByCodePoints(a, start, limit - start, in test05() 434 index = Character.offsetByCodePoints(a, start, limit - start, in test05() 438 index = Character.offsetByCodePoints(a, i, limit - i, in test05() 446 int index = Character.offsetByCodePoints(str, 0, 0); in test05() 448 index = Character.offsetByCodePoints(str, length, 0); in test05() 450 index = Character.offsetByCodePoints(a, 0, 0, 0, 0); in test05() 452 index = Character.offsetByCodePoints(a, 0, length, 0, 0); in test05() 454 index = Character.offsetByCodePoints(a, 0, length, length, 0); in test05() 456 index = Character.offsetByCodePoints(a, length, 0, length, 0); in test05() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/lang/Character/ |
H A D | Supplementary.java | 410 index = Character.offsetByCodePoints(str, i, nCodePoints); 426 index = Character.offsetByCodePoints(a, start, limit - start, 434 index = Character.offsetByCodePoints(a, start, limit - start, 438 index = Character.offsetByCodePoints(a, i, limit - i, 446 int index = Character.offsetByCodePoints(str, 0, 0); 448 index = Character.offsetByCodePoints(str, length, 0); 450 index = Character.offsetByCodePoints(a, 0, 0, 0, 0); 452 index = Character.offsetByCodePoints(a, 0, length, 0, 0); 454 index = Character.offsetByCodePoints(a, 0, length, length, 0); 456 index = Character.offsetByCodePoints(a, length, 0, length, 0); [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/lang/Character/ |
H A D | Supplementary.java | 410 index = Character.offsetByCodePoints(str, i, nCodePoints); in test05() 426 index = Character.offsetByCodePoints(a, start, limit - start, in test05() 434 index = Character.offsetByCodePoints(a, start, limit - start, in test05() 438 index = Character.offsetByCodePoints(a, i, limit - i, in test05() 446 int index = Character.offsetByCodePoints(str, 0, 0); in test05() 448 index = Character.offsetByCodePoints(str, length, 0); in test05() 450 index = Character.offsetByCodePoints(a, 0, 0, 0, 0); in test05() 452 index = Character.offsetByCodePoints(a, 0, length, 0, 0); in test05() 454 index = Character.offsetByCodePoints(a, 0, length, length, 0); in test05() 456 index = Character.offsetByCodePoints(a, length, 0, length, 0); in test05() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/lang/Character/ |
H A D | Supplementary.java | 410 index = Character.offsetByCodePoints(str, i, nCodePoints); in test05() 426 index = Character.offsetByCodePoints(a, start, limit - start, in test05() 434 index = Character.offsetByCodePoints(a, start, limit - start, in test05() 438 index = Character.offsetByCodePoints(a, i, limit - i, in test05() 446 int index = Character.offsetByCodePoints(str, 0, 0); in test05() 448 index = Character.offsetByCodePoints(str, length, 0); in test05() 450 index = Character.offsetByCodePoints(a, 0, 0, 0, 0); in test05() 452 index = Character.offsetByCodePoints(a, 0, length, 0, 0); in test05() 454 index = Character.offsetByCodePoints(a, 0, length, length, 0); in test05() 456 index = Character.offsetByCodePoints(a, length, 0, length, 0); in test05() [all …]
|