Home
last modified time | relevance | path

Searched refs:Buffer (Results 1 – 23 of 23) sorted by relevance

/libcore/ojluni/annotations/hiddenapi/java/nio/
DBuffer.java32 public abstract class Buffer { class
34 Buffer(int mark, int pos, int lim, int cap, int elementSizeShift) { in Buffer() method in Buffer
46 public final java.nio.Buffer position(int newPosition) { in position()
54 public final java.nio.Buffer limit(int newLimit) { in limit()
58 public final java.nio.Buffer mark() { in mark()
62 public final java.nio.Buffer reset() { in reset()
66 public final java.nio.Buffer clear() { in clear()
70 public final java.nio.Buffer flip() { in flip()
74 public final java.nio.Buffer rewind() { in rewind()
DCharBuffer.java34 public abstract class CharBuffer extends java.nio.Buffer
DByteBuffer.java34 public abstract class ByteBuffer extends java.nio.Buffer
/libcore/ojluni/src/main/java/java/nio/
DBuffer.java176 public abstract class Buffer { class
209 Buffer(int mark, int pos, int lim, int cap, int elementSizeShift) { // package-private in Buffer() method in Buffer
256 public Buffer position(int newPosition) { in position()
288 public Buffer limit(int newLimit) { in limit()
302 public Buffer mark() { in mark()
318 public Buffer reset() { in reset()
343 public Buffer clear() { in clear()
371 public Buffer flip() { in flip()
393 public Buffer rewind() { in rewind()
DShortBuffer.java95 extends Buffer
643 public Buffer position(int newPosition) { in position()
649 public Buffer limit(int newLimit) { in limit()
655 public Buffer mark() { in mark()
661 public Buffer reset() { in reset()
667 public Buffer clear() { in clear()
673 public Buffer flip() { in flip()
679 public Buffer rewind() { in rewind()
DLongBuffer.java95 extends Buffer
643 public Buffer position(int newPosition) { in position()
649 public Buffer limit(int newLimit) { in limit()
655 public Buffer mark() { in mark()
661 public Buffer reset() { in reset()
667 public Buffer clear() { in clear()
673 public Buffer flip() { in flip()
679 public Buffer rewind() { in rewind()
DIntBuffer.java96 extends Buffer
644 public Buffer position(int newPosition) { in position()
650 public Buffer limit(int newLimit) { in limit()
656 public Buffer mark() { in mark()
662 public Buffer reset() { in reset()
668 public Buffer clear() { in clear()
674 public Buffer flip() { in flip()
680 public Buffer rewind() { in rewind()
DDoubleBuffer.java95 extends Buffer
643 public Buffer position(int newPosition) { in position()
649 public Buffer limit(int newLimit) { in limit()
655 public Buffer mark() { in mark()
661 public Buffer reset() { in reset()
667 public Buffer clear() { in clear()
673 public Buffer flip() { in flip()
679 public Buffer rewind() { in rewind()
DFloatBuffer.java95 extends Buffer
643 public Buffer position(int newPosition) { in position()
649 public Buffer limit(int newLimit) { in limit()
655 public Buffer mark() { in mark()
661 public Buffer reset() { in reset()
667 public Buffer clear() { in clear()
673 public Buffer flip() { in flip()
679 public Buffer rewind() { in rewind()
DCharBuffer.java122 extends Buffer
869 public Buffer position(int newPosition) { in position()
875 public Buffer limit(int newLimit) { in limit()
881 public Buffer mark() { in mark()
887 public Buffer reset() { in reset()
893 public Buffer clear() { in clear()
899 public Buffer flip() { in flip()
905 public Buffer rewind() { in rewind()
1272 Buffer.SPLITERATOR_CHARACTERISTICS, false); in chars()
DByteBuffer.java208 extends Buffer
811 public Buffer position(int newPosition) { in position()
817 public Buffer limit(int newLimit) { in limit()
823 public Buffer mark() { in mark()
829 public Buffer reset() { in reset()
835 public Buffer clear() { in clear()
841 public Buffer flip() { in flip()
847 public Buffer rewind() { in rewind()
DCharBufferSpliterator.java94 return Buffer.SPLITERATOR_CHARACTERISTICS; in characteristics()
/libcore/luni/src/main/java/java/nio/
DNIOAccess.java36 public static long getBasePointer(Buffer b) { in getBasePointer()
49 static Object getBaseArray(Buffer b) { in getBaseArray()
61 static int getBaseArrayOffset(Buffer b) { in getBaseArrayOffset()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DAbstractBufferTest.java19 import java.nio.Buffer;
30 protected Buffer baseBuf;
51 Buffer ret = baseBuf.clear(); in testClear()
72 Buffer ret = baseBuf.flip(); in testFlip()
122 Buffer ret = baseBuf.limit(baseBuf.limit());
172 Buffer ret = baseBuf.mark();
244 Buffer ret = baseBuf.position(0);
271 Buffer ret = baseBuf.reset();
292 Buffer ret = baseBuf.rewind();
/libcore/ojluni/annotations/sdk/nullability/java/nio/
DByteBuffer.annotated.java31 public abstract class ByteBuffer extends java.nio.Buffer implements java.lang.Comparable<java.nio.B…
73 @libcore.util.NonNull public java.nio.Buffer position(int newPosition) { throw new RuntimeException… in position()
75 @libcore.util.NonNull public java.nio.Buffer limit(int newLimit) { throw new RuntimeException("Stub… in limit()
77 @libcore.util.NonNull public java.nio.Buffer mark() { throw new RuntimeException("Stub!"); } in mark()
79 @libcore.util.NonNull public java.nio.Buffer reset() { throw new RuntimeException("Stub!"); } in reset()
81 @libcore.util.NonNull public java.nio.Buffer clear() { throw new RuntimeException("Stub!"); } in clear()
83 @libcore.util.NonNull public java.nio.Buffer flip() { throw new RuntimeException("Stub!"); } in flip()
85 @libcore.util.NonNull public java.nio.Buffer rewind() { throw new RuntimeException("Stub!"); } in rewind()
/libcore/ojluni/annotations/mmodule/java/nio/
DByteBuffer.annotated.java34 public abstract class ByteBuffer extends java.nio.Buffer implements java.lang.Comparable<java.nio.B…
/libcore/ojluni/src/main/java/java/nio/charset/
DCharsetDecoder.java31 import java.nio.Buffer;
DCharsetEncoder.java31 import java.nio.Buffer;
/libcore/luni/src/test/java/libcore/java/nio/
DOldAndroidNIOTest.java19 import java.nio.Buffer;
34 void checkBuffer(Buffer b) { in checkBuffer()
DBufferTest.java26 import java.nio.Buffer;
574 Field addressField = Buffer.class.getDeclaredField("address"); in testDirectByteBufferAlignment()
584 public static native long jniGetDirectBufferAddress(Buffer buf); in jniGetDirectBufferAddress()
585 public static native long jniGetDirectBufferCapacity(Buffer buf); in jniGetDirectBufferCapacity()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSocketChannelTest.java32 import java.nio.Buffer;
2930 Buffer expected = ByteBuffer.allocate(1024).put(data).put(data).flip(); in test_write$LByteBuffer2()
/libcore/mmodules/core_platform_api/api/platform/
Dcurrent-api.txt959 …public abstract class ByteBuffer extends java.nio.Buffer implements java.lang.Comparable<java.nio.…
/libcore/
Dopenjdk_java_files.bp341 "ojluni/src/main/java/java/nio/Buffer.java",