Searched defs:ois (Results 1 - 10 of 10) sorted by relevance

/libcore/luni/src/test/java/libcore/java/io/
H A DOldObjectInputStreamGetFieldTest.java57 private ObjectInputStream ois = null; field in class:OldObjectInputStreamGetFieldTest
71 Support_GetPutFields object = (Support_GetPutFields) ois.readObject();
81 (Support_GetPutFieldsDefaulted) ois.readObject();
99 Support_GetPutFields object = (Support_GetPutFields) ois.readObject();
113 (Support_GetPutFieldsDefaulted) ois.readObject();
123 Support_GetPutFields object = (Support_GetPutFields) ois.readObject();
239 Support_GetPutFields object = (Support_GetPutFields) ois.readObject();
245 if (ois != null) {
246 ois.close();
248 ois
[all...]
H A DOldObjectOutputStreamTest.java50 private void readObject(ObjectInputStream ois) throws IOException { argument
53 ObjectInputStream.GetField fields = ois.readFields();
136 protected ObjectInputStream ois; field in class:OldObjectOutputStreamTest
254 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
255 sth = (SerializableTestHelper) (ois.readObject());
281 ois = new ObjectInputStream(new ByteArrayInputStream(sos.toByteArray()));
282 assertEquals("Test 2: Incorrect object read.", o, ois.readObject());
283 assertEquals("Test 3: Incorrect object read.", o, ois.readObject());
284 assertEquals("Test 4: Incorrect object read.", o, ois.readObject());
285 ois
[all...]
/libcore/support/src/test/java/tests/support/
H A DSupport_GetPutFields.java106 private void readObject(ObjectInputStream ois) throws Exception { argument
107 getField = ois.readFields();
H A DSupport_GetPutFieldsDefaulted.java117 private void readObject(ObjectInputStream ois) throws Exception { argument
118 getField = ois.readFields();
H A DSupport_GetPutFieldsDeprecated.java108 private void readObject(ObjectInputStream ois) throws Exception { argument
/libcore/luni/src/main/java/java/text/
H A DDateFormatSymbols.java153 private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { argument
154 ois.defaultReadObject();
/libcore/luni/src/main/java/java/util/
H A DBitSet.java747 private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { argument
748 ois.defaultReadObject();
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
H A DSHA1PRNG_SecureRandomImpl.java494 private void readObject(ObjectInputStream ois) throws IOException, argument
501 seedLength = ois.readLong();
502 counter = ois.readLong();
503 state = ois.readInt();
504 seed[BYTES_OFFSET] = ois.readInt();
511 seed[i] = ois.readInt();
514 seed[HASH_OFFSET + i] = ois.readInt();
520 seed[FRAME_LENGTH] = ois.readInt();
521 seed[FRAME_LENGTH + 1] = ois.readInt();
522 seed[FRAME_LENGTH + 14] = ois
[all...]
/libcore/luni/src/test/java/tests/api/java/io/
H A DObjectInputStreamTest.java43 ObjectInputStream ois; field in class:ObjectInputStreamTest
62 ois = new ObjectInputStream(sis);
80 ObjectInputStreamWithReadDesc ois = new ObjectInputStreamWithReadDesc(
82 Object obj = ois.readObject();
83 ois.close();
93 ois = new ObjectInputStream(sis);
94 assertEquals("Test 1: Incorrect number of bytes;", testLength, ois.available());
95 ois.close();
103 ois = new ObjectInputStream(sis);
106 ois
[all...]
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
H A DObjectInputStreamTest.java60 ObjectInputStream ois; field in class:ObjectInputStreamTest
82 private void readObject(ObjectInputStream ois) throws Exception { argument
84 ObjectInputStream.GetField fields = ois.readFields();
148 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
149 ois.close();
153 ois = new ObjectInputStream(new ByteArrayInputStream(new byte[90]));
167 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
216 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
217 assertEquals("Read incorrect bytes", 10, ois.available());
218 ois
[all...]

Completed in 181 milliseconds