Home
last modified time | relevance | path

Searched refs:readObject (Results 1 – 25 of 186) sorted by relevance

12345678

/libcore/luni/src/test/java/libcore/java/io/
DOldObjectInputStreamGetFieldTest.java71 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); in test_get()
81 (Support_GetPutFieldsDefaulted) ois.readObject(); in test_get()
99 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); in test_defaultedLjava_lang_String()
113 (Support_GetPutFieldsDefaulted) ois.readObject(); in test_defaultedLjava_lang_String()
123 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); in test_getException()
239 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); in test_getObjectStreamClass()
DObjectOutputStreamTest.java54 private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { in readObject() method in ObjectOutputStreamTest.CallsCloseInWriteObjectMethod
55 message = (String) ois.readObject(); in readObject()
107 read = (Serializable) ois.readObject(); in roundTrip()
DOldObjectOutputStreamTest.java50 private void readObject(ObjectInputStream ois) throws IOException { in readObject() method in OldObjectOutputStreamTest.SerializableTestHelper
255 sth = (SerializableTestHelper) (ois.readObject()); in test_putFields()
282 assertEquals("Test 2: Incorrect object read.", o, ois.readObject()); in test_reset()
283 assertEquals("Test 3: Incorrect object read.", o, ois.readObject()); in test_reset()
284 assertEquals("Test 4: Incorrect object read.", o, ois.readObject()); in test_reset()
412 return ois.readObject(); in reload()
/libcore/support/src/test/java/tests/util/
DSerializationTester.java54 Object outputObject = ois.readObject(); in getDeserilizedObject()
93 return obj == readObject(obj, fileName); in assertCompabilitySame()
107 return obj.equals(readObject(obj, fileName)); in assertCompabilityEquals()
118 public static Object readObject(Object obj, String fileName) in readObject() method in SerializationTester
132 Object newObj = oinput.readObject(); in readObject()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectOutputStreamTest.java66 private void readObject(ObjectInputStream ois) throws IOException { in readObject() method in ObjectOutputStreamTest.SerializableTestHelper
170 private void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.ReadWriteObject
173 in.readObject(); in readObject()
192 public void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.PublicReadWriteObject
195 in.readObject(); in readObject()
222 private void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.JustReadObject
318 private void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.MyExceptionWhenDumping
352 private void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.MyUnserializableExceptionWhenDumping
399 private void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.SerialPersistentFields
427 private void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.WriteFieldsWithoutFetchingPutFields
[all …]
DSerializationStressTest.java237 return ois.readObject(); in reload()
581 obj1 = ois.readObject(); in test_25_available()
583 obj2 = ois.readObject(); in test_25_available()
620 String l1 = (String) ois.readObject(); in t_MixPrimitivesAndObjects()
626 byte[] bytes2 = (byte[]) ois.readObject(); in t_MixPrimitivesAndObjects()
640 ois.readObject(); in test_resolveClass()
671 assertEquals("Wrong result from readObject()", "R", ois.readObject()); in test_reset()
716 result = (ResolveObjectTest) ois.readObject(); in test_1_resolveObject()
740 result = (ResolveObjectTest) ois.readObject(); in test_2_resolveObject()
764 result = (ResolveObjectTest) ois.readObject(); in test_3_resolveObject()
[all …]
DStreamCorruptedExceptionTest.java37 ois.readObject(); in test_Constructor()
56 ois.readObject(); in test_ConstructorLjava_lang_String()
DObjectStreamFieldTest.java167 SerializableObject obj = (SerializableObject) ois.readObject(); in test_getType_Deserialized()
188 ois.readObject(); in test_getType_MockObjectInputStream()
206 SerializableObject2 newObj = (SerializableObject2) ois.readObject(); in test_isUnshared()
240 ois.readObject(); in test_ObjectWithPrimitiveField()
279 private void readObject(ObjectInputStream in) throws NotActiveException, in readObject() method in SerializableObject
343 private void readObject(ObjectInputStream in) throws NotActiveException, in readObject() method in SerializableObject2
DObjectInputStream2Test.java55 ois.readObject(); in test_readUnshared()
78 B b = (B) ois.readObject(); in test_readObject_Hierarchy()
212 ois.readObject(); in test_resolveClass_invalidClassName()
260 Object o2 = ois.readObject(); in test_sameName()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/
DTCKWeekFieldsSerialization.java114 Object o = in.readObject(); in test_invalid_serialform()
125 in.readObject(); in test_invalid_serialform()
136 in.readObject(); in test_invalid_serialform()
147 in.readObject(); in test_invalid_serialform()
DTCKValueRangeSerialization.java149 in.readObject(); in test_invalid_serialform()
160 in.readObject(); in test_invalid_serialform()
171 in.readObject(); in test_invalid_serialform()
/libcore/luni/src/test/java/libcore/java/text/
DOldNumberFormatFieldTest.java58 NumberFormat.Field nfield2 = (NumberFormat.Field) in.readObject(); in test_readResolve()
62 in.readObject(); in test_readResolve()
DOldMessageFormatFieldTest.java66 mfield2 = (MessageFormat.Field) in.readObject(); in test_readResolve()
73 in.readObject(); in test_readResolve()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DObjectInputStreamTest.java74 private void readObject(ObjectInputStream ois) throws Exception { in readObject() method in ObjectInputStreamTest.SerializableTestHelper
163 Object obj = ois.readObject(); in test_ClassDescriptor()
792 sth = (SerializableTestHelper) (ois.readObject()); in test_readFields()
858 assertEquals("Read incorrect Object value", s, ois.readObject()); in test_readObject()
931 Object o = ois.readObject(); in test_readObject()
935 assertNull(new ObjectInputStream() {}.readObject()); in test_readObject()
947 in.readObject(); in test_readObjectCorrupt()
1009 Test another = (Test) in.readObject(); in test_readObject_withPrimitiveClass()
1087 .readObject(); in test_resolveClass()
1130 Integer actual = (Integer) ois.readObject(); in test_resolveObjectLjava_lang_Object()
[all …]
/libcore/ojluni/src/main/java/java/security/
DSignedObject.java180 Object obj = a.readObject(); in getObject()
251 private void readObject(java.io.ObjectInputStream s) in readObject() method in SignedObject
/libcore/ojluni/src/main/java/java/io/
DObjectInput.java50 public Object readObject() in readObject() method
DUncheckedIOException.java82 private void readObject(ObjectInputStream s) in readObject() method in UncheckedIOException
/libcore/ojluni/src/main/java/javax/crypto/
DSealedObject.java302 Object obj = a.readObject(); in getObject()
432 Object obj = a.readObject(); in unseal()
444 private void readObject(java.io.ObjectInputStream s) in readObject() method in SealedObject
/libcore/ojluni/src/main/java/java/util/logging/
DLogRecord.java492 private void readObject(ObjectInputStream in) in readObject() method in LogRecord
511 parameters[i] = in.readObject(); in readObject()
516 params.add(in.readObject()); in readObject()
/libcore/ojluni/src/main/java/java/util/
DInvalidPropertiesFormatException.java87 private void readObject(java.io.ObjectInputStream in) in readObject() method in InvalidPropertiesFormatException
DHashSet.java294 private void readObject(java.io.ObjectInputStream s) in readObject() method in HashSet
333 E e = (E) s.readObject(); in readObject()
/libcore/ojluni/src/main/java/java/util/prefs/
DNodeChangeEvent.java96 private void readObject(java.io.ObjectInputStream in) in readObject() method in NodeChangeEvent
/libcore/ojluni/src/main/java/java/nio/file/
DDirectoryIteratorException.java79 private void readObject(ObjectInputStream s) in readObject() method in DirectoryIteratorException
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoZonedDateTimeImpl.java346 private void readObject(ObjectInputStream s) throws InvalidObjectException { in readObject() method in ChronoZonedDateTimeImpl
357 ChronoLocalDateTime<?> dateTime = (ChronoLocalDateTime<?>) in.readObject(); in readExternal()
358 ZoneOffset offset = (ZoneOffset) in.readObject(); in readExternal()
359 ZoneId zone = (ZoneId) in.readObject(); in readExternal()
/libcore/ojluni/src/main/java/java/security/cert/
DCertificateRevokedException.java217 private void readObject(ObjectInputStream ois) in readObject() method in CertificateRevokedException
237 String oid = (String) ois.readObject(); in readObject()

12345678