Home
last modified time | relevance | path

Searched refs:codePointAt (Results 1 – 21 of 21) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStringTest.java402 assertEquals('a', s.codePointAt(0)); in test_codePointAtI()
403 assertEquals('b', s.codePointAt(1)); in test_codePointAtI()
404 assertEquals('c', s.codePointAt(2)); in test_codePointAtI()
407 assertEquals('a', s.codePointAt(0)); in test_codePointAtI()
408 assertEquals('b', s.codePointAt(1)); in test_codePointAtI()
409 assertEquals('c', s.codePointAt(2)); in test_codePointAtI()
412 assertEquals(0x10000, s.codePointAt(0)); in test_codePointAtI()
413 assertEquals('\uDC00', s.codePointAt(1)); in test_codePointAtI()
416 assertEquals(0x10000, s.codePointAt(0)); in test_codePointAtI()
417 assertEquals('\uDC00', s.codePointAt(1)); in test_codePointAtI()
[all …]
DCharacterTest.java111 assertEquals('a', Character.codePointAt("abc", 0)); in test_codePointAtLjava_lang_CharSequenceI()
112 assertEquals('b', Character.codePointAt("abc", 1)); in test_codePointAtLjava_lang_CharSequenceI()
113 assertEquals('c', Character.codePointAt("abc", 2)); in test_codePointAtLjava_lang_CharSequenceI()
114 assertEquals(0x10000, Character.codePointAt("\uD800\uDC00", 0)); in test_codePointAtLjava_lang_CharSequenceI()
115 assertEquals('\uDC00', Character.codePointAt("\uD800\uDC00", 1)); in test_codePointAtLjava_lang_CharSequenceI()
118 Character.codePointAt((CharSequence) null, 0); in test_codePointAtLjava_lang_CharSequenceI()
124 Character.codePointAt("abc", -1); in test_codePointAtLjava_lang_CharSequenceI()
130 Character.codePointAt("abc", 4); in test_codePointAtLjava_lang_CharSequenceI()
137 assertEquals('a', Character.codePointAt("abc".toCharArray(), 0)); in test_codePointAt$CI()
138 assertEquals('b', Character.codePointAt("abc".toCharArray(), 1)); in test_codePointAt$CI()
[all …]
DStringBufferTest.java353 assertEquals('a', sb.codePointAt(0)); in test_codePointAtI()
354 assertEquals('b', sb.codePointAt(1)); in test_codePointAtI()
355 assertEquals('c', sb.codePointAt(2)); in test_codePointAtI()
358 assertEquals(0x10000, sb.codePointAt(0)); in test_codePointAtI()
359 assertEquals('\uDC00', sb.codePointAt(1)); in test_codePointAtI()
362 sb.codePointAt(-1); in test_codePointAtI()
369 sb.codePointAt(sb.length()); in test_codePointAtI()
376 sb.codePointAt(sb.length() + 1); in test_codePointAtI()
DStringBuilderTest.java427 assertEquals('a', sb.codePointAt(0)); in test_codePointAtI()
428 assertEquals('b', sb.codePointAt(1)); in test_codePointAtI()
429 assertEquals('c', sb.codePointAt(2)); in test_codePointAtI()
432 assertEquals(0x10000, sb.codePointAt(0)); in test_codePointAtI()
433 assertEquals('\uDC00', sb.codePointAt(1)); in test_codePointAtI()
438 sb.codePointAt(-1); in test_codePointAtI()
445 sb.codePointAt(sb.length()); in test_codePointAtI()
452 sb.codePointAt(sb.length() + 1); in test_codePointAtI()
/libcore/ojluni/src/main/java/java/util/
DStringTokenizer.java154 c = delimiters.codePointAt(i); in setMaxDelimCodePoint()
166 c = delimiters.codePointAt(j); in setMaxDelimCodePoint()
256 int c = str.codePointAt(position); in skipDelimiters()
279 int c = str.codePointAt(position); in scanToken()
291 int c = str.codePointAt(position); in scanToken()
DServiceLoader.java267 int cp = ln.codePointAt(0); in parseLine()
271 cp = ln.codePointAt(i); in parseLine()
/libcore/ojluni/src/main/java/java/lang/
DStringBuffer.java210 public synchronized int codePointAt(int index) { in codePointAt() method in StringBuffer
211 return super.codePointAt(index); in codePointAt()
DString.java643 public int codePointAt(int index) { in codePointAt() method in String
648 return Character.codePointAt(this, index); in codePointAt()
DCharacter.java4900 public static int codePointAt(CharSequence seq, int index) { in codePointAt() method in Character
4932 public static int codePointAt(char[] a, int index) { in codePointAt() method in Character
4961 public static int codePointAt(char[] a, int index, int limit) { in codePointAt() method in Character
DAbstractStringBuilder.java262 public int codePointAt(int index) { in codePointAt() method in AbstractStringBuilder
/libcore/ojluni/annotations/hiddenapi/java/lang/
DAbstractStringBuilder.java77 public int codePointAt(int index) { in codePointAt() method in AbstractStringBuilder
DCharacter.java103 public static int codePointAt(java.lang.CharSequence seq, int index) { in codePointAt() method in Character
107 public static int codePointAt(char[] a, int index) { in codePointAt() method in Character
111 public static int codePointAt(char[] a, int index, int limit) { in codePointAt() method in Character
DString.java117 public int codePointAt(int index) { in codePointAt() method in String
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DStringBuffer.annotated.java53 public synchronized int codePointAt(int index) { throw new RuntimeException("Stub!"); } in codePointAt() method in StringBuffer
DStringBuilder.annotated.java114 public int codePointAt(int index) { throw new RuntimeException("Stub!"); } in codePointAt() method in StringBuilder
DCharacter.annotated.java69 public static int codePointAt(@libcore.util.NonNull java.lang.CharSequence seq, int index) { throw … in codePointAt() method in Character
71 public static int codePointAt(char[] a, int index) { throw new RuntimeException("Stub!"); } in codePointAt() method in Character
73 public static int codePointAt(char[] a, int index, int limit) { throw new RuntimeException("Stub!")… in codePointAt() method in Character
DString.annotated.java78 public int codePointAt(int index) { throw new RuntimeException("Stub!"); } in codePointAt() method in String
/libcore/luni/src/test/java/libcore/java/lang/
DStringTest.java400 assertEquals(0x10000, Character.codePointAt(surrogatePair.toCharArray(), 0)); in testFastPathString_illFormedUtf8Sequence()
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandlesTest.java997 codePoints[i] = sb.codePointAt(i); in testStringConstructors()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DFormatterTest.java1456 assertEquals(0x10000, f.toString().codePointAt(0)); in test_formatLjava_lang_String$Ljava_lang_Object_CharacterConversion()
/libcore/api/
Dcurrent.txt2335 method public static int codePointAt(@NonNull CharSequence, int);
2336 method public static int codePointAt(char[], int);
2337 method public static int codePointAt(char[], int, int);
3759 method public int codePointAt(int);
3846 method public int codePointAt(int);
3902 method public int codePointAt(int);