Searched refs:Buffer (Results 1 - 17 of 17) sorted by relevance
/libcore/luni/src/main/java/java/nio/ |
H A D | NIOAccess.java | 28 * Buffer starting at the Buffer's current position, or 0 if the 29 * Buffer is not backed by native heap storage. 33 public static long getBasePointer(Buffer b) { 43 * given Buffer, or null if the Buffer is not backed by a Java array. 45 static Object getBaseArray(Buffer b) { 51 * Java array object containing the data of the given Buffer to 53 * account the Buffer's current position. This method is only 56 static int getBaseArrayOffset(Buffer [all...] |
/libcore/ojluni/src/main/java/java/nio/ |
H A D | Buffer.java | 175 public abstract class Buffer { class 205 Buffer(int mark, int pos, int lim, int cap, int elementSizeShift) { // package-private method in class:Buffer 247 public final Buffer position(int newPosition) { 274 public final Buffer limit(int newLimit) { 288 public final Buffer mark() { 302 public final Buffer reset() { 327 public final Buffer clear() { 355 public final Buffer flip() { 377 public final Buffer rewind() {
|
H A D | CharBufferSpliterator.java | 94 return Buffer.SPLITERATOR_CHARACTERISTICS;
|
H A D | CharBuffer.java | 108 extends Buffer 111 // These fields are declared here rather than in Heap-X-Buffer in order to 1070 Buffer.SPLITERATOR_CHARACTERISTICS, false);
|
H A D | DoubleBuffer.java | 81 extends Buffer 84 // These fields are declared here rather than in Heap-X-Buffer in order to
|
H A D | FloatBuffer.java | 82 extends Buffer 85 // These fields are declared here rather than in Heap-X-Buffer in order to
|
H A D | IntBuffer.java | 84 extends Buffer 87 // These fields are declared here rather than in Heap-X-Buffer in order to
|
H A D | LongBuffer.java | 82 extends Buffer 85 // These fields are declared here rather than in Heap-X-Buffer in order to
|
H A D | ShortBuffer.java | 83 extends Buffer 86 // These fields are declared here rather than in Heap-X-Buffer in order to
|
H A D | ByteBuffer.java | 195 extends Buffer 198 // These fields are declared here rather than in Heap-X-Buffer in order to 928 // Unchecked accessors, for use by ByteBufferAs-X-Buffer classes
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
H A D | AbstractBufferTest.java | 19 import java.nio.Buffer; 26 * Tests a java.nio.Buffer instance. 30 protected Buffer baseBuf; 51 Buffer ret = baseBuf.clear(); 72 Buffer ret = baseBuf.flip(); 115 * Class under test for Buffer limit(int) 122 Buffer ret = baseBuf.limit(baseBuf.limit()); 172 Buffer ret = baseBuf.mark(); 199 * Class under test for Buffer position(int) 244 Buffer re [all...] |
/libcore/ojluni/src/main/java/java/nio/charset/ |
H A D | CharsetDecoder.java | 31 import java.nio.Buffer; 458 * positions. At most {@link Buffer#remaining in.remaining()} bytes 459 * will be read and at most {@link Buffer#remaining out.remaining()} 479 * more {@linkplain Buffer#remaining remaining} characters. This is 620 * its current position. At most {@link Buffer#remaining out.remaining()} 717 * positions. At most {@link Buffer#remaining in.remaining()} bytes 718 * will be read, and at most {@link Buffer#remaining out.remaining()}
|
H A D | CharsetEncoder.java | 31 import java.nio.Buffer; 473 * positions. At most {@link Buffer#remaining in.remaining()} characters 474 * will be read and at most {@link Buffer#remaining out.remaining()} 494 * more {@linkplain Buffer#remaining remaining} bytes. This is 635 * its current position. At most {@link Buffer#remaining out.remaining()} 732 * positions. At most {@link Buffer#remaining in.remaining()} characters 733 * will be read, and at most {@link Buffer#remaining out.remaining()}
|
/libcore/luni/src/test/java/libcore/java/nio/ |
H A D | OldAndroidNIOTest.java | 19 import java.nio.Buffer; 34 void checkBuffer(Buffer b) {
|
H A D | BufferTest.java | 24 import java.nio.Buffer; 628 Field addressField = Buffer.class.getDeclaredField("address"); 638 public static native long jniGetDirectBufferAddress(Buffer buf); 639 public static native long jniGetDirectBufferCapacity(Buffer buf); 1333 // is not affecting buffer created by its as*Buffer
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | SocketChannelTest.java | 32 import java.nio.Buffer; 2930 Buffer expected = ByteBuffer.allocate(1024).put(data).put(data).flip();
|
/libcore/ |
H A D | openjdk_java_files.mk | 314 ojluni/src/main/java/java/nio/Buffer.java \
|
Completed in 476 milliseconds