Home
last modified time | relevance | path

Searched defs:decoder (Results 1 – 15 of 15) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DBase64Test.java141 private static void checkDecoder_extraChars_common(Decoder decoder) throws Exception { in checkDecoder_extraChars_common()
308 private static void checkDecoder_nonPrintableBytes_table1(Decoder decoder) throws Exception { in checkDecoder_nonPrintableBytes_table1()
325 Decoder decoder = Base64.getUrlDecoder(); in testDecoder_nonPrintableBytes_url() local
380 Decoder decoder = Base64.getDecoder(); in testDecoder_decodeArrayToArray() local
391 assertRoundTrip(Base64.getEncoder(), decoder, inputString, decodedBytes); in testDecoder_decodeArrayToArray() local
417 Decoder decoder = Base64.getDecoder(); in testDecoder_decodeByteBuffer() local
443 Decoder decoder, ByteBuffer inputBuffer, byte[] expectedBytes) { in checkDecoder_decodeByteBuffer()
459 Decoder decoder = Base64.getDecoder(); in testDecoder_decodeByteBuffer_invalidData() local
477 Decoder decoder, ByteBuffer inputBuffer) { in checkDecoder_decodeByteBuffer_invalidData()
499 private static void checkDecoder_nullArgs(Decoder decoder) { in checkDecoder_nullArgs()
[all …]
DLibcoreIoDerivedBase64Test.java224 CharsetDecoder decoder = StandardCharsets.US_ASCII.newDecoder(); in bytesToAscii() local
265 Decoder decoder = Base64.getDecoder(); in decode() local
/libcore/luni/src/test/java/libcore/java/nio/charset/
DCharsetDecoderTest.java41 CharsetDecoder decoder = Charset.forName("UTF-16").newDecoder(); in test_ByteArray_decode_no_offset() local
55 CharsetDecoder decoder = Charset.forName("UTF-16").newDecoder(); in test_ByteArray_decode_with_offset() local
71 CharsetDecoder decoder = Charset.forName("UTF-16").newDecoder(); in test_ByteArray_decode_with_offset_using_facade_method() local
96 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in testUtf8BytesSplitAcrossMultipleWrites() local
114 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in testBufferWithNonZeroOffset() local
DOldCharsetEncoderDecoderBufferTest.java38 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in testDecoderOutputBuffer() local
70 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in testDecoderInputBuffer() local
DCharset_TestGenerator.java32 CharsetDecoder decoder; field in Charset_TestGenerator
235 CharsetDecoder decoder = charset.newDecoder(); in genDecoded() local
DOldCharset_AbstractTest.java40 static CharsetDecoder decoder; field in OldCharset_AbstractTest
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DUTF16CharsetEncoderTest.java34 private static final CharsetDecoder decoder = CS.newDecoder(); field in UTF16CharsetEncoderTest
DCharsetDecoder2Test.java185 MockMalformedDecoder decoder = new MockMalformedDecoder(cs); in testDecodeLjava_nio_ByteBuffer_ReplaceOverflow() local
250 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in testInvalidDecoding() local
DCharsetDecoderTest.java47 protected static CharsetDecoder decoder; field in CharsetDecoderTest
/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() local
381 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in test_read_1() local
/libcore/ojluni/src/main/java/javax/net/ssl/
DSNIHostName.java171 CharsetDecoder decoder = StandardCharsets.UTF_8.newDecoder() in SNIHostName() local
/libcore/ojluni/src/main/java/java/util/zip/
DZipCoder.java142 private CharsetDecoder decoder() { in decoder() method in ZipCoder
/libcore/luni/src/test/java/libcore/java/lang/
DStringTest.java316 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); in test_69599767() local
454 CharsetDecoder decoder = StandardCharsets.UTF_8.newDecoder() in assertFastPathUtf8DecodedEquals() local
/libcore/ojluni/src/main/java/sun/nio/cs/
DStreamDecoder.java226 private CharsetDecoder decoder; field in StreamDecoder
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
DFtpClient.java1927 BASE64Decoder decoder = new BASE64Decoder(); in getSecurityData() local