Searched refs:peekShort (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/main/java/libcore/io/ |
D | NioBufferIterator.java | 71 short result = Memory.peekShort(address + position, swap); in readShort()
|
D | Memory.java | 83 public static short peekShort(byte[] src, int offset, ByteOrder order) { in peekShort() method in Memory 173 public static short peekShort(long address, boolean swap) { in peekShort() method in Memory
|
/libcore/ojluni/src/main/java/java/nio/ |
D | DirectByteBuffer.java | 309 return (char) Memory.peekShort(position, !nativeByteOrder); in getChar() 320 char x = (char) Memory.peekShort(ix(position), !nativeByteOrder); in getChar() 330 char x = (char) Memory.peekShort(ix(i), !nativeByteOrder); in getChar() 335 return (char) Memory.peekShort(ix(i), !nativeByteOrder); in getCharUnchecked() 399 return Memory.peekShort(a, !nativeByteOrder); in getShort()
|
/libcore/luni/src/test/java/libcore/io/ |
D | MemoryTest.java | 141 assertEquals(expectedValues[i], Memory.peekShort(ptr + SizeOf.SHORT * i, swap)); in assertShortsEqual()
|