Home
last modified time | relevance | path

Searched refs:REPLACE (Results 1 – 17 of 17) 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.java32 e.onMalformedInput(CodingErrorAction.REPLACE); in test_replaceWith()
33 e.onUnmappableCharacter(CodingErrorAction.REPLACE); in test_replaceWith()
98 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/luni/src/main/java/java/io/
DInputStreamReader.java84 CodingErrorAction.REPLACE).onUnmappableCharacter( in InputStreamReader()
85 CodingErrorAction.REPLACE); in InputStreamReader()
123 CodingErrorAction.REPLACE).onUnmappableCharacter( in InputStreamReader()
124 CodingErrorAction.REPLACE); in InputStreamReader()
DOutputStreamWriter.java85 encoder.onMalformedInput(CodingErrorAction.REPLACE); in OutputStreamWriter()
86 encoder.onUnmappableCharacter(CodingErrorAction.REPLACE); in OutputStreamWriter()
103 encoder.onMalformedInput(CodingErrorAction.REPLACE); in OutputStreamWriter()
104 encoder.onUnmappableCharacter(CodingErrorAction.REPLACE); in OutputStreamWriter()
/libcore/luni/src/main/java/java/nio/charset/
DCodingErrorAction.java36 public static final CodingErrorAction REPLACE = new CodingErrorAction( field in CodingErrorAction
DCharset.java443 .onMalformedInput(CodingErrorAction.REPLACE) in encode()
444 .onUnmappableCharacter(CodingErrorAction.REPLACE).encode( in encode()
479 .onMalformedInput(CodingErrorAction.REPLACE) in decode()
480 .onUnmappableCharacter(CodingErrorAction.REPLACE).decode(buffer); in decode()
DCharsetDecoder.java328 } else if (action == CodingErrorAction.REPLACE) { in decode()
DCharsetEncoder.java390 } else if (action == CodingErrorAction.REPLACE) { in encode()
/libcore/luni/src/main/java/libcore/icu/
DNativeConverter.java48 } else if (action == CodingErrorAction.REPLACE) { in translateCodingErrorAction()
/libcore/luni/src/test/java/libcore/java/lang/
DStringTest.java348 decoder.onMalformedInput(CodingErrorAction.REPLACE); in test_23831()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DInputStreamReaderTest.java399 decoder3.onMalformedInput(CodingErrorAction.REPLACE); in test_read_1()