Home
last modified time | relevance | path

Searched refs:readShort (Results 1 – 25 of 25) sorted by relevance

/libcore/dex/src/test/java/com/android/dex/
DEncodedValueReaderTest.java33 assertEquals((short) 0x8000, readerOf(34, 0x00, 0x80).readShort()); in testReadShort()
34 assertEquals((short) 0, readerOf( 2, 0x00).readShort()); in testReadShort()
35 assertEquals((short) 0xab, readerOf(34, 0xab, 0x00).readShort()); in testReadShort()
36 assertEquals((short) 0xabcd, readerOf(34, 0xcd, 0xab).readShort()); in testReadShort()
37 assertEquals((short) 0x7FFF, readerOf(34, 0xff, 0x7f).readShort()); in testReadShort()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DEOFExceptionTest.java33 .readShort(); in test_Constructor()
46 .readShort(); in test_ConstructorLjava_lang_String()
DDataInputStreamTest.java431 assertTrue("Incorrect short read", dis.readShort() == (short) 9875); in test_readShort()
506 public short readShort() throws IOException { in readShort() method in DataInputStreamTest.TestDataInputStream
576 dis.readShort(); in test_readShortUsesMultiByteRead()
DDataOutputStreamTest.java219 short c = dis.readShort(); in test_writeShortI()
DRandomAccessFileTest.java398 .readShort()); in test_readShort()
812 .readShort()); in test_writeShortI()
DSerializationStressTest.java550 assertEquals("Wrote incorrect short value", 127, ois.readShort()); in test_19_writeShort()
DObjectOutputStreamTest.java951 assertEquals("Wrote incorrect short value", 127, ois.readShort()); in test_writeShortI()
/libcore/luni/src/test/java/libcore/java/io/
DOldObjectInputOutputStreamTest.java210 9875, is.readShort()); in test_read_writeShort()
213 is.readShort(); in test_read_writeShort()
221 is.readShort(); in test_read_writeShort()
DOldDataInputOutputStreamTest.java275 9875, dis.readShort()); in test_read_writeShort()
278 dis.readShort(); in test_read_writeShort()
286 dis.readShort(); in test_read_writeShort()
DOldRandomAccessFileTest.java688 Short.MIN_VALUE, raf.readShort()); in test_read_writeShort()
690 'T', raf.readShort()); in test_read_writeShort()
692 Short.MAX_VALUE, raf.readShort()); in test_read_writeShort()
694 0x7fff, raf.readShort()); in test_read_writeShort()
696 (short) 0x8000, raf.readShort()); in test_read_writeShort()
699 raf.readShort(); in test_read_writeShort()
713 raf.readShort(); in test_read_writeShort()
DOldAndroidDataInputStreamTest.java102 assertEquals(5, g.readShort()); in testDataInputStream()
/libcore/luni/src/main/java/libcore/io/
DBufferIterator.java61 public abstract short readShort(); in readShort() method in BufferIterator
DNioBufferIterator.java70 public short readShort() { in readShort() method in NioBufferIterator
/libcore/ojluni/src/main/java/java/io/
DDataInput.java376 short readShort() throws IOException; in readShort() method
DDataInputStream.java314 public final short readShort() throws IOException { in readShort() method in DataInputStream
DObjectInputStream.java802 short s0 = bin.readShort(); in readStreamHeader()
803 short s1 = bin.readShort(); in readStreamHeader()
949 public short readShort() throws IOException { in readShort() method in ObjectInputStream
950 return bin.readShort(); in readShort()
2797 public short readShort() throws IOException { in readShort() method in ObjectInputStream.BlockDataInputStream
2802 return din.readShort(); in readShort()
2937 v[off++] = din.readShort(); in readShorts()
DRandomAccessFile.java723 public final short readShort() throws IOException { in readShort() method in RandomAccessFile
DObjectStreamClass.java684 int numFields = in.readShort(); in readNonProxy()
/libcore/dex/src/main/java/com/android/dex/
DEncodedValueReader.java140 public short readShort() { in readShort() method in EncodedValueReader
227 readShort(); in skipValue()
DTableOfContents.java120 short type = in.readShort(); in readMap()
121 in.readShort(); // unused in readMap()
DDex.java532 public short readShort() { in readShort() method in Dex.Section
537 return readShort() & 0xffff; in readUnsignedShort()
556 result[i] = readShort(); in readShortArray()
654 readShort(); // padding in readCode()
/libcore/ojluni/src/main/java/java/sql/
DSQLInput.java111 short readShort() throws SQLException; in readShort() method
/libcore/luni/src/test/java/libcore/util/
DZoneInfoTest.java525 public short readShort() { in readShort() method in ZoneInfoTest.ByteBufferIterator
/libcore/dalvik/src/main/java/dalvik/system/profiler/
DBinaryHprofReader.java239 short depth = in.readShort(); in parseControlSettings()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DObjectInputStreamTest.java962 ois.readShort() == Short.MAX_VALUE); in test_readShort()