Searched refs:UTF_16 (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | StandardCharsets.java | 65 public static final Charset UTF_16 = Charset.forName("UTF-16"); field in StandardCharsets
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | Files2Test.java | 927 Files.write(filesSetup.getDataFilePath(), lines, StandardCharsets.UTF_16); in test_lines$Path$Charset() 929 StandardCharsets.UTF_16)) { in test_lines$Path$Charset() argument 937 StandardCharsets.UTF_16)) { in test_lines$Path$Charset() argument 947 StandardCharsets.UTF_16)) { in test_lines$Path$Charset() argument 955 Files.lines(null, StandardCharsets.UTF_16); in test_lines$Path$Charset_NPE() 1303 out = Files.readAllLines(filesSetup.getDataFilePath(), StandardCharsets.UTF_16); in test_readAllLine$Path$Charset() 1308 StandardCharsets.UTF_16); in test_readAllLine$Path$Charset() 1314 Files.readAllLines(filesSetup.getTestPath(), StandardCharsets.UTF_16); in test_readAllLine$Path$Charset() 1321 Files.readAllLines(filesSetup.getTestDirPath(), StandardCharsets.UTF_16); in test_readAllLine$Path$Charset() 1329 Files.readAllLines(null, StandardCharsets.UTF_16); in test_readAllLine$Path$Charset_NPE() [all …]
|
/libcore/ojluni/src/main/resources/sun/nio/cs/ |
D | standard-charsets | 66 charset UTF-16 UTF_16 67 alias UTF_16 # JDK historical
|
/libcore/luni/src/test/java/libcore/xml/ |
D | ExpatSaxParserTest.java | 670 parse(is, Encoding.UTF_16, new TestHandler()); in checkBug28698301() 728 UTF_16("UTF-16"), enumConstant
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | PrintStreamTest.java | 110 assertFileContents(UNICODE_STRING.getBytes(StandardCharsets.UTF_16), testFile); in test_Constructor_Ljava_lang_String_Ljava_lang_String() 169 assertByteArraysEqual(UNICODE_STRING.getBytes(StandardCharsets.UTF_16), in test_ConstructorLjava_io_OutputStreamZLjava_lang_String()
|