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/luni/src/main/java/java/io/
DInputStreamReader.java215 boolean needInput = !bytes.hasRemaining(); in read()
217 while (out.hasRemaining()) { in read()
298 return bytes.hasRemaining() || in.available() > 0; in ready()
/libcore/luni/src/main/java/javax/crypto/
DMacSpi.java96 if (!input.hasRemaining()) { in engineUpdate()
/libcore/luni/src/main/java/java/security/
DMessageDigestSpi.java73 if (!input.hasRemaining()) { in engineUpdate()
DSignatureSpi.java121 if (!input.hasRemaining()) { in engineUpdate()
/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/luni/src/main/java/java/nio/
DSocketChannelImpl.java301 if (!dst.hasRemaining()) { in read()
358 if (!src.hasRemaining()) { in write()
395 if (!src.hasRemaining()) { in writeImpl()
DBuffer.java248 public final boolean hasRemaining() { in hasRemaining() method in Buffer
DDatagramChannelImpl.java322 if (!target.hasRemaining()) { in read()
391 if (!src.hasRemaining()) { in write()
DFileChannelImpl.java298 if (!buffer.hasRemaining()) { in readImpl()
489 if (!buffer.hasRemaining()) { in writeImpl()
/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.java114 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.java130 if (!in.hasRemaining()) { in decodeLoop()
DCharsetDecoder.java314 if (endOfInput && in.hasRemaining()) { in decode()
DCharsetEncoderICU.java158 if (!in.hasRemaining()) { in encodeLoop()
DCharsetEncoder.java376 if (endOfInput && in.hasRemaining()) { in encode()
/libcore/dex/src/main/java/com/android/dex/
DDex.java169 while (data.hasRemaining()) { in writeTo()
298 while (data.hasRemaining()) { in computeSignature()
315 while (data.hasRemaining()) { in computeChecksum()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSourceChannelTest.java247 assertTrue(readBuf.hasRemaining()); in test_read_$LByteBuffer_SinkClosed()
DFileChannelTest.java454 while (readBuffer.hasRemaining()) { in test_positionJ_ReadOnly()
DSocketChannelTest.java2688 if (0 == countRead && !readContents[1].hasRemaining()) { in assert_read$LByteBuffer()
/libcore/luni/src/main/java/java/util/
DBitSet.java714 for (int j = 0; byteBuffer.hasRemaining(); ++j) { in valueOf()