/libcore/ojluni/src/main/java/java/io/ |
H A D | Flushable.java | 32 * flush method is invoked to write any buffered output to the underlying 46 void flush() throws IOException; method in interface:Flushable
|
H A D | FilterOutputStream.java | 133 * 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() 157 flush();
|
H A D | FilterWriter.java | 99 public void flush() throws IOException { method in class:FilterWriter 100 out.flush();
|
H A D | ObjectOutput.java | 81 public void flush() throws IOException; method in interface:ObjectOutput
|
H A D | BufferedOutputStream.java | 107 * 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 D | OutputStream.java | 122 * 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 D | OutputStreamWriter.java | 228 public void flush() throws IOException { method in class:OutputStreamWriter 229 se.flush();
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldAndroidBufferedWriterTest.java | 36 a.flush(); 40 a.flush(); 44 a.flush();
|
H A D | OutputStreamWriterTest.java | 28 @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 D | OldAndroidBufferedOutputStreamTest.java | 39 a.flush();
|
H A D | OldAndroidOutputStreamWriterTest.java | 35 // We have to flush the OutputStreamWriter to guarantee 37 a.flush();
|
H A D | OldBufferedWriterTest.java | 40 bw.flush(); 59 bw.flush(); 87 bw.write("This should not cause a flush"); 88 assertTrue("Test 1: Bytes written without flush.", 90 bw.flush(); 92 "This should not cause a flush", sw.toString()); 97 bw.flush(); 109 bw.flush(); 128 bw.flush(); 218 assertTrue("Test 1: Char written without flush [all...] |
/libcore/ojluni/src/main/java/sun/net/www/http/ |
H A D | HttpCaptureOutputStream.java | 66 public void flush() throws IOException { method in class:HttpCaptureOutputStream 68 capture.flush(); 71 super.flush();
|
H A D | ChunkedOutputStream.java | 142 private void flush(boolean flushAll) { method in class:ChunkedOutputStream 144 /* flush a completed chunk to underlying stream */ 146 out.flush(); 149 /* complete the last chunk and flush it to underlying stream */ 172 out.flush(); 237 flush(false); 283 flush(true); 287 flush(true); 294 public synchronized void flush() { method in class:ChunkedOutputStream 297 flush(tru [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | PrintWriterTest.java | 74 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 D | FilterOutputStreamTest.java | 56 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...] |
/libcore/ojluni/src/main/java/java/util/logging/ |
H A D | ConsoleHandler.java | 106 flush(); 110 * Override <tt>StreamHandler.close</tt> to do a flush but not 115 flush();
|
H A D | StreamHandler.java | 165 flush(); 239 public synchronized void flush() { method in class:StreamHandler 242 writer.flush(); 260 writer.flush();
|
/libcore/ojluni/src/main/java/javax/crypto/ |
H A D | CipherOutputStream.java | 176 public void flush() throws IOException { method in class:CipherOutputStream 181 output.flush(); 191 * <code>flush</code> method of this output stream. 209 flush();
|
/libcore/ojluni/src/main/java/java/util/zip/ |
H A D | Deflater.java | 133 * Compression flush mode used to achieve best compression result. 141 * Compression flush mode used to flush out all pending output; may 150 * Compression flush mode used to flush out all pending output and 340 * <p>This method uses {@link #NO_FLUSH} as its compression flush mode. 361 * <p>This method uses {@link #NO_FLUSH} as its compression flush mode. 378 * <p>Compression flush mode is one of the following three modes: 384 * of 0 in this flush mode indicates that {@link #needsInput()} should 406 * {@code flush} paramete 418 deflate(byte[] b, int off, int len, int flush) argument 556 deflateBytes(long addr, byte[] b, int off, int len, int flush) argument [all...] |
/libcore/support/src/test/java/org/apache/harmony/testframework/ |
H A D | CharWrapperTester.java | 116 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 D | OldErrorManagerTest.java | 43 st.flush(); 51 public void flush() {} method in class:OldErrorManagerTest.MockStream
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_OutputStream.java | 50 public void flush() throws IOException { method in class:Support_OutputStream 54 super.flush();
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
H A D | CipherOutputStream1Test.java | 69 cos.flush(); 87 cos.flush(); 103 cos.flush(); 127 cos.flush(); 160 * flush() method testing. Tests that method flushes the data to the 168 cos.flush(); 171 fail("CipherOutputStream did not flush the data."); 187 fail("CipherOutputStream did not flush the data.");
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
H A D | ASCIICharsetEncoderTest.java | 88 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...] |