Searched refs:codePointCount (Results 1 – 5 of 5) sorted by relevance
| /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()
|
| /libcore/luni/src/main/java/java/lang/ |
| D | StringBuffer.java | 360 public synchronized int codePointCount(int beginIndex, int endIndex) { in codePointCount() method in StringBuffer 361 return super.codePointCount(beginIndex, endIndex); in codePointCount()
|
| D | AbstractStringBuilder.java | 872 public int codePointCount(int start, int end) { in codePointCount() method in AbstractStringBuilder 876 return Character.codePointCount(value, start, end - start); in codePointCount()
|
| D | Character.java | 2126 public static int codePointCount(CharSequence seq, int beginIndex, in codePointCount() method in Character 2174 public static int codePointCount(char[] seq, int offset, int count) { in codePointCount() method in Character
|
| D | String.java | 1896 public int codePointCount(int start, int end) { in codePointCount() method in String 1900 return Character.codePointCount(value, offset + start, end - start); in codePointCount()
|