/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
CharBufferTest.java | 55 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 57 loadTestData1(array, buf.arrayOffset(), buf.capacity()); 58 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 60 loadTestData2(array, buf.arrayOffset(), buf.capacity()); 61 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 64 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 67 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 72 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 74 loadTestData1(array, buf.arrayOffset(), buf.capacity()); 75 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()) [all...] |
ByteBufferTest.java | 57 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 59 loadTestData1(array, buf.arrayOffset(), buf.capacity()); 60 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 62 loadTestData2(array, buf.arrayOffset(), buf.capacity()); 63 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 66 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 69 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 95 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 97 loadTestData1(array, buf.arrayOffset(), buf.capacity()); 98 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()) [all...] |
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();
|
ReadOnlyCharBufferTest.java | 59 buf.arrayOffset();
|
/libcore/luni/src/main/java/java/nio/ |
NIOAccess.java | 66 return b.hasArray() ? ((b.arrayOffset() + b.position) << b._elementSizeShift) : 0;
|
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
|
DoubleBuffer.java | 103 public final int arrayOffset() { 343 * Child class implements this method to realize {@code arrayOffset()}. 345 * @see #arrayOffset()
|
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()}
|
MemoryBlock.java | 139 // Used to support array/arrayOffset/hasArray for direct buffers.
|
CharBuffer.java | 148 public final int arrayOffset() { 405 * Child class implements this method to realize {@code arrayOffset()}. 407 * @see #arrayOffset()
|
ByteBuffer.java | 145 @Override public final int arrayOffset() { 650 * Child class implements this method to realize {@code arrayOffset()}. 652 * @see #arrayOffset() [all...] |
/libcore/luni/src/main/java/javax/crypto/ |
MacSpi.java | 102 int offset = input.arrayOffset();
|
CipherSpi.java | 348 int offset = input.arrayOffset(); 422 int offset = input.arrayOffset(); 534 int offset = input.arrayOffset();
|
/frameworks/base/docs/html/sdk/api_diff/9/changes/ |
java.nio.Buffer.html | 94 <nobr><code>int</code> <A HREF="../../../../reference/java/nio/Buffer.html#arrayOffset()" target="_top"><code>arrayOffset</code></A>()</nobr>
|
/libcore/luni/src/test/java/libcore/java/nio/ |
BufferTest.java | 589 assertEquals(0, b.arrayOffset()); 607 assertEquals(0, buffer.arrayOffset()); 608 assertEquals(1, slice.arrayOffset()); 613 assertEquals(0, directBuffer.arrayOffset()); 614 assertEquals(1, directSlice.arrayOffset()); 728 bb.arrayOffset();
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
DefaultMp4Builder.java | 560 nuSamples.get(lastIndex).arrayOffset() + nuSamples.get(lastIndex).limit() == buffer.arrayOffset()) { 562 ByteBuffer nu = ByteBuffer.wrap(buffer.array(), oldBuffer.arrayOffset(), oldBuffer.limit() + buffer.limit()).slice(); 563 // We need to slice here since wrap([], offset, length) just sets position and not the arrayOffset.
|
/libcore/luni/src/main/java/java/security/ |
MessageDigestSpi.java | 79 int offset = input.arrayOffset();
|
/libcore/luni/src/main/java/libcore/io/ |
Memory.java | 144 * the Buffer.arrayOffset if the array came from a Buffer.array call. We could make this
|