Searched refs:ObjectStreamConstants (Results 1 – 17 of 17) sorted by relevance
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | AbstractTCKTest.java | 70 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 …]
|
D | TCKZoneId.java | 69 import java.io.ObjectStreamConstants;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | ObjectStreamConstantsTest.java | 19 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()
|
D | ObjectOutputStreamTest.java | 34 import java.io.ObjectStreamConstants; 719 out.useProtocolVersion(ObjectStreamConstants.PROTOCOL_VERSION_1); in test_useProtocolVersionI()
|
D | SerializationStressTest3.java | 25 import java.io.ObjectStreamConstants; 369 dos.writeByte(ObjectStreamConstants.TC_BLOCKDATALONG); in test_18_81_writeObject()
|
D | SerializationStressTest2.java | 29 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/ |
D | TCKZoneIdSerialization.java | 162 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/ |
D | TCKChronoLocalDateSerialization.java | 65 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/ |
D | ObjectStreamConstants.java | 34 public interface ObjectStreamConstants { interface
|
D | ObjectStreamClass.java | 698 ((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 …]
|
D | ObjectOutputStream.java | 164 extends OutputStream implements ObjectOutput, ObjectStreamConstants
|
D | ObjectInputStream.java | 209 extends InputStream implements ObjectInput, ObjectStreamConstants
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldObjectOutputStreamTest.java | 350 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/ |
D | ObjectInputStreamTest.java | 386 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/ |
D | ObjectOutputStream.java | 33 implements java.io.ObjectOutput, java.io.ObjectStreamConstants {
|
D | ObjectInputStream.java | 33 implements java.io.ObjectInput, java.io.ObjectStreamConstants {
|
/libcore/ |
D | openjdk_java_files.bp | 67 "ojluni/src/main/java/java/io/ObjectStreamConstants.java",
|