Searched defs:fos (Results 1 - 7 of 7) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DFileWriterTest.java35 private FileOutputStream fos; field in class:FileWriterTest
42 fos = new FileOutputStream(f.getPath());
43 fos.write("Test String".getBytes());
44 fos.close();
98 fos = new FileOutputStream(f.getPath());
99 fos.write("Test String".getBytes());
100 fos.close();
115 fos = new FileOutputStream(f.getPath());
116 fos.write("Test String".getBytes());
117 fos
[all...]
H A DFileOutputStreamTest.java33 private FileOutputStream fos; field in class:FileOutputStreamTest
60 if (fos != null) {
61 fos.close();
70 fos = new FileOutputStream(f);
79 fos = new FileOutputStream(fileName);
80 fos.write('l');
81 fos.close();
83 fos = new FileOutputStream(fis.getFD());
84 fos.close();
94 fos
[all...]
H A DOutputStreamWriterTest.java53 private ByteArrayOutputStream fos; field in class:OutputStreamWriterTest
66 fos = new ByteArrayOutputStream();
67 osw = new OutputStreamWriter(fos);
557 osw = new OutputStreamWriter(fos, "8859_1");
559 osw = new OutputStreamWriter(fos, "Bogus");
637 osw = new OutputStreamWriter(fos, "8859_1");
699 isr = new InputStreamReader(new ByteArrayInputStream(fos.toByteArray()));
/libcore/luni/src/test/java/libcore/java/io/
H A DOldOutputStreamWriterTest.java36 private Support_OutputStream fos; field in class:OldOutputStreamWriterTest
42 fos = new Support_OutputStream(500);
43 osw = new OutputStreamWriter(fos, "UTF-8");
91 osw = new OutputStreamWriter(fos, (String) null);
98 osw = new OutputStreamWriter(fos, "");
105 osw = new OutputStreamWriter(fos, "Bogus");
112 osw = new OutputStreamWriter(fos, "8859_1");
177 fos.setThrowsException(true);
195 fos.setThrowsException(false);
259 fos
[all...]
/libcore/ojluni/src/main/java/sun/net/smtp/
H A DSmtpClient.java217 SmtpPrintStream (OutputStream fos, SmtpClient cl) throws UnsupportedEncodingException { argument
218 super(fos, false, cl.getEncoding());
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DFileIOInterruptTest.java143 FileOutputStream fos = new FileOutputStream(fifoFile);
145 fos.close();
148 fos.write(buffer);
162 FileOutputStream fos = new FileOutputStream(fifoFile);
163 StreamWriter streamWriter = new StreamWriter(fos);
170 fos.close();
357 FileOutputStream fos = new FileOutputStream(fifoFile);
358 FileChannel fileInputChannel = fos.getChannel();
639 private FileOutputStream fos; field in class:FileIOInterruptTest.FifoWriter
649 fos
[all...]
/libcore/support/src/test/java/tests/resources/
H A Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ...

Completed in 140 milliseconds