Home
last modified time | relevance | path

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

/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.java404 .readShort()); in test_readShort()
818 .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.java85 public abstract short readShort(); in readShort() method in BufferIterator
DNioBufferIterator.java99 public short readShort() { in readShort() method in NioBufferIterator
/libcore/ojluni/src/main/java/java/io/
DDataInput.java331 short readShort() throws IOException; in readShort() method
DDataInputStream.java314 public final short readShort() throws IOException { in readShort() method in DataInputStream
DObjectInputStream.java858 short s0 = bin.readShort(); in readStreamHeader()
859 short s1 = bin.readShort(); in readStreamHeader()
1005 public short readShort() throws IOException { in readShort() method in ObjectInputStream
1006 return bin.readShort(); in readShort()
2944 public short readShort() throws IOException { in readShort() method in ObjectInputStream.BlockDataInputStream
2949 return din.readShort(); in readShort()
3085 v[off++] = din.readShort(); in readShorts()
DRandomAccessFile.java801 public final short readShort() throws IOException { in readShort() method in RandomAccessFile
DObjectStreamClass.java716 int numFields = in.readShort(); in readNonProxy()
/libcore/ojluni/src/test/java/time/tck/java/time/
DAbstractTCKTest.java125 assertEquals(dis.readShort(), ObjectStreamConstants.STREAM_MAGIC); in assertSerializedBySer()
126 assertEquals(dis.readShort(), ObjectStreamConstants.STREAM_VERSION); in assertSerializedBySer()
132 assertEquals(dis.readShort(), 0); // number of fields in assertSerializedBySer()
/libcore/ojluni/src/main/java/java/sql/
DSQLInput.java111 short readShort() throws SQLException; in readShort() method
/libcore/ojluni/annotations/hiddenapi/java/io/
DRandomAccessFile.java132 public final short readShort() throws java.io.IOException { in readShort() method in RandomAccessFile
DObjectInputStream.java131 public short readShort() throws java.io.IOException { in readShort() method in ObjectInputStream
436 public short readShort() throws java.io.IOException { in readShort() method in ObjectInputStream.BlockDataInputStream
/libcore/luni/src/test/java/libcore/libcore/io/
DMemoryMappedFileTest.java618 iterator.readShort(); in assertReadShortFails()
627 assertEquals(expectedValue, iterator.readShort()); in assertReadShortSucceeds()
/libcore/luni/src/test/java/libcore/libcore/util/
DZoneInfoTest.java812 public short readShort() { in readShort() method in ZoneInfoTest.ByteBufferIterator
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DObjectInputStreamTest.java962 ois.readShort() == Short.MAX_VALUE); in test_readShort()