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.java318 return Memory.peekShort(readBuffer, 0, ByteOrder.BIG_ENDIAN); in readShort()
342 return Memory.peekShort(readBuffer, 0, ByteOrder.BIG_ENDIAN) & 0xffff; in readUnsignedShort()
366 return (char)Memory.peekShort(readBuffer, 0, ByteOrder.BIG_ENDIAN); in readChar()
/libcore/luni/src/main/java/libcore/io/
DMemory.java89 public static short peekShort(byte[] src, int offset, ByteOrder order) { in peekShort() method in Memory
189 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.java355 char x = (char) Memory.peekShort(ix(position), !nativeByteOrder); in getChar()
366 return (char) Memory.peekShort(ix(i), !nativeByteOrder); in getChar()
374 return (char) Memory.peekShort(ix(i), !nativeByteOrder); in getCharUnchecked()
452 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/mmodules/core_platform_api/api/legacy_platform/
Dcurrent-api.txt971 method public static short peekShort(byte[], int, java.nio.ByteOrder);