Searched refs:peekShort (Results 1 - 4 of 4) sorted by relevance

/libcore/luni/src/main/java/libcore/io/
H A DNioBufferIterator.java71 short result = Memory.peekShort(address + position, swap);
H A DMemory.java83 public static short peekShort(byte[] src, int offset, ByteOrder order) { method in class:Memory
173 public static short peekShort(long address, boolean swap) { method in class:Memory
/libcore/ojluni/src/main/java/java/nio/
H A DDirectByteBuffer.java309 return (char) Memory.peekShort(position, !nativeByteOrder);
320 char x = (char) Memory.peekShort(ix(position), !nativeByteOrder);
330 char x = (char) Memory.peekShort(ix(i), !nativeByteOrder);
335 return (char) Memory.peekShort(ix(i), !nativeByteOrder);
399 return Memory.peekShort(a, !nativeByteOrder);
/libcore/luni/src/test/java/libcore/io/
H A DMemoryTest.java141 assertEquals(expectedValues[i], Memory.peekShort(ptr + SizeOf.SHORT * i, swap));

Completed in 6 milliseconds