Home
last modified time | relevance | path

Searched refs:Writer (Results 1 – 25 of 37) sorted by relevance

12

/libcore/support/src/test/java/org/apache/harmony/testframework/
DCharWrapperTester.java24 import java.io.Writer;
38 public abstract Writer create(Writer delegate) throws Exception; in create()
84 public Writer create() throws Exception { in create()
113 Writer o = create(delegate); in wrapperTestFlushThrowsViaFlushSuppressed()
122 Writer o = create(delegate); in wrapperTestFlushThrowsViaCloseSuppressed()
132 Writer o = create(delegate); in wrapperTestFlushThrowsViaFlush()
148 Writer o = create(delegate); in wrapperTestFlushThrowsViaClose()
169 Writer o = create(delegate); in wrapperTestCloseThrows()
181 Writer o = create(delegate); in wrapperTestCloseThrowsSuppressed()
193 private static class ClosableStringWriter extends Writer {
[all …]
DCharSinkTester.java25 import java.io.Writer;
42 public abstract Writer create() throws Exception; in create()
96 Writer out = create(); in sinkTestNoWriting()
104 Writer out = create(); in sinkTestWriteZeroChars()
117 Writer out = create(); in sinkTestWriteCharByChar()
129 Writer out = create(); in sinkTestWriteArray()
141 Writer out = create(); in sinkTestWriteOffset()
172 Writer out = create(); in sinkTestWriteLargeArray()
181 Writer out = create(); in sinkTestWriteAfterClose()
196 Writer out = create(); in sinkTestWriteAfterCloseSuppressed()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DWriterTesterTest.java38 import java.io.Writer;
80 public Writer create() throws Exception { in create()
96 public Writer create() throws Exception { in create()
112 public Writer create() throws IOException { in create()
144 public Writer create() throws Exception { in create()
163 public Writer create(Writer delegate) throws Exception { in create()
175 public Writer create(Writer delegate) throws Exception { in create()
188 public Writer create(Writer delegate) throws Exception { in create()
203 public Writer create() throws Exception { in create()
DWriterTest.java19 import java.io.Writer;
69 Writer wr = new MockLockWriter(lock); in test_writeLjava_lang_String()
74 class MockLockWriter extends Writer {
99 class MockWriter extends Writer {
DBufferedWriterTest.java24 import java.io.Writer;
53 private static class MockWriter extends Writer {
/libcore/luni/src/test/java/libcore/java/io/
DOldWriterTest.java20 import java.io.Writer;
27 Writer tobj = new Support_ASimpleWriter(2); in test_appendChar()
41 Writer tobj = new Support_ASimpleWriter(20); in test_appendCharSequence()
54 Writer tobj = new Support_ASimpleWriter(21); in test_appendCharSequenceIntInt()
79 Writer tobj = new Support_ASimpleWriter(21); in test_appendCharSequenceIntInt_Exception()
101 Writer tobj = new Support_ASimpleWriter(21); in test_write$C()
118 Writer tobj = new Support_ASimpleWriter(2); in test_writeI()
131 Writer tobj = new Support_ASimpleWriter(21); in test_writeLjava_lang_String()
149 Writer tobj = new Support_ASimpleWriter(21); in test_writeLjava_lang_StringII()
174 Writer tobj = new Support_ASimpleWriter(21); in test_writeLjava_lang_StringII_Exception()
DOldFilterWriterTest.java31 public MyFilterWriter(java.io.Writer writer) { in MyFilterWriter()
36 class MockWriter extends java.io.Writer {
DOldBufferedWriterTest.java20 import java.io.Writer;
306 Writer thrower = new Writer() { in test_closeException()
/libcore/ojluni/src/main/java/java/io/
DWriter.java50 public abstract class Writer implements Appendable, Closeable, Flushable { class
75 protected Writer() { in Writer() method in Writer
86 protected Writer(Object lock) { in Writer() method in Writer
223 public Writer append(CharSequence csq) throws IOException { in append()
267 public Writer append(CharSequence csq, int start, int end) throws IOException { in append()
292 public Writer append(char c) throws IOException { in append()
DFilterWriter.java41 public abstract class FilterWriter extends Writer {
46 protected Writer out;
54 protected FilterWriter(Writer out) { in FilterWriter()
DBufferedWriter.java66 public class BufferedWriter extends Writer {
68 private Writer out;
87 public BufferedWriter(Writer out) { in BufferedWriter()
100 public BufferedWriter(Writer out, int sz) { in BufferedWriter()
264 try (Writer w = out) { in close()
DCharArrayWriter.java43 class CharArrayWriter extends Writer {
135 public void writeTo(Writer out) throws IOException { in writeTo()
DPrintWriter.java56 public class PrintWriter extends Writer {
64 protected Writer out;
99 public PrintWriter (Writer out) { in PrintWriter()
111 public PrintWriter(Writer out, in PrintWriter()
DPipedWriter.java36 public class PipedWriter extends Writer {
DStringWriter.java41 public class StringWriter extends Writer {
DOutputStreamWriter.java77 public class OutputStreamWriter extends Writer {
/libcore/luni/src/main/java/javax/xml/transform/stream/
DStreamResult.java24 import java.io.Writer;
70 public StreamResult(Writer writer) { in StreamResult()
124 public void setWriter(Writer writer) { in setWriter()
134 public Writer getWriter() { in getWriter()
193 private Writer writer;
/libcore/luni/src/main/java/org/w3c/dom/ls/
DLSOutput.java54 public java.io.Writer getCharacterStream(); in getCharacterStream()
59 public void setCharacterStream(java.io.Writer characterStream); in setCharacterStream()
/libcore/ojluni/src/main/java/java/sql/
DSQLXML.java31 import java.io.Writer;
292 Writer setCharacterStream() throws SQLException; in setCharacterStream()
DClob.java287 java.io.Writer setCharacterStream(long pos) throws SQLException; in setCharacterStream()
/libcore/support/src/test/java/tests/support/
DSupport_ASimpleWriter.java4 import java.io.Writer;
12 public class Support_ASimpleWriter extends Writer {
DSupport_StringWriter.java21 import java.io.Writer;
23 public class Support_StringWriter extends Writer {
/libcore/xml/src/main/java/org/xmlpull/v1/
DXmlSerializer.java5 import java.io.Writer;
101 void setOutput (Writer writer) in setOutput()
/libcore/ojluni/src/main/java/java/nio/channels/
DChannels.java34 import java.io.Writer;
567 public static Writer newWriter(final WritableByteChannel ch,
604 public static Writer newWriter(WritableByteChannel ch,
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DChannelsTest.java26 import java.io.Writer;
509Writer testWriter = Channels.newWriter(null, Charset.forName(CODE_SET).newEncoder(), -1); in testNewWriterWritableByteChannelString_internalBufZero()
530 Writer testWriter = Channels.newWriter(wbChannel, Charset.forName( in testNewWriterWritableByteChannelString_InputNull()
552 Writer testWriter = Channels.newWriter(wbChannel, CODE_SET); //$NON-NLS-1$ in testNewWriterWritableByteChannelString()
553 Writer testWriter_s = Channels.newWriter(wbChannel, Charset.forName( in testNewWriterWritableByteChannelString()

12