Home
last modified time | relevance | path

Searched refs:newDecoder (Results 1 – 18 of 18) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/charset/
DCharsetDecoderTest.java31 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()
DOldCharsetEncoderDecoderBufferTest.java38 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in testDecoderOutputBuffer()
70 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in testDecoderInputBuffer()
DCharset_TestGenerator.java235 CharsetDecoder decoder = charset.newDecoder(); in genDecoded()
DOldCharset_AbstractTest.java62 decoder = charset.newDecoder(); in setUp()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetDecoder2Test.java91 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()
DCharsetEncoder2Test.java131 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()
DUTF16CharsetEncoderTest.java34 private static final CharsetDecoder decoder = CS.newDecoder();
DCharsetTest.java55 assertNotNull(cs.newDecoder()); in test_allAvailableCharsets()
765 public CharsetDecoder newDecoder() {
783 public CharsetDecoder newDecoder() {
DCharsetDecoderTest.java53 decoder = cs.newDecoder(); in setUp()
DCharsetEncoderTest.java1119 public CharsetDecoder newDecoder() { in newDecoder() method in CharsetEncoderTest.MockCharset
/libcore/luni/src/main/java/java/nio/charset/
DCharsetICU.java22 public CharsetDecoder newDecoder() { in newDecoder() method in CharsetICU
DCharset.java373 public abstract CharsetDecoder newDecoder(); in newDecoder() method in Charset
478 return newDecoder() in decode()
DCharsetEncoder.java535 decoder = charset.newDecoder(); in isLegalReplacement()
/libcore/luni/src/main/java/java/io/
DInputStreamReader.java83 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/
DChannelsTest.java363 .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/
DInputStreamReaderTest.java280 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/
DChannels.java155 return newReader(channel, Charset.forName(charsetName).newDecoder(), -1); in newReader()
/libcore/luni/src/test/java/libcore/java/lang/
DStringTest.java80 public CharsetDecoder newDecoder() { return new EvilCharsetDecoder(this); }
347 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in test_23831()