Searched refs:unmappableForLength (Results 1 - 6 of 6) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
H A DCoderResultTest.java101 assertTrue(CoderResult.unmappableForLength(1).isError());
112 assertFalse(CoderResult.unmappableForLength(1).isMalformed());
123 assertTrue(CoderResult.unmappableForLength(1).isUnmappable());
134 assertFalse(CoderResult.unmappableForLength(1).isOverflow());
145 assertFalse(CoderResult.unmappableForLength(1).isUnderflow());
167 assertEquals(CoderResult.unmappableForLength(1).length(), 1);
180 .unmappableForLength(1));
198 * Test method unmappableForLength(int).
202 assertNotNull(CoderResult.unmappableForLength(Integer.MAX_VALUE));
203 assertNotNull(CoderResult.unmappableForLength(
[all...]
H A DCharsetDecoderTest.java818 return CoderResult.unmappableForLength("unmap".length());
H A DCharsetEncoderTest.java1062 return CoderResult.unmappableForLength("unmap".length());
/libcore/ojluni/src/main/java/java/nio/charset/
H A DCoderResult.java254 public static CoderResult unmappableForLength(int length) { method in class:CoderResult
/libcore/luni/src/main/java/java/nio/charset/
H A DCharsetDecoderICU.java144 return CoderResult.unmappableForLength(data[INVALID_BYTE_COUNT]);
H A DCharsetEncoderICU.java174 return CoderResult.unmappableForLength(data[INVALID_CHAR_COUNT]);

Completed in 393 milliseconds