/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldCharacterTest.java | 25 assertEquals(1, Character.codePointCount("\uD800\uDC00".toCharArray(), in test_codePointCountLjava_lang_CharArrayII() 27 assertEquals(3, Character.codePointCount("a\uD800\uDC00b".toCharArray(), in test_codePointCountLjava_lang_CharArrayII() 29 assertEquals(4, Character.codePointCount("a\uD800\uDC00b\uD800".toCharArray(), in test_codePointCountLjava_lang_CharArrayII() 31 assertEquals(4, Character.codePointCount("ab\uD800\uDC00b\uD800".toCharArray(), in test_codePointCountLjava_lang_CharArrayII() 35 Character.codePointCount((char[]) null, 0, 1); in test_codePointCountLjava_lang_CharArrayII() 41 Character.codePointCount("abc".toCharArray(), -1, 1); in test_codePointCountLjava_lang_CharArrayII() 47 Character.codePointCount("abc".toCharArray(), 0, 4); in test_codePointCountLjava_lang_CharArrayII() 53 Character.codePointCount("abc".toCharArray(), 1, 3); in test_codePointCountLjava_lang_CharArrayII()
|
D | StringTest.java | 629 assertEquals(5, hello.codePointCount(0, 5)); in testCodePointCount() 630 assertEquals(7, hello.codePointCount(5, 12)); in testCodePointCount() 631 assertEquals(2, hello.codePointCount(10, 12)); in testCodePointCount()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StringTest.java | 517 assertEquals(1, "\uD800\uDC00".codePointCount(0, 2)); in test_codePointCountII() 518 assertEquals(1, "\uD800\uDC01".codePointCount(0, 2)); in test_codePointCountII() 519 assertEquals(1, "\uD801\uDC01".codePointCount(0, 2)); in test_codePointCountII() 520 assertEquals(1, "\uDBFF\uDFFF".codePointCount(0, 2)); in test_codePointCountII() 522 assertEquals(3, "a\uD800\uDC00b".codePointCount(0, 4)); in test_codePointCountII() 523 assertEquals(4, "a\uD800\uDC00b\uD800".codePointCount(0, 5)); in test_codePointCountII() 525 assertEquals(1, newString(2, 2, "__\uD800\uDC00__".toCharArray()).codePointCount(0, 2)); in test_codePointCountII() 526 assertEquals(1, newString(2, 2, "__\uD800\uDC01__".toCharArray()).codePointCount(0, 2)); in test_codePointCountII() 527 assertEquals(1, newString(2, 2, "__\uD801\uDC01__".toCharArray()).codePointCount(0, 2)); in test_codePointCountII() 528 assertEquals(1, newString(2, 2, "__\uDBFF\uDFFF__".toCharArray()).codePointCount(0, 2)); in test_codePointCountII() [all …]
|
D | StringBufferTest.java | 422 assertEquals(1, new StringBuffer("\uD800\uDC00").codePointCount(0, 2)); in test_codePointCountII() 423 assertEquals(1, new StringBuffer("\uD800\uDC01").codePointCount(0, 2)); in test_codePointCountII() 424 assertEquals(1, new StringBuffer("\uD801\uDC01").codePointCount(0, 2)); in test_codePointCountII() 425 assertEquals(1, new StringBuffer("\uDBFF\uDFFF").codePointCount(0, 2)); in test_codePointCountII() 427 assertEquals(3, new StringBuffer("a\uD800\uDC00b").codePointCount(0, 4)); in test_codePointCountII() 428 assertEquals(4, new StringBuffer("a\uD800\uDC00b\uD800").codePointCount(0, 5)); in test_codePointCountII() 432 sb.codePointCount(-1, 2); in test_codePointCountII() 439 sb.codePointCount(0, 4); in test_codePointCountII() 446 sb.codePointCount(3, 2); in test_codePointCountII()
|
D | CharacterTest.java | 350 assertEquals(1, Character.codePointCount("\uD800\uDC00", 0, 2)); in test_codePointCountLjava_lang_CharSequenceII() 351 assertEquals(1, Character.codePointCount("\uD800\uDC01", 0, 2)); in test_codePointCountLjava_lang_CharSequenceII() 352 assertEquals(1, Character.codePointCount("\uD801\uDC01", 0, 2)); in test_codePointCountLjava_lang_CharSequenceII() 353 assertEquals(1, Character.codePointCount("\uDBFF\uDFFF", 0, 2)); in test_codePointCountLjava_lang_CharSequenceII() 355 assertEquals(3, Character.codePointCount("a\uD800\uDC00b", 0, 4)); in test_codePointCountLjava_lang_CharSequenceII() 356 assertEquals(4, Character.codePointCount("a\uD800\uDC00b\uD800", 0, 5)); in test_codePointCountLjava_lang_CharSequenceII() 359 Character.codePointCount((CharSequence) null, 0, 1); in test_codePointCountLjava_lang_CharSequenceII() 365 Character.codePointCount("abc", -1, 1); in test_codePointCountLjava_lang_CharSequenceII() 371 Character.codePointCount("abc", 0, 4); in test_codePointCountLjava_lang_CharSequenceII() 377 Character.codePointCount("abc", 2, 1); in test_codePointCountLjava_lang_CharSequenceII()
|
D | StringBuilderTest.java | 501 assertEquals(1, new StringBuilder("\uD800\uDC00").codePointCount(0, 2)); in test_codePointCountII() 502 assertEquals(1, new StringBuilder("\uD800\uDC01").codePointCount(0, 2)); in test_codePointCountII() 503 assertEquals(1, new StringBuilder("\uD801\uDC01").codePointCount(0, 2)); in test_codePointCountII() 504 assertEquals(1, new StringBuilder("\uDBFF\uDFFF").codePointCount(0, 2)); in test_codePointCountII() 506 assertEquals(3, new StringBuilder("a\uD800\uDC00b").codePointCount(0, 4)); in test_codePointCountII() 507 assertEquals(4, new StringBuilder("a\uD800\uDC00b\uD800").codePointCount(0, 5)); in test_codePointCountII() 512 sb.codePointCount(-1, 2); in test_codePointCountII() 519 sb.codePointCount(0, 4); in test_codePointCountII() 526 sb.codePointCount(3, 2); in test_codePointCountII()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StringBuffer.java | 226 public synchronized int codePointCount(int beginIndex, int endIndex) { in codePointCount() method in StringBuffer 227 return super.codePointCount(beginIndex, endIndex); in codePointCount()
|
D | String.java | 703 public int codePointCount(int beginIndex, int endIndex) { in codePointCount() method in String 708 return Character.codePointCount(this, beginIndex, endIndex); in codePointCount()
|
D | AbstractStringBuilder.java | 318 public int codePointCount(int beginIndex, int endIndex) { in codePointCount() method in AbstractStringBuilder
|
D | Character.java | 5240 public static int codePointCount(CharSequence seq, int beginIndex, int endIndex) { in codePointCount() method in Character 5275 public static int codePointCount(char[] a, int offset, int count) { in codePointCount() method in Character
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | AbstractStringBuilder.java | 85 public int codePointCount(int beginIndex, int endIndex) { in codePointCount() method in AbstractStringBuilder
|
D | String.java | 125 public int codePointCount(int beginIndex, int endIndex) { in codePointCount() method in String
|
D | Character.java | 155 public static int codePointCount(java.lang.CharSequence seq, int beginIndex, int endIndex) { in codePointCount() method in Character 159 public static int codePointCount(char[] a, int offset, int count) { in codePointCount() method in Character
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | StringBuffer.annotated.java | 57 public synchronized int codePointCount(int beginIndex, int endIndex) { throw new RuntimeException("… in codePointCount() method in StringBuffer
|
D | StringBuilder.annotated.java | 138 public int codePointCount(int beginIndex, int endIndex) { throw new RuntimeException("Stub!"); } in codePointCount() method in StringBuilder
|
D | String.annotated.java | 82 public int codePointCount(int beginIndex, int endIndex) { throw new RuntimeException("Stub!"); } in codePointCount() method in String
|
D | Character.annotated.java | 89 public static int codePointCount(@libcore.util.NonNull java.lang.CharSequence seq, int beginIndex, … in codePointCount() method in Character 91 public static int codePointCount(char[] a, int offset, int count) { throw new RuntimeException("Stu… in codePointCount() method in Character
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandlesTest.java | 995 int[] codePoints = new int[sb.codePointCount(0, sb.length())]; in testStringConstructors()
|
/libcore/api/ |
D | current.txt | 2341 method public static int codePointCount(@NonNull CharSequence, int, int); 2342 method public static int codePointCount(char[], int, int); 3761 method public int codePointCount(int, int); 3848 method public int codePointCount(int, int); 3904 method public int codePointCount(int, int);
|