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

123456

/dalvik/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 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 DOutputStreamWriter.java150 encoder.flush(bytes);
151 flush();
152 out.flush();
169 public void flush() throws IOException { method in class:OutputStreamWriter
178 out.flush();
251 // flush the output buffer
252 flush();
H A DOutputStream.java25 * {@link #flush()} method to be called before closing the stream, to ensure all
65 public void flush() throws IOException { method in class:OutputStream
H A DBufferedOutputStream.java105 * if an error occurs attempting to flush this stream.
108 public synchronized void flush() throws IOException { method in class:BufferedOutputStream
114 out.flush();
171 // flush the internal buffer first if we have not enough space left
H A DPrintStream.java49 * indicates whether or not this PrintStream should flush its contents after
63 * stream. By default, the new print stream does not automatically flush its
87 * indicates whether to flush contents upon encountering a
109 * indicates whether or not to flush contents upon encountering a
240 flush();
251 flush();
268 public synchronized void flush() { method in class:PrintStream
271 out.flush();
669 * @see #flush()
690 flush();
[all...]
/dalvik/libcore/logging/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.java203 // flush first before set new encoding
204 this.flush();
238 this.writer.flush();
254 * this handler is written out. A flush operation and a subsequent close
272 public void flush() { method in class:StreamHandler
276 this.writer.flush();
278 this.os.flush();
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/charset/
H A DNativeConverter.java28 * All conversions should be finished with a call to the flush method.
46 boolean flush);
55 * All conversions should be finished with a call to the flush method.
72 boolean flush);
81 * All conversions should be finished with a call to the flush method.
98 boolean flush);
107 * All conversions should be finished with a call to the flush method.
124 boolean flush);
42 convertByteToChar( long converterHandle, byte[] input, int inEnd, char[] output, int outEnd, int[] data, boolean flush) argument
68 decode( long converterHandle, byte[] input, int inEnd, char[] output, int outEnd, int[] data, boolean flush) argument
94 convertCharToByte(long converterHandle, char[] input, int inEnd, byte[] output, int outEnd, int[] data, boolean flush) argument
120 encode(long converterHandle, char[] input, int inEnd, byte[] output, int outEnd, int[] data, boolean flush) argument
/dalvik/libcore/xml/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...]
/dalvik/libcore/crypto/src/main/java/javax/crypto/
H A DCipherOutputStream.java129 public void flush() throws IOException { method in class:CipherOutputStream
130 out.flush();
154 out.flush();
/dalvik/libcore/archive/src/main/java/java/util/zip/
H A DDeflater.java217 * @param flush one of {@link #NO_FLUSH}, {@link #SYNC_FLUSH} or
222 * finishing a flush will require the output buffer to be drained
227 public synchronized int deflate(byte[] buf, int off, int nbytes, int flush) { argument
228 if (flush != NO_FLUSH && flush != SYNC_FLUSH && flush != FULL_FLUSH) {
231 return deflateImpl(buf, off, nbytes, flush);
235 byte[] buf, int off, int nbytes, int flush) {
245 return deflateImpl(buf, off, nbytes, streamHandle, flush);
234 deflateImpl( byte[] buf, int off, int nbytes, int flush) argument
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DPrintWriterTest.java86 pw.flush();
120 pw.flush();
147 pw.flush();
166 // Auto-flush should have happened
354 * @tests java.io.PrintWriter#flush()
359 method = "flush",
363 // Test for method void java.io.PrintWriter.flush()
366 pw.flush();
367 assertTrue("Failed to flush", new String(baos.toByteArray())
386 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...]
H A DOutputStreamWriterTest.java290 writer.flush();
319 * @tests java.io.OutputStreamWriter#flush()
324 method = "flush",
328 // Test for method void java.io.OutputStreamWriter.flush()
332 osw.flush();
343 osw.flush();
391 writer.flush();
459 writer.flush();
556 charsOut.flush();
684 writer.flush();
[all...]
/dalvik/libcore/nio_char/src/test/java/tests/api/java/nio/charset/
H A DUTF16CharsetDecoderTest.java92 decoder.flush(out);
100 decoder.flush(out);
109 decoder.flush(out);
116 decoder.flush(out);
/dalvik/libcore/archive/src/test/java/java/util/zip/
H A DDeflaterTest.java56 private void deflateInflate(int flush) throws DataFormatException { argument
58 compressed.length - totalDeflated, flush);
/dalvik/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();
H A DSupport_ASimpleOutputStream.java48 public void flush() throws IOException { method in class:Support_ASimpleOutputStream
/dalvik/libcore/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/
H A DAbstractPreferencesTest.java92 pref.flush();
158 pref.flush();
202 pref.flush();
235 pref.flush();
269 pref.flush();
315 pref.flush();
347 pref.flush();
393 pref.flush();
425 pref.flush();
470 pref.flush();
[all...]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/
H A DMappedPlatformAddress.java41 osMemory.flush(osaddr, size);

Completed in 296 milliseconds

123456