Home
last modified time | relevance | path

Searched refs:onMalformedInput (Results 1 – 25 of 25) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetDecoder2Test.java92 decoder2.onMalformedInput(CodingErrorAction.REPORT); in test_decode()
110 cs1.newDecoder().onMalformedInput(CodingErrorAction.REPLACE) in test_decodeLjava_nio_ByteBuffer()
186 decoder.onMalformedInput(CodingErrorAction.REPLACE); in testDecodeLjava_nio_ByteBuffer_ReplaceOverflow()
251 decoder.onMalformedInput(CodingErrorAction.REPORT); in testInvalidDecoding()
DCharsetDecoderTest.java150 decoder.onMalformedInput(null); in testOnMalformedInput()
154 decoder.onMalformedInput(CodingErrorAction.IGNORE); in testOnMalformedInput()
241 decoder.onMalformedInput(CodingErrorAction.REPORT); in testDecodeByteBufferException()
254 decoder.onMalformedInput(CodingErrorAction.IGNORE); in testDecodeByteBufferException()
260 decoder.onMalformedInput(CodingErrorAction.REPLACE); in testDecodeByteBufferException()
266 decoder.onMalformedInput(CodingErrorAction.REPORT); in testDecodeByteBufferException()
411 decoder.onMalformedInput(CodingErrorAction.REPORT); in implTestDecodeCharBufferByteBufferUnmappedException()
466 decoder.onMalformedInput(CodingErrorAction.REPORT); in implTestDecodeCharBufferByteBufferMalformedException()
473 decoder.onMalformedInput(CodingErrorAction.IGNORE); in implTestDecodeCharBufferByteBufferMalformedException()
480 decoder.onMalformedInput(CodingErrorAction.REPLACE); in implTestDecodeCharBufferByteBufferMalformedException()
DCharsetEncoderTest.java92 assertSame(encoder, encoder.onMalformedInput(CodingErrorAction.IGNORE)); in testDefaultValue()
116 assertSame(encoder, encoder.onMalformedInput(CodingErrorAction.IGNORE)); in testCharsetEncoderCharsetfloatfloat()
588 encoder.onMalformedInput(CodingErrorAction.REPLACE); in testEncodeCharBuffer()
631 encoder.onMalformedInput(CodingErrorAction.REPORT); in testEncodeCharBufferException()
643 encoder.onMalformedInput(CodingErrorAction.IGNORE); in testEncodeCharBufferException()
649 encoder.onMalformedInput(CodingErrorAction.REPLACE); in testEncodeCharBufferException()
656 encoder.onMalformedInput(CodingErrorAction.REPORT); in testEncodeCharBufferException()
834 encoder.onMalformedInput(CodingErrorAction.REPORT); in implTestEncodeCharBufferByteBufferbooleanException()
844 encoder.onMalformedInput(CodingErrorAction.IGNORE); in implTestEncodeCharBufferByteBufferbooleanException()
852 encoder.onMalformedInput(CodingErrorAction.REPLACE); in implTestEncodeCharBufferByteBufferbooleanException()
[all …]
DISOCharsetEncoderTest.java84 encoder.onMalformedInput(CodingErrorAction.REPORT); in testMultiStepEncode()
DASCIICharsetEncoderTest.java77 encoder.onMalformedInput(CodingErrorAction.REPORT); in testMultiStepEncode()
/libcore/ojluni/src/main/java/java/nio/charset/
DCharsetEncoder.java364 dec.onMalformedInput(CodingErrorAction.REPORT); in isLegalReplacement()
401 public final CharsetEncoder onMalformedInput(CodingErrorAction newAction) { in onMalformedInput() method in CharsetEncoder
936 onMalformedInput(CodingErrorAction.REPORT); in canEncode()
942 onMalformedInput(ma); in canEncode()
DCharset.java854 .onMalformedInput(CodingErrorAction.REPLACE)
890 .onMalformedInput(CodingErrorAction.REPLACE)
DCharsetDecoder.java383 public final CharsetDecoder onMalformedInput(CodingErrorAction newAction) { in onMalformedInput() method in CharsetDecoder
/libcore/luni/src/test/java/libcore/java/nio/charset/
DOldCharset_SingleByteAbstractTest.java51 decoder.onMalformedInput(CodingErrorAction.REPLACE); in dumpDecoded()
67 decoder.onMalformedInput(CodingErrorAction.REPLACE); in decodeReplace()
DOldCharset_AbstractTest.java130 decoder.onMalformedInput(CodingErrorAction.REPORT); in decode()
154 decoder.onMalformedInput(CodingErrorAction.REPORT); in NNtest_CodecDynamicIndividuals()
207 decoder.onMalformedInput(CodingErrorAction.REPORT); in test_CodecDynamic()
DCharsetEncoderTest.java34 e.onMalformedInput(CodingErrorAction.REPLACE); in test_replaceWith()
120 e.onMalformedInput(cea); in testCharsetEncoderSplitSurrogates()
DCharsetDecoderTest.java33 d.onMalformedInput(CodingErrorAction.REPLACE); in test_replaceWith()
DStandardCharsetsEncoderTest.java142 encoder.onMalformedInput(CodingErrorAction.IGNORE); in dumpEncodings()
/libcore/ojluni/src/main/java/java/util/zip/
DZipCoder.java145 .onMalformedInput(CodingErrorAction.REPORT) in decoder()
154 .onMalformedInput(CodingErrorAction.REPORT) in encoder()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DInputStreamReaderTest.java382 decoder.onMalformedInput(CodingErrorAction.REPORT); in test_read_1()
393 decoder2.onMalformedInput(CodingErrorAction.IGNORE); in test_read_1()
399 decoder3.onMalformedInput(CodingErrorAction.REPLACE); in test_read_1()
/libcore/luni/src/test/java/libcore/java/util/
DLibcoreIoDerivedBase64Test.java225 decoder.onMalformedInput(CodingErrorAction.REPORT); in bytesToAscii()
244 encoder.onMalformedInput(CodingErrorAction.REPORT); in asciiToBytes()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSNIHostName.java172 .onMalformedInput(CodingErrorAction.REPORT) in SNIHostName()
/libcore/ojluni/annotations/mmodule/java/nio/charset/
DCharsetEncoder.annotated.java59 public final java.nio.charset.CharsetEncoder onMalformedInput(java.nio.charset.CodingErrorAction ne… in onMalformedInput() method in CharsetEncoder
/libcore/ojluni/annotations/hiddenapi/java/nio/charset/
DCharsetEncoder.java82 public final java.nio.charset.CharsetEncoder onMalformedInput( in onMalformedInput() method in CharsetEncoder
/libcore/ojluni/src/main/java/sun/nio/cs/
DStreamDecoder.java236 .onMalformedInput(CodingErrorAction.REPLACE) in StreamDecoder()
DStreamEncoder.java177 .onMalformedInput(CodingErrorAction.REPLACE) in StreamEncoder()
/libcore/luni/src/test/java/libcore/java/lang/
DStringTest.java317 decoder.onMalformedInput(CodingErrorAction.REPLACE); in test_69599767()
455 .onMalformedInput(CodingErrorAction.REPLACE); in assertFastPathUtf8DecodedEquals()
/libcore/ojluni/src/main/java/sun/net/www/
DParseUtil.java182 .onMalformedInput(CodingErrorAction.REPORT) in decode()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixPath.java124 .onMalformedInput(CodingErrorAction.REPORT) in encode()
/libcore/ojluni/src/main/java/java/net/
DURI.java2824 .onMalformedInput(CodingErrorAction.REPLACE) in decode()