Home
last modified time | relevance | path

Searched refs:ObjectOutputStream (Results 1 – 25 of 168) sorted by relevance

1234567

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectOutputStreamTest.java32 import java.io.ObjectOutputStream;
75 private void writeObject(ObjectOutputStream oos) throws IOException { in writeObject()
77 ObjectOutputStream.PutField fields = oos.putFields(); in writeObject()
176 private void writeObject(java.io.ObjectOutputStream out) in writeObject()
198 public void writeObject(java.io.ObjectOutputStream out) in writeObject()
236 private void writeObject(java.io.ObjectOutputStream out) in writeObject()
323 private void writeObject(java.io.ObjectOutputStream out) in writeObject()
357 private void writeObject(java.io.ObjectOutputStream out) in writeObject()
406 private void writeObject(java.io.ObjectOutputStream out) in writeObject()
408 ObjectOutputStream.PutField fields = out.putFields(); in writeObject()
[all …]
DObjectInputStream2Test.java28 import java.io.ObjectOutputStream;
47 ObjectOutputStream oos = new ObjectOutputStream(baos); in test_readUnshared()
72 ObjectOutputStream oos = new ObjectOutputStream(baos); in test_readObject_Hierarchy()
200 ObjectOutputStream oos = new ObjectOutputStream(baos); in test_resolveClass_invalidClassName()
255 ObjectOutputStream oos = new ObjectOutputStream(baos); in test_sameName()
DObjectStreamFieldTest.java26 import java.io.ObjectOutputStream;
159 ObjectOutputStream oos = new ObjectOutputStream(baos); in test_getType_Deserialized()
180 ObjectOutputStream oos = new ObjectOutputStream(baos); in test_getType_MockObjectInputStream()
199 ObjectOutputStream oos = new ObjectOutputStream(baos); in test_isUnshared()
273 private void writeObject(ObjectOutputStream o) throws IOException { in writeObject()
335 private void writeObject(ObjectOutputStream o) throws IOException { in writeObject()
336 ObjectOutputStream.PutField putField = o.putFields(); in writeObject()
361 class MyObjectOutputStream extends ObjectOutputStream {
DObjectOutputStream2Test.java24 import java.io.ObjectOutputStream;
49 ObjectOutputStream os = new ObjectOutputStream(bos); in test_writeReadEnum()
/libcore/luni/src/test/java/libcore/java/io/
DOldObjectOutputStreamTest.java27 import java.io.ObjectOutputStream;
59 private void writeObject(ObjectOutputStream oos) throws IOException { in writeObject()
61 ObjectOutputStream.PutField fields = oos.putFields(); in writeObject()
75 private static class BasicObjectOutputStream extends ObjectOutputStream {
138 protected ObjectOutputStream oos;
140 protected ObjectOutputStream oos_ioe;
155 oos = new ObjectOutputStream(new ByteArrayOutputStream()); in test_ConstructorLjava_io_OutputStream()
159 oos = new ObjectOutputStream(null); in test_ConstructorLjava_io_OutputStream()
167 oos = new ObjectOutputStream(sos); in test_ConstructorLjava_io_OutputStream()
266 oos = new ObjectOutputStream(sos); in test_reset()
[all …]
DObjectOutputStreamTest.java23 import java.io.ObjectOutputStream;
38 ObjectOutputStream os = new ObjectOutputStream(new ByteArrayOutputStream()); in testLongString()
49 private void writeObject(ObjectOutputStream oos) throws IOException { in writeObject()
100 try (ObjectOutputStream oos = new ObjectOutputStream(baos)) { in roundTrip()
DOldObjectOutputStreamPutFieldTest.java22 import java.io.ObjectOutputStream;
74 ObjectOutputStream oos = null; in test_put()
83 oos = new ObjectOutputStream(baos); in test_put()
99 ObjectOutputStream oos = null; in test_writeLjava_io_ObjectOutputStream()
108 oos = new ObjectOutputStream(baos); in test_writeLjava_io_ObjectOutputStream()
DOldAndroidSerializationTest.java23 import java.io.ObjectOutputStream;
36 ObjectOutputStream oout = new ObjectOutputStream(bout); in testSerialization()
/libcore/support/src/test/java/tests/util/
DFieldTestFileGenerator.java21 import java.io.ObjectOutputStream;
43 ObjectOutputStream oos = null; in main()
58 oos = new ObjectOutputStream(fos); in main()
73 oos = new ObjectOutputStream(fos); in main()
88 oos = new ObjectOutputStream(fos); in main()
DSerializationTester.java27 import java.io.ObjectOutputStream;
48 ObjectOutputStream oos = new ObjectOutputStream(bos); in getDeserilizedObject()
170 ObjectOutputStream ooutput = null; in writeObject()
173 ooutput = new ObjectOutputStream(output); in writeObject()
/libcore/benchmarks/src/benchmarks/regression/
DSerializationBenchmark.java22 import java.io.ObjectOutputStream;
30 ObjectOutputStream out = new ObjectOutputStream(baos); in bytes()
87 ObjectOutputStream out = new ObjectOutputStream(baos); in timeWriteNoObjects()
108 ObjectOutputStream out = new ObjectOutputStream(baos); in writeSingleObject()
/libcore/luni/src/test/java/libcore/java/util/
DInvalidPropertiesFormatExceptionTest.java24 import java.io.ObjectOutputStream;
105 try (ObjectOutputStream out = new ObjectOutputStream(new ByteArrayOutputStream())) { in testSerialize_notSupported()
/libcore/ojluni/src/test/java/time/tck/java/time/zone/serial/
DTCKZoneRulesSerialization.java67 import java.io.ObjectOutputStream;
89 ObjectOutputStream out = new ObjectOutputStream(baos); in assertSerialization()
DTCKFixedZoneRulesSerialization.java68 import java.io.ObjectOutputStream;
103 ObjectOutputStream out = new ObjectOutputStream(baos); in test_serialization()
/libcore/luni/src/test/java/libcore/java/text/
DOldNumberFormatFieldTest.java24 import java.io.ObjectOutputStream;
46 ObjectOutputStream out = new ObjectOutputStream(bytes); in test_readResolve()
DOldMessageFormatFieldTest.java24 import java.io.ObjectOutputStream;
46 ObjectOutputStream out = null; in test_readResolve()
50 out = new ObjectOutputStream(bytes); in test_readResolve()
DOldAttributedCharacterIteratorAttributeTest.java24 import java.io.ObjectOutputStream;
157 ObjectOutputStream out = null; in test_readResolve()
161 out = new ObjectOutputStream(bytes); in test_readResolve()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/
DTCKValueRangeSerialization.java70 import java.io.ObjectOutputStream;
117 ObjectOutputStream oos = new ObjectOutputStream(baos) ) { in test_valueRangeSerialized()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DObjectInputStreamTest.java40 import java.io.ObjectOutputStream;
80 private void writeObject(ObjectOutputStream oos) throws IOException { in writeObject()
82 ObjectOutputStream.PutField fields = oos.putFields(); in writeObject()
126 ObjectOutputStream oos;
1003 ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream( in test_readObject_withPrimitiveClass()
1016 ObjectOutputStream {
1030 ObjectOutputStream {
1080 ObjectOutputStream oos = new ObjectOutputStream(baos); in test_resolveClass()
1120 ObjectOutputStream oos = new ObjectOutputStream(baos); in test_resolveObjectLjava_lang_Object()
1273 ObjectOutputStream out = new ObjectOutputStream(pout); in test_readClassDescriptor_1()
[all …]
/libcore/support/src/test/java/tests/support/
DSupport_GetPutFieldsDefaulted.java22 import java.io.ObjectOutputStream;
46 public ObjectOutputStream.PutField putField;
132 private void writeObject(ObjectOutputStream oos) throws IOException { in writeObject()
DSupport_GetPutFieldsDeprecated.java22 import java.io.ObjectOutputStream;
37 public ObjectOutputStream.PutField putField;
121 private void writeObject(ObjectOutputStream oos) throws IOException { in writeObject()
DSupport_GetPutFields.java22 import java.io.ObjectOutputStream;
35 public ObjectOutputStream.PutField putField;
120 private void writeObject(ObjectOutputStream oos) throws IOException { in writeObject()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DAttributedCharacterIteratorAttributeTest.java27 import java.io.ObjectOutputStream;
72 ObjectOutputStream out = null; in test_readResolve()
76 out = new ObjectOutputStream(bytes); in test_readResolve()
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectOutputStream.java32 public class ObjectOutputStream extends java.io.OutputStream class
35 public ObjectOutputStream(java.io.OutputStream out) throws java.io.IOException { in ObjectOutputStream() method in ObjectOutputStream
39 protected ObjectOutputStream() throws java.io.IOException, java.lang.SecurityException { in ObjectOutputStream() method in ObjectOutputStream
63 public java.io.ObjectOutputStream.PutField putFields() throws java.io.IOException { in putFields()
267 private final java.io.ObjectOutputStream.BlockDataOutputStream bout;
275 private java.io.ObjectOutputStream.PutFieldImpl curPut;
277 private final java.io.ObjectOutputStream.DebugTraceInfoStack debugInfoStack;
295 private final java.io.ObjectOutputStream.HandleTable handles;
306 private final java.io.ObjectOutputStream.ReplaceTable subs;
637 private class PutFieldImpl extends java.io.ObjectOutputStream.PutField {
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/
DAbstractTCKTest.java69 import java.io.ObjectOutputStream;
104 try (ObjectOutputStream oos = new ObjectOutputStream(baos) ) { in writeThenRead()
119 try (ObjectOutputStream oos = new ObjectOutputStream(baos) ) { in assertSerializedBySer()

1234567