/libcore/ojluni/src/main/java/java/io/ |
D | Writer.java | 51 public abstract class Writer implements Appendable, Closeable, Flushable { class 82 public static Writer nullWriter() { in nullWriter() 83 return new Writer() { in nullWriter() 93 public Writer append(char c) throws IOException { in nullWriter() 99 public Writer append(CharSequence csq) throws IOException { in nullWriter() 105 public Writer append(CharSequence csq, int start, int end) throws IOException { in nullWriter() 161 protected Writer() { in Writer() method 172 protected Writer(Object lock) { in Writer() method 321 public Writer append(CharSequence csq) throws IOException { in append() 364 public Writer append(CharSequence csq, int start, int end) throws IOException { in append() [all …]
|
D | BufferedWriter.java | 66 public class BufferedWriter extends Writer { 68 private Writer out; 81 public BufferedWriter(Writer out) { in BufferedWriter() 94 public BufferedWriter(Writer out, int sz) { in BufferedWriter() 267 try (Writer w = out) { in close()
|
D | FilterWriter.java | 41 public abstract class FilterWriter extends Writer { 46 protected Writer out; 54 protected FilterWriter(Writer out) { in FilterWriter()
|
D | OutputStreamWriter.java | 76 public class OutputStreamWriter extends Writer { 227 public Writer append(CharSequence csq, int start, int end) throws IOException { in append() 233 public Writer append(CharSequence csq) throws IOException { in append()
|
D | CharArrayWriter.java | 43 class CharArrayWriter extends Writer { 145 public void writeTo(Writer out) throws IOException { in writeTo()
|
D | PrintWriter.java | 61 public class PrintWriter extends Writer { 69 protected Writer out; 98 public PrintWriter (Writer out) { in PrintWriter() 110 public PrintWriter(Writer out, in PrintWriter()
|
/libcore/support/src/test/java/org/apache/harmony/testframework/ |
D | CharWrapperTester.java | 24 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 …]
|
D | CharSinkTester.java | 25 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/ |
D | WriterTesterTest.java | 38 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()
|
D | WriterTest.java | 19 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 {
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldWriterTest.java | 20 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()
|
D | PrintWriterTest.java | 34 private class Writer extends PrintWriter { class in PrintWriterTest 36 Writer(File f) throws FileNotFoundException { in Writer() method in PrintWriterTest.Writer 52 Writer writer = new Writer(f); in testSetError()
|
D | OldFilterWriterTest.java | 31 public MyFilterWriter(java.io.Writer writer) { in MyFilterWriter() 36 class MockWriter extends java.io.Writer {
|
/libcore/luni/src/main/java/javax/xml/transform/stream/ |
D | StreamResult.java | 24 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/ojluni/src/test/java/io/Writer/ |
D | NullWriter.java | 24 package test.java.io.Writer; 27 import java.io.Writer; 42 private static Writer openWriter; 43 private static Writer closedWriter; 47 openWriter = Writer.nullWriter(); in openStream() 52 closedWriter = Writer.nullWriter(); in openAndCloseStream()
|
D | Append.java | 30 package test.java.io.Writer; 38 Writer.class, BufferedWriter.class, FilterWriter.class,
|
/libcore/ojluni/src/test/java/io/Reader/ |
D | TransferTo.java | 92 Writer output) in transferToThenCheckIfAnyClosed() 131 Writer out = output()) { in onReturnInputIsAtEnd() 172 private static Writer output() { in output() 176 private static Writer output(int exceptionPosition) { in output() 177 return new Writer() { in output() 195 public Writer append(CharSequence csq, int start, int end) throws IOException { in output() 302 CloseLoggingWriter(Writer out) {
|
/libcore/luni/src/main/java/org/w3c/dom/ls/ |
D | LSOutput.java | 54 public java.io.Writer getCharacterStream(); in getCharacterStream() 59 public void setCharacterStream(java.io.Writer characterStream); in setCharacterStream()
|
/libcore/ojluni/src/test/java/nio/channels/Channels/ |
D | Basic2.java | 55 Writer writer = new Writer(Channels.newOutputStream(ch1)); in basic2Test() 128 static class Writer implements Runnable { class in Basic2 133 Writer(OutputStream out) { in Writer() method in Basic2.Writer
|
/libcore/ojluni/src/test/java/util/Properties/ |
D | LoadAndStoreNPE.java | 28 import java.io.Writer; 52 props.store((Writer)null, "comments"); in main()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | SQLXML.java | 31 import java.io.Writer; 293 Writer setCharacterStream() throws SQLException; in setCharacterStream()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_ASimpleWriter.java | 4 import java.io.Writer; 12 public class Support_ASimpleWriter extends Writer {
|
D | Support_StringWriter.java | 21 import java.io.Writer; 23 public class Support_StringWriter extends Writer {
|
/libcore/ojluni/annotations/sdk/nullability/java/io/ |
D | PrintWriter.annotated.java | 34 public class PrintWriter extends java.io.Writer { 36 public PrintWriter(@libcore.util.NonNull java.io.Writer out) { throw new RuntimeException("Stub!");… in PrintWriter() 38 public PrintWriter(@libcore.util.NonNull java.io.Writer out, boolean autoFlush) { throw new Runtime… in PrintWriter() 130 protected java.io.Writer out;
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
D | XmlSerializer.java | 5 import java.io.Writer; 101 void setOutput (Writer writer) in setOutput()
|