Home
last modified time | relevance | path

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

123456

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DPrintWriterTest.java74 pw.flush(); in test_ConstructorLjava_io_OutputStream()
102 pw.flush(); in test_ConstructorLjava_io_OutputStreamZ()
123 pw.flush(); in test_ConstructorLjava_io_Writer()
237 pw.flush(); in test_flush()
251 pw.flush(); in test_print$C()
276 pw.flush(); in test_printC()
288 pw.flush(); in test_printD()
300 pw.flush(); in test_printF()
311 pw.flush(); in test_printI()
322 pw.flush(); in test_printJ()
[all …]
DFilterOutputStreamTest.java56 os.flush(); in test_close()
68 os.flush(); in test_flush()
81 os.flush(); in test_write$B()
98 os.flush(); in test_write$BII()
115 os.flush(); in test_writeI()
DOutputStreamWriterTest.java90 writer.flush(); in testClose()
93 writer.flush(); in testClose()
102 writer.flush(); in testFlush()
160 writer.flush(); in testWritecharArrayintint()
163 writer.flush(); in testWritecharArrayintint()
181 writer.flush(); in testWriteint()
186 writer.flush(); in testWriteint()
191 writer.flush(); in testWriteint()
196 writer.flush(); in testWriteint()
261 writer.flush(); in testWriteStringintint()
[all …]
DBufferedWriterTest.java67 public void flush() throws IOException { in flush() method in BufferedWriterTest.MockWriter
124 bw.flush(); in test_flush()
137 bw.flush(); in test_newLine()
148 bw.flush(); in test_write$CII()
217 bw.flush(); in test_writeI()
226 bw.flush(); in test_writeLjava_lang_StringII()
DBufferedOutputStreamTest.java58 buffos.flush(); in test_flush_Constructor_NullStream()
72 buffos.flush(); in test_flush_Constructor_NullStream()
105 os.flush(); in test_flush()
136 os.flush(); in test_write$BII()
654 os.flush(); in test_writeI()
677 buffos.flush(); in test_write_Close()
691 buffos.flush(); in test_write_Scenario1()
702 buffos.flush(); in test_write_Scenario1()
716 buffos.flush(); in test_write_Scenario1()
740 buffos.flush(); in test_write_Scenario2()
[all …]
DCharArrayWriterTest.java60 cw.flush(); in test_flush()
205 writer.flush(); in test_appendChar()
217 writer.flush(); in test_appendCharSequence()
229 writer.flush(); in test_appendCharSequenceIntInt()
DWriterTest.java88 public synchronized void flush() throws IOException { in flush() method in WriterTest.MockLockWriter
113 flush(); in close()
117 public synchronized void flush() throws IOException { in flush() method in WriterTest.MockWriter
/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()
/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()
/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.java59 public void flush() { in flush() method in Console
60 writer.flush(); in flush()
77 f.flush(); in format()
171 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()
/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()
/libcore/support/src/test/java/org/apache/harmony/testframework/
DCharWrapperTester.java116 o.flush(); in wrapperTestFlushThrowsViaFlushSuppressed()
137 o.flush(); in wrapperTestFlushThrowsViaFlush()
203 public void flush() throws IOException { in flush() method in CharWrapperTester.ClosableStringWriter
229 flush(); in close()
233 public void flush() throws IOException { in flush() method in CharWrapperTester.FailOnFlushWriter
245 public void flush() throws IOException { in flush() method in CharWrapperTester.FailOnCloseWriter
DWrapperTester.java117 o.flush(); in wrapperTestFlushThrowsViaFlushSuppressed()
138 o.flush(); in wrapperTestFlushThrowsViaFlush()
222 flush(); in close()
226 public void flush() throws IOException { in flush() method in WrapperTester.FailOnFlushOutputStream
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DASCIICharsetEncoderTest.java88 assertTrue(encoder.flush(out).isMalformed()); in testMultiStepEncode()
147 encoder.flush(out); in testInternalState()
179 newEncoder.flush(out); in testInternalState_Reset()
230 newEncoder.flush(out); in testInternalState_Encoding()
285 newEncoder.flush(out); in testInternalState_Encoding_END()
303 newEncoder.flush(out); in testInternalState_Flushed()
319 newEncoder.flush(out); in testInternalState_Flushed()
334 newEncoder.flush(out); in testInternalState_Flushed()
347 newEncoder.flush(out); in testInternalState_Flushed()
356 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DInflaterOutputStreamTest.java138 ios.flush(); in test_flush()
145 ios.flush(); in test_flush()
146 ios.flush(); in test_flush()
165 ios.flush(); in test_finish()
166 ios.flush(); in test_finish()
267 ios.flush(); in test_write_$BII_Illegal()
374 ios.flush(); in test_write_$BII_Illegal()
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldAbstractPreferencesTest.java73 pref.flush(); in testPut()
125 pref.flush(); in testGet()
155 pref.flush(); in testRemove()
182 pref.flush(); in testClear()
210 pref.flush(); in testPutInt()
250 pref.flush(); in testGetInt()
276 pref.flush(); in testPutLong()
316 pref.flush(); in testGetLong()
342 pref.flush(); in testPutBoolean()
381 pref.flush(); in testGetBoolean()
[all …]
/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

123456