Home
last modified time | relevance | path

Searched refs:ObjectInputStream (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DObjectInputStreamTest.java37 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/
DSer.java35 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/
DStreamCorruptedExceptionTest.java21 import java.io.ObjectInputStream;
33 ObjectInputStream ois = new ObjectInputStream( in test_Constructor()
52 ObjectInputStream ois = new ObjectInputStream( in test_ConstructorLjava_lang_String()
DObjectOutputStreamTest.java30 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 …]
DObjectInputStream2Test.java32 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()
DObjectStreamFieldTest.java25 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 …]
DSerializationStressTest.java29 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 …]
DObjectOutputStream2Test.java23 import java.io.ObjectInputStream;
54 ObjectInputStream is = new ObjectInputStream(bis); in test_writeReadEnum()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/
DTCKWeekFieldsSerialization.java69 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()
DTCKValueRangeSerialization.java69 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/
DPropertiesSerialization.java29 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/
DSerializationLoadTest.java37 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/
DUnsharedTest.java36 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()
DStreamRefTest.java37 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/
DSerializationTester.java26 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/
DOldObjectOutputStreamTest.java26 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()
DObjectOutputStreamTest.java22 import java.io.ObjectInputStream;
54 private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { in readObject()
106 try (ObjectInputStream ois = new ObjectInputStream(bais)) { in roundTrip()
DOldObjectInputStreamGetFieldTest.java20 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/
DParseExceptionTest.java20 import java.io.ObjectInputStream;
55 ObjectInputStream ois = new ObjectInputStream(inputStream)) { in test_serialize()
/libcore/ojluni/src/main/java/java/lang/
DExceptionInInitializerError.java29 import java.io.ObjectInputStream;
126 private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException { in readObject()
127 ObjectInputStream.GetField fields = s.readFields(); in readObject()
DClassNotFoundException.java29 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/
DTCKZoneRulesSerialization.java66 import java.io.ObjectInputStream;
95 ObjectInputStream in = new ObjectInputStream(bais); in assertSerialization()
/libcore/ojluni/src/test/java/util/EnumMap/
DSimpleSerialization.java38 import java.io.ObjectInputStream;
64 final ObjectInputStream ois = new ObjectInputStream(bais); in testSimpleSerialization()
/libcore/ojluni/src/main/java/jdk/internal/access/
DJavaObjectInputStreamAccess.java29 import java.io.ObjectInputStream;
36 void checkArray(ObjectInputStream ois, Class<?> arrayType, int arrayLength) in checkArray()
/libcore/luni/src/test/java/libcore/java/text/
DOldNumberFormatFieldTest.java23 import java.io.ObjectInputStream;
57 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); in test_readResolve()

12345678910>>...12