Home
last modified time | relevance | path

Searched refs:UNDERFLOW (Results 1 – 14 of 14) 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.java328 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 …]
DCharsetEncoderTest.java725 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 …]
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.java679 return CoderResult.UNDERFLOW; // Already flushed in flush()
697 return CoderResult.UNDERFLOW; in implFlush()
804 decode(in, out, true) : CoderResult.UNDERFLOW; in decode()
DCharsetEncoder.java697 return CoderResult.UNDERFLOW; // Already flushed in flush()
715 return CoderResult.UNDERFLOW; in implFlush()
822 encode(in, out, true) : CoderResult.UNDERFLOW; in encode()
DCoderResult.java184 public static final CoderResult UNDERFLOW field in CoderResult
/libcore/ojluni/src/main/native/
Dfdlibm.h110 #define UNDERFLOW 4 macro
/libcore/luni/src/test/java/libcore/java/lang/
DStringTest.java58 return CoderResult.UNDERFLOW; in decodeLoop()
79 return CoderResult.UNDERFLOW; in encodeLoop()
/libcore/api/
Dcurrent.txt6525 field public static final java.nio.charset.CoderResult UNDERFLOW;