Home
last modified time | relevance | path

Searched refs:ObjectStreamConstants (Results 1 – 23 of 23) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/
DAbstractTCKTest.java70 import java.io.ObjectStreamConstants;
144 assertEquals(dis.readShort(), ObjectStreamConstants.STREAM_MAGIC); in assertSerializedBySer()
145 assertEquals(dis.readShort(), ObjectStreamConstants.STREAM_VERSION); in assertSerializedBySer()
146 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()
[all …]
DTCKZoneId.java69 import java.io.ObjectStreamConstants;
/libcore/ojluni/src/test/java/time/tck/java/time/serial/
DTCKZoneIdSerialization.java70 import java.io.ObjectStreamConstants;
163 dos.writeShort(ObjectStreamConstants.STREAM_MAGIC); in deserialize()
164 dos.writeShort(ObjectStreamConstants.STREAM_VERSION); in deserialize()
165 dos.writeByte(ObjectStreamConstants.TC_OBJECT); in deserialize()
166 dos.writeByte(ObjectStreamConstants.TC_CLASSDESC); in deserialize()
169 … dos.writeByte(ObjectStreamConstants.SC_EXTERNALIZABLE | ObjectStreamConstants.SC_BLOCK_DATA); in deserialize()
171 dos.writeByte(ObjectStreamConstants.TC_ENDBLOCKDATA); // end of classdesc in deserialize()
172 dos.writeByte(ObjectStreamConstants.TC_NULL); // no superclasses in deserialize()
173 dos.writeByte(ObjectStreamConstants.TC_BLOCKDATA); in deserialize()
177 dos.writeByte(ObjectStreamConstants.TC_ENDBLOCKDATA); // end of blockdata in deserialize()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectStreamConstantsTest.java19 import java.io.ObjectStreamConstants;
29 assertEquals(126, ObjectStreamConstants.TC_ENUM); in test_TC_ENUM()
36 assertEquals(16, ObjectStreamConstants.SC_ENUM); in test_SC_ENUM()
43 assertEquals(126, ObjectStreamConstants.TC_MAX); in test_TC_MAX()
DObjectOutputStreamTest.java34 import java.io.ObjectStreamConstants;
719 out.useProtocolVersion(ObjectStreamConstants.PROTOCOL_VERSION_1); in test_useProtocolVersionI()
DSerializationStressTest3.java25 import java.io.ObjectStreamConstants;
369 dos.writeByte(ObjectStreamConstants.TC_BLOCKDATALONG); in test_18_81_writeObject()
DSerializationStressTest2.java29 import java.io.ObjectStreamConstants;
2075 dos.writeByte(ObjectStreamConstants.TC_BLOCKDATA); in test_18_80_writeObject()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/
DTCKChronoLocalDateSerialization.java65 import java.io.ObjectStreamConstants;
153 dos.writeByte(ObjectStreamConstants.TC_BLOCKDATA); in test_hijrahSerialization_format()
158 dos.writeByte(ObjectStreamConstants.TC_ENDBLOCKDATA); in test_hijrahSerialization_format()
/libcore/ojluni/src/main/java/java/io/
DObjectStreamConstants.java34 public interface ObjectStreamConstants { interface
DObjectStreamClass.java732 ((flags & ObjectStreamConstants.SC_WRITE_METHOD) != 0); in readNonProxy()
734 ((flags & ObjectStreamConstants.SC_BLOCK_DATA) != 0); in readNonProxy()
736 ((flags & ObjectStreamConstants.SC_EXTERNALIZABLE) != 0); in readNonProxy()
738 ((flags & ObjectStreamConstants.SC_SERIALIZABLE) != 0); in readNonProxy()
744 isEnum = ((flags & ObjectStreamConstants.SC_ENUM) != 0); in readNonProxy()
781 flags |= ObjectStreamConstants.SC_EXTERNALIZABLE; in writeNonProxy()
783 if (protocol != ObjectStreamConstants.PROTOCOL_VERSION_1) { in writeNonProxy()
784 flags |= ObjectStreamConstants.SC_BLOCK_DATA; in writeNonProxy()
787 flags |= ObjectStreamConstants.SC_SERIALIZABLE; in writeNonProxy()
790 flags |= ObjectStreamConstants.SC_WRITE_METHOD; in writeNonProxy()
[all …]
DObjectOutputStream.java164 extends OutputStream implements ObjectOutput, ObjectStreamConstants
DObjectInputStream.java212 extends InputStream implements ObjectInput, ObjectStreamConstants
/libcore/ojluni/src/test/java/io/Serializable/records/
DBadValues.java37 import static java.io.ObjectStreamConstants.*;
DSerialVersionUIDTest.java46 import static java.io.ObjectStreamConstants.*;
DAbsentStreamValuesTest.java41 import static java.io.ObjectStreamConstants.*;
/libcore/luni/src/test/java/libcore/java/io/
DOldObjectOutputStreamTest.java350 java.io.ObjectStreamConstants.STREAM_MAGIC, s); in test_writeStreamHeader()
357 java.io.ObjectStreamConstants.STREAM_VERSION, s); in test_writeStreamHeader()
/libcore/ojluni/src/test/java/net/UnixDomainSocketAddress/
DUnixDomainSocketAddressSerializationTest.java37 import static java.io.ObjectStreamConstants.*;
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DObjectInputStreamTest.java386 short magic = java.io.ObjectStreamConstants.STREAM_MAGIC; in fillStreamHeader()
387 short version = java.io.ObjectStreamConstants.STREAM_VERSION; in fillStreamHeader()
431 short magic = java.io.ObjectStreamConstants.STREAM_MAGIC; in test_readStreamHeader()
432 short version = java.io.ObjectStreamConstants.STREAM_VERSION; in test_readStreamHeader()
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectOutputStream.java33 implements java.io.ObjectOutput, java.io.ObjectStreamConstants {
DObjectInputStream.java33 implements java.io.ObjectInput, java.io.ObjectStreamConstants {
/libcore/
Dopenjdk_java_files.bp68 "ojluni/src/main/java/java/io/ObjectStreamConstants.java",
DEXPECTED_UPSTREAM86 …jluni/src/main/java/java/io/ObjectStreamConstants.java,jdk8u/jdk8u121-b13,jdk/src/share/classes/ja…
/libcore/api/
Dcurrent.txt1787 …utStream extends java.io.InputStream implements java.io.ObjectInput java.io.ObjectStreamConstants {
1845 …Stream extends java.io.OutputStream implements java.io.ObjectOutput java.io.ObjectStreamConstants {
1902 public interface ObjectStreamConstants {