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

123456

/libcore/luni/src/main/java/java/io/
H A DFlushable.java32 void flush() throws IOException; method in interface:Flushable
H A DObjectOutput.java43 public void flush() throws IOException; method in interface:ObjectOutput
H A DFilterWriter.java67 * if an error occurs attempting to flush this writer.
70 public void flush() throws IOException { method in class:FilterWriter
72 out.flush();
H A DConsole.java58 public void flush() { method in class:Console
59 writer.flush();
76 f.flush();
201 flush();
H A DFilterOutputStream.java60 flush();
83 * if an error occurs attempting to flush this stream.
86 public void flush() throws IOException { method in class:FilterOutputStream
87 out.flush();
H A DOutputStreamWriter.java139 encoder.flush(bytes);
140 flush();
141 out.flush();
158 public void flush() throws IOException { method in class:OutputStreamWriter
167 out.flush();
235 // flush the output buffer
236 flush();
H A DOutputStream.java23 * {@link #flush()} method to be called before closing the stream, to ensure all
63 public void flush() throws IOException { method in class:OutputStream
H A DBufferedOutputStream.java78 * if an error occurs attempting to flush this stream.
81 public synchronized void flush() throws IOException { method in class:BufferedOutputStream
84 out.flush();
141 // flush the internal buffer first if we have not enough space left
/libcore/luni/src/main/java/java/util/logging/
H A DConsoleHandler.java62 * Logs a record if necessary. A flush operation will be done.
70 super.flush();
H A DStreamHandler.java197 // flush first before set new encoding
198 this.flush();
232 this.writer.flush();
247 * this handler is written out. A flush operation and a subsequent close
265 public void flush() { method in class:StreamHandler
269 this.writer.flush();
271 this.os.flush();
/libcore/luni/src/test/java/tests/api/java/io/
H A DPrintWriterTest.java74 pw.flush();
102 pw.flush();
123 pw.flush();
136 // Auto-flush should have happened
231 * @tests 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 DBufferedWriterTest.java53 bw.flush();
80 bw.flush();
116 * @tests java.io.BufferedWriter#flush()
120 method = "flush",
124 bw.write("This should not cause a flush");
125 assertTrue("Test 1: Bytes written without flush.",
127 bw.flush();
129 "This should not cause a flush", sw.toString());
134 bw.flush();
154 bw.flush();
[all...]
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/
H A DFixedLengthOutputStream.java44 @Override public void flush() throws IOException { method in class:FixedLengthOutputStream
48 socketOut.flush();
/libcore/luni/src/main/java/org/apache/xml/serializer/
H A DWriterChain.java38 * flush()
64 public void flush() throws IOException; method in interface:WriterChain
H A DWriterToASCI.java115 * byte stream, flush it. Thus one flush() invocation will flush all the
120 public void flush() throws java.io.IOException method in class:WriterToASCI
122 m_os.flush();
127 * further write() or flush() invocations will cause an IOException to be
H A DToUnknownStream.java213 flush();
277 flush();
291 flush();
305 flush();
336 flush();
391 * for the up coming element, so flush the old element
394 flush();
469 * But we have the old element pending, so flush it out,
472 flush();
507 // if there are attributes, then lets make the flush()
1204 private void flush() method in class:ToUnknownStream
[all...]
/libcore/luni/src/main/java/javax/crypto/
H A DCipherOutputStream.java128 public void flush() throws IOException { method in class:CipherOutputStream
129 out.flush();
153 out.flush();
/libcore/luni/src/main/java/java/util/zip/
H A DDeflater.java210 * @param flush one of {@link #NO_FLUSH}, {@link #SYNC_FLUSH} or
215 * finishing a flush will require the output buffer to be drained
220 public synchronized int deflate(byte[] buf, int off, int nbytes, int flush) { argument
221 if (flush != NO_FLUSH && flush != SYNC_FLUSH && flush != FULL_FLUSH) {
224 return deflateImpl(buf, off, nbytes, flush);
228 byte[] buf, int off, int nbytes, int flush) {
238 return deflateImpl(buf, off, nbytes, streamHandle, flush);
227 deflateImpl( byte[] buf, int off, int nbytes, int flush) argument
H A DInflaterOutputStream.java97 public void flush() throws IOException { method in class:InflaterOutputStream
99 out.flush();
/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/luni/src/test/java/libcore/java/util/zip/
H A DDeflaterTest.java59 private void deflateInflate(int flush) throws DataFormatException { argument
61 compressed.length - totalDeflated, flush);
/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/luni/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/
H A DAbstractPreferencesTest.java90 pref.flush();
156 pref.flush();
200 pref.flush();
233 pref.flush();
267 pref.flush();
313 pref.flush();
345 pref.flush();
391 pref.flush();
423 pref.flush();
468 pref.flush();
[all...]
/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
H A DInflaterOutputStreamTest.java132 * @tests java.util.zip.InflaterOutputStream#flush()
138 ios.flush();
145 ios.flush();
146 ios.flush();
165 ios.flush();
166 ios.flush();
267 ios.flush();
374 ios.flush();
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
H A DWriterTest.java89 public synchronized void flush() throws IOException { method in class:WriterTest.MockLockWriter
114 flush();
118 public synchronized void flush() throws IOException { method in class:WriterTest.MockWriter

Completed in 761 milliseconds

123456