/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | ObjectStreamClassTest.java | 25 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 …]
|
D | ObjectStreamFieldTest.java | 27 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 …]
|
D | ComputeSerialVersionUIDTest.java | 3 import java.io.ObjectStreamClass; 84 return ObjectStreamClass.lookup(clazz).getSerialVersionUID(); in computeSerialVersionUID()
|
D | ObjectInputStream2Test.java | 27 import java.io.ObjectStreamClass; 172 protected Class resolveClass(ObjectStreamClass desc) in resolveClass()
|
D | ObjectOutputStreamTest.java | 33 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()
|
D | SerializationStressTest2.java | 28 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()
|
D | SerializationStressTest.java | 31 import java.io.ObjectStreamClass; 103 public Class<?> resolveClass(ObjectStreamClass osClass) in resolveClass()
|
D | FileTest.java | 25 import java.io.ObjectStreamClass; 2143 ObjectStreamClass objectStreamClass = ObjectStreamClass in test_objectStreamClass_getFields()
|
/libcore/ojluni/src/main/java/java/io/ |
D | SerialCallbackContext.java | 41 private final ObjectStreamClass desc; 48 public SerialCallbackContext(Object obj, ObjectStreamClass desc) { in SerialCallbackContext() 59 public ObjectStreamClass getDesc() { in getDesc()
|
D | ObjectOutputStream.java | 29 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 …]
|
D | ObjectInputStream.java | 29 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 …]
|
D | ObjectStreamClass.java | 72 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/ |
D | SerializationBenchmark.java | 23 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/ |
D | SerializationTest.java | 24 import java.io.ObjectStreamClass; 36 ObjectStreamClass osc = ObjectStreamClass.lookup(FieldMadeTransient.class); in testSerializeFieldMadeTransient() 60 ObjectStreamClass osc = ObjectStreamClass.lookup(FieldMadeStatic.class); in testSerializeFieldMadeStatic()
|
D | OldObjectStreamFieldTest.java | 20 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/ |
D | ObjectInputStreamTest.java | 41 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/ |
D | PatternSyntaxExceptionTest.java | 19 import java.io.ObjectStreamClass; 115 ObjectStreamClass objectStreamClass = ObjectStreamClass.lookup(PatternSyntaxException.class); in test_objectStreamField()
|
/libcore/ojluni/src/main/native/ |
D | ObjectStreamClass.c | 104 NATIVE_METHOD(ObjectStreamClass, hasStaticInitializer, "(Ljava/lang/Class;Z)Z"),
|
D | openjdksub.mk | 36 ObjectStreamClass.c \
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | SealedObject.java | 468 protected Class resolveClass(ObjectStreamClass v) in resolveClass()
|
/libcore/ |
D | openjdk_java_files.mk | 61 ojluni/src/main/java/java/io/ObjectStreamClass.java \
|