/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | CharacterTest.java | 295 int result = Character.toChars(0x10000, dst, 0); in test_toCharsI$CI() 299 result = Character.toChars(0x10001, dst, 0); in test_toCharsI$CI() 303 result = Character.toChars(0x10401, dst, 0); in test_toCharsI$CI() 307 result = Character.toChars(0x10FFFF, dst, 0); in test_toCharsI$CI() 312 Character.toChars(Integer.MAX_VALUE, new char[2], 0); in test_toCharsI$CI() 318 Character.toChars('a', null, 0); in test_toCharsI$CI() 324 Character.toChars('a', new char[1], -1); in test_toCharsI$CI() 330 Character.toChars('a', new char[1], 1); in test_toCharsI$CI() 337 assertTrue(Arrays.equals(new char[] { '\uD800', '\uDC00' }, Character.toChars(0x10000))); in test_toCharsI() 338 assertTrue(Arrays.equals(new char[] { '\uD800', '\uDC01' }, Character.toChars(0x10001))); in test_toCharsI() [all …]
|
/libcore/libart/src/main/java/java/lang/ |
D | StringFactory.java | 288 length += Character.toChars(codePoints[i], value, length); in newStringFromCodePoints()
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
D | StandardCharsetsEncoderTest.java | 166 String utf16 = new String(Character.toChars(codePoint)); in createCodePointInfo()
|
D | OldCharset_AbstractTest.java | 190 char[] codeChars = Character.toChars(code); in test_CodecDynamic()
|
/libcore/luni/src/test/java/libcore/xml/ |
D | KxmlSerializerTest.java | 94 return new String(Character.toChars(codePoint)); in fromCodePoint()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | StringTest.java | 341 assertEquals("\ud800\udc00", String.valueOf(Character.toChars(0x10000))); in testFastPathString_wellFormedUtf8Sequence() 344 assertEquals("\udbff\udfff", String.valueOf(Character.toChars(0x10ffff))); in testFastPathString_wellFormedUtf8Sequence()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/ |
D | DocumentBuilderImpl.java | 424 char[] surrogatePair = Character.toChars(codePoint); in resolveCharacterReference()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
D | ASCIICharsetEncoderTest.java | 107 char[] chars = Character.toChars(i); in testEncodeMapping()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Character.java | 143 public static int toChars(int codePoint, char[] dst, int dstIndex) { in toChars() method in Character 147 public static char[] toChars(int codePoint) { in toChars() method in Character
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Character.annotated.java | 85 public static int toChars(int codePoint, char[] dst, int dstIndex) { throw new RuntimeException("St… in toChars() method in Character 87 public static char[] toChars(int codePoint) { throw new RuntimeException("Stub!"); } in toChars() method in Character
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Character.java | 5171 public static int toChars(int codePoint, char[] dst, int dstIndex) { in toChars() method in Character 5199 public static char[] toChars(int codePoint) { in toChars() method in Character
|
/libcore/ojluni/src/main/java/java/util/ |
D | Formatter.java | 2945 s = new String(Character.toChars(i)); in printCharacter() 2951 s = new String(Character.toChars(i)); in printCharacter() 2957 s = new String(Character.toChars(i)); in printCharacter()
|