Searched refs:peekShort (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/main/java/java/io/ |
D | DataInputStream.java | 318 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/ |
D | Memory.java | 89 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
|
D | NioBufferIterator.java | 119 short result = Memory.peekShort(address + position, swap); in readShort()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | DirectByteBuffer.java | 355 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/ |
D | MemoryTest.java | 143 assertEquals(expectedValues[i], Memory.peekShort(ptr + Short.BYTES * i, swap)); in assertShortsEqual()
|
/libcore/mmodules/core_platform_api/api/legacy_platform/ |
D | current-api.txt | 971 method public static short peekShort(byte[], int, java.nio.ByteOrder);
|