Searched defs:flush (Results 26 - 50 of 60) sorted by relevance

123

/libcore/ojluni/src/main/java/java/io/
H A DBufferedWriter.java163 * however, then this method will flush the buffer and write the characters
185 flush the buffer and then write the data directly. In this
251 public void flush() throws IOException { method in class:BufferedWriter
254 out.flush();
H A DCharArrayWriter.java271 public void flush() { } method in class:CharArrayWriter
H A DDataOutputStream.java115 * The <code>flush</code> method of <code>DataOutputStream</code>
116 * calls the <code>flush</code> method of its underlying output stream.
120 * @see java.io.OutputStream#flush()
122 public void flush() throws IOException { method in class:DataOutputStream
123 out.flush();
H A DConsole.java171 formatter.format(fmt, args).flush();
360 public void flush() { method in class:Console
361 pw.flush();
H A DPrintStream.java42 * Optionally, a <code>PrintStream</code> can be created so as to flush
43 * automatically; this means that the <code>flush</code> method is
126 * Creates a new print stream. This stream will not flush automatically.
331 * @see java.io.OutputStream#flush()
333 public void flush() { method in class:PrintStream
337 out.flush();
404 flush();
445 * automatic flushing is enabled then the <code>flush</code> method will be
463 out.flush();
477 * enabled then the <code>flush</cod
[all...]
H A DPrintWriter.java109 * flush the output buffer
143 * flush the output buffer
316 public void flush() { method in class:PrintWriter
320 out.flush();
357 flush();
482 out.flush();
764 * enabled, calls to this method will flush the output buffer.
810 * enabled, calls to this method will flush the output buffer.
861 * method will flush the output buffer.
907 out.flush();
[all...]
/libcore/ojluni/src/main/java/java/util/logging/
H A DMemoryHandler.java236 * Causes a flush on the target <tt>Handler</tt>.
242 public void flush() { method in class:MemoryHandler
243 target.flush();
H A DHandler.java95 public abstract void flush(); method in class:Handler
100 * The close method will perform a <tt>flush</tt> and then close the
H A DFileHandler.java196 public void flush() throws IOException { method in class:FileHandler.MeteredStream
197 out.flush();
686 flush();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DBufferedWriterTest.java67 public void flush() throws IOException { method in class:BufferedWriterTest.MockWriter
99 // flush should not be called on underlying stream
103 // on the other hand the BufferedWriter itself should flush the
105 assertEquals("BufferdWriter do not flush itself before close", "a", mw
119 * java.io.BufferedWriter#flush()
122 bw.write("This should not cause a flush");
123 assertTrue("Bytes written without flush", sw.toString().equals(""));
124 bw.flush();
125 assertEquals("Bytes not flushed", "This should not cause a flush", sw
137 bw.flush();
[all...]
/libcore/luni/src/test/java/libcore/java/io/
H A DOldFilterWriterTest.java44 public void flush() throws IOException { method in class:OldFilterWriterTest.MockWriter
86 fw.flush();
87 assertTrue("flush() has not been called.", called);
H A DOldObjectOutputStreamTest.java114 public void flush() throws IOException { method in class:OldObjectOutputStreamTest.NoFlushTestOutputStream
115 super.flush();
206 assertFalse("flush() has been called on the target.",
221 // Test for method void java.io.ObjectOutputStream.flush()
225 oos.flush();
226 assertTrue("Test 2: Failed to flush data.", bao.size() > size);
229 oos_ioe.flush();
253 oos.flush();
/libcore/luni/src/test/java/libcore/java/util/logging/
H A DOldLogManagerTest.java251 public void flush() {} method in class:OldLogManagerTest.MockHandler
H A DOldLoggerTest.java221 public void flush() {} method in class:OldLoggerTest.MockHandler
/libcore/ojluni/src/main/java/java/nio/charset/
H A DCharsetDecoder.java66 * <li><p> Invoke the {@link #flush flush} method so that the decoder can
67 * flush any internal state to the output buffer. </p></li>
77 * examine this object and fill the input buffer, flush the output buffer, or
656 * invocation neither of the {@link #flush flush} method nor of
662 public final CoderResult flush(CharBuffer out) { method in class:CharsetDecoder
800 cr = flush(out);
H A DCharsetEncoder.java66 * <li><p> Invoke the {@link #flush flush} method so that the encoder can
67 * flush any internal state to the output buffer. </p></li>
77 * examine this object and fill the input buffer, flush the output buffer, or
674 * invocation neither of the {@link #flush flush} method nor of
680 public final CoderResult flush(ByteBuffer out) { method in class:CharsetEncoder
818 cr = flush(out);
/libcore/support/src/test/java/libcore/java/io/
H A DNullPrintStream.java35 public void flush() {} method in class:NullPrintStream
/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...]
H A DWrapperTester.java117 o.flush();
135 // any of these is permitted to flush
138 o.flush();
140 fail("flush exception ignored");
151 // any of these is permitted to flush
156 fail("flush exception ignored");
222 flush();
226 public void flush() throws IOException { method in class:WrapperTester.FailOnFlushOutputStream
/libcore/xml/src/main/java/org/xmlpull/v1/
H A DXmlSerializer.java315 * before flush() is called on underlying output stream.
322 void flush () method in interface:XmlSerializer
/libcore/luni/src/main/java/libcore/icu/
H A DNativeConverter.java24 char[] output, int outEnd, int[] data, boolean flush);
27 byte[] output, int outEnd, int[] data, boolean flush);
23 decode(long converterHandle, byte[] input, int inEnd, char[] output, int outEnd, int[] data, boolean flush) argument
26 encode(long converterHandle, char[] input, int inEnd, byte[] output, int outEnd, int[] data, boolean flush) argument
/libcore/ojluni/src/main/java/java/util/prefs/
H A DPreferences.java106 * delay. The <tt>flush</tt> method may be used to synchronously force
109 * <tt>flush</tt> invocation is <i>not</i> required upon termination to ensure
117 * unavailable. Several methods, like <tt>flush</tt>, have semantics that
304 * the <tt>flush</tt> method is called on the returned node (or one of its
353 * the <tt>flush</tt> method is called on the returned node (or one of its
886 * to become permanent until the <tt>flush</tt> method is called on
897 * @see #flush()
934 * {@link #absolutePath()}, {@link #isUserNode()}, {@link #flush()} or
942 * <tt>flush</tt> method is called on this node (or an ancestor).
958 * @see #flush()
1017 public abstract void flush() throws BackingStoreException; method in class:Preferences
[all...]
/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...]
/libcore/ojluni/src/main/java/sun/nio/cs/
H A DStreamEncoder.java138 public void flush() throws IOException { method in class:StreamEncoder
297 out.flush();
304 CoderResult cr = encoder.flush(bb);
/libcore/ojluni/src/main/native/
H A Djava_util_zip_Deflater.c126 jarray b, jint off, jint len, jint flush)
197 res = deflate(strm, finish ? Z_FINISH : flush);
125 Deflater_deflateBytes(JNIEnv *env, jobject this, jlong addr, jarray b, jint off, jint len, jint flush) argument

Completed in 458 milliseconds

123