/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
D | ObjectInputStreamTest.java | 37 import java.io.ObjectInputStream; 74 private void readObject(ObjectInputStream ois) throws Exception { in readObject() 76 ObjectInputStream.GetField fields = ois.readFields(); in readObject() 124 ObjectInputStream ois; 143 ois = new ObjectInputStream(sis); in test_ConstructorLjava_io_InputStream_IOException() 173 ois = new ObjectInputStream(sis); in test_available_IOException() 191 ois = new ObjectInputStream(sis); in test_close() 218 ois = new ObjectInputStream(sis); in test_read_IOException() 235 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); in test_read$BII_Exception() 258 ois = new ObjectInputStream(sis); in test_read$BII_Exception() [all …]
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | Ser.java | 35 import java.io.ObjectInputStream; 49 ObjectInputStream in = new ObjectInputStream( in main() 63 ObjectInputStream in = new ObjectInputStream( in main() 78 ObjectInputStream in = new ObjectInputStream( in main() 93 ObjectInputStream in = new ObjectInputStream( in main()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | StreamCorruptedExceptionTest.java | 21 import java.io.ObjectInputStream; 33 ObjectInputStream ois = new ObjectInputStream( in test_Constructor() 52 ObjectInputStream ois = new ObjectInputStream( in test_ConstructorLjava_lang_String()
|
D | ObjectOutputStreamTest.java | 30 import java.io.ObjectInputStream; 66 private void readObject(ObjectInputStream ois) throws IOException { in readObject() 69 ObjectInputStream.GetField fields = ois.readFields(); in readObject() 170 private void readObject(java.io.ObjectInputStream in) in readObject() 192 public void readObject(java.io.ObjectInputStream in) in readObject() 222 private void readObject(java.io.ObjectInputStream in) in readObject() 318 private void readObject(java.io.ObjectInputStream in) in readObject() 352 private void readObject(java.io.ObjectInputStream in) in readObject() 399 private void readObject(java.io.ObjectInputStream in) in readObject() 401 ObjectInputStream.GetField fields = in.readFields(); in readObject() [all …]
|
D | ObjectInputStream2Test.java | 32 import java.io.ObjectInputStream; 53 ObjectInputStream ois = new ObjectInputStream( in test_readUnshared() 77 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( in test_readObject_Hierarchy() 149 class OIS extends ObjectInputStream { 171 static class TestObjectInputStream extends ObjectInputStream { 203 ObjectInputStream ois; in test_resolveClass_invalidClassName() 260 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( in test_sameName()
|
D | ObjectStreamFieldTest.java | 25 import java.io.ObjectInputStream; 166 ObjectInputStream ois = new ObjectInputStream(bais); in test_getType_Deserialized() 205 ObjectInputStream ois = new ObjectInputStream(bais); in test_isUnshared() 208 ObjectInputStream.GetField getField = newObj.getGetField(); in test_isUnshared() 257 public ObjectInputStream.GetField getField = null; 279 private void readObject(ObjectInputStream in) throws NotActiveException, in readObject() 291 class MockObjectInputStream extends ObjectInputStream { 327 private ObjectInputStream.GetField getField; 331 public ObjectInputStream.GetField getGetField() { in getGetField() 343 private void readObject(ObjectInputStream in) throws NotActiveException, in readObject() [all …]
|
D | SerializationStressTest.java | 29 import java.io.ObjectInputStream; 87 protected transient ObjectInputStream ois; 95 private static class ObjectInputStreamSubclass extends ObjectInputStream { 234 ois = new ObjectInputStream(loadStream()); in reload() 337 ois = new ObjectInputStream(loadStream()); in test_5_reset() 354 ois = new ObjectInputStream(loadStream()); in test_6_write() 375 ois = new ObjectInputStream(loadStream()); in test_6a_write() 391 ois = new ObjectInputStream(loadStream()); in test_7_write() 405 ois = new ObjectInputStream(loadStream()); in test_8_write() 420 ois = new ObjectInputStream(loadStream()); in test_9_writeBoolean() [all …]
|
D | ObjectOutputStream2Test.java | 23 import java.io.ObjectInputStream; 54 ObjectInputStream is = new ObjectInputStream(bis); in test_writeReadEnum()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/ |
D | TCKWeekFieldsSerialization.java | 69 import java.io.ObjectInputStream; 113 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform() 124 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform() 135 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform() 146 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform()
|
D | TCKValueRangeSerialization.java | 69 import java.io.ObjectInputStream; 148 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform() 159 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform() 170 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform()
|
/libcore/ojluni/src/test/java/util/Properties/ |
D | PropertiesSerialization.java | 29 import java.io.ObjectInputStream; 87 try (ObjectInputStream ois = new ObjectInputStream(bais)) { in main() 107 ObjectInputStream ois = new ObjectInputStream(bais); in main() 118 ObjectInputStream ois2 = new ObjectInputStream(bais2); in main()
|
/libcore/ojluni/src/test/java/text/Format/NumberFormat/ |
D | SerializationLoadTest.java | 37 import java.io.ObjectInputStream; 52 ObjectInputStream p = new ObjectInputStream(istream1); in main() 60 ObjectInputStream p2 = new ObjectInputStream(istream2); in main()
|
/libcore/ojluni/src/test/java/io/Serializable/records/ |
D | UnsharedTest.java | 36 import java.io.ObjectInputStream; 97 static ObjectInputStream serialize(Object... objs) throws IOException { in serialize() 104 return new ObjectInputStream(bais); in serialize() 107 static ObjectInputStream serializeUnshared(Object... objs) throws IOException { in serializeUnshared() 114 return new ObjectInputStream(bais); in serializeUnshared() 118 static Object deserializeOne(ObjectInputStream ois) in deserializeOne() 125 static Object deserializeOneUnshared(ObjectInputStream ois) in deserializeOneUnshared()
|
D | StreamRefTest.java | 37 import java.io.ObjectInputStream; 128 var byteStream = new ObjectInputStream(new ByteArrayInputStream(bytes)); in basicRefWithInvalidA() 151 var byteStream = new ObjectInputStream(new ByteArrayInputStream(bytes)); in reverseBasicRefWithInvalidA() 234 static ObjectInputStream serialize(Object... objs) throws IOException { in serialize() 235 return new ObjectInputStream(new ByteArrayInputStream(serializeToBytes(objs))); in serialize() 248 static Object deserializeOne(ObjectInputStream ois) in deserializeOne()
|
/libcore/support/src/test/java/tests/util/ |
D | SerializationTester.java | 26 import java.io.ObjectInputStream; 53 ObjectInputStream ois = new ObjectInputStream(bis); in getDeserilizedObject() 121 ObjectInputStream oinput = null; in readObject() 131 oinput = new ObjectInputStream(input); in readObject()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldObjectOutputStreamTest.java | 26 import java.io.ObjectInputStream; 50 private void readObject(ObjectInputStream ois) throws IOException { in readObject() 53 ObjectInputStream.GetField fields = ois.readFields(); in readObject() 136 protected ObjectInputStream ois; 254 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); in test_putFields() 281 ois = new ObjectInputStream(new ByteArrayInputStream(sos.toByteArray())); in test_reset() 290 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); in test_write$BII() 403 ois = new ObjectInputStream(new FileInputStream(xFileName + "-" in reload() 407 ois = new ObjectInputStream(new ByteArrayInputStream(bao in reload()
|
D | ObjectOutputStreamTest.java | 22 import java.io.ObjectInputStream; 54 private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { in readObject() 106 try (ObjectInputStream ois = new ObjectInputStream(bais)) { in roundTrip()
|
D | OldObjectInputStreamGetFieldTest.java | 20 import java.io.ObjectInputStream; 57 private ObjectInputStream ois = null; 100 ObjectInputStream.GetField fields = object.getField; in test_defaultedLjava_lang_String() 124 ObjectInputStream.GetField fields = object.getField; in test_getException() 248 ois = new ObjectInputStream( in initOis()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | ParseExceptionTest.java | 20 import java.io.ObjectInputStream; 55 ObjectInputStream ois = new ObjectInputStream(inputStream)) { in test_serialize()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ExceptionInInitializerError.java | 29 import java.io.ObjectInputStream; 126 private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException { in readObject() 127 ObjectInputStream.GetField fields = s.readFields(); in readObject()
|
D | ClassNotFoundException.java | 29 import java.io.ObjectInputStream; 127 private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException { in readObject() 128 ObjectInputStream.GetField fields = s.readFields(); in readObject()
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/serial/ |
D | TCKZoneRulesSerialization.java | 66 import java.io.ObjectInputStream; 95 ObjectInputStream in = new ObjectInputStream(bais); in assertSerialization()
|
/libcore/ojluni/src/test/java/util/EnumMap/ |
D | SimpleSerialization.java | 38 import java.io.ObjectInputStream; 64 final ObjectInputStream ois = new ObjectInputStream(bais); in testSimpleSerialization()
|
/libcore/ojluni/src/main/java/jdk/internal/access/ |
D | JavaObjectInputStreamAccess.java | 29 import java.io.ObjectInputStream; 36 void checkArray(ObjectInputStream ois, Class<?> arrayType, int arrayLength) in checkArray()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldNumberFormatFieldTest.java | 23 import java.io.ObjectInputStream; 57 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); in test_readResolve()
|