Home
last modified time | relevance | path

Searched refs:ObjectStreamClass (Results 1 – 21 of 21) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectStreamClassTest.java25 import java.io.ObjectStreamClass;
51 ObjectStreamClass osc = ObjectStreamClass.lookup(DummyClass.class); in test_forClass()
60 ObjectStreamClass osc = ObjectStreamClass.lookup(DummyClass.class); in test_getFieldLjava_lang_String()
71 ObjectStreamClass osc = ObjectStreamClass.lookup(DummyClass.class); in test_getFields()
82 ObjectStreamClass osc = ObjectStreamClass.lookup(DummyClass.class); in test_getName()
93 ObjectStreamClass osc = ObjectStreamClass.lookup(DummyClass.class); in test_getSerialVersionUID()
118 ObjectStreamClass osc = ObjectStreamClass.lookup(DummyClass.class); in test_lookupLjava_lang_Class()
129 ObjectStreamClass osc = ObjectStreamClass.lookup(DummyClass.class); in test_toString()
140 ObjectStreamClass osc = ObjectStreamClass in testSerialization()
141 .lookup(ObjectStreamClass.class); in testSerialization()
[all …]
DObjectStreamFieldTest.java27 import java.io.ObjectStreamClass;
52 ObjectStreamClass osc;
169 ObjectStreamClass oc = obj.getObjectStreamClass(); in test_getType_Deserialized()
190 ObjectStreamClass oc = ois.getObjectStreamClass(); in test_getType_MockObjectInputStream()
209 ObjectStreamClass objectStreamClass = getField.getObjectStreamClass(); in test_isUnshared()
248 osc = ObjectStreamClass.lookup(DummyClass.class); in setUp()
286 public ObjectStreamClass getObjectStreamClass() { in getObjectStreamClass()
292 private ObjectStreamClass temp = null;
303 public ObjectStreamClass readClassDescriptor() throws IOException, in readClassDescriptor()
305 ObjectStreamClass osc = super.readClassDescriptor(); in readClassDescriptor()
[all …]
DComputeSerialVersionUIDTest.java3 import java.io.ObjectStreamClass;
84 return ObjectStreamClass.lookup(clazz).getSerialVersionUID(); in computeSerialVersionUID()
DObjectInputStream2Test.java27 import java.io.ObjectStreamClass;
172 protected Class resolveClass(ObjectStreamClass desc) in resolveClass()
DObjectOutputStreamTest.java33 import java.io.ObjectStreamClass;
1251 replaceObject = ObjectStreamClass.lookup(Integer.class); in test_replaceObject()
1285 oos.writeObject(ObjectStreamClass.lookup(Integer.class)); in test_replaceObject()
1302 ObjectStreamClass.class, obj3.getClass()); in test_replaceObject()
DSerializationStressTest2.java28 import java.io.ObjectStreamClass;
264 if (objClass == ObjectStreamClass.class) in replaceObject()
1006 objToSave = ObjectStreamClass.lookup(SerialPersistentFields.class); // Test in test_18_47_writeObject()
1305 objToSave = ObjectStreamClass.lookup(FOO.getClass()); in test_18_58_writeObject()
DSerializationStressTest.java31 import java.io.ObjectStreamClass;
103 public Class<?> resolveClass(ObjectStreamClass osClass) in resolveClass()
DFileTest.java25 import java.io.ObjectStreamClass;
2143 ObjectStreamClass objectStreamClass = ObjectStreamClass in test_objectStreamClass_getFields()
/libcore/ojluni/src/main/java/java/io/
DSerialCallbackContext.java41 private final ObjectStreamClass desc;
48 public SerialCallbackContext(Object obj, ObjectStreamClass desc) { in SerialCallbackContext()
59 public ObjectStreamClass getDesc() { in getDesc()
DObjectOutputStream.java29 import java.io.ObjectStreamClass.WeakClassKey;
38 import static java.io.ObjectStreamClass.processQueue;
452 ObjectStreamClass curDesc = curContext.getDesc(); in defaultWriteObject()
474 ObjectStreamClass curDesc = curContext.getDesc(); in putFields()
677 protected void writeClassDescriptor(ObjectStreamClass desc) in writeClassDescriptor()
1145 ObjectStreamClass desc; in writeObject0()
1165 desc = ObjectStreamClass.lookup(cl, true); in writeObject0()
1171 desc = ObjectStreamClass.lookup(cl, true); in writeObject0()
1179 desc = ObjectStreamClass.lookup(cl, true); in writeObject0()
1208 } else if (obj instanceof ObjectStreamClass) { in writeObject0()
[all …]
DObjectInputStream.java29 import java.io.ObjectStreamClass.WeakClassKey;
44 import static java.io.ObjectStreamClass.processQueue;
500 ObjectStreamClass curDesc = curContext.getDesc(); in defaultReadObject()
538 ObjectStreamClass curDesc = curContext.getDesc(); in readFields()
621 protected Class<?> resolveClass(ObjectStreamClass desc) in resolveClass()
827 protected ObjectStreamClass readClassDescriptor() in readClassDescriptor()
830 ObjectStreamClass desc = new ObjectStreamClass(); in readClassDescriptor()
1086 public abstract ObjectStreamClass getObjectStreamClass(); in getObjectStreamClass()
1484 ObjectStreamClass desc = readClassDesc(false); in readClass()
1503 private ObjectStreamClass readClassDesc(boolean unshared) in readClassDesc()
[all …]
DObjectStreamClass.java72 public class ObjectStreamClass implements Serializable { class
185 private ObjectStreamClass localDesc;
187 private ObjectStreamClass superDesc;
198 public static ObjectStreamClass lookup(Class<?> cl) { in lookup()
210 public static ObjectStreamClass lookupAny(Class<?> cl) { in lookupAny()
306 static ObjectStreamClass lookup(Class<?> cl, boolean all) { in lookup()
335 if (entry instanceof ObjectStreamClass) { // check common case first in lookup()
336 return (ObjectStreamClass) entry; in lookup()
354 entry = new ObjectStreamClass(cl); in lookup()
366 if (entry instanceof ObjectStreamClass) { in lookup()
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DSerializationBenchmark.java23 import java.io.ObjectStreamClass;
68 ObjectStreamClass osc = ObjectStreamClass.lookup(String.class); in timeReadObjectStreamClass()
80 ObjectStreamClass osc = ObjectStreamClass.lookup(String.class); in timeWriteObjectStreamClass()
/libcore/luni/src/test/java/libcore/java/io/
DSerializationTest.java24 import java.io.ObjectStreamClass;
36 ObjectStreamClass osc = ObjectStreamClass.lookup(FieldMadeTransient.class); in testSerializeFieldMadeTransient()
60 ObjectStreamClass osc = ObjectStreamClass.lookup(FieldMadeStatic.class); in testSerializeFieldMadeStatic()
DOldObjectStreamFieldTest.java20 import java.io.ObjectStreamClass;
60 ObjectStreamClass osc;
173 osc = ObjectStreamClass.lookup(DummyClass.class); in setUp()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DObjectInputStreamTest.java41 import java.io.ObjectStreamClass;
601 public ObjectStreamClass readClassDescriptor() throws IOException, in readClassDescriptor()
603 return ObjectStreamClass.lookup(returnClass); in readClassDescriptor()
1023 public void writeClassDescriptor(ObjectStreamClass desc) in writeClassDescriptor()
1037 public void writeClassDescriptor(ObjectStreamClass desc) in writeClassDescriptor()
1052 public ObjectStreamClass readClassDescriptor() throws IOException, in readClassDescriptor()
1066 protected Class resolveClass(ObjectStreamClass desc) in resolveClass()
1143 ObjectStreamClass desc = ObjectStreamClass in test_readClassDescriptor()
1252 public ObjectStreamClass readClassDescriptor() throws IOException, in readClassDescriptor()
1254 ObjectStreamClass osc = super.readClassDescriptor(); in readClassDescriptor()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
DPatternSyntaxExceptionTest.java19 import java.io.ObjectStreamClass;
115 ObjectStreamClass objectStreamClass = ObjectStreamClass.lookup(PatternSyntaxException.class); in test_objectStreamField()
/libcore/ojluni/src/main/native/
DObjectStreamClass.c104 NATIVE_METHOD(ObjectStreamClass, hasStaticInitializer, "(Ljava/lang/Class;Z)Z"),
Dopenjdksub.mk36 ObjectStreamClass.c \
/libcore/ojluni/src/main/java/javax/crypto/
DSealedObject.java468 protected Class resolveClass(ObjectStreamClass v) in resolveClass()
/libcore/
Dopenjdk_java_files.mk61 ojluni/src/main/java/java/io/ObjectStreamClass.java \