Home
last modified time | relevance | path

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

12

/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/luni/src/main/java/libcore/icu/
DNativeConverter.java70 …private static native void setCallbackDecode(long converterHandle, int onMalformedInput, int onUnm… in setCallbackDecode() argument
78 …private static native void setCallbackEncode(long converterHandle, int onMalformedInput, int onUnm… in setCallbackEncode() argument
/libcore/luni/src/main/native/
Dlibcore_icu_NativeConverter.cpp52 UConverterToUCallback onMalformedInput; member
59 UConverterFromUCallback onMalformedInput; member
386 ctx->onMalformedInput(ctx, args, codeUnits, length, codePoint, reason, status); in CHARSET_ENCODER_CALLBACK()
418 jint onMalformedInput, jint onUnmappableInput, jbyteArray javaReplacement) { in NativeConverter_setCallbackEncode() argument
440 callbackContext->onMalformedInput = getFromUCallback(onMalformedInput); in NativeConverter_setCallbackEncode()
500 ctx->onMalformedInput(ctx, args, codeUnits, length, reason, status); in CHARSET_DECODER_CALLBACK()
512 jint onMalformedInput, jint onUnmappableInput, jstring javaReplacement) { in NativeConverter_setCallbackDecode() argument
534 callbackContext->onMalformedInput = getToUCallback(onMalformedInput); in NativeConverter_setCallbackDecode()
/libcore/ojluni/src/main/java/java/nio/charset/
DCharsetEncoder.java363 dec.onMalformedInput(CodingErrorAction.REPORT); in isLegalReplacement()
400 public final CharsetEncoder onMalformedInput(CodingErrorAction newAction) { in onMalformedInput() method in CharsetEncoder
935 onMalformedInput(CodingErrorAction.REPORT); in canEncode()
941 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/ojluni/src/main/java/javax/net/ssl/
DSNIHostName.java172 .onMalformedInput(CodingErrorAction.REPORT) in SNIHostName()
/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/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/
DStreamEncoder.java177 .onMalformedInput(CodingErrorAction.REPLACE) in StreamEncoder()
DStreamDecoder.java236 .onMalformedInput(CodingErrorAction.REPLACE) in StreamDecoder()
/libcore/luni/src/test/java/libcore/java/lang/
DStringTest.java318 decoder.onMalformedInput(CodingErrorAction.REPLACE); in test_69599767()
456 .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()

12