HomeSort by relevance Sort by last modified time
    Searched full:codepointcount (Results 1 - 10 of 10) sorted by null

  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
OldCharacterTest.java 26 assertEquals(1, Character.codePointCount("\uD800\uDC00".toCharArray(),
28 assertEquals(3, Character.codePointCount("a\uD800\uDC00b".toCharArray(),
30 assertEquals(4, Character.codePointCount("a\uD800\uDC00b\uD800".toCharArray(),
32 assertEquals(4, Character.codePointCount("ab\uD800\uDC00b\uD800".toCharArray(),
36 Character.codePointCount((char[]) null, 0, 1);
42 Character.codePointCount("abc".toCharArray(), -1, 1);
48 Character.codePointCount("abc".toCharArray(), 0, 4);
54 Character.codePointCount("abc".toCharArray(), 1, 3);
StringBufferTest.java 418 * @tests java.lang.StringBuffer.codePointCount(int, int)
421 assertEquals(1, new StringBuffer("\uD800\uDC00").codePointCount(0, 2));
422 assertEquals(1, new StringBuffer("\uD800\uDC01").codePointCount(0, 2));
423 assertEquals(1, new StringBuffer("\uD801\uDC01").codePointCount(0, 2));
424 assertEquals(1, new StringBuffer("\uDBFF\uDFFF").codePointCount(0, 2));
426 assertEquals(3, new StringBuffer("a\uD800\uDC00b").codePointCount(0, 4));
427 assertEquals(4, new StringBuffer("a\uD800\uDC00b\uD800").codePointCount(0, 5));
431 sb.codePointCount(-1, 2);
438 sb.codePointCount(0, 4);
445 sb.codePointCount(3, 2)
    [all...]
StringBuilderTest.java 498 * @tests java.lang.StringBuilder.codePointCount(int, int)
501 assertEquals(1, new StringBuilder("\uD800\uDC00").codePointCount(0, 2));
502 assertEquals(1, new StringBuilder("\uD800\uDC01").codePointCount(0, 2));
503 assertEquals(1, new StringBuilder("\uD801\uDC01").codePointCount(0, 2));
504 assertEquals(1, new StringBuilder("\uDBFF\uDFFF").codePointCount(0, 2));
506 assertEquals(3, new StringBuilder("a\uD800\uDC00b").codePointCount(0, 4));
507 assertEquals(4, new StringBuilder("a\uD800\uDC00b\uD800").codePointCount(0, 5));
512 sb.codePointCount(-1, 2);
519 sb.codePointCount(0, 4);
526 sb.codePointCount(3, 2)
    [all...]
  /frameworks/base/core/java/android/emoji/
EmojiFactory.java 188 int[] codePoints = new int[vspString.codePointCount(0, len)];
222 int[] codePoints = new int[puaString.codePointCount(0, len)];
  /libcore/luni/src/main/java/java/lang/
AbstractStringBuilder.java 877 * @see Character#codePointCount(char[], int, int)
880 public int codePointCount(int beginIndex, int endIndex) {
884 return Character.codePointCount(value, beginIndex, endIndex
StringBuffer.java 360 public synchronized int codePointCount(int beginIndex, int endIndex) {
361 return super.codePointCount(beginIndex, endIndex);
String.java     [all...]
Character.java     [all...]
  /external/chromium/third_party/icu/source/test/cintltst/
nucnvtst.c     [all...]
  /external/icu4c/test/cintltst/
nucnvtst.c     [all...]

Completed in 2205 milliseconds