Home
last modified time | relevance | path

Searched refs:REPLACE (Results 1 – 16 of 16) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCodingErrorActionTest.java47 assertNotNull(CodingErrorAction.REPLACE); in testIGNORE()
49 assertNotSame(CodingErrorAction.IGNORE, CodingErrorAction.REPLACE); in testIGNORE()
51 assertNotSame(CodingErrorAction.REPLACE, CodingErrorAction.REPORT); in testIGNORE()
59 assertTrue(CodingErrorAction.REPLACE.toString().indexOf("REPLACE") != -1); in testToString()
DCharsetDecoder2Test.java110 cs1.newDecoder().onMalformedInput(CodingErrorAction.REPLACE) in test_decodeLjava_nio_ByteBuffer()
111 .onUnmappableCharacter(CodingErrorAction.REPLACE).decode( in test_decodeLjava_nio_ByteBuffer()
186 decoder.onMalformedInput(CodingErrorAction.REPLACE); in testDecodeLjava_nio_ByteBuffer_ReplaceOverflow()
DCharsetDecoderTest.java260 decoder.onMalformedInput(CodingErrorAction.REPLACE); in testDecodeByteBufferException()
284 decoder.onUnmappableCharacter(CodingErrorAction.REPLACE); in testDecodeByteBufferException()
427 decoder.onUnmappableCharacter(CodingErrorAction.REPLACE); in implTestDecodeCharBufferByteBufferUnmappedException()
480 decoder.onMalformedInput(CodingErrorAction.REPLACE); in implTestDecodeCharBufferByteBufferMalformedException()
DCharsetEncoderTest.java588 encoder.onMalformedInput(CodingErrorAction.REPLACE); in testEncodeCharBuffer()
649 encoder.onMalformedInput(CodingErrorAction.REPLACE); in testEncodeCharBufferException()
674 encoder.onUnmappableCharacter(CodingErrorAction.REPLACE); in testEncodeCharBufferException()
852 encoder.onMalformedInput(CodingErrorAction.REPLACE); in implTestEncodeCharBufferByteBufferbooleanException()
881 encoder.onUnmappableCharacter(CodingErrorAction.REPLACE); in implTestEncodeCharBufferByteBufferbooleanException()
/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()
68 decoder.onUnmappableCharacter(CodingErrorAction.REPLACE); in decodeReplace()
107 encoder.onUnmappableCharacter(CodingErrorAction.REPLACE); in test_Encode()
DCharsetEncoderTest.java34 e.onMalformedInput(CodingErrorAction.REPLACE); in test_replaceWith()
35 e.onUnmappableCharacter(CodingErrorAction.REPLACE); in test_replaceWith()
100 testCharsetEncoderSplitSurrogates(CodingErrorAction.REPLACE); in testCharsetEncoderSplitSurrogates_REPLACE()
DCharsetDecoderTest.java33 d.onMalformedInput(CodingErrorAction.REPLACE); in test_replaceWith()
34 d.onUnmappableCharacter(CodingErrorAction.REPLACE); in test_replaceWith()
DCharset_TestGenerator.java221 encoder.onUnmappableCharacter(CodingErrorAction.REPLACE); in genEncoded()
/libcore/ojluni/src/main/java/java/nio/charset/
DCodingErrorAction.java63 public static final CodingErrorAction REPLACE field in CodingErrorAction
DCharset.java854 .onMalformedInput(CodingErrorAction.REPLACE)
855 .onUnmappableCharacter(CodingErrorAction.REPLACE)
890 .onMalformedInput(CodingErrorAction.REPLACE)
891 .onUnmappableCharacter(CodingErrorAction.REPLACE)
DCharsetDecoder.java611 if (action == CodingErrorAction.REPLACE) { in decode()
618 || (action == CodingErrorAction.REPLACE)) { in decode()
/libcore/ojluni/src/main/java/sun/nio/cs/
DStreamDecoder.java236 .onMalformedInput(CodingErrorAction.REPLACE) in StreamDecoder()
237 .onUnmappableCharacter(CodingErrorAction.REPLACE)); in StreamDecoder()
DStreamEncoder.java177 .onMalformedInput(CodingErrorAction.REPLACE) in StreamEncoder()
178 .onUnmappableCharacter(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/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DInputStreamReaderTest.java399 decoder3.onMalformedInput(CodingErrorAction.REPLACE); in test_read_1()
/libcore/ojluni/src/main/java/java/net/
DURI.java2824 .onMalformedInput(CodingErrorAction.REPLACE) in decode()
2825 .onUnmappableCharacter(CodingErrorAction.REPLACE); in decode()