Searched refs:ObjectStreamConstants (Results 1 – 10 of 10) sorted by relevance
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()
34 import java.io.ObjectStreamConstants;719 out.useProtocolVersion(ObjectStreamConstants.PROTOCOL_VERSION_1); in test_useProtocolVersionI()
25 import java.io.ObjectStreamConstants;369 dos.writeByte(ObjectStreamConstants.TC_BLOCKDATALONG); in test_18_81_writeObject()
29 import java.io.ObjectStreamConstants;2075 dos.writeByte(ObjectStreamConstants.TC_BLOCKDATA); in test_18_80_writeObject()
23 public abstract interface ObjectStreamConstants { interface
314 flags |= ObjectStreamConstants.SC_EXTERNALIZABLE; in createClassDesc()315 flags |= ObjectStreamConstants.SC_BLOCK_DATA; // use protocol version 2 by default in createClassDesc()317 flags |= ObjectStreamConstants.SC_SERIALIZABLE; in createClassDesc()325 flags |= ObjectStreamConstants.SC_WRITE_METHOD; in createClassDesc()690 boolean wasSerializable = (flags & ObjectStreamConstants.SC_SERIALIZABLE) != 0; in resolveConstructorClass()722 boolean wasExternalizable = (flags & ObjectStreamConstants.SC_EXTERNALIZABLE) != 0; in resolveConstructorClass()1331 boolean wasSerializable = (flags & ObjectStreamConstants.SC_SERIALIZABLE) != 0; in checkAndGetTcObjectClass()1332 boolean wasExternalizable = (flags & ObjectStreamConstants.SC_EXTERNALIZABLE) != 0; in checkAndGetTcObjectClass()
40 public class ObjectOutputStream extends OutputStream implements ObjectOutput, ObjectStreamConstants…598 if (version != ObjectStreamConstants.PROTOCOL_VERSION_1 in useProtocolVersion()599 && version != ObjectStreamConstants.PROTOCOL_VERSION_2) { in useProtocolVersion()
43 public class ObjectInputStream extends InputStream implements ObjectInput, ObjectStreamConstants {2123 Object res = objectsRead.get(handle - ObjectStreamConstants.baseWireHandle); in registeredObjectRead()2137 int index = handle - ObjectStreamConstants.baseWireHandle; in registerObjectRead()
350 java.io.ObjectStreamConstants.STREAM_MAGIC, s); in test_writeStreamHeader()357 java.io.ObjectStreamConstants.STREAM_VERSION, s); in test_writeStreamHeader()
386 short magic = java.io.ObjectStreamConstants.STREAM_MAGIC; in fillStreamHeader()387 short version = java.io.ObjectStreamConstants.STREAM_VERSION; in fillStreamHeader()434 short magic = java.io.ObjectStreamConstants.STREAM_MAGIC; in test_readStreamHeader()435 short version = java.io.ObjectStreamConstants.STREAM_VERSION; in test_readStreamHeader()