Home
last modified time | relevance | path

Searched refs:hasRemaining (Results 1 – 24 of 24) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DAbstractCharsetTestCase.java143 while (bb.hasRemaining() && i < output.length) { in internalTestEncode()
147 assertFalse(bb.hasRemaining()); in internalTestEncode()
163 while (chb.hasRemaining() && i < output.length) { in internalTestDecode()
167 assertFalse(chb.hasRemaining()); in internalTestDecode()
DCharsetDecoder2Test.java220 while (in.hasRemaining()) { in decodeLoop()
225 if (!out.hasRemaining()) { in decodeLoop()
/libcore/ojluni/src/main/java/sun/nio/cs/
DStreamEncoder.java238 if ((cb != null) && cb.hasRemaining()) in flushLeftoverChar()
241 while (lcb.hasRemaining() || endOfInput) { in flushLeftoverChar()
244 if (lcb.hasRemaining()) { in flushLeftoverChar()
246 if (cb != null && cb.hasRemaining()) in flushLeftoverChar()
270 while (cb.hasRemaining()) { in implWrite()
DStreamDecoder.java351 if (!cb.hasRemaining()) in implRead()
416 return bb.hasRemaining() || inReady(); in implReady()
/libcore/ojluni/src/main/java/java/nio/charset/
DCharsetEncoder.java609 if (endOfInput && in.hasRemaining()) { in encode()
820 CoderResult cr = in.hasRemaining() ? in encode()
927 if (!cb.hasRemaining()) { in canEncode()
DCharsetDecoder.java592 if (endOfInput && in.hasRemaining()) { in decode()
803 CoderResult cr = in.hasRemaining() ? in decode()
/libcore/ojluni/src/main/java/javax/crypto/
DMacSpi.java102 if (input.hasRemaining() == false) { in engineUpdate()
/libcore/ojluni/src/main/java/java/security/
DMessageDigestSpi.java106 if (input.hasRemaining() == false) { in engineUpdate()
DSignatureSpi.java143 if (input.hasRemaining() == false) { in engineUpdate()
/libcore/ojluni/annotations/hiddenapi/java/nio/
DBuffer.java82 public final boolean hasRemaining() { in hasRemaining() method in Buffer
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DAbstractBufferTest.java93 assertEquals(baseBuf.hasRemaining(), baseBuf.position() < baseBuf.limit()); in testHasRemaining()
95 assertFalse(baseBuf.hasRemaining()); in testHasRemaining()
/libcore/ojluni/src/main/java/java/nio/
DBuffer.java416 public final boolean hasRemaining() { in hasRemaining() method in Buffer
/libcore/luni/src/test/java/libcore/java/nio/charset/
DOldCharset_SingleByteAbstractTest.java55 while (outputCB.hasRemaining()) { in dumpDecoded()
DCharset_TestGenerator.java225 while (bb.hasRemaining()) { in genEncoded()
DOldCharset_AbstractTest.java119 while (outputBB.hasRemaining()) { in test_dumpEncoded()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DMacSpiTest.java220 if (!byteBuf.hasRemaining()) { in testMacSpiTests01()
/libcore/luni/src/main/java/java/nio/charset/
DCharsetDecoderICU.java135 if (!in.hasRemaining()) { in decodeLoop()
DCharsetEncoderICU.java163 if (!in.hasRemaining()) { in encodeLoop()
/libcore/ojluni/src/main/java/sun/nio/ch/
DAsynchronousSocketChannelImpl.java243 boolean hasSpaceToRead = isScatteringRead || dst.hasRemaining(); in read()
341 boolean hasDataToWrite = isGatheringWrite || src.hasRemaining(); in write()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSourceChannelTest.java247 assertTrue(readBuf.hasRemaining()); in test_read_$LByteBuffer_SinkClosed()
DFileChannelTest.java401 while (readBuffer.hasRemaining()) { in test_positionJ_ReadOnly()
DSocketChannelTest.java2691 if (0 == countRead && !readContents[1].hasRemaining()) { in assert_read$LByteBuffer()
/libcore/ojluni/src/main/java/sun/net/www/
DParseUtil.java498 while (bb.hasRemaining()) { in appendEncoded()
/libcore/ojluni/src/main/java/java/net/
DURI.java2706 while (bb.hasRemaining()) { in appendEncoded()
2777 while (bb.hasRemaining()) { in encode()