Home
last modified time | relevance | path

Searched refs:isMalformed (Results 1 – 8 of 8) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCoderResultTest.java54 assertFalse(CoderResult.OVERFLOW.isMalformed()); in testConstants()
74 assertFalse(CoderResult.UNDERFLOW.isMalformed()); in testConstants()
109 assertFalse(CoderResult.UNDERFLOW.isMalformed()); in testIsMalformed()
110 assertFalse(CoderResult.OVERFLOW.isMalformed()); in testIsMalformed()
111 assertTrue(CoderResult.malformedForLength(1).isMalformed()); in testIsMalformed()
112 assertFalse(CoderResult.unmappableForLength(1).isMalformed()); in testIsMalformed()
DASCIICharsetEncoderTest.java88 assertTrue(encoder.flush(out).isMalformed()); in testMultiStepEncode()
DCharsetDecoderTest.java468 assertTrue(result.isMalformed()); in implTestDecodeCharBufferByteBufferMalformedException()
DCharsetEncoderTest.java839 assertTrue(r.isMalformed()); in implTestEncodeCharBufferByteBufferbooleanException()
/libcore/ojluni/src/main/java/java/nio/charset/
DCoderResult.java148 public boolean isMalformed() { in isMalformed() method in CoderResult
DCharsetDecoder.java601 if (cr.isMalformed()) in decode()
DCharsetEncoder.java619 if (cr.isMalformed()) in encode()
/libcore/luni/src/test/java/libcore/java/nio/charset/
DCharsetEncoderTest.java87 assertTrue(cr.toString(), cr.isMalformed()); in testMalformedSurrogatePair()
229 assertTrue(result.isMalformed());