/libcore/luni/src/test/java/libcore/java/nio/charset/ |
D | CharsetDecoderTest.java | 31 CharsetDecoder d = Charset.forName("UTF-16").newDecoder(); in test_replaceWith() 41 CharsetDecoder decoder = Charset.forName("UTF-16").newDecoder(); in test_ByteArray_decode_no_offset() 55 CharsetDecoder decoder = Charset.forName("UTF-16").newDecoder(); in test_ByteArray_decode_with_offset() 71 CharsetDecoder decoder = Charset.forName("UTF-16").newDecoder(); in test_ByteArray_decode_with_offset_using_facade_method() 96 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in testUtf8BytesSplitAcrossMultipleWrites() 114 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in testBufferWithNonZeroOffset()
|
D | OldCharsetEncoderDecoderBufferTest.java | 38 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in testDecoderOutputBuffer() 70 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in testDecoderInputBuffer()
|
D | Charset_TestGenerator.java | 235 CharsetDecoder decoder = charset.newDecoder(); in genDecoded()
|
D | CharsetEncoderTest.java | 193 public CharsetDecoder newDecoder() { in newDecoder() method
|
D | OldCharset_AbstractTest.java | 67 decoder = charset.newDecoder(); in setUp()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
D | CharsetDecoder2Test.java | 91 CharsetDecoder decoder2 = Charset.forName("UTF-16").newDecoder(); in test_decode() 110 cs1.newDecoder().onMalformedInput(CodingErrorAction.REPLACE) in test_decodeLjava_nio_ByteBuffer() 141 public CharsetDecoder newDecoder() { in newDecoder() method in CharsetDecoder2Test.MockMalfunctionCharset 250 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in testInvalidDecoding()
|
D | CharsetEncoder2Test.java | 131 public CharsetDecoder newDecoder() { in newDecoder() method in CharsetEncoder2Test.MockMalfunctionCharset 132 return Charset.forName("UTF-8").newDecoder(); in newDecoder() 187 CharBuffer chars = utf8.newDecoder().decode(bytes); in test_EncodeLjava_nio_CharBufferLjava_nio_ByteBufferB()
|
D | UTF16CharsetEncoderTest.java | 34 private static final CharsetDecoder decoder = CS.newDecoder();
|
D | CharsetTest.java | 49 assertNotNull(cs.newDecoder()); in test_allAvailableCharsets() 728 public CharsetDecoder newDecoder() { 746 public CharsetDecoder newDecoder() {
|
D | CharsetDecoderTest.java | 53 decoder = cs.newDecoder(); in setUp()
|
D | CharsetEncoderTest.java | 1119 public CharsetDecoder newDecoder() { in newDecoder() method in CharsetEncoderTest.MockCharset
|
/libcore/ojluni/src/main/java/sun/nio/cs/ |
D | ThreadLocalCoders.java | 98 return Charset.forName((String)name).newDecoder(); 100 return ((Charset)name).newDecoder();
|
D | StreamDecoder.java | 235 cs.newDecoder() in StreamDecoder()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | ChannelsTest.java | 367 .newDecoder(), //$NON-NLS-1$ in testnewReaderCharsetError() 400 testReader = Channels.newReader(null, Charset.forName(CODE_SET).newDecoder(), -1); in testNewReaderReadableByteChannelString_InputNull() 414 testReader = Channels.newReader(rbChannel, Charset.forName(CODE_SET).newDecoder(), -1); in testNewReaderReadableByteChannelString_InputNull() 437 testReader = Channels.newReader(null, Charset.forName(CODE_SET).newDecoder(), 0); in testNewReaderReadableByteChannelString_internalBufferZero() 450 testReader = Channels.newReader(rbChannel, Charset.forName(CODE_SET).newDecoder(), -1); in testNewReaderReadableByteChannelString_internalBufferZero() 471 CODE_SET).newDecoder(), //$NON-NLS-1$ in testNewReaderReadableByteChannelString()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | InputStreamReaderTest.java | 280 CharsetDecoder decoder = Charset.forName("utf-8").newDecoder(); in test_ConstructorLjava_io_InputStreamLjava_nio_charset_CharsetDecoder() 381 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in test_read_1() 392 CharsetDecoder decoder2 = Charset.forName("UTF-8").newDecoder(); in test_read_1() 398 CharsetDecoder decoder3 = Charset.forName("UTF-8").newDecoder(); in test_read_1()
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SNIHostName.java | 171 CharsetDecoder decoder = StandardCharsets.UTF_8.newDecoder() in SNIHostName()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | StringTest.java | 86 public CharsetDecoder newDecoder() { return new EvilCharsetDecoder(this); } 316 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in test_69599767() 454 CharsetDecoder decoder = StandardCharsets.UTF_8.newDecoder() in assertFastPathUtf8DecodedEquals() 462 CharsetDecoder cesu8Decoder = Charset.forName("CESU-8").newDecoder(); in decodeCESU8()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipCoder.java | 144 dec = cs.newDecoder() in decoder()
|
/libcore/ojluni/annotations/hiddenapi/java/nio/charset/ |
D | Charset.java | 116 public abstract java.nio.charset.CharsetDecoder newDecoder(); in newDecoder() method in Charset
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | CharsetEncoder.java | 363 dec = charset().newDecoder(); in isLegalReplacement()
|
D | Charset.java | 797 public abstract CharsetDecoder newDecoder();
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | LibcoreIoDerivedBase64Test.java | 224 CharsetDecoder decoder = StandardCharsets.US_ASCII.newDecoder(); in bytesToAscii()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | Channels.java | 539 return newReader(ch, Charset.forName(csName).newDecoder(), -1);
|
/libcore/ojluni/src/main/java/java/util/ |
D | Scanner.java | 654 return Charset.forName(charsetName).newDecoder(); in toDecoder() 732 return makeReadable(source, Charset.defaultCharset().newDecoder()); in makeReadable()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | Files.java | 2783 CharsetDecoder decoder = cs.newDecoder();
|