Home
last modified time | relevance | path

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

123

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DDirectByteBufferTest.java82 shortBuf.flip(); in testUnalignedReadsAndWrites()
95 intBuf.flip(); in testUnalignedReadsAndWrites()
109 longBuf.flip(); in testUnalignedReadsAndWrites()
/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/
DAsynchronousFileChannelTest.java212 buf.flip(); in testRead_Future()
305 buf.flip(); in testRead_CompletionListener()
385 buf.flip(); in testWrite_Future()
398 buf.flip(); in testWrite_Future()
409 buf.flip(); in testWrite_Future()
422 buf.flip(); in testWrite_Future()
430 buf.flip(); in testWrite_Future()
483 buf.flip(); in testWrite_CompletionListener()
502 buf.flip(); in testWrite_CompletionListener()
519 buf.flip(); in testWrite_CompletionListener()
[all …]
DMembershipKeyTest.java115 buffer.flip(); in check_drop()
181 buffer.flip(); in test_blockWithJoinWithoutSource()
231 buffer.flip(); in test_unblockWithJoinWithoutSource()
DFileChannelTest.java100 buffers[0].flip(); in test_readv()
103 buffers[1].flip(); in test_readv()
113 buffers[0].put("abcd".getBytes("US-ASCII")).flip(); in test_writev()
114 buffers[1].put("ABCD".getBytes("US-ASCII")).flip(); in test_writev()
DAsynchronousSocketChannelTest.java292 receivedData.flip(); in test_futureReadWrite()
303 sendData.flip(); in test_futureReadWrite()
348 receivedData.flip(); in test_completionHandlerReadWrite()
361 sendData.flip(); in test_completionHandlerReadWrite()
413 receivedData1.flip(); in test_scatterReadWrite()
416 receivedData2.flip(); in test_scatterReadWrite()
430 sendData1.flip(); in test_scatterReadWrite()
434 sendData2.flip(); in test_scatterReadWrite()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DAdler32Test.java181 byteBuffer.flip(); in test_update$ByteBuffer()
183 byteBuffer.flip(); in test_update$ByteBuffer()
DCRC32Test.java198 byteBuffer.flip(); in test_update$ByteBuffer()
200 byteBuffer.flip(); in test_update$ByteBuffer()
/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()
/libcore/ojluni/src/main/java/sun/nio/cs/
DStreamDecoder.java256 bb.flip(); // So that bb is initially empty in StreamDecoder()
269 bb.flip(); in StreamDecoder()
302 bb.flip(); in readBytes()
/libcore/ojluni/src/main/java/java/nio/charset/
DCharsetEncoder.java830 out.flip(); in encode()
837 out.flip(); in encode()
977 cb.flip(); in canEncode()
DCharsetDecoder.java813 out.flip(); in decode()
820 out.flip(); in decode()
/libcore/benchmarks/src/benchmarks/regression/
DMessageDigestBenchmark.java45 SMALL_DIRECT_BUFFER.flip(); in SMALL_DIRECT_BUFFER.flip()
53 LARGE_DIRECT_BUFFER.flip(); in LARGE_DIRECT_BUFFER.flip()
/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()
DStandardCharsetsEncoderTest.java176 CHAR_BUFFER.flip(); in createCodePointInfo()
181 BYTE_BUFFER.flip(); in createCodePointInfo()
/libcore/ojluni/src/main/java/sun/nio/ch/
DIOUtil.java61 bb.flip(); in write()
132 shadow.flip(); in write()
198 bb.flip(); in read()
/libcore/ojluni/annotations/hiddenapi/java/nio/
DBuffer.java70 public final java.nio.Buffer flip() { in flip() method in Buffer
/libcore/ojluni/src/main/java/java/nio/
DLongBuffer.java673 public Buffer flip() { in flip() method in LongBuffer
674 return super.flip(); in flip()
DIntBuffer.java674 public Buffer flip() { in flip() method in IntBuffer
675 return super.flip(); in flip()
DShortBuffer.java673 public Buffer flip() { in flip() method in ShortBuffer
674 return super.flip(); in flip()
DDoubleBuffer.java673 public Buffer flip() { in flip() method in DoubleBuffer
674 return super.flip(); in flip()
DFloatBuffer.java673 public Buffer flip() { in flip() method in FloatBuffer
674 return super.flip(); in flip()

123