| /libcore/luni/src/main/java/libcore/io/ |
| D | Memory.java | 41 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 …]
|
| D | NioBufferIterator.java | 30 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/ |
| D | MemoryTest.java | 62 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/ |
| D | libcore_io_Memory.cpp | 136 …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/ |
| D | Bits.java | 45 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/ |
| D | Collections.java | 539 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
|
| D | Arrays.java | 1367 private static void swap(Object[] x, int a, int b) { in swap() method in Arrays
|
| /libcore/ojluni/annotations/sdk/nullability/java/util/ |
| D | Collections.annotated.java | 52 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/ |
| D | Arrays.java | 185 private static void swap(java.lang.Object[] x, int a, int b) { in swap() method in Arrays
|
| D | Collections.java | 92 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
|