Searched defs:peekShort (Results 1 - 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/util/zip/
H A DZipInputStream.java235 int version = peekShort(0) & 0xff;
239 int flags = peekShort(LOCFLG - LOCVER);
245 int ceLastModifiedTime = peekShort(LOCTIM - LOCVER);
246 int ceLastModifiedDate = peekShort(LOCTIM - LOCVER + 2);
247 int ceCompressionMethod = peekShort(LOCHOW - LOCVER);
254 int nameLength = peekShort(LOCNAM - LOCVER);
258 int extraLength = peekShort(LOCEXT - LOCVER);
284 private int peekShort(int offset) { method in class:ZipInputStream
285 return Memory.peekShort(hdrBuf, offset, ByteOrder.LITTLE_ENDIAN) & 0xffff;
/libcore/luni/src/main/java/java/nio/
H A DMemoryBlock.java215 public final short peekShort(int offset, ByteOrder order) { method in class:MemoryBlock
216 return Memory.peekShort(address + offset, order.needsSwap);
/libcore/luni/src/main/java/libcore/io/
H A DMemory.java83 public static short peekShort(byte[] src, int offset, ByteOrder order) { method in class:Memory
156 public static native short peekShort(long address, boolean swap); method in class:Memory

Completed in 155 milliseconds