/libcore/luni/src/test/java/libcore/java/nio/ |
D | CharBufferTest.java | 46 assertTrue(Arrays.equals(expected, cb.codePoints().limit(s.length()).toArray())); in testCodePoints() 53 assertEquals(Character.toCodePoint(high, low), cb.codePoints().toArray()[0]); in testCodePoints() 54 assertEquals((int) low, cb.codePoints().toArray()[1]); // Unmatched surrogate. in testCodePoints() 55 assertEquals((int) '0', cb.codePoints().toArray()[2]); in testCodePoints()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | StringBufferTest.java | 45 assertTrue(Arrays.equals(expected, s.codePoints().toArray())); in testCodePoints() 50 assertEquals(Character.toCodePoint(high, low), surrogateCP.codePoints().toArray()[0]); in testCodePoints() 51 assertEquals((int) low, surrogateCP.codePoints().toArray()[1]); // Unmatched surrogate. in testCodePoints() 52 assertEquals((int) '0', surrogateCP.codePoints().toArray()[2]); in testCodePoints()
|
D | StringBuilderTest.java | 155 assertTrue(Arrays.equals(expected, s.codePoints().toArray())); in testCodePoints() 160 assertEquals(Character.toCodePoint(high, low), surrogateCP.codePoints().toArray()[0]); in testCodePoints() 161 assertEquals((int) low, surrogateCP.codePoints().toArray()[1]); // Unmatched surrogate. in testCodePoints() 162 assertEquals((int) '0', surrogateCP.codePoints().toArray()[2]); in testCodePoints()
|
D | StringTest.java | 733 assertTrue(Arrays.equals(expected, s.codePoints().toArray())); in testCodePoints() 738 assertEquals(Character.toCodePoint(high, low), surrogateCP.codePoints().toArray()[0]); in testCodePoints() 739 assertEquals((int) low, surrogateCP.codePoints().toArray()[1]); // Unmatched surrogate. in testCodePoints() 740 assertEquals((int) '0', surrogateCP.codePoints().toArray()[2]); in testCodePoints()
|
/libcore/libart/src/main/java/java/lang/ |
D | StringFactory.java | 150 public static String newStringFromCodePoints(int[] codePoints, int offset, int count) { in newStringFromCodePoints() argument 151 if (codePoints == null) { in newStringFromCodePoints() 154 if ((offset | count) < 0 || count > codePoints.length - offset) { in newStringFromCodePoints() 155 throw new StringIndexOutOfBoundsException(codePoints.length, offset, count); in newStringFromCodePoints() 161 length += Character.toChars(codePoints[i], value, length); in newStringFromCodePoints()
|
/libcore/ojluni/src/test/java/lang/String/ |
D | Strip.java | 104 System.err.println(input.codePoints() in report() 109 System.err.println(output.codePoints() in report()
|
D | Chars.java | 89 if (!Arrays.equals(expected, str.codePoints().toArray())) { in testCPs()
|
/libcore/ojluni/annotations/flagged_api/java/lang/ |
D | CharSequence.annotated.java | 45 public default java.util.stream.IntStream codePoints() { throw new RuntimeException("Stub!"); } in codePoints() method
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | CharSequence.annotated.java | 44 @libcore.util.NonNull public default java.util.stream.IntStream codePoints() { throw new RuntimeExc… in codePoints() method
|
D | String.annotated.java | 52 public String(int[] codePoints, int offset, int count) { throw new RuntimeException("Stub!"); } in String() argument
|
/libcore/ojluni/src/main/java/java/lang/ |
D | CharSequence.java | 198 public default IntStream codePoints() { in codePoints() method
|
D | String.java | 348 public String(int[] codePoints, int offset, int count) { in String() argument 3958 public IntStream codePoints() {
|
D | AbstractStringBuilder.java | 1570 public IntStream codePoints() { in codePoints() method
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | String.java | 53 public String(int[] codePoints, int offset, int count) { in String() argument
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandlesTest.java | 1066 int[] codePoints = new int[sb.codePointCount(0, sb.length())]; in testStringConstructors() local 1068 codePoints[i] = sb.codePointAt(i); in testStringConstructors() 1072 s = (String) mh.invokeExact(codePoints, 0, codePoints.length); in testStringConstructors()
|
/libcore/api/ |
D | current.txt | 2422 method @NonNull public default java.util.stream.IntStream codePoints(); 4123 method @NonNull public java.util.stream.IntStream codePoints(); 4224 method @NonNull public java.util.stream.IntStream codePoints(); 4284 method @NonNull public java.util.stream.IntStream codePoints();
|