Searched refs:flip (Results 1 - 25 of 37) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DDirectByteBufferTest.java83 shortBuf.flip();
96 intBuf.flip();
110 longBuf.flip();
H A DCharBufferTest.java580 buf.flip();
942 assertEquals("AString", cb.flip().toString());
944 assertEquals("null", cb.flip().toString());
951 assertEquals("Atr", cb.flip().toString());
954 assertEquals("n", cb.flip().toString());
997 assertEquals("String", target.flip().toString());
1020 target.flip();
1028 assertEquals("S", target.flip().toString());
H A DAbstractBufferTest.java72 Buffer ret = baseBuf.flip();
H A DMappedByteBufferTest.java224 mbb.flip();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
H A DASCCharsetDecoderTest.java51 // buffer.flip();
61 buffer.flip();
H A DGBCharsetDecoderTest.java56 buffer.flip();
H A DUTFCharsetDecoderTest.java56 buffer.flip();
H A DUTF16CharsetEncoderTest.java119 out.flip();
H A DCharsetDecoder2Test.java200 out.flip();
271 bb.put(bytes).flip();
H A DCharsetEncoder2Test.java186 bytes.flip();
H A DCharsetEncoderTest.java694 out.flip();
769 out.flip();
788 out.flip();
802 buffer.flip();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DBitSetTest.java487 bs2.flip(0, 128);
687 fail("Test1: Attempt to flip with negative index failed to generate exception");
694 fail("Test2: Attempt to flip with negative index failed to generate exception");
704 fail("Test4: Attempt to flip with illegal args failed to generate exception");
745 bs.flip(9);
746 assertFalse("Failed to flip bit", bs.get(8));
747 assertTrue("Failed to flip bit", bs.get(9));
748 assertTrue("Failed to flip bit", bs.get(10));
753 bs.flip(9);
754 assertTrue("Failed to flip bi
[all...]
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DFileChannelTest.java79 buffers[0].flip();
82 buffers[1].flip();
92 buffers[0].put("abcd".getBytes("US-ASCII")).flip();
93 buffers[1].put("ABCD".getBytes("US-ASCII")).flip();
/libcore/luni/src/test/java/libcore/java/nio/charset/
H A DCharsetDecoderTest.java49 outBuffer.flip();
65 outBuffer.flip();
/libcore/luni/src/main/java/java/nio/
H A DBuffer.java225 public final Buffer flip() { method in class:Buffer
H A DSocketChannelImpl.java320 readBuffer.flip();
379 writeBuf.flip();
/libcore/luni/src/main/java/java/nio/charset/
H A DCharsetDecoder.java202 out.flip();
227 output.flip();
H A DCharsetEncoder.java280 out.flip();
297 output.flip();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DServerSocketChannelTest.java414 buf.flip();
449 buf.flip();
509 buf.flip();
554 buf.flip();
650 buf.flip();
H A DSocketChannelTest.java1937 readContent.flip();
1983 readContent.flip();
1998 writeContent.flip();
2033 writeContent.flip();
2048 writeContent.flip();
2092 writeContent.flip();
2210 buffer.flip();
2477 writeBuf[0].flip();
2478 writeBuf[1].flip();
2515 writeBuf[0].flip();
[all...]
H A DFileChannelTest.java452 readBuffer.flip();
1169 readBuffer.flip();
1182 readBuffer.flip();
1289 readBuffer.flip();
1310 readBuffers[0].flip();
1564 readBuffers[1].flip();
1585 readBuffers[1].flip();
2884 readBuffer.flip();
2933 readBuffer.flip();
2964 readBuffer.flip();
[all...]
/libcore/luni/src/main/java/java/io/
H A DOutputStreamWriter.java169 bytes.flip();
/libcore/luni/src/main/java/java/util/
H A DBitSet.java213 public void flip(int index) { method in class:BitSet
419 public void flip(int fromIndex, int toIndex) { method in class:BitSet
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLEngineTest.java95 input.flip();
109 input.flip();
284 sourceToDest.flip();
305 destIn.flip();
/libcore/support/src/test/java/libcore/javax/net/ssl/
H A DTestSSLEnginePair.java162 input.flip();

Completed in 222 milliseconds

12