Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/tck/java/time/
DAbstractTCKTest.java70 import java.io.ObjectStreamConstants;
125 assertEquals(dis.readShort(), ObjectStreamConstants.STREAM_MAGIC); in assertSerializedBySer()
126 assertEquals(dis.readShort(), ObjectStreamConstants.STREAM_VERSION); in assertSerializedBySer()
127 assertEquals(dis.readByte(), ObjectStreamConstants.TC_OBJECT); in assertSerializedBySer()
128 assertEquals(dis.readByte(), ObjectStreamConstants.TC_CLASSDESC); in assertSerializedBySer()
131 …assertEquals(dis.readByte(), ObjectStreamConstants.SC_EXTERNALIZABLE | ObjectStreamConstants.SC_BL… in assertSerializedBySer()
133 … assertEquals(dis.readByte(), ObjectStreamConstants.TC_ENDBLOCKDATA); // end of classdesc in assertSerializedBySer()
134 assertEquals(dis.readByte(), ObjectStreamConstants.TC_NULL); // no superclasses in assertSerializedBySer()
136 assertEquals(dis.readByte(), ObjectStreamConstants.TC_BLOCKDATA); in assertSerializedBySer()
139 assertEquals(dis.readByte(), ObjectStreamConstants.TC_BLOCKDATALONG); in assertSerializedBySer()
[all …]
DTCKZoneId.java69 import java.io.ObjectStreamConstants;
/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/serial/
DTCKZoneIdSerialization.java162 dos.writeShort(ObjectStreamConstants.STREAM_MAGIC); in deserialize()
163 dos.writeShort(ObjectStreamConstants.STREAM_VERSION); in deserialize()
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()
176 dos.writeByte(ObjectStreamConstants.TC_ENDBLOCKDATA); // end of blockdata in deserialize()
/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.java698 ((flags & ObjectStreamConstants.SC_WRITE_METHOD) != 0); in readNonProxy()
700 ((flags & ObjectStreamConstants.SC_BLOCK_DATA) != 0); in readNonProxy()
702 ((flags & ObjectStreamConstants.SC_EXTERNALIZABLE) != 0); in readNonProxy()
704 ((flags & ObjectStreamConstants.SC_SERIALIZABLE) != 0); in readNonProxy()
710 isEnum = ((flags & ObjectStreamConstants.SC_ENUM) != 0); in readNonProxy()
747 flags |= ObjectStreamConstants.SC_EXTERNALIZABLE; in writeNonProxy()
749 if (protocol != ObjectStreamConstants.PROTOCOL_VERSION_1) { in writeNonProxy()
750 flags |= ObjectStreamConstants.SC_BLOCK_DATA; in writeNonProxy()
753 flags |= ObjectStreamConstants.SC_SERIALIZABLE; in writeNonProxy()
756 flags |= ObjectStreamConstants.SC_WRITE_METHOD; in writeNonProxy()
[all …]
DObjectOutputStream.java164 extends OutputStream implements ObjectOutput, ObjectStreamConstants
DObjectInputStream.java209 extends InputStream implements ObjectInput, 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/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.bp67 "ojluni/src/main/java/java/io/ObjectStreamConstants.java",