Home
last modified time | relevance | path

Searched refs:peekShort (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
DDataInputStream.java323 return Memory.peekShort(readBuffer, 0, ByteOrder.BIG_ENDIAN); in readShort()
347 return Memory.peekShort(readBuffer, 0, ByteOrder.BIG_ENDIAN) & 0xffff; in readUnsignedShort()
371 return (char)Memory.peekShort(readBuffer, 0, ByteOrder.BIG_ENDIAN); in readChar()
/libcore/luni/src/main/java/libcore/io/
DMemory.java122 public static short peekShort(@NonNull byte[] src, int offset, @NonNull ByteOrder order) { in peekShort() method in Memory
276 public static short peekShort(long address, boolean swap) { in peekShort() method in Memory
DNioBufferIterator.java119 short result = Memory.peekShort(address + position, swap); in readShort()
/libcore/ojluni/src/main/java/java/nio/
DDirectByteBuffer.java386 char x = (char) Memory.peekShort(ix(position), !nativeByteOrder); in getChar()
397 return (char) Memory.peekShort(ix(i), !nativeByteOrder); in getChar()
405 return (char) Memory.peekShort(ix(i), !nativeByteOrder); in getCharUnchecked()
483 return Memory.peekShort(a, !nativeByteOrder); in getShort()
/libcore/luni/src/test/java/libcore/libcore/io/
DMemoryTest.java143 assertEquals(expectedValues[i], Memory.peekShort(ptr + Short.BYTES * i, swap)); in assertShortsEqual()
/libcore/api/
Dmodule-lib-current.txt632 method public static short peekShort(@NonNull byte[], int, @NonNull java.nio.ByteOrder);