Home
last modified time | relevance | path

Searched refs:newDecoder (Results 1 – 25 of 25) 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()
96 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in testUtf8BytesSplitAcrossMultipleWrites()
114 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in testBufferWithNonZeroOffset()
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()
DCharsetEncoderTest.java193 public CharsetDecoder newDecoder() { in newDecoder() method
DOldCharset_AbstractTest.java67 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.java49 assertNotNull(cs.newDecoder()); in test_allAvailableCharsets()
728 public CharsetDecoder newDecoder() {
746 public CharsetDecoder newDecoder() {
DCharsetDecoderTest.java53 decoder = cs.newDecoder(); in setUp()
DCharsetEncoderTest.java1119 public CharsetDecoder newDecoder() { in newDecoder() method in CharsetEncoderTest.MockCharset
/libcore/ojluni/src/main/java/sun/nio/cs/
DThreadLocalCoders.java98 return Charset.forName((String)name).newDecoder();
100 return ((Charset)name).newDecoder();
DStreamDecoder.java235 cs.newDecoder() in StreamDecoder()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DChannelsTest.java367 .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/
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/ojluni/src/main/java/javax/net/ssl/
DSNIHostName.java171 CharsetDecoder decoder = StandardCharsets.UTF_8.newDecoder() in SNIHostName()
/libcore/luni/src/test/java/libcore/java/lang/
DStringTest.java86 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/
DZipCoder.java144 dec = cs.newDecoder() in decoder()
/libcore/ojluni/annotations/hiddenapi/java/nio/charset/
DCharset.java116 public abstract java.nio.charset.CharsetDecoder newDecoder(); in newDecoder() method in Charset
/libcore/ojluni/src/main/java/java/nio/charset/
DCharsetEncoder.java363 dec = charset().newDecoder(); in isLegalReplacement()
DCharset.java797 public abstract CharsetDecoder newDecoder();
/libcore/luni/src/test/java/libcore/java/util/
DLibcoreIoDerivedBase64Test.java224 CharsetDecoder decoder = StandardCharsets.US_ASCII.newDecoder(); in bytesToAscii()
/libcore/ojluni/src/main/java/java/nio/channels/
DChannels.java539 return newReader(ch, Charset.forName(csName).newDecoder(), -1);
/libcore/ojluni/src/main/java/java/util/
DScanner.java654 return Charset.forName(charsetName).newDecoder(); in toDecoder()
732 return makeReadable(source, Charset.defaultCharset().newDecoder()); in makeReadable()
/libcore/ojluni/src/main/java/java/nio/file/
DFiles.java2783 CharsetDecoder decoder = cs.newDecoder();