Home
last modified time | relevance | path

Searched refs:flip (Results 1 – 25 of 36) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DBitSetTest.java487 bs2.flip(0, 128); in test_getII()
745 bs.flip(9); in test_flipI()
753 bs.flip(9); in test_flipI()
759 bs.flip(-1); in test_flipI()
765 bs.flip(128); in test_flipI()
771 bs.flip(i); in test_flipI()
780 bs.flip(i); in test_flipI()
787 bs0.flip(0); in test_flipI()
791 bs0.flip(63); in test_flipI()
795 eightbs.flip(7); in test_flipI()
[all …]
/libcore/luni/src/test/java/libcore/java/nio/channels/
DFileChannelTest.java79 buffers[0].flip(); in test_readv()
82 buffers[1].flip(); in test_readv()
92 buffers[0].put("abcd".getBytes("US-ASCII")).flip(); in test_writev()
93 buffers[1].put("ABCD".getBytes("US-ASCII")).flip(); in test_writev()
DOldSocketChannelTest.java244 writeContent.flip(); in test_writeLjava_nio_ByteBuffer_Nonblocking_HugeData()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DASCCharsetDecoderTest.java61 buffer.flip(); in getMalformedByteBuffer()
DGBCharsetDecoderTest.java56 buffer.flip(); in getMalformedByteBuffer()
DUTFCharsetDecoderTest.java56 buffer.flip(); in getMalformedByteBuffer()
DCharsetDecoder2Test.java200 out.flip(); in testDecodeLjava_nio_ByteBuffer_ReplaceOverflow()
271 bb.put(bytes).flip(); in testInvalidDecoding()
DUTF16CharsetEncoderTest.java119 out.flip(); in assertByteArray()
DCharsetEncoder2Test.java186 bytes.flip(); in test_EncodeLjava_nio_CharBufferLjava_nio_ByteBufferB()
DCharsetEncoderTest.java694 out.flip(); in assertByteArray()
769 out.flip(); in testEncodeCharBufferByteBufferboolean()
788 out.flip(); in testEncodeCharBufferByteBufferboolean()
802 buffer.flip(); in printByteBuffer()
/libcore/luni/src/test/java/libcore/java/nio/charset/
DCharsetDecoderTest.java49 outBuffer.flip(); in test_ByteArray_decode_no_offset()
65 outBuffer.flip(); in test_ByteArray_decode_with_offset()
/libcore/luni/src/main/java/java/nio/charset/
DCharsetDecoder.java202 out.flip(); in decode()
227 output.flip(); in allocateMore()
DCharsetEncoder.java274 out.flip(); in encode()
291 output.flip(); in allocateMore()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSocketChannelTest.java1937 readContent.flip(); in test_readLjava_nio_ByteBuffer_Blocking()
1983 readContent.flip(); in test_readLjava_nio_ByteBuffer_Nonblocking()
1998 writeContent.flip(); in test_writeLjava_nio_ByteBuffer_Blocking()
2033 writeContent.flip(); in test_writeLjava_nio_ByteBuffer_Blocking()
2048 writeContent.flip(); in test_writeLjava_nio_ByteBuffer_NonBlocking()
2092 writeContent.flip(); in test_writeLjava_nio_ByteBuffer_NonBlocking()
2210 buffer.flip(); in testReadByteBuffer_Direct2()
2477 writeBuf[0].flip(); in testWriteByteBufferArrayIntInt()
2478 writeBuf[1].flip(); in testWriteByteBufferArrayIntInt()
2515 writeBuf[0].flip(); in testWriteByteBufferArrayIntInt_Direct()
[all …]
DServerSocketChannelTest.java414 buf.flip(); in test_read_Blocking_RealData()
449 buf.flip(); in test_read_NonBlocking_RealData()
509 buf.flip(); in test_read_LByteBuffer_Blocking_ReadWriteRealLargeData()
554 buf.flip(); in test_read_LByteBuffer_NonBlocking_ReadWriteRealLargeData()
650 buf.flip(); in assertWriteResult()
DFileChannelTest.java452 readBuffer.flip(); in test_positionJ_ReadOnly()
1169 readBuffer.flip(); in test_readLByteBuffer_LimitedCapacity()
1182 readBuffer.flip(); in test_readLByteBuffer()
1289 readBuffer.flip(); in test_readLByteBufferJ()
1310 readBuffers[0].flip(); in test_read$LByteBuffer()
1564 readBuffers[1].flip(); in test_read$LByteBufferII_LimitedCapacity()
1585 readBuffers[1].flip(); in test_read$LByteBufferII()
2884 readBuffer.flip(); in test_transferToJJLWritableByteChannel_SocketChannel()
2933 readBuffer.flip(); in test_transferToJJLWritableByteChannel_DatagramChannel()
2964 readBuffer.flip(); in test_transferToJJLWritableByteChannel_Pipe()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DCharBufferTest.java580 buf.flip(); in testPutCharBuffer()
942 assertEquals("AString", cb.flip().toString()); in testAppendCharSequenceNormal()
944 assertEquals("null", cb.flip().toString()); in testAppendCharSequenceNormal()
951 assertEquals("Atr", cb.flip().toString()); in testAppendCharSequenceIINormal()
954 assertEquals("n", cb.flip().toString()); in testAppendCharSequenceIINormal()
997 assertEquals("String", target.flip().toString()); in testReadCharBuffer()
1020 target.flip(); in testReadReadOnly()
1028 assertEquals("S", target.flip().toString()); in testReadOverflow()
DMappedByteBufferTest.java224 mbb.flip(); in test_position()
DAbstractBufferTest.java72 Buffer ret = baseBuf.flip(); in testFlip()
/libcore/luni/src/main/java/java/nio/
DBuffer.java225 public final Buffer flip() { in flip() method in Buffer
DSocketChannelImpl.java320 readBuffer.flip(); in read()
379 writeBuf.flip(); in write()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLEngineTest.java95 input.flip(); in test_SSLEngine_underflowsOnEmptyBuffersDuringHandshake()
109 input.flip(); in test_SSLEngine_underflowsOnEmptyBuffersAfterHandshake()
271 sourceToDest.flip(); in assertSendsCorrectly()
292 destIn.flip(); in assertSendsCorrectly()
/libcore/luni/src/main/java/java/io/
DOutputStreamWriter.java166 bytes.flip(); in flushBytes()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLEnginePair.java144 input.flip(); in handshakeCompleted()
/libcore/luni/src/main/java/java/util/
DBitSet.java213 public void flip(int index) { in flip() method in BitSet
419 public void flip(int fromIndex, int toIndex) { in flip() method in BitSet

12