Searched refs:malformedForLength (Results 1 – 9 of 9) sorted by relevance
100 assertTrue(CoderResult.malformedForLength(1).isError()); in testIsError()111 assertTrue(CoderResult.malformedForLength(1).isMalformed()); in testIsMalformed()122 assertFalse(CoderResult.malformedForLength(1).isUnmappable()); in testIsUnmappable()133 assertFalse(CoderResult.malformedForLength(1).isOverflow()); in testIsOverflow()144 assertFalse(CoderResult.malformedForLength(1).isUnderflow()); in testIsUnderflow()166 assertEquals(CoderResult.malformedForLength(1).length(), 1); in testLength()175 assertNotNull(CoderResult.malformedForLength(Integer.MAX_VALUE)); in testMalformedForLength()176 assertNotNull(CoderResult.malformedForLength(1)); in testMalformedForLength()177 assertSame(CoderResult.malformedForLength(1), CoderResult in testMalformedForLength()178 .malformedForLength(1)); in testMalformedForLength()[all …]
223 return CoderResult.malformedForLength(1); in decodeLoop()
813 return CoderResult.malformedForLength("malform".length()); in decodeLoop()
1056 return CoderResult.malformedForLength("malform".length()); in encodeLoop()
119 return CoderResult.malformedForLength(data[INVALID_BYTE_COUNT]); in implFlush()146 return CoderResult.malformedForLength(data[INVALID_BYTE_COUNT]); in decodeLoop()
148 return CoderResult.malformedForLength(data[INVALID_CHAR_COUNT]); in implFlush()176 return CoderResult.malformedForLength(data[INVALID_CHAR_COUNT]); in encodeLoop()
233 public static CoderResult malformedForLength(int length) { in malformedForLength() method in CoderResult
576 cr = CoderResult.malformedForLength(in.remaining()); in decode()
591 cr = CoderResult.malformedForLength(in.remaining()); in encode()