Home
last modified time | relevance | path

Searched refs:UNDERFLOW (Results 1 – 15 of 15) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCoderResultTest.java50 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 …]
DCharsetDecoderTest.java330 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 …]
DCharsetEncoderTest.java728 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 …]
DASCIICharsetEncoderTest.java86 assertEquals(CoderResult.UNDERFLOW, in testMultiStepEncode()
94 assertSame(CoderResult.UNDERFLOW, encoder.encode(buffer1, out, false)); in testMultiStepEncode()
DCharsetDecoder2Test.java230 return CoderResult.UNDERFLOW; in decodeLoop()
DCharsetTest.java765 return CoderResult.UNDERFLOW;
778 return CoderResult.UNDERFLOW; in decodeLoop()
/libcore/luni/src/test/java/libcore/java/nio/charset/
DCharsetEncoderTest.java73 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 …]
DCharsetDecoderTest.java100 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/
DCharsetDecoder.java718 return CoderResult.UNDERFLOW; // Already flushed in flush()
736 return CoderResult.UNDERFLOW; in implFlush()
850 decode(in, out, true) : CoderResult.UNDERFLOW; in decode()
DCharsetEncoder.java718 return CoderResult.UNDERFLOW; // Already flushed in flush()
736 return CoderResult.UNDERFLOW; in implFlush()
850 encode(in, out, true) : CoderResult.UNDERFLOW; in encode()
DCoderResult.java183 public static final CoderResult UNDERFLOW field in CoderResult
DCharset-X-Coder.java.template522 * <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/
Dfdlibm.h109 #define UNDERFLOW 4 macro
/libcore/luni/src/test/java/libcore/java/lang/
DStringTest.java60 return CoderResult.UNDERFLOW; in decodeLoop()
81 return CoderResult.UNDERFLOW; in encodeLoop()
/libcore/api/
Dcurrent.txt7181 field public static final java.nio.charset.CoderResult UNDERFLOW;