/libcore/luni/src/main/java/java/nio/ |
H A D | Buffer.java | 129 * {@code buffer.array()[offset + buffer.arrayOffset()} to access element {@code offset} 140 public abstract int arrayOffset(); method in class:Buffer 239 * Returns true if {@code array} and {@code arrayOffset} won't throw. This method does not
|
H A D | CharArrayBuffer.java | 27 private final int arrayOffset; field in class:CharArrayBuffer 35 private CharArrayBuffer(int capacity, char[] backingArray, int arrayOffset, boolean isReadOnly) { argument 38 this.arrayOffset = arrayOffset; 43 CharArrayBuffer buf = new CharArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly); 58 System.arraycopy(backingArray, position + arrayOffset, backingArray, arrayOffset, remaining()); 70 return new CharArrayBuffer(remaining(), backingArray, arrayOffset + position, isReadOnly); 88 return arrayOffset; 102 return backingArray[arrayOffset [all...] |
H A D | DoubleArrayBuffer.java | 27 private final int arrayOffset; field in class:DoubleArrayBuffer 35 private DoubleArrayBuffer(int capacity, double[] backingArray, int arrayOffset, boolean isReadOnly) { argument 38 this.arrayOffset = arrayOffset; 43 DoubleArrayBuffer buf = new DoubleArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly); 58 System.arraycopy(backingArray, position + arrayOffset, backingArray, arrayOffset, remaining()); 70 return new DoubleArrayBuffer(remaining(), backingArray, arrayOffset + position, isReadOnly); 88 return arrayOffset; 102 return backingArray[arrayOffset [all...] |
H A D | DoubleBuffer.java | 103 public final int arrayOffset() { method in class:DoubleBuffer 343 * Child class implements this method to realize {@code arrayOffset()}. 345 * @see #arrayOffset()
|
H A D | FloatArrayBuffer.java | 27 private final int arrayOffset; field in class:FloatArrayBuffer 35 private FloatArrayBuffer(int capacity, float[] backingArray, int arrayOffset, boolean isReadOnly) { argument 38 this.arrayOffset = arrayOffset; 43 FloatArrayBuffer buf = new FloatArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly); 59 System.arraycopy(backingArray, position + arrayOffset, backingArray, arrayOffset, remaining()); 71 return new FloatArrayBuffer(remaining(), backingArray, arrayOffset + position, isReadOnly); 89 return arrayOffset; 103 return backingArray[arrayOffset [all...] |
H A D | FloatBuffer.java | 104 public final int arrayOffset() { method in class:FloatBuffer 342 * Child class implements this method to realize {@code arrayOffset()}. 344 * @return see {@code arrayOffset()}
|
H A D | IntArrayBuffer.java | 27 private final int arrayOffset; field in class:IntArrayBuffer 35 private IntArrayBuffer(int capacity, int[] backingArray, int arrayOffset, boolean isReadOnly) { argument 38 this.arrayOffset = arrayOffset; 43 IntArrayBuffer buf = new IntArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly); 58 System.arraycopy(backingArray, position + arrayOffset, backingArray, arrayOffset, remaining()); 70 return new IntArrayBuffer(remaining(), backingArray, arrayOffset + position, isReadOnly); 88 return arrayOffset; 102 return backingArray[arrayOffset [all...] |
H A D | IntBuffer.java | 100 public final int arrayOffset() { method in class:IntBuffer 328 * Child class implements this method to realize {@code arrayOffset()}. 330 * @return see {@code arrayOffset()}
|
H A D | LongArrayBuffer.java | 27 private final int arrayOffset; field in class:LongArrayBuffer 35 private LongArrayBuffer(int capacity, long[] backingArray, int arrayOffset, boolean isReadOnly) { argument 38 this.arrayOffset = arrayOffset; 43 LongArrayBuffer buf = new LongArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly); 58 System.arraycopy(backingArray, position + arrayOffset, backingArray, arrayOffset, remaining()); 70 return new LongArrayBuffer(remaining(), backingArray, arrayOffset + position, isReadOnly); 88 return arrayOffset; 102 return backingArray[arrayOffset [all...] |
H A D | LongBuffer.java | 102 public final int arrayOffset() { method in class:LongBuffer 332 * Child class implements this method to realize {@code arrayOffset()}. 334 * @return see {@code arrayOffset()}
|
H A D | ShortArrayBuffer.java | 27 private final int arrayOffset; field in class:ShortArrayBuffer 35 private ShortArrayBuffer(int capacity, short[] backingArray, int arrayOffset, boolean isReadOnly) { argument 38 this.arrayOffset = arrayOffset; 43 ShortArrayBuffer buf = new ShortArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly); 58 System.arraycopy(backingArray, position + arrayOffset, backingArray, arrayOffset, remaining()); 70 return new ShortArrayBuffer(remaining(), backingArray, arrayOffset + position, isReadOnly); 88 return arrayOffset; 102 return backingArray[arrayOffset [all...] |
H A D | ShortBuffer.java | 102 public final int arrayOffset() { method in class:ShortBuffer 331 * Child class implements this method to realize {@code arrayOffset()}. 333 * @return see {@code arrayOffset()}
|
H A D | ByteArrayBuffer.java | 32 final int arrayOffset; field in class:ByteArrayBuffer 40 private ByteArrayBuffer(int capacity, byte[] backingArray, int arrayOffset, boolean isReadOnly) { argument 43 this.arrayOffset = arrayOffset; 45 if (arrayOffset + capacity > backingArray.length) { 47 ", capacity=" + capacity + ", arrayOffset=" + arrayOffset); 52 ByteArrayBuffer buf = new ByteArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly); 67 System.arraycopy(backingArray, position + arrayOffset, backingArray, arrayOffset, remainin [all...] |
H A D | ByteBuffer.java | 145 @Override public final int arrayOffset() { method in class:ByteBuffer 650 * Child class implements this method to realize {@code arrayOffset()}. 652 * @see #arrayOffset()
|
H A D | CharBuffer.java | 148 public final int arrayOffset() { method in class:CharBuffer 405 * Child class implements this method to realize {@code arrayOffset()}. 407 * @see #arrayOffset()
|