Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/test/java/time/tck/java/time/
DAbstractTCKTest.java146 assertEquals(dis.readByte(), ObjectStreamConstants.TC_OBJECT); in assertSerializedBySer()
147 assertEquals(dis.readByte(), ObjectStreamConstants.TC_CLASSDESC); in assertSerializedBySer()
150 …assertEquals(dis.readByte(), ObjectStreamConstants.SC_EXTERNALIZABLE | ObjectStreamConstants.SC_BL… in assertSerializedBySer()
152 … assertEquals(dis.readByte(), ObjectStreamConstants.TC_ENDBLOCKDATA); // end of classdesc in assertSerializedBySer()
153 assertEquals(dis.readByte(), ObjectStreamConstants.TC_NULL); // no superclasses in assertSerializedBySer()
155 assertEquals(dis.readByte(), ObjectStreamConstants.TC_BLOCKDATA); in assertSerializedBySer()
158 assertEquals(dis.readByte(), ObjectStreamConstants.TC_BLOCKDATALONG); in assertSerializedBySer()
176 dis.readByte(); // ignore in assertSerializedBySer()
181 … assertEquals(dis.readByte(), ObjectStreamConstants.TC_ENDBLOCKDATA); // end of blockdata in assertSerializedBySer()
/libcore/ojluni/src/main/java/java/time/zone/
DSer.java183 type = in.readByte(); in readExternal()
188 byte type = in.readByte(); in read()
240 int offsetByte = in.readByte(); in readOffset()
272 int hiByte = in.readByte() & 255; in readEpochSec()
276 int midByte = in.readByte() & 255; in readEpochSec()
277 int loByte = in.readByte() & 255; in readEpochSec()
/libcore/luni/src/test/java/libcore/java/io/
DOldObjectInputOutputStreamTest.java66 (byte) 127, is.readByte()); in test_read_writeByte()
69 is.readByte(); in test_read_writeByte()
77 is.readByte(); in test_read_writeByte()
DOldDataInputOutputStreamTest.java83 (byte) 127, dis.readByte()); in test_read_writeByte()
86 dis.readByte(); in test_read_writeByte()
94 dis.readByte(); in test_read_writeByte()
DOldAndroidPipedStreamTest.java55 byte readByte; in testA()
64 readByte = (byte) readInt; in testA()
65 assertEquals(readByte, (byte) fib.next()); in testA()
DOldAndroidDataInputStreamTest.java90 assertEquals('a', g.readByte()); in testDataInputStream()
92 assertEquals('D', g.readByte()); in testDataInputStream()
DOldRandomAccessFileTest.java430 Byte.MIN_VALUE, raf.readByte()); in test_read_writeByte()
432 11, raf.readByte()); in test_read_writeByte()
434 Byte.MAX_VALUE, raf.readByte()); in test_read_writeByte()
436 127, raf.readByte()); in test_read_writeByte()
438 -128, raf.readByte()); in test_read_writeByte()
441 raf.readByte(); in test_read_writeByte()
455 raf.readByte(); in test_read_writeByte()
DOldDataInputStreamTest.java170 dis.readByte(); in test_readFully$B()
200 dis.readByte(); in test_readFully$BII()
/libcore/ojluni/src/main/java/java/time/chrono/
DSer.java237 type = in.readByte(); in readExternal()
242 byte type = in.readByte(); in read()
DMinguoDate.java507 int month = in.readByte(); in readExternal()
508 int dayOfMonth = in.readByte(); in readExternal()
DThaiBuddhistDate.java507 int month = in.readByte(); in readExternal()
508 int dayOfMonth = in.readByte(); in readExternal()
DHijrahDate.java686 int month = in.readByte(); in readExternal()
687 int dayOfMonth = in.readByte(); in readExternal()
/libcore/luni/src/main/java/libcore/io/
DBufferIterator.java61 public abstract byte readByte(); in readByte() method in BufferIterator
DNioBufferIterator.java78 public byte readByte() { in readByte() method in NioBufferIterator
/libcore/ojluni/src/main/java/java/io/
DObjectInputStream.java975 public byte readByte() throws IOException { in readByte() method in ObjectInputStream
976 return bin.readByte(); in readByte()
1409 bin.readByte(); in readObject0()
1541 if (bin.readByte() != TC_NULL) { in readNull()
1553 if (bin.readByte() != TC_REFERENCE) { in readHandle()
1586 if (bin.readByte() != TC_CLASS) { in readClass()
1652 if (bin.readByte() != TC_PROXYCLASSDESC) { in readProxyDesc()
1712 if (bin.readByte() != TC_CLASSDESC) { in readNonProxyDesc()
1761 byte tc = bin.readByte(); in readString()
1785 if (bin.readByte() != TC_ARRAY) { in readArray()
[all …]
DDataInput.java304 byte readByte() throws IOException; in readByte() method
/libcore/ojluni/src/main/java/java/time/
DSer.java262 type = in.readByte(); in readExternal()
267 byte type = in.readByte(); in read()
DMonthDay.java782 byte month = in.readByte(); in readExternal()
783 byte day = in.readByte(); in readExternal()
DLocalTime.java1713 int hour = in.readByte(); in readExternal()
1720 minute = in.readByte(); in readExternal()
1724 second = in.readByte(); in readExternal()
/libcore/ojluni/src/test/java/io/Serializable/records/
DSerialVersionUIDTest.java97 assertEquals(dis.readByte(), TC_OBJECT); in testSerialize()
98 assertEquals(dis.readByte(), TC_CLASSDESC); in testSerialize()
/libcore/ojluni/src/main/java/java/sql/
DSQLInput.java99 byte readByte() throws SQLException; in readByte() method
/libcore/ojluni/src/main/java/java/util/logging/
DLogRecord.java498 byte major = in.readByte(); in readObject()
499 byte minor = in.readByte(); in readObject()
/libcore/luni/src/test/java/libcore/libcore/io/
DMemoryMappedFileTest.java107 iterator.readByte(); in testReadAfterCloseFails()
634 iterator.readByte(); in assertReadByteFails()
644 assertEquals(expectedValue, iterator.readByte()); in assertReadByteSucceeds()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DDataOutputStreamTest.java115 byte c = dis.readByte(); in test_writeByteI()
DDataInputStreamTest.java96 assertTrue("Incorrect byte read", dis.readByte() == (byte) 127); in test_readByte()
471 public byte readByte() throws IOException { in readByte() method in DataInputStreamTest.TestDataInputStream

12