/libcore/ojluni/src/test/java/time/tck/java/time/serial/ |
D | TCKZonedDateTimeSerialization.java | 104 dos.writeByte(6); in test_serialization_format_zoneId() 106 dos.writeByte(9); in test_serialization_format_zoneId() 107 dos.writeByte(16); in test_serialization_format_zoneId() 108 dos.writeByte(22); // time in test_serialization_format_zoneId() 109 dos.writeByte(17); in test_serialization_format_zoneId() 110 dos.writeByte(59); in test_serialization_format_zoneId() 112 dos.writeByte(4); // offset in test_serialization_format_zoneId() 113 dos.writeByte(7); // zoneId in test_serialization_format_zoneId() 125 dos.writeByte(6); in test_serialization_format_zoneOffset() 127 dos.writeByte(9); in test_serialization_format_zoneOffset() [all …]
|
D | TCKLocalTimeSerialization.java | 98 dos.writeByte(4); in test_serialization_format_h() 99 dos.writeByte(-1 - 22); in test_serialization_format_h() 109 dos.writeByte(4); in test_serialization_format_hm() 110 dos.writeByte(22); in test_serialization_format_hm() 111 dos.writeByte(-1 - 17); in test_serialization_format_hm() 121 dos.writeByte(4); in test_serialization_format_hms() 122 dos.writeByte(22); in test_serialization_format_hms() 123 dos.writeByte(17); in test_serialization_format_hms() 124 dos.writeByte(-1 - 59); in test_serialization_format_hms() 134 dos.writeByte(4); in test_serialization_format_hmsn() [all …]
|
D | TCKOffsetDateTimeSerialization.java | 99 dos.writeByte(10); // java.time.Ser.OFFSET_DATE_TIME_TYPE in test_serialization_format() 101 dos.writeByte(9); in test_serialization_format() 102 dos.writeByte(16); in test_serialization_format() 103 dos.writeByte(22); in test_serialization_format() 104 dos.writeByte(17); in test_serialization_format() 105 dos.writeByte(59); in test_serialization_format() 107 dos.writeByte(4); // quarter hours stored: 3600 / 900 in test_serialization_format()
|
D | TCKLocalDateTimeSerialization.java | 89 dos.writeByte(5); in test_serialization_format() 91 dos.writeByte(9); in test_serialization_format() 92 dos.writeByte(16); in test_serialization_format() 93 dos.writeByte(22); in test_serialization_format() 94 dos.writeByte(17); in test_serialization_format() 95 dos.writeByte(59); in test_serialization_format()
|
D | TCKZoneOffsetSerialization.java | 87 dos.writeByte(8); in test_serialization_format_quarterPositive() 88 dos.writeByte(6); // stored as quarter hours in test_serialization_format_quarterPositive() 98 dos.writeByte(8); in test_serialization_format_quarterNegative() 99 dos.writeByte(-10); // stored as quarter hours in test_serialization_format_quarterNegative() 109 dos.writeByte(8); in test_serialization_format_full() 110 dos.writeByte(127); in test_serialization_format_full()
|
D | TCKZoneIdSerialization.java | 92 dos.writeByte(7); in test_serialization_format() 164 dos.writeByte(ObjectStreamConstants.TC_OBJECT); in deserialize() 165 dos.writeByte(ObjectStreamConstants.TC_CLASSDESC); in deserialize() 168 … dos.writeByte(ObjectStreamConstants.SC_EXTERNALIZABLE | ObjectStreamConstants.SC_BLOCK_DATA); in deserialize() 170 dos.writeByte(ObjectStreamConstants.TC_ENDBLOCKDATA); // end of classdesc in deserialize() 171 dos.writeByte(ObjectStreamConstants.TC_NULL); // no superclasses in deserialize() 172 dos.writeByte(ObjectStreamConstants.TC_BLOCKDATA); in deserialize() 173 …dos.writeByte(1 + 2 + id.length()); // length of data (1 byte + 2 bytes UTF length + 32 bytes UTF) in deserialize() 174 dos.writeByte(7); // ZoneId in deserialize() 176 dos.writeByte(ObjectStreamConstants.TC_ENDBLOCKDATA); // end of blockdata in deserialize()
|
D | TCKOffsetTimeSerialization.java | 99 dos.writeByte(9); // java.time.Ser.OFFSET_TIME_TYPE in test_serialization_format() 100 dos.writeByte(22); in test_serialization_format() 101 dos.writeByte(17); in test_serialization_format() 102 dos.writeByte(59); in test_serialization_format() 104 dos.writeByte(4); // quarter hours stored: 3600 / 900 in test_serialization_format()
|
D | TCKMonthDaySerialization.java | 94 dos.writeByte(13); // java.time.temporal.Ser.MONTH_DAY_TYPE in test_serialization_format() 95 dos.writeByte(9); in test_serialization_format() 96 dos.writeByte(16); in test_serialization_format()
|
D | TCKLocalDateSerialization.java | 96 dos.writeByte(3); in test_serialization_format() 98 dos.writeByte(9); in test_serialization_format() 99 dos.writeByte(16); in test_serialization_format()
|
D | TCKYearMonthSerialization.java | 95 dos.writeByte(12); // java.time.temporal.Ser.YEAR_MONTH_TYPE in test_serialization_format() 97 dos.writeByte(9); in test_serialization_format()
|
D | TCKInstantSerialization.java | 86 dos.writeByte(2); in test_serialization_format()
|
D | TCKYearSerialization.java | 87 dos.writeByte(11); // java.time.temporal.Ser.YEAR_TYPE in test_serialization_format()
|
D | TCKDurationSerialization.java | 97 dos.writeByte(1); in test_serialization_format()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/ |
D | TCKChronoLocalDateSerialization.java | 121 dos.writeByte(dateType); in test_serialization_format() 123 dos.writeByte(date.get(MONTH_OF_YEAR)); in test_serialization_format() 124 dos.writeByte(date.get(DAY_OF_MONTH)); in test_serialization_format() 153 dos.writeByte(ObjectStreamConstants.TC_BLOCKDATA); in test_hijrahSerialization_format() 154 dos.writeByte(6); // 6 bytes follow in test_hijrahSerialization_format() 156 dos.writeByte(date.get(MONTH_OF_YEAR)); in test_hijrahSerialization_format() 157 dos.writeByte(date.get(DAY_OF_MONTH)); in test_hijrahSerialization_format() 158 dos.writeByte(ObjectStreamConstants.TC_ENDBLOCKDATA); in test_hijrahSerialization_format()
|
D | TCKEraSerialization.java | 127 dos.writeByte(JAPANESE_ERA_TYPE); in test_JapaneseErasSerialization() 128 dos.writeByte(era.getValue()); in test_JapaneseErasSerialization()
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | Ser.java | 145 out.writeByte(type); in writeInternal() 224 out.writeByte(offsetByte); in writeOffset() 253 out.writeByte((store >>> 16) & 255); in writeEpochSec() 254 out.writeByte((store >>> 8) & 255); in writeEpochSec() 255 out.writeByte(store & 255); in writeEpochSec() 257 out.writeByte(255); in writeEpochSec()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | DataOutputStreamTest.java | 38 os.writeByte(-1); in test_writeByte() 39 os.writeByte(0); in test_writeByte() 40 os.writeByte(1); in test_writeByte() 41 os.writeByte(129); in test_writeByte() 43 os.writeByte(0x1234); in test_writeByte()
|
D | OldAndroidDataOutputStreamTest.java | 40 a.writeByte('B'); in testDataOutputStream()
|
D | OldDataInputOutputStreamTest.java | 70 os.writeByte((byte) 127); in test_read_writeByte() 73 os.writeByte((byte) 127); in test_read_writeByte()
|
D | OldRandomAccessFileTest.java | 422 raf.writeByte(Byte.MIN_VALUE); in test_read_writeByte() 423 raf.writeByte(11); in test_read_writeByte() 424 raf.writeByte(Byte.MAX_VALUE); in test_read_writeByte() 425 raf.writeByte(Byte.MIN_VALUE - 1); in test_read_writeByte() 426 raf.writeByte(Byte.MAX_VALUE + 1); in test_read_writeByte() 449 raf.writeByte(13); in test_read_writeByte() 864 raf.writeByte(-1); in test_readUnsignedByte()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | AbstractTCKTest.java | 182 out.writeByte(ObjectStreamConstants.TC_OBJECT); in assertNotSerializable() 183 out.writeByte(ObjectStreamConstants.TC_CLASSDESC); in assertNotSerializable() 186 out.writeByte(ObjectStreamConstants.SC_SERIALIZABLE); // Flags ObjectStreamConstants in assertNotSerializable() 188 out.writeByte(ObjectStreamConstants.TC_ENDBLOCKDATA); in assertNotSerializable() 189 out.writeByte(ObjectStreamConstants.TC_NULL); // no superclasses in assertNotSerializable()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectOutputStream.java | 523 bout.writeByte(TC_RESET); in reset() 786 public void writeByte(int val) throws IOException { in writeByte() method in ObjectOutputStream 787 bout.writeByte(val); in writeByte() 1253 bout.writeByte(TC_NULL); in writeNull() 1260 bout.writeByte(TC_REFERENCE); in writeHandle() 1268 bout.writeByte(TC_CLASS); in writeClass() 1303 bout.writeByte(TC_PROXYCLASSDESC); in writeProxyDesc() 1319 bout.writeByte(TC_ENDBLOCKDATA); in writeProxyDesc() 1331 bout.writeByte(TC_CLASSDESC); in writeNonProxyDesc() 1348 bout.writeByte(TC_ENDBLOCKDATA); in writeNonProxyDesc() [all …]
|
D | DataOutput.java | 131 void writeByte(int v) throws IOException; in writeByte() method
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalTime.java | 1646 out.writeByte(~hour); in writeExternal() 1648 out.writeByte(hour); in writeExternal() 1649 out.writeByte(~minute); in writeExternal() 1652 out.writeByte(hour); in writeExternal() 1653 out.writeByte(minute); in writeExternal() 1654 out.writeByte(~second); in writeExternal() 1657 out.writeByte(hour); in writeExternal() 1658 out.writeByte(minute); in writeExternal() 1659 out.writeByte(second); in writeExternal()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | LogRecord.java | 475 out.writeByte(1); in writeObject() 476 out.writeByte(0); in writeObject()
|