Home
last modified time | relevance | path

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

1234567

/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.java58 os.flush(); in test_close()
69 Mockito.doThrow(testException).when(outputStream).flush(); in test_doubleClose()
78 Mockito.verify(outputStream, Mockito.times(1)).flush(); in test_doubleClose()
82 Mockito.verify(outputStream, Mockito.times(1)).flush(); in test_doubleClose()
93 os.flush(); in test_flush()
106 os.flush(); in test_write$B()
123 os.flush(); in test_write$BII()
140 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 …]
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 …]
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()
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()
DPrintStreamTest.java138 os.flush(); in test_ConstructorLjava_io_OutputStreamZ()
224 os.flush(); in test_flush()
289 os.flush(); in test_printF()
333 os.flush(); in test_printLjava_lang_Object()
604 printStream.flush(); in test_appendChar()
617 printStream.flush(); in test_appendCharSequence()
630 printStream.flush(); in test_appendCharSequenceIntInt()
641 os.flush(); in test_formatLjava_lang_String$Ljava_lang_Object()
657 os.flush(); in test_formatLjava_util_Locale_Ljava_lang_String_$Ljava_lang_Object()
724 os.flush(); in test_printfLjava_lang_String$Ljava_lang_Object()
[all …]
/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.java41 bw.flush(); in test_ConstructorLjava_io_Writer()
60 bw.flush(); in test_ConstructorLjava_io_WriterI()
91 bw.flush(); in test_flush()
98 bw.flush(); in test_flush()
110 bw.flush(); in test_newLine()
129 bw.flush(); in test_write$CII()
221 bw.flush(); in test_writeI()
250 bw.flush(); in test_writeLjava_lang_StringII()
313 public void flush() throws IOException { in test_closeException()
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/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/ojluni/src/main/java/java/util/zip/
DDeflater.java450 public int deflate(byte[] b, int off, int len, int flush) { in deflate() argument
459 if (flush == NO_FLUSH || flush == SYNC_FLUSH || in deflate()
460 flush == FULL_FLUSH) { in deflate()
462 int n = deflateBytes(zsRef.address(), b, off, len, flush); in deflate()
591 int flush); in deflateBytes() argument
DInflaterOutputStream.java144 public void flush() throws IOException { in flush() method in InflaterOutputStream
162 super.flush(); in flush()
186 flush(); in finish()
/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/ojluni/src/main/java/java/io/
DFilterOutputStream.java145 public void flush() throws IOException { in flush() method in FilterOutputStream
146 out.flush(); in flush()
179 flush(); in close()
DPrintStream.java341 public void flush() { in flush() method in PrintStream
345 out.flush(); in flush()
415 flush(); in checkError()
474 out.flush(); in write()
505 out.flush(); in write()
534 out.flush(); in write()
556 out.flush(); in write()
577 out.flush(); in newLine()
DFilterWriter.java99 public void flush() throws IOException { in flush() method in FilterWriter
100 out.flush(); in flush()
/libcore/ojluni/src/main/java/javax/crypto/
DCipherOutputStream.java179 public void flush() throws IOException { in flush() method in CipherOutputStream
184 output.flush(); in flush()
217 flush(); in close()
/libcore/ojluni/src/main/java/java/util/logging/
DStreamHandler.java179 flush(); in setEncoding()
256 public synchronized void flush() { in flush() method in StreamHandler
259 writer.flush(); in flush()
277 writer.flush(); in flushAndClose()
DConsoleHandler.java117 flush(); in publish()
127 flush(); in close()
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldAbstractPreferencesTest.java80 pref.flush(); in testPut()
132 pref.flush(); in testGet()
162 pref.flush(); in testRemove()
189 pref.flush(); in testClear()
217 pref.flush(); in testPutInt()
257 pref.flush(); in testGetInt()
283 pref.flush(); in testPutLong()
323 pref.flush(); in testGetLong()
349 pref.flush(); in testPutBoolean()
388 pref.flush(); in testGetBoolean()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DInflaterOutputStreamTest.java155 ios.flush(); in test_flush()
162 ios.flush(); in test_flush()
163 ios.flush(); in test_flush()
183 ios.flush(); in test_finish()
184 ios.flush(); in test_finish()
294 ios.flush(); in test_write_$BII_Illegal()
403 ios.flush(); in test_write_$BII_Illegal()
/libcore/luni/src/test/java/libcore/java/nio/charset/
DCharsetEncoderTest.java138 cr = e.flush(bb); in testCharsetEncoderSplitSurrogates()
151 cr = e.flush(bb); in testFlushWithoutEndOfInput()
162 cr = e.flush(bb); in testFlushWithoutEndOfInput()
209 cr = e.flush(bb);
211 cr = e.flush(bb);
228 result = encoder.flush(output);

1234567