Home
last modified time | relevance | path

Searched refs:dstOffset (Results 1 – 18 of 18) sorted by relevance

/libcore/luni/src/main/java/libcore/io/
DMemory.java39 public static native void unsafeBulkGet(Object dst, int dstOffset, int byteCount, in unsafeBulkGet() argument
46 public static native void unsafeBulkPut(byte[] dst, int dstOffset, int byteCount, in unsafeBulkPut() argument
161 …public static native void memmove(Object dstObject, int dstOffset, Object srcObject, int srcOffset… in memmove() argument
200 public static native void peekByteArray(long address, byte[] dst, int dstOffset, int byteCount); in peekByteArray() argument
201 …public static native void peekCharArray(long address, char[] dst, int dstOffset, int charCount, bo… in peekCharArray() argument
202 …public static native void peekDoubleArray(long address, double[] dst, int dstOffset, int doubleCou… in peekDoubleArray() argument
203 …public static native void peekFloatArray(long address, float[] dst, int dstOffset, int floatCount,… in peekFloatArray() argument
204 …public static native void peekIntArray(long address, int[] dst, int dstOffset, int intCount, boole… in peekIntArray() argument
205 …public static native void peekLongArray(long address, long[] dst, int dstOffset, int longCount, bo… in peekLongArray() argument
206 …public static native void peekShortArray(long address, short[] dst, int dstOffset, int shortCount,… in peekShortArray() argument
/libcore/luni/src/main/native/
Dlibcore_io_Memory.cpp95 static void Memory_memmove(JNIEnv* env, jclass, jobject dstObject, jint dstOffset, jobject srcObjec… in Memory_memmove() argument
104 memmove(dstBytes.get() + dstOffset, srcBytes.get() + srcOffset, length); in Memory_memmove()
111 …ekByteArray(JNIEnv* env, jclass, jlong srcAddress, jbyteArray dst, jint dstOffset, jint byteCount)… in Memory_peekByteArray() argument
112 env->SetByteArrayRegion(dst, dstOffset, byteCount, cast<const jbyte*>(srcAddress)); in Memory_peekByteArray()
129 SWAP_FN(reinterpret_cast<SWAP_TYPE*>(elements.get()) + dstOffset, src, count); /*NOLINT*/ \
132 env->Set ## JNI_NAME ## ArrayRegion(dst, dstOffset, count, src); \
136 …ekCharArray(JNIEnv* env, jclass, jlong srcAddress, jcharArray dst, jint dstOffset, jint count, jbo… in Memory_peekCharArray() argument
140 …ubleArray(JNIEnv* env, jclass, jlong srcAddress, jdoubleArray dst, jint dstOffset, jint count, jbo… in Memory_peekDoubleArray() argument
144 …FloatArray(JNIEnv* env, jclass, jlong srcAddress, jfloatArray dst, jint dstOffset, jint count, jbo… in Memory_peekFloatArray() argument
148 …peekIntArray(JNIEnv* env, jclass, jlong srcAddress, jintArray dst, jint dstOffset, jint count, jbo… in Memory_peekIntArray() argument
[all …]
/libcore/ojluni/src/main/java/java/nio/
DHeapByteBuffer.java211 void getUnchecked(int pos, char[] dst, int dstOffset, int length) { in getUnchecked() argument
212 Memory.unsafeBulkGet(dst, dstOffset, length * 2, hb, ix(pos), 2, !nativeByteOrder); in getUnchecked()
272 void getUnchecked(int pos, short[] dst, int dstOffset, int length) { in getUnchecked() argument
273 Memory.unsafeBulkGet(dst, dstOffset, length * 2, hb, ix(pos), 2, !nativeByteOrder); in getUnchecked()
333 void getUnchecked(int pos, int[] dst, int dstOffset, int length) { in getUnchecked() argument
334 Memory.unsafeBulkGet(dst, dstOffset, length * 4, hb, ix(pos), 4, !nativeByteOrder); in getUnchecked()
395 void getUnchecked(int pos, long[] dst, int dstOffset, int length) { in getUnchecked() argument
396 Memory.unsafeBulkGet(dst, dstOffset, length * 8, hb, ix(pos), 8, !nativeByteOrder); in getUnchecked()
456 void getUnchecked(int pos, float[] dst, int dstOffset, int length) { in getUnchecked() argument
457 Memory.unsafeBulkGet(dst, dstOffset, length * 4, hb, ix(pos), 4, !nativeByteOrder); in getUnchecked()
[all …]
DByteBuffer.java637 int dstOffset = dst.position(); in put() local
639 dstOffset += dst.offset; in put()
641 Memory.memmove(dstObject, dstOffset, srcObject, srcOffset, n); in put()
1135 abstract void getUnchecked(int pos, char[] dst, int dstOffset, int length); in getUnchecked() argument
1244 abstract void getUnchecked(int pos, short[] dst, int dstOffset, int length); in getUnchecked() argument
1353 abstract void getUnchecked(int pos, int[] dst, int dstOffset, int length); in getUnchecked() argument
1462 abstract void getUnchecked(int pos, long[] dst, int dstOffset, int length); in getUnchecked() argument
1571 abstract void getUnchecked(int pos, float[] dst, int dstOffset, int length); in getUnchecked() argument
1680 abstract void getUnchecked(int pos, double[] dst, int dstOffset, int length); in getUnchecked() argument
DDirectByteBuffer.java229 public ByteBuffer get(byte[] dst, int dstOffset, int length) { in get() argument
233 checkBounds(dstOffset, length, dst.length); in get()
241 dst, dstOffset, length); in get() local
378 void getUnchecked(int pos, char[] dst, int dstOffset, int length) { in getUnchecked() argument
383 dst, dstOffset, length, !nativeByteOrder); in getUnchecked() local
480 void getUnchecked(int pos, short[] dst, int dstOffset, int length) { in getUnchecked() argument
485 dst, dstOffset, length, !nativeByteOrder); in getUnchecked() local
582 final void getUnchecked(int pos, int[] dst, int dstOffset, int length) { in getUnchecked() argument
587 dst, dstOffset, length, !nativeByteOrder); in getUnchecked() local
684 final void getUnchecked(int pos, long[] dst, int dstOffset, int length) { in getUnchecked() argument
[all …]
/libcore/ojluni/annotations/hiddenapi/java/nio/
DByteBuffer.java157 abstract void getUnchecked(int pos, char[] dst, int dstOffset, int length); in getUnchecked() argument
175 abstract void getUnchecked(int pos, short[] dst, int dstOffset, int length); in getUnchecked() argument
193 abstract void getUnchecked(int pos, int[] dst, int dstOffset, int length); in getUnchecked() argument
211 abstract void getUnchecked(int pos, long[] dst, int dstOffset, int length); in getUnchecked() argument
229 abstract void getUnchecked(int pos, float[] dst, int dstOffset, int length); in getUnchecked() argument
247 abstract void getUnchecked(int pos, double[] dst, int dstOffset, int length); in getUnchecked() argument
DDirectByteBuffer.java119 public java.nio.ByteBuffer get(byte[] dst, int dstOffset, int length) { in get() argument
175 void getUnchecked(int pos, char[] dst, int dstOffset, int length) { in getUnchecked() argument
219 void getUnchecked(int pos, short[] dst, int dstOffset, int length) { in getUnchecked() argument
263 final void getUnchecked(int pos, int[] dst, int dstOffset, int length) { in getUnchecked() argument
307 final void getUnchecked(int pos, long[] dst, int dstOffset, int length) { in getUnchecked() argument
351 final void getUnchecked(int pos, float[] dst, int dstOffset, int length) { in getUnchecked() argument
395 final void getUnchecked(int pos, double[] dst, int dstOffset, int length) { in getUnchecked() argument
/libcore/ojluni/src/main/java/java/lang/
DAbstractStringBuilder.java1099 public AbstractStringBuilder insert(int dstOffset, CharSequence s) { in insert() argument
1103 return this.insert(dstOffset, (String)s); in insert()
1104 return this.insert(dstOffset, s, 0, s.length()); in insert()
1151 public AbstractStringBuilder insert(int dstOffset, CharSequence s, in insert() argument
1155 if ((dstOffset < 0) || (dstOffset > this.length())) in insert()
1156 throw new IndexOutOfBoundsException("dstOffset "+dstOffset); in insert()
1163 System.arraycopy(value, dstOffset, value, dstOffset + len, in insert()
1164 count - dstOffset); in insert()
1166 value[dstOffset++] = s.charAt(i); in insert()
DStringBuilder.java309 public StringBuilder insert(int dstOffset, CharSequence s) { in insert() argument
310 super.insert(dstOffset, s); in insert()
318 public StringBuilder insert(int dstOffset, CharSequence s, in insert() argument
321 super.insert(dstOffset, s, start, end); in insert()
DStringBuffer.java531 public StringBuffer insert(int dstOffset, CharSequence s) { in insert() argument
535 super.insert(dstOffset, s); in insert()
544 public synchronized StringBuffer insert(int dstOffset, CharSequence s, in insert() argument
548 super.insert(dstOffset, s, start, end); in insert()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DAbstractStringBuilder.java205 public java.lang.AbstractStringBuilder insert(int dstOffset, java.lang.CharSequence s) { in insert() argument
210 int dstOffset, java.lang.CharSequence s, int start, int end) { in insert() argument
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java626 int dstOffset; in getOffsetsByUtcTime() local
631 dstOffset = 0; in getOffsetsByUtcTime()
641 dstOffset = 0; in getOffsetsByUtcTime()
659 dstOffset = totalOffset - rawOffset; in getOffsetsByUtcTime()
664 offsets[1] = dstOffset; in getOffsetsByUtcTime()
/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java2891 int dstOffset = 0; in adjustForZoneAndDaylightSavingsTime() local
2919 dstOffset = zoneOffsets[1]; in adjustForZoneAndDaylightSavingsTime()
2922 dstOffset = adjustDstOffsetForInvalidWallClock(standardTimeInZone, zone, dstOffset); in adjustForZoneAndDaylightSavingsTime()
2932 dstOffset = internalGet(DST_OFFSET); in adjustForZoneAndDaylightSavingsTime()
2938 return standardTimeInZone - dstOffset; in adjustForZoneAndDaylightSavingsTime()
2990 long standardTimeInZone, TimeZone zone, int dstOffset) { in adjustDstOffsetForInvalidWallClock() argument
2992 if (dstOffset != 0) { in adjustDstOffsetForInvalidWallClock()
2995 if (!zone.inDaylightTime(new Date(standardTimeInZone - dstOffset))) { in adjustDstOffsetForInvalidWallClock()
2996 dstOffset = 0; in adjustDstOffsetForInvalidWallClock()
2999 return dstOffset; in adjustDstOffsetForInvalidWallClock()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DStringBuilder.annotated.java84 @libcore.util.NonNull public java.lang.StringBuilder insert(int dstOffset, @libcore.util.Nullable j… in insert() argument
86 @libcore.util.NonNull public java.lang.StringBuilder insert(int dstOffset, @libcore.util.Nullable j… in insert() argument
DStringBuffer.annotated.java113 @libcore.util.NonNull public java.lang.StringBuffer insert(int dstOffset, @libcore.util.Nullable ja… in insert() argument
115 @libcore.util.NonNull public synchronized java.lang.StringBuffer insert(int dstOffset, @libcore.uti… in insert() argument
/libcore/ojluni/annotations/mmodule/java/nio/
DDirectByteBuffer.annotated.java55 public java.nio.ByteBuffer get(byte[] dst, int dstOffset, int length) { throw new RuntimeException(… in get() argument
/libcore/ojluni/src/main/java/sun/misc/
DUnsafe.java432 Object dst, long dstOffset, long bytes); in copyMemoryToPrimitiveArray() argument
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DUnsafe.java235 long srcAddr, java.lang.Object dst, long dstOffset, long bytes); in copyMemoryToPrimitiveArray() argument