Home
last modified time | relevance | path

Searched refs:endOfInput (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/cs/
DStreamEncoder.java227 private void flushLeftoverChar(CharBuffer cb, boolean endOfInput) in flushLeftoverChar() argument
230 if (!haveLeftoverChar && !endOfInput) in flushLeftoverChar()
241 while (lcb.hasRemaining() || endOfInput) { in flushLeftoverChar()
242 CoderResult cr = encoder.encode(lcb, bb, endOfInput); in flushLeftoverChar()
247 flushLeftoverChar(cb, endOfInput); in flushLeftoverChar()
/libcore/ojluni/src/main/java/java/nio/charset/
DCharsetDecoder.java569 boolean endOfInput) in decode() argument
571 int newState = endOfInput ? ST_END : ST_CODING; in decode()
573 && !(endOfInput && (state == ST_END))) in decode()
592 if (endOfInput && in.hasRemaining()) { in decode()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetEncoderTest.java829 boolean endOfInput) throws CharacterCodingException { in implTestEncodeCharBufferByteBufferbooleanException() argument
838 CoderResult r = encoder.encode(in, out, endOfInput); in implTestEncodeCharBufferByteBufferbooleanException()
846 endOfInput)); in implTestEncodeCharBufferByteBufferbooleanException()
847 assertCodingErrorAction(endOfInput, out, in, unibytes); in implTestEncodeCharBufferByteBufferbooleanException()
854 endOfInput)); in implTestEncodeCharBufferByteBufferbooleanException()
855 assertCodingErrorAction(endOfInput, out, in, unibytesWithRep); in implTestEncodeCharBufferByteBufferbooleanException()
868 assertTrue(encoder.encode(in, out, endOfInput).isUnmappable()); in implTestEncodeCharBufferByteBufferbooleanException()
875 endOfInput)); in implTestEncodeCharBufferByteBufferbooleanException()
876 assertCodingErrorAction(endOfInput, out, in, unibytes); in implTestEncodeCharBufferByteBufferbooleanException()
883 endOfInput)); in implTestEncodeCharBufferByteBufferbooleanException()
[all …]
DCharsetDecoderTest.java404 boolean endOfInput) throws CharacterCodingException, in implTestDecodeCharBufferByteBufferUnmappedException() argument
414 CoderResult result = decoder.decode(in, out, endOfInput); in implTestDecodeCharBufferByteBufferUnmappedException()
421 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, endOfInput)); in implTestDecodeCharBufferByteBufferUnmappedException()
428 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, endOfInput)); in implTestDecodeCharBufferByteBufferUnmappedException()
458 boolean endOfInput) throws CharacterCodingException, in implTestDecodeCharBufferByteBufferMalformedException() argument
467 CoderResult result = decoder.decode(in, out, endOfInput); in implTestDecodeCharBufferByteBufferMalformedException()
474 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, endOfInput)); in implTestDecodeCharBufferByteBufferMalformedException()
481 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, endOfInput)); in implTestDecodeCharBufferByteBufferMalformedException()
510 boolean endOfInput) throws CharacterCodingException, in implTestDecodeCharBufferByteBufferException() argument
515 decoder.decode(in, out, endOfInput); in implTestDecodeCharBufferByteBufferException()
/libcore/ojluni/annotations/mmodule/java/nio/charset/
DCharsetEncoder.annotated.java73 …Result encode(java.nio.CharBuffer in, java.nio.ByteBuffer out, boolean endOfInput) { throw new Run… in encode() argument
/libcore/ojluni/annotations/hiddenapi/java/nio/charset/
DCharsetEncoder.java113 java.nio.CharBuffer in, java.nio.ByteBuffer out, boolean endOfInput) { in encode() argument