/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
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 | 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 | 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 | 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 | 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 | 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 | DirectCharBufferTest.java | 52 buf.arrayOffset(); in testArrayOffset()
|
D | DirectDoubleBufferTest.java | 51 buf.arrayOffset(); in testArrayOffset()
|
D | DirectFloatBufferTest.java | 51 buf.arrayOffset(); in testArrayOffset()
|
D | DirectIntBufferTest.java | 51 buf.arrayOffset(); in testArrayOffset()
|
D | DirectLongBufferTest.java | 51 buf.arrayOffset(); in testArrayOffset()
|
D | DirectShortBufferTest.java | 51 buf.arrayOffset(); in testArrayOffset()
|
/libcore/luni/src/main/java/java/nio/charset/ |
D | CharsetEncoderICU.java | 192 outEnd = out.arrayOffset() + out.limit(); in getArray() 193 return out.arrayOffset() + out.position(); in getArray() 208 inEnd = in.arrayOffset() + in.limit(); in getArray() 209 return in.arrayOffset() + in.position(); in getArray() 227 out.position(data[OUTPUT_OFFSET] - out.arrayOffset()); in setPosition()
|
D | CharsetDecoderICU.java | 163 outEnd = out.arrayOffset() + out.limit(); in getArray() 164 return out.arrayOffset() + out.position(); in getArray() 179 inEnd = in.arrayOffset() + in.limit(); in getArray() 180 return in.arrayOffset() + in.position(); in getArray()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | CipherSpi.java | 768 int inOfs = input.arrayOffset() + inPos; in bufferCrypt() 771 int outOfs = output.arrayOffset() + outPos; in bufferCrypt() 784 int outOfs = output.arrayOffset() + outPos; in bufferCrypt() 809 inOfs = input.arrayOffset() + inPos; in bufferCrypt()
|
D | MacSpi.java | 107 int ofs = input.arrayOffset(); in engineUpdate()
|
/libcore/luni/src/main/java/java/nio/ |
D | NIOAccess.java | 57 return b.hasArray() ? ((b.arrayOffset() + b.position) << b._elementSizeShift) : 0; in getBaseArrayOffset()
|
D | NioUtils.java | 82 return b.arrayOffset(); in unsafeArrayOffset()
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
D | Chunk.java | 60 this.offset = buf.arrayOffset(); in Chunk()
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | NoArrayTest.java | 40 buf.arrayOffset(); in assertNoArray()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | Transformers.java | 1046 private final int arrayOffset; field in Transformers.Spreader 1070 arrayOffset = spreaderType.parameterCount() - 1; in Spreader() 1073 final Class<?> componentType = spreaderType.ptypes()[arrayOffset].getComponentType(); in Spreader() 1081 this.copyRange = EmulatedStackFrame.Range.of(spreaderType, 0, arrayOffset); in Spreader() 1096 arrayOffset, in transform() 1102 copyRange.numReferences, this.type().ptypes()[arrayOffset]); in transform() 1111 spreadArray((Object[]) arrayObj, writer, type, numArrayArgs, arrayOffset); in transform() local 1114 spreadArray((int[]) arrayObj, writer, type, numArrayArgs, arrayOffset); in transform() local 1117 spreadArray((long[]) arrayObj, writer, type, numArrayArgs, arrayOffset); in transform() local 1120 spreadArray((byte[]) arrayObj, writer, type, numArrayArgs, arrayOffset); in transform() local [all …]
|
/libcore/ojluni/src/main/java/java/security/ |
D | MessageDigestSpi.java | 111 int ofs = input.arrayOffset(); in engineUpdate()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | Adler32.java | 114 adler = updateBytes(adler, buffer.array(), pos + buffer.arrayOffset(), rem); in update()
|
D | CRC32.java | 111 crc = updateBytes(crc, buffer.array(), pos + buffer.arrayOffset(), rem); in update()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Base64.java | 339 buffer.arrayOffset() + buffer.position(), in encode() 340 buffer.arrayOffset() + buffer.limit(), in encode() 613 sp = buffer.arrayOffset() + buffer.position(); in decode() 614 sl = buffer.arrayOffset() + buffer.limit(); in decode()
|