| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
| D | StringTest.java | 460 assertEquals('a', s.codePointBefore(1)); in test_codePointBeforeI() 461 assertEquals('b', s.codePointBefore(2)); in test_codePointBeforeI() 462 assertEquals('c', s.codePointBefore(3)); in test_codePointBeforeI() 465 assertEquals('a', s.codePointBefore(1)); in test_codePointBeforeI() 466 assertEquals('b', s.codePointBefore(2)); in test_codePointBeforeI() 467 assertEquals('c', s.codePointBefore(3)); in test_codePointBeforeI() 470 assertEquals(0x10000, s.codePointBefore(2)); in test_codePointBeforeI() 471 assertEquals('\uD800', s.codePointBefore(1)); in test_codePointBeforeI() 474 assertEquals(0x10000, s.codePointBefore(2)); in test_codePointBeforeI() 475 assertEquals('\uD800', s.codePointBefore(1)); in test_codePointBeforeI() [all …]
|
| D | CharacterTest.java | 204 assertEquals('a', Character.codePointBefore("abc", 1)); in test_codePointBeforeLjava_lang_CharSequenceI() 205 assertEquals('b', Character.codePointBefore("abc", 2)); in test_codePointBeforeLjava_lang_CharSequenceI() 206 assertEquals('c', Character.codePointBefore("abc", 3)); in test_codePointBeforeLjava_lang_CharSequenceI() 207 assertEquals(0x10000, Character.codePointBefore("\uD800\uDC00", 2)); in test_codePointBeforeLjava_lang_CharSequenceI() 208 assertEquals('\uD800', Character.codePointBefore("\uD800\uDC00", 1)); in test_codePointBeforeLjava_lang_CharSequenceI() 211 Character.codePointBefore((CharSequence) null, 0); in test_codePointBeforeLjava_lang_CharSequenceI() 217 Character.codePointBefore("abc", 0); in test_codePointBeforeLjava_lang_CharSequenceI() 223 Character.codePointBefore("abc", 4); in test_codePointBeforeLjava_lang_CharSequenceI() 230 assertEquals('a', Character.codePointBefore("abc".toCharArray(), 1)); in test_codePointBefore$CI() 231 assertEquals('b', Character.codePointBefore("abc".toCharArray(), 2)); in test_codePointBefore$CI() [all …]
|
| D | StringBufferTest.java | 388 assertEquals('a', sb.codePointBefore(1)); in test_codePointBeforeI() 389 assertEquals('b', sb.codePointBefore(2)); in test_codePointBeforeI() 390 assertEquals('c', sb.codePointBefore(3)); in test_codePointBeforeI() 393 assertEquals(0x10000, sb.codePointBefore(2)); in test_codePointBeforeI() 394 assertEquals('\uD800', sb.codePointBefore(1)); in test_codePointBeforeI() 397 sb.codePointBefore(0); in test_codePointBeforeI() 404 sb.codePointBefore(-1); in test_codePointBeforeI() 411 sb.codePointBefore(sb.length() + 1); in test_codePointBeforeI()
|
| D | StringBuilderTest.java | 464 assertEquals('a', sb.codePointBefore(1)); in test_codePointBeforeI() 465 assertEquals('b', sb.codePointBefore(2)); in test_codePointBeforeI() 466 assertEquals('c', sb.codePointBefore(3)); in test_codePointBeforeI() 469 assertEquals(0x10000, sb.codePointBefore(2)); in test_codePointBeforeI() 470 assertEquals('\uD800', sb.codePointBefore(1)); in test_codePointBeforeI() 476 sb.codePointBefore(0); in test_codePointBeforeI() 483 sb.codePointBefore(-1); in test_codePointBeforeI() 490 sb.codePointBefore(sb.length() + 1); in test_codePointBeforeI()
|
| /libcore/ojluni/src/test/java/lang/StringBuilder/ |
| D | CompactStringBuilder.java | 224 assertEquals(new StringBuilder(ORIGIN).codePointBefore(2), in testCompactStringForSupplementaryCodePoint() 269 assertEquals(new StringBuilder(ORIGIN).codePointBefore(3), in testCompactStringForSupplementaryCodePointMixed1() 271 assertEquals(new StringBuilder(ORIGIN).codePointBefore(2), '\uD801'); in testCompactStringForSupplementaryCodePointMixed1() 272 assertEquals(new StringBuilder(ORIGIN).codePointBefore(1), 'A'); in testCompactStringForSupplementaryCodePointMixed1() 300 assertEquals(new StringBuilder(ORIGIN).codePointBefore(3), in testCompactStringForSupplementaryCodePointMixed2() 302 assertEquals(new StringBuilder(ORIGIN).codePointBefore(2), in testCompactStringForSupplementaryCodePointMixed2() 304 assertEquals(new StringBuilder(ORIGIN).codePointBefore(1), '\uD801'); in testCompactStringForSupplementaryCodePointMixed2() 331 assertEquals(new StringBuilder(ORIGIN).codePointBefore(1), '\uD801'); in testCompactStringForSupplementaryCodePointMixed3() 332 assertEquals(new StringBuilder(ORIGIN).codePointBefore(2), 'A'); in testCompactStringForSupplementaryCodePointMixed3() 333 assertEquals(new StringBuilder(ORIGIN).codePointBefore(3), '\uDC00'); in testCompactStringForSupplementaryCodePointMixed3() [all …]
|
| D | Supplementary.java | 278 int cp = sb.codePointBefore(j+1); in test6() 333 int c = isAt ? sb.codePointAt(index) : sb.codePointBefore(index); in testCodePoint() 344 int c = isAt ? sb.codePointAt(index) : sb.codePointBefore(index); in testCodePoint()
|
| /libcore/ojluni/src/test/java/lang/StringBuffer/ |
| D | CompactStringBuffer.java | 223 assertEquals(new StringBuffer(ORIGIN).codePointBefore(2), in testCompactStringForSupplementaryCodePoint() 268 assertEquals(new StringBuffer(ORIGIN).codePointBefore(3), in testCompactStringForSupplementaryCodePointMixed1() 270 assertEquals(new StringBuffer(ORIGIN).codePointBefore(2), '\uD801'); in testCompactStringForSupplementaryCodePointMixed1() 271 assertEquals(new StringBuffer(ORIGIN).codePointBefore(1), 'A'); in testCompactStringForSupplementaryCodePointMixed1() 298 assertEquals(new StringBuffer(ORIGIN).codePointBefore(3), in testCompactStringForSupplementaryCodePointMixed2() 300 assertEquals(new StringBuffer(ORIGIN).codePointBefore(2), in testCompactStringForSupplementaryCodePointMixed2() 302 assertEquals(new StringBuffer(ORIGIN).codePointBefore(1), '\uD801'); in testCompactStringForSupplementaryCodePointMixed2() 329 assertEquals(new StringBuffer(ORIGIN).codePointBefore(1), '\uD801'); in testCompactStringForSupplementaryCodePointMixed3() 330 assertEquals(new StringBuffer(ORIGIN).codePointBefore(2), 'A'); in testCompactStringForSupplementaryCodePointMixed3() 331 assertEquals(new StringBuffer(ORIGIN).codePointBefore(3), '\uDC00'); in testCompactStringForSupplementaryCodePointMixed3() [all …]
|
| D | Supplementary.java | 276 int cp = sb.codePointBefore(j+1); in test6() 318 int c = isAt ? sb.codePointAt(index) : sb.codePointBefore(index); in testCodePoint() 329 int c = isAt ? sb.codePointAt(index) : sb.codePointBefore(index); in testCodePoint()
|
| /libcore/ojluni/src/test/java/lang/Character/ |
| D | Supplementary.java | 274 ch = Character.codePointBefore(cs, i); in test02() 319 ch = Character.codePointBefore(a, i); in test03() 325 int x = Character.codePointBefore(a, i, i-1); in test03() 419 int cp = Character.codePointBefore(a, i + 1); in test05() 536 c = Character.codePointBefore(str, i); in testCodePoint() 567 c = Character.codePointBefore(a, i); in testCodePoint() 778 : Character.codePointBefore(cs, index); in callCodePoint() 793 : Character.codePointBefore(a, index); in callCodePoint() 808 : Character.codePointBefore(a, index, limit); in callCodePoint()
|
| /libcore/ojluni/src/test/java/lang/String/CompactString/ |
| D | CodePointBefore.java | 71 str.codePointBefore(i + 1), in testCodePointBefore()
|
| /libcore/ojluni/src/main/java/java/lang/ |
| D | StringBuffer.java | 263 public synchronized int codePointBefore(int index) { in codePointBefore() method in StringBuffer 264 return super.codePointBefore(index); in codePointBefore()
|
| D | StringUTF16.java | 123 private static int codePointBefore(byte[] value, int index, boolean checked) { 142 public static int codePointBefore(byte[] value, int index) { 143 return codePointBefore(value, index, false /* unchecked */); 952 int codepoint = value.codePointBefore(right); 1539 return codePointBefore(val, index, true /* checked */);
|
| D | String.java | 923 public int codePointBefore(int index) { in codePointBefore() method in String 935 return Character.codePointBefore(this, index); in codePointBefore()
|
| D | StringLatin1.java | 62 public static int codePointBefore(byte[] value, int index) { in codePointBefore() method in StringLatin1
|
| D | AbstractStringBuilder.java | 376 public int codePointBefore(int index) { in codePointBefore() method in AbstractStringBuilder
|
| D | Character.java | 9476 public static int codePointBefore(CharSequence seq, int index) { in codePointBefore() method in Character 9508 public static int codePointBefore(char[] a, int index) { in codePointBefore() method in Character 9539 public static int codePointBefore(char[] a, int index, int start) { in codePointBefore() method in Character
|
| /libcore/ojluni/annotations/hiddenapi/java/lang/ |
| D | AbstractStringBuilder.java | 81 public int codePointBefore(int index) { in codePointBefore() method in AbstractStringBuilder
|
| D | Character.java | 119 public static int codePointBefore(java.lang.CharSequence seq, int index) { in codePointBefore() method in Character 123 public static int codePointBefore(char[] a, int index) { in codePointBefore() method in Character 127 public static int codePointBefore(char[] a, int index, int start) { in codePointBefore() method in Character
|
| D | String.java | 121 public int codePointBefore(int index) { in codePointBefore() method in String
|
| /libcore/ojluni/annotations/sdk/nullability/java/lang/ |
| D | StringBuffer.annotated.java | 55 public synchronized int codePointBefore(int index) { throw new RuntimeException("Stub!"); } in codePointBefore() method in StringBuffer
|
| D | StringBuilder.annotated.java | 134 public int codePointBefore(int index) { throw new RuntimeException("Stub!"); } in codePointBefore() method in StringBuilder
|
| D | Character.annotated.java | 75 public static int codePointBefore(@libcore.util.NonNull java.lang.CharSequence seq, int index) { th… in codePointBefore() method in Character 77 public static int codePointBefore(char[] a, int index) { throw new RuntimeException("Stub!"); } in codePointBefore() method in Character 79 public static int codePointBefore(char[] a, int index, int start) { throw new RuntimeException("Stu… in codePointBefore() method in Character
|
| D | String.annotated.java | 82 public int codePointBefore(int index) { throw new RuntimeException("Stub!"); } in codePointBefore() method in String
|
| /libcore/ojluni/annotations/flagged_api/java/lang/ |
| D | Character.annotated.java | 45 public static int codePointBefore(char[] a, int index) { throw new RuntimeException("Stub!"); } in codePointBefore() method in Character 47 public static int codePointBefore(char[] a, int index, int start) { throw new RuntimeException("Stu… in codePointBefore() method in Character 49 public static int codePointBefore(java.lang.CharSequence seq, int index) { throw new RuntimeExcepti… in codePointBefore() method in Character
|
| /libcore/api/ |
| D | current.txt | 2529 method public static int codePointBefore(@NonNull CharSequence, int); 2530 method public static int codePointBefore(char[], int); 2531 method public static int codePointBefore(char[], int, int); 4255 method public int codePointBefore(int); 4356 method public int codePointBefore(int); 4416 method public int codePointBefore(int);
|