Home
last modified time | relevance | path

Searched defs:swap (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/main/java/libcore/io/
DMemory.java47 byte[] src, int srcOffset, int sizeofElements, boolean swap); in unsafeBulkGet()
55 Object src, int srcOffset, int sizeofElements, boolean swap); in unsafeBulkPut()
249 public static int peekInt(long address, boolean swap) { in peekInt()
263 public static long peekLong(long address, boolean swap) { in peekLong()
276 public static short peekShort(long address, boolean swap) { in peekShort()
297 …ic native void peekCharArray(long address, char[] dst, int dstOffset, int charCount, boolean swap); in peekCharArray()
303 …ive void peekDoubleArray(long address, double[] dst, int dstOffset, int doubleCount, boolean swap); in peekDoubleArray()
309 …native void peekFloatArray(long address, float[] dst, int dstOffset, int floatCount, boolean swap); in peekFloatArray()
315 …tatic native void peekIntArray(long address, int[] dst, int dstOffset, int intCount, boolean swap); in peekIntArray()
321 …ic native void peekLongArray(long address, long[] dst, int dstOffset, int longCount, boolean swap); in peekLongArray()
[all …]
DNioBufferIterator.java30 private final boolean swap; field in NioBufferIterator
34 NioBufferIterator(MemoryMappedFile file, long address, int length, boolean swap) { in NioBufferIterator()
/libcore/luni/src/test/java/libcore/libcore/io/
DMemoryTest.java62 private void assertIntsEqual(int[] expectedValues, long ptr, boolean swap) { in assertIntsEqual()
103 private void assertLongsEqual(long[] expectedValues, long ptr, boolean swap) { in assertLongsEqual()
141 private void assertShortsEqual(short[] expectedValues, long ptr, boolean swap) { in assertShortsEqual()
/libcore/luni/src/main/native/
Dlibcore_io_Memory.cpp140 …JNIEnv* env, jclass, jlong dstAddress, jcharArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeCharArray()
144 …IEnv* env, jclass, jlong dstAddress, jdoubleArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeDoubleArray()
148 …NIEnv* env, jclass, jlong dstAddress, jfloatArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeFloatArray()
152 …(JNIEnv* env, jclass, jlong dstAddress, jintArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeIntArray()
156 …JNIEnv* env, jclass, jlong dstAddress, jlongArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeLongArray()
160 …NIEnv* env, jclass, jlong dstAddress, jshortArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeShortArray()
189 jint sizeofElement, jboolean swap) { in unsafeBulkCopy()
211 jint byteCount, jbyteArray srcArray, jint srcOffset, jint sizeofElement, jboolean swap) { in Memory_unsafeBulkGet()
228 jint byteCount, jobject srcObject, jint srcOffset, jint sizeofElement, jboolean swap) { in Memory_unsafeBulkPut()
/libcore/ojluni/src/main/java/java/nio/
DBits.java45 static short swap(short x) { in swap() method in Bits
49 static char swap(char x) { in swap() method in Bits
53 static int swap(int x) { in swap() method in Bits
57 static long swap(long x) { in swap() method in Bits
/libcore/ojluni/src/main/java/java/util/
DCollections.java539 public static void swap(List<?> list, int i, int j) { in swap() method in Collections
550 private static void swap(Object[] arr, int i, int j) { in swap() method in Collections
DArrays.java1370 private static void swap(Object[] x, int a, int b) { in swap() method in Arrays
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCollections.annotated.java52 public static void swap(@libcore.util.NonNull java.util.List<?> list, int i, int j) { throw new Run… in swap() method in Collections
/libcore/ojluni/annotations/hiddenapi/java/util/
DArrays.java185 private static void swap(java.lang.Object[] x, int a, int b) { in swap() method in Arrays
DCollections.java92 public static void swap(java.util.List<?> list, int i, int j) { in swap() method in Collections
96 private static void swap(java.lang.Object[] arr, int i, int j) { in swap() method in Collections