/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 | 203 assertEquals('a', Character.codePointBefore("abc", 1)); in test_codePointBeforeLjava_lang_CharSequenceI() 204 assertEquals('b', Character.codePointBefore("abc", 2)); in test_codePointBeforeLjava_lang_CharSequenceI() 205 assertEquals('c', Character.codePointBefore("abc", 3)); in test_codePointBeforeLjava_lang_CharSequenceI() 206 assertEquals(0x10000, Character.codePointBefore("\uD800\uDC00", 2)); in test_codePointBeforeLjava_lang_CharSequenceI() 207 assertEquals('\uD800', Character.codePointBefore("\uD800\uDC00", 1)); in test_codePointBeforeLjava_lang_CharSequenceI() 210 Character.codePointBefore((CharSequence) null, 0); in test_codePointBeforeLjava_lang_CharSequenceI() 216 Character.codePointBefore("abc", 0); in test_codePointBeforeLjava_lang_CharSequenceI() 222 Character.codePointBefore("abc", 4); in test_codePointBeforeLjava_lang_CharSequenceI() 229 assertEquals('a', Character.codePointBefore("abc".toCharArray(), 1)); in test_codePointBefore$CI() 230 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/main/java/java/lang/ |
D | StringBuffer.java | 218 public synchronized int codePointBefore(int index) { in codePointBefore() method in StringBuffer 219 return super.codePointBefore(index); in codePointBefore()
|
D | String.java | 673 public int codePointBefore(int index) { in codePointBefore() method in String 679 return Character.codePointBefore(this, index); in codePointBefore()
|
D | AbstractStringBuilder.java | 290 public int codePointBefore(int index) { in codePointBefore() method in AbstractStringBuilder
|
/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 | 80 public int codePointBefore(int index) { throw new RuntimeException("Stub!"); } in codePointBefore() method in String
|