Home
last modified time | relevance | path

Searched refs:flush (Results 1 – 25 of 115) sorted by relevance

12345

/libcore/luni/src/main/java/java/util/zip/
DDeflater.java228 public synchronized int deflate(byte[] buf, int offset, int byteCount, int flush) { in deflate() argument
229 if (flush != NO_FLUSH && flush != SYNC_FLUSH && flush != FULL_FLUSH) { in deflate()
230 throw new IllegalArgumentException("Bad flush value: " + flush); in deflate()
232 return deflateImpl(buf, offset, byteCount, flush); in deflate()
235 private synchronized int deflateImpl(byte[] buf, int offset, int byteCount, int flush) { in deflateImpl() argument
241 return deflateImpl(buf, offset, byteCount, streamHandle, flush); in deflateImpl()
DInflaterOutputStream.java100 public void flush() throws IOException { in flush() method in InflaterOutputStream
102 out.flush(); in flush()
/libcore/luni/src/test/java/libcore/java/io/
DOldAndroidBufferedWriterTest.java36 a.flush(); in testBufferedWriter()
40 a.flush(); in testBufferedWriter()
44 a.flush(); in testBufferedWriter()
DOldBufferedWriterTest.java40 bw.flush(); in test_ConstructorLjava_io_Writer()
59 bw.flush(); in test_ConstructorLjava_io_WriterI()
90 bw.flush(); in test_flush()
97 bw.flush(); in test_flush()
109 bw.flush(); in test_newLine()
128 bw.flush(); in test_write$CII()
220 bw.flush(); in test_writeI()
249 bw.flush(); in test_writeLjava_lang_StringII()
DOldOutputStreamWriterTest.java217 writer.flush(); in test_close()
250 osw.flush(); in test_flush()
261 osw.flush(); in test_flush()
303 charsOut.flush(); in testEncodeCharset()
413 writer.flush(); in test_write$CII()
419 writer.flush(); in test_write$CII()
456 writer.flush(); in test_writeI()
461 writer.flush(); in test_writeI()
466 writer.flush(); in test_writeI()
471 writer.flush(); in test_writeI()
[all …]
DOutputStreamWriterTest.java28 @Override public void flush() throws IOException { in flush() method in OutputStreamWriterTest.FlushCountingOutputStream
42 writer.flush(); in testFlushCount()
59 writer.flush(); in testFlush()
DOldBufferedOutputStreamTest.java70 os.flush(); in test_flush()
78 os.flush(); in test_flush()
94 os.flush(); in test_write$BII()
162 os.flush(); in test_writeI()
/libcore/luni/src/main/java/java/io/
DFilterOutputStream.java61 flush(); in close()
87 public void flush() throws IOException { in flush() method in FilterOutputStream
88 out.flush(); in flush()
DConsole.java61 public void flush() { in flush() method in Console
62 writer.flush(); in flush()
79 f.flush(); in format()
204 flush(); in close()
DFilterWriter.java70 public void flush() throws IOException { in flush() method in FilterWriter
72 out.flush(); in flush()
DPrintStream.java218 flush(); in checkError()
237 flush(); in close()
254 public synchronized void flush() { in flush() method in PrintStream
257 out.flush(); in flush()
573 flush(); in write()
605 flush(); in write()
DFlushable.java32 void flush() throws IOException; in flush() method
DOutputStreamWriter.java157 public void flush() throws IOException { in flush() method in OutputStreamWriter
171 out.flush(); in flushBytes()
210 CoderResult result = encoder.flush(bytes); in drainEncoder()
214 result = encoder.flush(bytes); in drainEncoder()
DPrintWriter.java211 flush(); in checkError()
249 public void flush() { in flush() method in PrintWriter
253 out.flush(); in flush()
311 flush(); in format()
474 flush(); in println()
DBufferedOutputStream.java83 public synchronized void flush() throws IOException { in flush() method in BufferedOutputStream
86 out.flush(); in flush()
/libcore/luni/src/main/java/javax/crypto/
DCipherOutputStream.java108 public void flush() throws IOException { in flush() method in CipherOutputStream
109 out.flush(); in flush()
133 out.flush(); in close()
/libcore/luni/src/main/java/java/util/logging/
DStreamHandler.java188 this.flush(); in setEncoding()
222 this.writer.flush(); in close()
251 public void flush() { in flush() method in StreamHandler
255 this.writer.flush(); in flush()
257 this.os.flush(); in flush()
DConsoleHandler.java70 super.flush(); in publish()
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio_char/tests/java/nio/charset/
DASCIICharsetEncoderTest.java88 encoder.flush(out); in testMultiStepEncode()
141 encoder.flush(out); in testInternalState()
173 newEncoder.flush(out); in testInternalState_Reset()
224 newEncoder.flush(out); in testInternalState_Encoding()
279 newEncoder.flush(out); in testInternalState_Encoding_END()
297 newEncoder.flush(out); in testInternalState_Flushed()
313 newEncoder.flush(out); in testInternalState_Flushed()
328 newEncoder.flush(out); in testInternalState_Flushed()
341 newEncoder.flush(out); in testInternalState_Flushed()
350 newEncoder.flush(out); in testInternalState_Flushed()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherOutputStream1Test.java69 cos.flush(); in testCipherOutputStream()
87 cos.flush(); in testWrite1()
103 cos.flush(); in testWrite2()
127 cos.flush(); in testWrite3()
168 cos.flush(); in testFlush()
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldAbstractPreferencesTest.java59 pref.flush(); in testPut()
111 pref.flush(); in testGet()
141 pref.flush(); in testRemove()
168 pref.flush(); in testClear()
196 pref.flush(); in testPutInt()
236 pref.flush(); in testGetInt()
262 pref.flush(); in testPutLong()
302 pref.flush(); in testGetLong()
328 pref.flush(); in testPutBoolean()
367 pref.flush(); in testGetBoolean()
[all …]
DPreferencesTest.java43 userPreferences.flush(); in testPreferencesClobbersExistingFiles()
52 p.flush(); in testHtmlEncoding()
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldErrorManagerTest.java43 st.flush(); in test_errorCheck()
51 public void flush() {} in flush() method in OldErrorManagerTest.MockStream
/libcore/luni/src/main/java/libcore/icu/
DNativeConverter.java19 char[] output, int outEnd, int[] data, boolean flush); in decode() argument
22 byte[] output, int outEnd, int[] data, boolean flush); in encode() argument
/libcore/support/src/test/java/tests/support/
DSupport_OutputStream.java50 public void flush() throws IOException { in flush() method in Support_OutputStream
54 super.flush(); in flush()

12345