Home
last modified time | relevance | path

Searched defs:swap (Results 1 – 13 of 13) 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.cpp136 …JNIEnv* env, jclass, jlong dstAddress, jcharArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeCharArray()
140 …IEnv* env, jclass, jlong dstAddress, jdoubleArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeDoubleArray()
144 …NIEnv* env, jclass, jlong dstAddress, jfloatArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeFloatArray()
148 …(JNIEnv* env, jclass, jlong dstAddress, jintArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeIntArray()
152 …JNIEnv* env, jclass, jlong dstAddress, jlongArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeLongArray()
156 …NIEnv* env, jclass, jlong dstAddress, jshortArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeShortArray()
185 jint sizeofElement, jboolean swap) { in unsafeBulkCopy()
207 jint byteCount, jbyteArray srcArray, jint srcOffset, jint sizeofElement, jboolean swap) { in Memory_unsafeBulkGet()
224 jint byteCount, jobject srcObject, jint srcOffset, jint sizeofElement, jboolean swap) { in Memory_unsafeBulkPut()
/libcore/ojluni/src/test/java/util/Arrays/
DCorrect.java120 static <T> void swap(T[] x, int a, int b) { in swap() method in Correct
DSorting.java621 private void swap(int[] a, int i, int j) { in swap() method in Sorting.InnerState
627 private void swap(long[] a, int i, int j) { in swap() method in Sorting.InnerState
633 private void swap(byte[] a, int i, int j) { in swap() method in Sorting.InnerState
639 private void swap(char[] a, int i, int j) { in swap() method in Sorting.InnerState
645 private void swap(short[] a, int i, int j) { in swap() method in Sorting.InnerState
651 private void swap(float[] a, int i, int j) { in swap() method in Sorting.InnerState
657 private void swap(double[] a, int i, int j) { in swap() method in Sorting.InnerState
/libcore/ojluni/src/main/java/java/nio/
DBits.java48 static short swap(short x) { in swap() method in Bits
52 static char swap(char x) { in swap() method in Bits
56 static int swap(int x) { in swap() method in Bits
60 static long swap(long x) { in swap() method in Bits
/libcore/ojluni/src/main/java/java/util/
DCollections.java565 public static void swap(List<?> list, int i, int j) { in swap() method in Collections
576 private static void swap(Object[] arr, int i, int j) { in swap() method in Collections
DArrays.java1210 private static void swap(Object[] x, int a, int b) { in swap() method in Arrays
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCollections.annotated.java54 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/flagged_api/java/util/
DCollections.annotated.java52 public static void swap(java.util.List<?> list, int i, int j) { throw new RuntimeException("Stub!")… 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