Lines Matching refs:ois
66 private void readObject(ObjectInputStream ois) throws IOException {
69 ObjectInputStream.GetField fields = ois.readFields();
560 protected ObjectInputStream ois;
634 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
635 sth = (SerializableTestHelper) (ois.readObject());
653 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
654 ois.close();
699 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
700 ExternalTest t2 = (ExternalTest) ois.readObject();
701 ois.close();
726 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
727 ois.read(buf, 0, 10);
728 ois.close();
742 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
743 ois.read(buf, 0, 10);
744 ois.close();
756 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
757 assertEquals("Read incorrect byte", 'T', ois.read());
758 ois.close();
768 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
769 assertTrue("Wrote incorrect byte value", ois.readBoolean());
779 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
780 assertEquals("Wrote incorrect byte value", 127, ois.readByte());
792 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
793 ois.readFully(buf);
794 ois.close();
806 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
807 assertEquals("Wrote incorrect char value", 'T', ois.readChar());
820 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
822 avail = ois.available() / 2;
824 buf[i] = ois.readChar();
825 ois.close();
837 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
839 ois.readDouble() == Double.MAX_VALUE);
857 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
859 ois.readFloat() == Float.MAX_VALUE);
860 ois.close();
861 ois = null;
871 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
873 ois.readInt() == Integer.MAX_VALUE);
874 ois.close();
884 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
886 ois.readLong() == Long.MAX_VALUE);
942 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
943 assertEquals("Wrote incorrect short value", 127, ois.readShort());
954 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
955 assertEquals("Wrote incorrect UTF value", "HelloWorld", ois.readUTF());
977 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(
980 ois.readObject();
985 ois.close();
1047 ois = new ObjectInputStream(new FileInputStream(xFileName + "-"
1051 ois = new ObjectInputStream(new ByteArrayInputStream(bao
1056 return ois.readObject();
1058 ois.close();
1099 ois = new ObjectInputStream(new ByteArrayInputStream(bao
1102 int j = ois.readInt();
1105 String l1 = (String) ois.readObject();
1108 String l2 = ois.readUTF();
1111 byte[] bytes2 = (byte[]) ois.readObject();
1117 if (ois != null)
1118 ois.close();
1138 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(
1143 oa[i] = ois.readObject();
1147 ois.close();
1169 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(
1174 oa[i] = ois.readObject();
1178 ois.close();
1222 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(
1224 Object obj = ois.readObject();
1226 ois.close();
1236 ois = new ObjectInputStream(
1238 obj = ois.readObject();
1240 ois.close();
1248 ois = new ObjectInputStream(
1250 obj = ois.readObject();
1252 ois.close();
1260 ois = new ObjectInputStream(
1262 obj = ois.readObject();
1264 ois.close();
1280 ois = new ObjectInputStream(
1282 obj1 = ois.readObject();
1283 obj2 = ois.readObject();
1284 obj3 = ois.readObject();
1286 ois.close();