Home
last modified time | relevance | path

Searched refs:StringWriter (Results 1 – 22 of 22) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DStringWriterTest.java21 import java.io.StringWriter;
25 StringWriter sw;
97 StringWriter obj = null; in test_write$CII_2()
99 obj = new StringWriter(); in test_write$CII_2()
110 StringWriter obj = null; in test_write$CII_3()
112 obj = new StringWriter(); in test_write$CII_3()
123 StringWriter obj = null; in test_write$CII_4()
125 obj = new StringWriter(); in test_write$CII_4()
166 StringWriter stringWriter = new StringWriter(20); in test_appendChar()
178 StringWriter stringWriter = new StringWriter(20); in test_appendCharSequence()
[all …]
DCharArrayWriterTest.java23 import java.io.StringWriter;
173 StringWriter sw = new StringWriter(); in test_writeToLjava_io_Writer()
DWriterTesterTest.java37 import java.io.StringWriter;
141 private StringWriter writer;
145 writer = new StringWriter(); in create()
/libcore/luni/src/test/java/libcore/java/io/
DOldStringWriterTest.java21 import java.io.StringWriter;
25 StringWriter sw;
29 StringWriter tobj = new StringWriter(9); in test_appendCharSequenceIntInt()
36 StringWriter tobj = new StringWriter(9); in test_appendCharSequenceIntInt()
45 sw = new StringWriter(); in setUp()
DOldAndroidPrintWriterTest.java20 import java.io.StringWriter;
27 StringWriter aa = new StringWriter(); in testPrintWriter()
47 StringWriter ba = new StringWriter(); in testPrintWriter()
DOldAndroidStringWriterTest.java19 import java.io.StringWriter;
26 StringWriter a = new StringWriter(10); in testStringWriter()
DOldAndroidBufferedWriterTest.java20 import java.io.StringWriter;
30 StringWriter aa = new StringWriter(); in testBufferedWriter()
DOldCharArrayWriterTest.java23 import java.io.StringWriter;
76 StringWriter sw = new StringWriter(); in test_writeToLjava_io_Writer()
/libcore/luni/src/main/java/java/io/
DStringWriter.java30 public class StringWriter extends Writer { class
40 public StringWriter() { in StringWriter() method in StringWriter
54 public StringWriter(int initialSize) { in StringWriter() method in StringWriter
179 public StringWriter append(char c) { in append()
195 public StringWriter append(CharSequence csq) { in append()
225 public StringWriter append(CharSequence csq, int start, int end) { in append()
/libcore/luni/src/test/java/libcore/xml/
DKxmlSerializerTest.java21 import java.io.StringWriter;
35 StringWriter stringWriter = new StringWriter(); in testWhitespaceInAttributeValue()
51 StringWriter stringWriter = new StringWriter(); in testWriteDocument()
68 StringWriter stringWriter = new StringWriter(); in testWriteSpecialCharactersInText()
101 StringWriter stringWriter = new StringWriter(); in testSpeakNoEvilMonkeys()
125 StringWriter stringWriter = new StringWriter(); in testBadSurrogates()
202 StringWriter writer = new StringWriter(); in testCdataWithTerminatorInside()
DDomSerializationTest.java19 import java.io.StringWriter;
62 StringWriter stringWriter = new StringWriter(); in toXml()
DXsltXPathConformanceTestSuite.java28 import java.io.StringWriter;
363 result = new StreamResult(new StringWriter()); in test()
472 StringWriter writer = new StringWriter(); in nodeToNormalizedString()
603 StringWriter out = new StringWriter(); in fileToString()
DNormalizeTest.java42 import java.io.StringWriter;
592 StringWriter writer = new StringWriter(); in domToString()
DDomTest.java24 import java.io.StringWriter;
1713 StringWriter writer = new StringWriter(); in domToString()
/libcore/support/src/test/java/tests/support/
DStreams.java24 import java.io.StringWriter;
51 StringWriter out = new StringWriter(); in streamToString()
DSupport_Exec.java28 import java.io.StringWriter;
142 StringWriter writer = new StringWriter(); in streamToStringCallable()
/libcore/luni/src/main/java/java/util/logging/
DSimpleFormatter.java21 import java.io.StringWriter;
59 StringWriter sw = new StringWriter(); in format()
/libcore/dalvik/src/test/java/dalvik/system/
DCloseGuardMonitor.java21 import java.io.StringWriter;
107 StringWriter writer = new StringWriter(); in run()
/libcore/luni/src/test/java/libcore/java/lang/
DThrowableTest.java20 import java.io.StringWriter;
37 ex.printStackTrace(new PrintWriter(new StringWriter())); in testNullStackTrace()
60 th.printStackTrace(new PrintWriter(new StringWriter())); in testNonWritableStackTrace()
339 StringWriter writer = new StringWriter(); in printStackTraceToString()
DSystemTest.java23 import java.io.StringWriter;
44 StringWriter sw = new StringWriter(); in testLineSeparator()
56 sw = new StringWriter(); in testLineSeparator()
/libcore/luni/src/main/java/libcore/io/
DStreams.java25 import java.io.StringWriter;
119 StringWriter writer = new StringWriter(); in readFully()
/libcore/benchmarks/src/benchmarks/regression/
DParseBenchmark.java27 import java.io.StringWriter;
116 StringWriter writer = new StringWriter(); in resourceToString()