/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 | 330 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, true)); in implTestDecodeByteBufferCharBuffer() 343 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, false)); in implTestDecodeByteBufferCharBuffer() 357 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, true)); in implTestDecodeByteBufferCharBuffer() 373 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, false)); in implTestDecodeByteBufferCharBuffer() 377 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, true)); in implTestDecodeByteBufferCharBuffer() 423 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, endOfInput)); in implTestDecodeCharBufferByteBufferUnmappedException() 430 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, endOfInput)); in implTestDecodeCharBufferByteBufferUnmappedException() 476 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, endOfInput)); in implTestDecodeCharBufferByteBufferMalformedException() [all …]
|
D | CharsetEncoderTest.java | 728 assertSame(CoderResult.UNDERFLOW, encoder.encode(in, out, true)); in testEncodeCharBufferByteBufferboolean() 743 assertSame(CoderResult.UNDERFLOW, encoder.encode(in, out, false)); in testEncodeCharBufferByteBufferboolean() 751 assertSame(CoderResult.UNDERFLOW, encoder.encode(in, out, false)); in testEncodeCharBufferByteBufferboolean() 753 assertSame(CoderResult.UNDERFLOW, encoder.encode(in, out, true)); in testEncodeCharBufferByteBufferboolean() 775 assertSame(CoderResult.UNDERFLOW, encoder.encode(in, out, true)); in testEncodeCharBufferByteBufferboolean() 794 assertSame(CoderResult.UNDERFLOW, encoder.encode(in, out, false)); in testEncodeCharBufferByteBufferboolean() 848 assertSame(CoderResult.UNDERFLOW, encoder.encode(in, out, in implTestEncodeCharBufferByteBufferbooleanException() 856 assertSame(CoderResult.UNDERFLOW, encoder.encode(in, out, in implTestEncodeCharBufferByteBufferbooleanException() 877 assertSame(CoderResult.UNDERFLOW, encoder.encode(in, out, in implTestEncodeCharBufferByteBufferbooleanException() 885 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 | 718 return CoderResult.UNDERFLOW; // Already flushed in flush() 736 return CoderResult.UNDERFLOW; in implFlush() 850 decode(in, out, true) : CoderResult.UNDERFLOW; in decode()
|
D | CharsetEncoder.java | 718 return CoderResult.UNDERFLOW; // Already flushed in flush() 736 return CoderResult.UNDERFLOW; in implFlush() 850 encode(in, out, true) : CoderResult.UNDERFLOW; in encode()
|
D | CoderResult.java | 183 public static final CoderResult UNDERFLOW field in CoderResult
|
D | Charset-X-Coder.java.template | 522 * <li><p> {@link CoderResult#UNDERFLOW} indicates that as much of the 681 * CoderResult#UNDERFLOW}. If there is insufficient room in the output 696 * @return A coder-result object, either {@link CoderResult#UNDERFLOW} or 718 return CoderResult.UNDERFLOW; // Already flushed 725 * returns {@link CoderResult#UNDERFLOW}. This method should be overridden 732 * @return A coder-result object, either {@link CoderResult#UNDERFLOW} or 736 return CoderResult.UNDERFLOW; 787 * returning {@link CoderResult#UNDERFLOW} until it receives sufficient 850 $code$(in, out, true) : CoderResult.UNDERFLOW;
|
/libcore/ojluni/src/main/native/ |
D | fdlibm.h | 109 #define UNDERFLOW 4 macro
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | StringTest.java | 60 return CoderResult.UNDERFLOW; in decodeLoop() 81 return CoderResult.UNDERFLOW; in encodeLoop()
|
/libcore/api/ |
D | current.txt | 7181 field public static final java.nio.charset.CoderResult UNDERFLOW;
|