/libcore/luni/src/main/java/libcore/io/ |
D | NioBufferIterator.java | 69 public void readByteArray(byte[] bytes, int arrayOffset, int byteCount) { in readByteArray() argument 70 checkArrayBounds(arrayOffset, bytes.length, byteCount); in readByteArray() 73 Memory.peekByteArray(address + position, bytes, arrayOffset, byteCount); in readByteArray() 96 public void readIntArray(int[] ints, int arrayOffset, int intCount) { in readIntArray() argument 97 checkArrayBounds(arrayOffset, ints.length, intCount); in readIntArray() 101 Memory.peekIntArray(address + position, ints, arrayOffset, intCount, swap); in readIntArray() 106 public void readLongArray(long[] longs, int arrayOffset, int longCount) { in readLongArray() argument 107 checkArrayBounds(arrayOffset, longs.length, longCount); in readLongArray() 111 Memory.peekLongArray(address + position, longs, arrayOffset, longCount, swap); in readLongArray() 138 private static void checkArrayBounds(int arrayOffset, int arrayLength, int count) { in checkArrayBounds() argument [all …]
|
D | BufferIterator.java | 53 public abstract void readByteArray(byte[] bytes, int arrayOffset, int byteCount); in readByteArray() argument 78 public abstract void readIntArray(int[] ints, int arrayOffset, int intCount); in readIntArray() argument 86 public abstract void readLongArray(long[] longs, int arrayOffset, int longCount); in readLongArray() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | ShortBufferTest.java | 51 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 53 loadTestData1(array, buf.arrayOffset(), buf.capacity()); in testArray() 54 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 56 loadTestData2(array, buf.arrayOffset(), buf.capacity()); in testArray() 57 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 60 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 63 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 68 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() 70 loadTestData1(array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() 71 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() [all …]
|
D | IntBufferTest.java | 52 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 54 loadTestData1(array, buf.arrayOffset(), buf.capacity()); in testArray() 55 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 57 loadTestData2(array, buf.arrayOffset(), buf.capacity()); in testArray() 58 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 61 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 64 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 69 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() 71 loadTestData1(array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() 72 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() [all …]
|
D | FloatBufferTest.java | 52 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 54 loadTestData1(array, buf.arrayOffset(), buf.capacity()); in testArray() 55 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 57 loadTestData2(array, buf.arrayOffset(), buf.capacity()); in testArray() 58 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 61 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 64 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 69 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() 71 loadTestData1(array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() 72 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() [all …]
|
D | LongBufferTest.java | 52 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 54 loadTestData1(array, buf.arrayOffset(), buf.capacity()); in testArray() 55 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 57 loadTestData2(array, buf.arrayOffset(), buf.capacity()); in testArray() 58 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 61 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 64 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 69 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() 71 loadTestData1(array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() 72 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() [all …]
|
D | DoubleBufferTest.java | 76 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 78 loadTestData1(array, buf.arrayOffset(), buf.capacity()); in testArray() 79 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 81 loadTestData2(array, buf.arrayOffset(), buf.capacity()); in testArray() 82 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 85 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 88 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 93 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() 95 loadTestData1(array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() 96 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() [all …]
|
D | CharBufferTest.java | 55 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 57 loadTestData1(array, buf.arrayOffset(), buf.capacity()); in testArray() 58 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 60 loadTestData2(array, buf.arrayOffset(), buf.capacity()); in testArray() 61 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 64 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 67 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 72 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() 74 loadTestData1(array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() 75 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() [all …]
|
D | DirectDoubleBufferTest.java | 50 buf.arrayOffset(); in testArrayOffset()
|
D | DirectLongBufferTest.java | 50 buf.arrayOffset(); in testArrayOffset()
|
D | DirectIntBufferTest.java | 50 buf.arrayOffset(); in testArrayOffset()
|
D | DirectCharBufferTest.java | 51 buf.arrayOffset(); in testArrayOffset()
|
D | DirectShortBufferTest.java | 50 buf.arrayOffset(); in testArrayOffset()
|
D | DirectFloatBufferTest.java | 50 buf.arrayOffset(); in testArrayOffset()
|
D | ByteBufferTest.java | 87 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 89 loadTestData1(array, buf.arrayOffset(), buf.capacity()); in testArray() 90 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 92 loadTestData2(array, buf.arrayOffset(), buf.capacity()); in testArray() 93 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 96 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 99 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArray() 125 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() 127 loadTestData1(array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() 128 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); in testArrayOffset() [all …]
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | CipherSpi.java | 769 int inOfs = input.arrayOffset() + inPos; in bufferCrypt() 772 int outOfs = output.arrayOffset() + outPos; in bufferCrypt() 785 int outOfs = output.arrayOffset() + outPos; in bufferCrypt() 810 inOfs = input.arrayOffset() + inPos; in bufferCrypt()
|
D | MacSpi.java | 107 int ofs = input.arrayOffset(); in engineUpdate()
|
/libcore/dalvik/src/test/java/libcore/org/apache/harmony/dalvik/ddmc/ |
D | ChunkHandlerTest.java | 56 assertEquals(0, result.arrayOffset()); in wrapChunk_simple() 79 assertEquals(0, result.arrayOffset()); in wrapChunk_stress()
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | NoArrayTest.java | 40 buf.arrayOffset(); in assertNoArray()
|
/libcore/luni/src/main/java/java/nio/ |
D | NIOAccess.java | 82 return b.hasArray() ? ((b.arrayOffset() + b.position) << b._elementSizeShift) : 0; in getBaseArrayOffset()
|
D | NioUtils.java | 115 return b.arrayOffset(); in unsafeArrayOffset()
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
D | Chunk.java | 98 this.offset = buf.arrayOffset(); in Chunk()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | Checksum.java | 114 update(buffer.array(), pos + buffer.arrayOffset(), rem); in update()
|
/libcore/ojluni/src/main/java/java/security/ |
D | MessageDigestSpi.java | 112 int ofs = input.arrayOffset(); in engineUpdate()
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | Buffer.java | 92 public abstract int arrayOffset(); in arrayOffset() method in Buffer
|