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

12345

/libcore/luni/src/main/java/java/io/
H A DFlushable.java32 void flush() throws IOException; method in interface:Flushable
H A DFilterOutputStream.java61 flush();
84 * if an error occurs attempting to flush this stream.
87 public void flush() throws IOException { method in class:FilterOutputStream
88 out.flush();
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.java61 public void flush() { method in class:Console
62 writer.flush();
79 f.flush();
204 flush();
H A DOutputStream.java74 public void flush() throws IOException { method in class:OutputStream
H A DBufferedOutputStream.java80 * if an error occurs attempting to flush this stream.
83 public synchronized void flush() throws IOException { method in class:BufferedOutputStream
86 out.flush();
137 // flush the internal buffer first if we have not enough space left
H A DOutputStreamWriter.java157 public void flush() throws IOException { method in class:OutputStreamWriter
171 out.flush();
210 CoderResult result = encoder.flush(bytes);
214 result = encoder.flush(bytes);
/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.java40 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...]
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/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.java190 // flush first before set new encoding
191 this.flush();
225 this.writer.flush();
240 * this handler is written out. A flush operation and a subsequent close
254 public void flush() { method in class:StreamHandler
258 this.writer.flush();
260 this.os.flush();
/libcore/luni/src/main/java/java/util/zip/
H A DDeflater.java219 * @param flush one of {@link #NO_FLUSH}, {@link #SYNC_FLUSH} or {@link #FULL_FLUSH}.
223 * finishing a flush will require the output buffer to be drained
228 public synchronized int deflate(byte[] buf, int offset, int byteCount, int flush) { argument
229 if (flush != NO_FLUSH && flush != SYNC_FLUSH && flush != FULL_FLUSH) {
230 throw new IllegalArgumentException("Bad flush value: " + flush);
232 return deflateImpl(buf, offset, byteCount, flush);
235 private synchronized int deflateImpl(byte[] buf, int offset, int byteCount, int flush) { argument
[all...]
H A DInflaterOutputStream.java100 public void flush() throws IOException { method in class:InflaterOutputStream
102 out.flush();
/libcore/luni/src/main/java/libcore/net/http/
H A DFixedLengthOutputStream.java45 @Override public void flush() throws IOException { method in class:FixedLengthOutputStream
49 socketOut.flush();
/libcore/luni/src/main/java/javax/crypto/
H A DCipherOutputStream.java108 public void flush() throws IOException { method in class:CipherOutputStream
109 out.flush();
133 out.flush();
/libcore/luni/src/main/java/libcore/icu/
H A DNativeConverter.java19 char[] output, int outEnd, int[] data, boolean flush);
22 byte[] output, int outEnd, int[] data, boolean flush);
18 decode(long converterHandle, byte[] input, int inEnd, char[] output, int outEnd, int[] data, boolean flush) argument
21 encode(long converterHandle, char[] input, int inEnd, byte[] output, int outEnd, int[] data, boolean flush) argument
/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/prefs/
H A DPreferencesTest.java43 userPreferences.flush();
52 p.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/crypto/tests/javax/crypto/
H A DCipherOutputStream1Test.java69 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.");

Completed in 3308 milliseconds

12345