Home
last modified time | relevance | path

Searched refs:codePointCount (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DOldCharacterTest.java25 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/
DStringBuffer.java360 public synchronized int codePointCount(int beginIndex, int endIndex) { in codePointCount() method in StringBuffer
361 return super.codePointCount(beginIndex, endIndex); in codePointCount()
DAbstractStringBuilder.java872 public int codePointCount(int start, int end) { in codePointCount() method in AbstractStringBuilder
876 return Character.codePointCount(value, start, end - start); in codePointCount()
DCharacter.java2126 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
DString.java1896 public int codePointCount(int start, int end) { in codePointCount() method in String
1900 return Character.codePointCount(value, offset + start, end - start); in codePointCount()