Searched refs:flush (Results 1 - 25 of 166) sorted by relevance

1234567

/libcore/ojluni/src/main/java/java/io/
H A DFlushable.java32 * flush method is invoked to write any buffered output to the underlying
45 void flush() throws IOException; method in interface:Flushable
H A DFilterOutputStream.java133 * The <code>flush</code> method of <code>FilterOutputStream</code>
134 * calls the <code>flush</code> method of its underlying output stream.
139 public void flush() throws IOException { method in class:FilterOutputStream
140 out.flush();
148 * calls its <code>flush</code> method, and then calls the
152 * @see java.io.FilterOutputStream#flush()
158 flush();
H A DFilterWriter.java99 public void flush() throws IOException { method in class:FilterWriter
100 out.flush();
H A DObjectOutput.java81 public void flush() throws IOException; method in interface:ObjectOutput
H A DBufferedOutputStream.java107 * buffer, however, then this method will flush the buffer and write the
119 flush the output buffer and then write the data directly.
139 public synchronized void flush() throws IOException { method in class:BufferedOutputStream
141 out.flush();
H A DOutputStream.java122 * to be written out. The general contract of <code>flush</code> is
134 * The <code>flush</code> method of <code>OutputStream</code> does nothing.
138 public void flush() throws IOException { method in class:OutputStream
H A DOutputStreamWriter.java228 public void flush() throws IOException { method in class:OutputStreamWriter
229 se.flush();
/libcore/luni/src/test/java/libcore/java/io/
H A DOldAndroidBufferedWriterTest.java36 a.flush();
40 a.flush();
44 a.flush();
H A DOutputStreamWriterTest.java28 @Override public void flush() throws IOException { method in class:OutputStreamWriterTest.FlushCountingOutputStream
42 writer.flush();
52 // On flush/close, the writer needs to admit defeat and write the replacement character.
59 writer.flush();
H A DOldAndroidBufferedOutputStreamTest.java39 a.flush();
H A DOldAndroidOutputStreamWriterTest.java35 // We have to flush the OutputStreamWriter to guarantee
37 a.flush();
H A DOldBufferedWriterTest.java41 bw.flush();
60 bw.flush();
88 bw.write("This should not cause a flush");
89 assertTrue("Test 1: Bytes written without flush.",
91 bw.flush();
93 "This should not cause a flush", sw.toString());
98 bw.flush();
110 bw.flush();
129 bw.flush();
219 assertTrue("Test 1: Char written without flush
[all...]
H A DOldOutputStreamWriterTest.java217 writer.flush();
246 // Test for method void java.io.OutputStreamWriter.flush()
250 osw.flush();
261 osw.flush();
303 charsOut.flush();
413 writer.flush();
419 writer.flush();
456 writer.flush();
461 writer.flush();
466 writer.flush();
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DPrintWriterTest.java74 pw.flush();
102 pw.flush();
123 pw.flush();
136 // Auto-flush should have happened
231 * java.io.PrintWriter#flush()
234 // Test for method void java.io.PrintWriter.flush()
237 pw.flush();
238 assertTrue("Failed to flush", new String(bao.toByteArray())
251 pw.flush();
276 pw.flush();
[all...]
H A DFilterOutputStreamTest.java56 os.flush();
57 assertEquals("Bytes not written after flush", 500, bos.size());
62 * java.io.FilterOutputStream#flush()
68 os.flush();
69 assertEquals("Bytes not written after flush", 500, bos.size());
81 os.flush();
82 assertTrue("Bytes not written after flush",
98 os.flush();
99 assertTrue("Bytes not written after flush",
115 os.flush();
[all...]
H A DWriterTest.java88 public synchronized void flush() throws IOException { method in class:WriterTest.MockLockWriter
113 flush();
117 public synchronized void flush() throws IOException { method in class:WriterTest.MockWriter
/libcore/ojluni/src/main/java/java/util/logging/
H A DConsoleHandler.java117 flush();
121 * Override <tt>StreamHandler.close</tt> to do a flush but not
127 flush();
H A DStreamHandler.java179 flush();
256 public synchronized void flush() { method in class:StreamHandler
259 writer.flush();
277 writer.flush();
/libcore/ojluni/src/main/java/javax/crypto/
H A DCipherOutputStream.java179 public void flush() throws IOException { method in class:CipherOutputStream
184 output.flush();
194 * <code>flush</code> method of this output stream.
217 flush();
/libcore/ojluni/src/main/java/java/util/zip/
H A DDeflater.java134 * Compression flush mode used to achieve best compression result.
142 * Compression flush mode used to flush out all pending output; may
151 * Compression flush mode used to flush out all pending output and
356 * <p>This method uses {@link #NO_FLUSH} as its compression flush mode.
377 * <p>This method uses {@link #NO_FLUSH} as its compression flush mode.
394 * <p>Compression flush mode is one of the following three modes:
400 * of 0 in this flush mode indicates that {@link #needsInput()} should
422 * {@code flush} paramete
434 deflate(byte[] b, int off, int len, int flush) argument
574 deflateBytes(long addr, byte[] b, int off, int len, int flush) argument
[all...]
H A DInflaterOutputStream.java144 public void flush() throws IOException { method in class:InflaterOutputStream
162 super.flush();
186 flush();
/libcore/support/src/test/java/org/apache/harmony/testframework/
H A DCharWrapperTester.java116 o.flush();
134 // any of these is permitted to flush
137 o.flush();
139 fail("flush exception ignored");
150 // any of these is permitted to flush
155 fail("flush exception ignored");
203 public void flush() throws IOException { method in class:CharWrapperTester.ClosableStringWriter
229 flush();
233 public void flush() throws IOException { method in class:CharWrapperTester.FailOnFlushWriter
245 public void flush() throw method in class:CharWrapperTester.FailOnCloseWriter
[all...]
/libcore/luni/src/test/java/libcore/java/util/logging/
H A DOldErrorManagerTest.java43 st.flush();
51 public void flush() {} method in class:OldErrorManagerTest.MockStream
/libcore/support/src/test/java/tests/support/
H A DSupport_OutputStream.java50 public void flush() throws IOException { method in class:Support_OutputStream
54 super.flush();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
H A DASCIICharsetEncoderTest.java88 assertTrue(encoder.flush(out).isMalformed());
147 encoder.flush(out);
179 newEncoder.flush(out);
230 newEncoder.flush(out);
285 newEncoder.flush(out);
303 newEncoder.flush(out);
319 newEncoder.flush(out);
334 newEncoder.flush(out);
347 newEncoder.flush(out);
356 newEncoder.flush(ou
[all...]

Completed in 282 milliseconds

1234567