/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
D | CoderResultTest.java | 50 assertNotSame(CoderResult.OVERFLOW, CoderResult.UNDERFLOW); in testConstants() 72 assertNotNull(CoderResult.UNDERFLOW); in testConstants() 73 assertFalse(CoderResult.UNDERFLOW.isError()); in testConstants() 74 assertFalse(CoderResult.UNDERFLOW.isMalformed()); in testConstants() 75 assertTrue(CoderResult.UNDERFLOW.isUnderflow()); in testConstants() 76 assertFalse(CoderResult.UNDERFLOW.isUnmappable()); in testConstants() 77 assertFalse(CoderResult.UNDERFLOW.isOverflow()); in testConstants() 78 assertTrue(CoderResult.UNDERFLOW.toString().indexOf("UNDERFLOW") != -1); in testConstants() 80 CoderResult.UNDERFLOW.throwException(); in testConstants() 86 CoderResult.UNDERFLOW.length(); in testConstants() [all …]
|
D | CharsetDecoderTest.java | 328 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, true)); in implTestDecodeByteBufferCharBuffer() 341 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, false)); in implTestDecodeByteBufferCharBuffer() 351 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, false)); in implTestDecodeByteBufferCharBuffer() 353 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, false)); in implTestDecodeByteBufferCharBuffer() 355 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, true)); in implTestDecodeByteBufferCharBuffer() 371 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, false)); in implTestDecodeByteBufferCharBuffer() 375 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, true)); in implTestDecodeByteBufferCharBuffer() 421 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, endOfInput)); in implTestDecodeCharBufferByteBufferUnmappedException() 428 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, endOfInput)); in implTestDecodeCharBufferByteBufferUnmappedException() 474 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, endOfInput)); in implTestDecodeCharBufferByteBufferMalformedException() [all …]
|
D | CharsetEncoderTest.java | 725 assertSame(CoderResult.UNDERFLOW, encoder.encode(in, out, true)); in testEncodeCharBufferByteBufferboolean() 740 assertSame(CoderResult.UNDERFLOW, encoder.encode(in, out, false)); in testEncodeCharBufferByteBufferboolean() 748 assertSame(CoderResult.UNDERFLOW, encoder.encode(in, out, false)); in testEncodeCharBufferByteBufferboolean() 750 assertSame(CoderResult.UNDERFLOW, encoder.encode(in, out, true)); in testEncodeCharBufferByteBufferboolean() 772 assertSame(CoderResult.UNDERFLOW, encoder.encode(in, out, true)); in testEncodeCharBufferByteBufferboolean() 791 assertSame(CoderResult.UNDERFLOW, encoder.encode(in, out, false)); in testEncodeCharBufferByteBufferboolean() 845 assertSame(CoderResult.UNDERFLOW, encoder.encode(in, out, in implTestEncodeCharBufferByteBufferbooleanException() 853 assertSame(CoderResult.UNDERFLOW, encoder.encode(in, out, in implTestEncodeCharBufferByteBufferbooleanException() 874 assertSame(CoderResult.UNDERFLOW, encoder.encode(in, out, in implTestEncodeCharBufferByteBufferbooleanException() 882 assertSame(CoderResult.UNDERFLOW, encoder.encode(in, out, in implTestEncodeCharBufferByteBufferbooleanException() [all …]
|
D | ASCIICharsetEncoderTest.java | 86 assertEquals(CoderResult.UNDERFLOW, in testMultiStepEncode() 94 assertSame(CoderResult.UNDERFLOW, encoder.encode(buffer1, out, false)); in testMultiStepEncode()
|
D | CharsetDecoder2Test.java | 230 return CoderResult.UNDERFLOW; in decodeLoop()
|
D | CharsetTest.java | 765 return CoderResult.UNDERFLOW; 778 return CoderResult.UNDERFLOW; in decodeLoop()
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
D | CharsetEncoderTest.java | 73 assertEquals(CoderResult.UNDERFLOW, cr); in testSurrogatePairAllAtOnce() 124 assertEquals(CoderResult.UNDERFLOW, cr); in testCharsetEncoderSplitSurrogates() 127 assertEquals(CoderResult.UNDERFLOW, cr); in testCharsetEncoderSplitSurrogates() 136 assertEquals(CoderResult.UNDERFLOW, cr); in testCharsetEncoderSplitSurrogates() 139 assertEquals(CoderResult.UNDERFLOW, cr); in testCharsetEncoderSplitSurrogates() 148 assertEquals(CoderResult.UNDERFLOW, cr); in testFlushWithoutEndOfInput() 160 assertEquals(CoderResult.UNDERFLOW, cr); in testFlushWithoutEndOfInput() 163 assertEquals(CoderResult.UNDERFLOW, cr); in testFlushWithoutEndOfInput() 183 return CoderResult.UNDERFLOW; in newEncoder() 188 return CoderResult.UNDERFLOW; in newEncoder() [all …]
|
D | CharsetDecoderTest.java | 100 assertEquals(CoderResult.UNDERFLOW, cr); in testUtf8BytesSplitAcrossMultipleWrites() 102 assertEquals(CoderResult.UNDERFLOW, cr); in testUtf8BytesSplitAcrossMultipleWrites() 104 assertEquals(CoderResult.UNDERFLOW, cr); in testUtf8BytesSplitAcrossMultipleWrites() 106 assertEquals(CoderResult.UNDERFLOW, cr); in testUtf8BytesSplitAcrossMultipleWrites() 108 assertEquals(CoderResult.UNDERFLOW, cr); in testUtf8BytesSplitAcrossMultipleWrites()
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | CharsetDecoder.java | 679 return CoderResult.UNDERFLOW; // Already flushed in flush() 697 return CoderResult.UNDERFLOW; in implFlush() 804 decode(in, out, true) : CoderResult.UNDERFLOW; in decode()
|
D | CharsetEncoder.java | 697 return CoderResult.UNDERFLOW; // Already flushed in flush() 715 return CoderResult.UNDERFLOW; in implFlush() 822 encode(in, out, true) : CoderResult.UNDERFLOW; in encode()
|
D | CoderResult.java | 184 public static final CoderResult UNDERFLOW field in CoderResult
|
/libcore/ojluni/src/main/native/ |
D | fdlibm.h | 110 #define UNDERFLOW 4 macro
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | StringTest.java | 58 return CoderResult.UNDERFLOW; in decodeLoop() 79 return CoderResult.UNDERFLOW; in encodeLoop()
|