/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() 92 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in testUtf8BytesSplitAcrossMultipleWrites()
|
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 | OldCharset_AbstractTest.java | 62 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 | 55 assertNotNull(cs.newDecoder()); in test_allAvailableCharsets() 765 public CharsetDecoder newDecoder() { 783 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/luni/src/main/java/java/nio/charset/ |
D | CharsetICU.java | 22 public CharsetDecoder newDecoder() { in newDecoder() method in CharsetICU
|
D | Charset.java | 373 public abstract CharsetDecoder newDecoder(); in newDecoder() method in Charset 478 return newDecoder() in decode()
|
D | CharsetEncoder.java | 535 decoder = charset.newDecoder(); in isLegalReplacement()
|
/libcore/luni/src/main/java/java/io/ |
D | InputStreamReader.java | 83 decoder = Charset.forName(charsetName).newDecoder().onMalformedInput( in InputStreamReader() 122 decoder = charset.newDecoder().onMalformedInput( in InputStreamReader()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | ChannelsTest.java | 363 .newDecoder(), //$NON-NLS-1$ in testnewReaderCharsetError() 396 testReader = Channels.newReader(null, Charset.forName(CODE_SET).newDecoder(), -1); in testNewReaderReadableByteChannelString_InputNull() 410 testReader = Channels.newReader(rbChannel, Charset.forName(CODE_SET).newDecoder(), -1); in testNewReaderReadableByteChannelString_InputNull() 433 testReader = Channels.newReader(null, Charset.forName(CODE_SET).newDecoder(), 0); in testNewReaderReadableByteChannelString_internalBufferZero() 446 testReader = Channels.newReader(rbChannel, Charset.forName(CODE_SET).newDecoder(), -1); in testNewReaderReadableByteChannelString_internalBufferZero() 467 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/luni/src/main/java/java/nio/channels/ |
D | Channels.java | 155 return newReader(channel, Charset.forName(charsetName).newDecoder(), -1); in newReader()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | StringTest.java | 80 public CharsetDecoder newDecoder() { return new EvilCharsetDecoder(this); } 347 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in test_23831()
|