/libcore/luni/src/test/java/libcore/java/nio/ |
NoArrayTest.java | 40 buf.arrayOffset();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
DirectCharBufferTest.java | 48 buf.arrayOffset();
|
DirectDoubleBufferTest.java | 47 buf.arrayOffset();
|
DirectFloatBufferTest.java | 47 buf.arrayOffset();
|
DirectIntBufferTest.java | 47 buf.arrayOffset();
|
DirectLongBufferTest.java | 48 buf.arrayOffset();
|
DirectShortBufferTest.java | 47 buf.arrayOffset();
|
ReadOnlyCharBufferTest.java | 59 buf.arrayOffset();
|
ReadOnlyDoubleBufferTest.java | 56 buf.arrayOffset();
|
ReadOnlyFloatBufferTest.java | 56 buf.arrayOffset();
|
ReadOnlyIntBufferTest.java | 56 buf.arrayOffset();
|
ReadOnlyLongBufferTest.java | 56 buf.arrayOffset();
|
ReadOnlyShortBufferTest.java | 56 buf.arrayOffset();
|
/libcore/luni/src/main/java/java/nio/ |
CharArrayBuffer.java | 27 private final int arrayOffset; 35 private CharArrayBuffer(int capacity, char[] backingArray, int arrayOffset, boolean isReadOnly) { 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 + position++] [all...] |
DoubleArrayBuffer.java | 27 private final int arrayOffset; 35 private DoubleArrayBuffer(int capacity, double[] backingArray, int arrayOffset, boolean isReadOnly) { 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 + position++] [all...] |
FloatArrayBuffer.java | 27 private final int arrayOffset; 35 private FloatArrayBuffer(int capacity, float[] backingArray, int arrayOffset, boolean isReadOnly) { 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 + position++] [all...] |
IntArrayBuffer.java | 27 private final int arrayOffset; 35 private IntArrayBuffer(int capacity, int[] backingArray, int arrayOffset, boolean isReadOnly) { 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 + position++] [all...] |
LongArrayBuffer.java | 27 private final int arrayOffset; 35 private LongArrayBuffer(int capacity, long[] backingArray, int arrayOffset, boolean isReadOnly) { 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 + position++] [all...] |
ShortArrayBuffer.java | 27 private final int arrayOffset; 35 private ShortArrayBuffer(int capacity, short[] backingArray, int arrayOffset, boolean isReadOnly) { 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 + position++] [all...] |
Buffer.java | 129 * {@code buffer.array()[offset + buffer.arrayOffset()} to access element {@code offset} 140 public abstract int arrayOffset(); 239 * Returns true if {@code array} and {@code arrayOffset} won't throw. This method does not
|
FloatBuffer.java | 104 public final int arrayOffset() { 342 * Child class implements this method to realize {@code arrayOffset()}. 344 * @return see {@code arrayOffset()}
|
IntBuffer.java | 100 public final int arrayOffset() { 328 * Child class implements this method to realize {@code arrayOffset()}. 330 * @return see {@code arrayOffset()}
|
LongBuffer.java | 102 public final int arrayOffset() { 332 * Child class implements this method to realize {@code arrayOffset()}. 334 * @return see {@code arrayOffset()}
|
ShortBuffer.java | 102 public final int arrayOffset() { 331 * Child class implements this method to realize {@code arrayOffset()}. 333 * @return see {@code arrayOffset()}
|
/libcore/luni/src/main/java/java/io/ |
OutputStreamWriter.java | 167 out.write(bytes.array(), bytes.arrayOffset(), position);
|