Searched refs:writeByte (Results 1 - 25 of 56) sorted by relevance

123

/libcore/ojluni/src/test/java/time/tck/java/time/serial/
H A DTCKLocalTimeSerialization.java98 dos.writeByte(4);
99 dos.writeByte(-1 - 22);
109 dos.writeByte(4);
110 dos.writeByte(22);
111 dos.writeByte(-1 - 17);
121 dos.writeByte(4);
122 dos.writeByte(22);
123 dos.writeByte(17);
124 dos.writeByte(-1 - 59);
134 dos.writeByte(
[all...]
H A DTCKZonedDateTimeSerialization.java104 dos.writeByte(6);
106 dos.writeByte(9);
107 dos.writeByte(16);
108 dos.writeByte(22); // time
109 dos.writeByte(17);
110 dos.writeByte(59);
112 dos.writeByte(4); // offset
113 dos.writeByte(7); // zoneId
125 dos.writeByte(6);
127 dos.writeByte(
[all...]
H A DTCKLocalDateTimeSerialization.java89 dos.writeByte(5);
91 dos.writeByte(9);
92 dos.writeByte(16);
93 dos.writeByte(22);
94 dos.writeByte(17);
95 dos.writeByte(59);
H A DTCKOffsetDateTimeSerialization.java99 dos.writeByte(10); // java.time.Ser.OFFSET_DATE_TIME_TYPE
101 dos.writeByte(9);
102 dos.writeByte(16);
103 dos.writeByte(22);
104 dos.writeByte(17);
105 dos.writeByte(59);
107 dos.writeByte(4); // quarter hours stored: 3600 / 900
H A DTCKZoneOffsetSerialization.java87 dos.writeByte(8);
88 dos.writeByte(6); // stored as quarter hours
98 dos.writeByte(8);
99 dos.writeByte(-10); // stored as quarter hours
109 dos.writeByte(8);
110 dos.writeByte(127);
H A DTCKOffsetTimeSerialization.java99 dos.writeByte(9); // java.time.Ser.OFFSET_TIME_TYPE
100 dos.writeByte(22);
101 dos.writeByte(17);
102 dos.writeByte(59);
104 dos.writeByte(4); // quarter hours stored: 3600 / 900
H A DTCKLocalDateSerialization.java96 dos.writeByte(3);
98 dos.writeByte(9);
99 dos.writeByte(16);
H A DTCKMonthDaySerialization.java94 dos.writeByte(13); // java.time.temporal.Ser.MONTH_DAY_TYPE
95 dos.writeByte(9);
96 dos.writeByte(16);
H A DTCKZoneIdSerialization.java92 dos.writeByte(7);
164 dos.writeByte(ObjectStreamConstants.TC_OBJECT);
165 dos.writeByte(ObjectStreamConstants.TC_CLASSDESC);
168 dos.writeByte(ObjectStreamConstants.SC_EXTERNALIZABLE | ObjectStreamConstants.SC_BLOCK_DATA);
170 dos.writeByte(ObjectStreamConstants.TC_ENDBLOCKDATA); // end of classdesc
171 dos.writeByte(ObjectStreamConstants.TC_NULL); // no superclasses
172 dos.writeByte(ObjectStreamConstants.TC_BLOCKDATA);
173 dos.writeByte(1 + 2 + id.length()); // length of data (1 byte + 2 bytes UTF length + 32 bytes UTF)
174 dos.writeByte(7); // ZoneId
176 dos.writeByte(ObjectStreamConstant
[all...]
H A DTCKYearMonthSerialization.java95 dos.writeByte(12); // java.time.temporal.Ser.YEAR_MONTH_TYPE
97 dos.writeByte(9);
H A DTCKInstantSerialization.java86 dos.writeByte(2);
H A DTCKYearSerialization.java87 dos.writeByte(11); // java.time.temporal.Ser.YEAR_TYPE
H A DTCKDurationSerialization.java97 dos.writeByte(1);
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/
H A DTCKChronoLocalDateSerialization.java121 dos.writeByte(dateType);
123 dos.writeByte(date.get(MONTH_OF_YEAR));
124 dos.writeByte(date.get(DAY_OF_MONTH));
153 dos.writeByte(ObjectStreamConstants.TC_BLOCKDATA);
154 dos.writeByte(6); // 6 bytes follow
156 dos.writeByte(date.get(MONTH_OF_YEAR));
157 dos.writeByte(date.get(DAY_OF_MONTH));
158 dos.writeByte(ObjectStreamConstants.TC_ENDBLOCKDATA);
H A DTCKEraSerialization.java127 dos.writeByte(JAPANESE_ERA_TYPE);
128 dos.writeByte(era.getValue());
H A DTCKChronologySerialization.java107 dos.writeByte(CHRONO_TYPE);
/libcore/luni/src/test/java/libcore/java/io/
H A DDataOutputStreamTest.java38 os.writeByte(-1);
39 os.writeByte(0);
40 os.writeByte(1);
41 os.writeByte(129);
42 // writeByte takes only the bottom byte from its int parameter.
43 os.writeByte(0x1234);
H A DOldAndroidDataOutputStreamTest.java40 a.writeByte('B');
/libcore/ojluni/src/main/java/java/time/zone/
H A DSer.java145 out.writeByte(type);
224 out.writeByte(offsetByte);
253 out.writeByte((store >>> 16) & 255);
254 out.writeByte((store >>> 8) & 255);
255 out.writeByte(store & 255);
257 out.writeByte(255);
/libcore/ojluni/src/main/java/java/io/
H A DDataOutput.java120 * are ignored. (This means that <code>writeByte</code>
131 void writeByte(int v) throws IOException; method in interface:DataOutput
272 * of the <code>writeByte</code> method . The
H A DObjectOutputStream.java523 bout.writeByte(TC_RESET);
786 public void writeByte(int val) throws IOException { method in class:ObjectOutputStream
787 bout.writeByte(val);
1253 bout.writeByte(TC_NULL);
1260 bout.writeByte(TC_REFERENCE);
1268 bout.writeByte(TC_CLASS);
1303 bout.writeByte(TC_PROXYCLASSDESC);
1319 bout.writeByte(TC_ENDBLOCKDATA);
1331 bout.writeByte(TC_CLASSDESC);
1348 bout.writeByte(TC_ENDBLOCKDAT
2013 public void writeByte(int v) throws IOException { method in class:ObjectOutputStream.BlockDataOutputStream
[all...]
/libcore/ojluni/src/test/java/time/tck/java/time/
H A DAbstractTCKTest.java182 out.writeByte(ObjectStreamConstants.TC_OBJECT);
183 out.writeByte(ObjectStreamConstants.TC_CLASSDESC);
186 out.writeByte(ObjectStreamConstants.SC_SERIALIZABLE); // Flags ObjectStreamConstants
188 out.writeByte(ObjectStreamConstants.TC_ENDBLOCKDATA);
189 out.writeByte(ObjectStreamConstants.TC_NULL); // no superclasses
/libcore/ojluni/src/main/java/java/sql/
H A DSQLOutput.java93 void writeByte(byte x) throws SQLException; method in interface:SQLOutput
/libcore/ojluni/src/main/java/java/time/
H A DLocalTime.java1604 * out.writeByte(4); // identifies a LocalTime
1608 * out.writeByte(~hour);
1610 * out.writeByte(hour);
1611 * out.writeByte(~minute);
1614 * out.writeByte(hour);
1615 * out.writeByte(minute);
1616 * out.writeByte(~second);
1619 * out.writeByte(hour);
1620 * out.writeByte(minute);
1621 * out.writeByte(secon
[all...]
H A DZoneRegion.java186 * out.writeByte(7); // identifies a ZoneId (not ZoneOffset)
208 out.writeByte(Ser.ZONE_REGION_TYPE);

Completed in 320 milliseconds

123