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.java41 byte[] src, int srcOffset, int sizeofElements, boolean swap); in unsafeBulkGet()
48 Object src, int srcOffset, int sizeofElements, boolean swap); in unsafeBulkPut()
169 public static int peekInt(long address, boolean swap) { in peekInt()
180 public static long peekLong(long address, boolean swap) { in peekLong()
190 public static short peekShort(long address, boolean swap) { in peekShort()
202 …ic native void peekCharArray(long address, char[] dst, int dstOffset, int charCount, boolean swap); in peekCharArray()
203 …ive void peekDoubleArray(long address, double[] dst, int dstOffset, int doubleCount, boolean swap); in peekDoubleArray()
204 …native void peekFloatArray(long address, float[] dst, int dstOffset, int floatCount, boolean swap); in peekFloatArray()
205 …tatic native void peekIntArray(long address, int[] dst, int dstOffset, int intCount, boolean swap); in peekIntArray()
206 …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 srcAddress, jcharArray dst, jint dstOffset, jint count, jboolean swap) { in Memory_peekCharArray()
140 …IEnv* env, jclass, jlong srcAddress, jdoubleArray dst, jint dstOffset, jint count, jboolean swap) { in Memory_peekDoubleArray()
144 …NIEnv* env, jclass, jlong srcAddress, jfloatArray dst, jint dstOffset, jint count, jboolean swap) { in Memory_peekFloatArray()
148 …(JNIEnv* env, jclass, jlong srcAddress, jintArray dst, jint dstOffset, jint count, jboolean swap) { in Memory_peekIntArray()
152 …JNIEnv* env, jclass, jlong srcAddress, jlongArray dst, jint dstOffset, jint count, jboolean swap) { in Memory_peekLongArray()
156 …NIEnv* env, jclass, jlong srcAddress, jshortArray dst, jint dstOffset, jint count, jboolean swap) { in Memory_peekShortArray()
188 …JNIEnv* env, jclass, jlong dstAddress, jcharArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeCharArray()
192 …IEnv* env, jclass, jlong dstAddress, jdoubleArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeDoubleArray()
196 …NIEnv* env, jclass, jlong dstAddress, jfloatArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeFloatArray()
200 …(JNIEnv* env, jclass, jlong dstAddress, jintArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeIntArray()
[all …]
/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.java1367 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