Home
last modified time | relevance | path

Searched refs:toChars (Results 1 – 12 of 12) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DCharacterTest.java295 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/
DStringFactory.java288 length += Character.toChars(codePoints[i], value, length); in newStringFromCodePoints()
/libcore/luni/src/test/java/libcore/java/nio/charset/
DStandardCharsetsEncoderTest.java166 String utf16 = new String(Character.toChars(codePoint)); in createCodePointInfo()
DOldCharset_AbstractTest.java190 char[] codeChars = Character.toChars(code); in test_CodecDynamic()
/libcore/luni/src/test/java/libcore/xml/
DKxmlSerializerTest.java94 return new String(Character.toChars(codePoint)); in fromCodePoint()
/libcore/luni/src/test/java/libcore/java/lang/
DStringTest.java341 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/
DDocumentBuilderImpl.java424 char[] surrogatePair = Character.toChars(codePoint); in resolveCharacterReference()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DASCIICharsetEncoderTest.java107 char[] chars = Character.toChars(i); in testEncodeMapping()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DCharacter.java143 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/
DCharacter.annotated.java85 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/
DCharacter.java5171 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/
DFormatter.java2945 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()