Home
last modified time | relevance | path

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

12

/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/ojluni/src/main/java/java/io/
DStringWriter.java41 public class StringWriter extends Writer { class
49 public StringWriter() { in StringWriter() method in StringWriter
65 public StringWriter(int initialSize) { in StringWriter() method in StringWriter
149 public StringWriter append(CharSequence csq) { in append()
188 public StringWriter append(CharSequence csq, int start, int end) { in append()
209 public StringWriter append(char c) { in append()
/libcore/luni/src/test/java/libcore/xml/
DKxmlSerializerTest.java22 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()
205 StringWriter writer = new StringWriter(); in testCdataWithTerminatorInside()
DDomSerializationTest.java19 import java.io.StringWriter;
62 StringWriter stringWriter = new StringWriter(); in toXml()
/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;
120 StringWriter writer = new StringWriter(); in streamToStringCallable()
/libcore/luni/src/test/java/libcore/javax/xml/transform/stream/
DStreamResultTest.java30 import java.io.StringWriter;
78 StringWriter sw = new StringWriter(); in constructorWithWriter()
116 StringWriter sw = new StringWriter(); in setWriter()
/libcore/ojluni/src/test/javax/xml/jaxp/transform/
DXSLTExFuncTest.java34 import java.io.StringWriter;
202 StringWriter stringResult = new StringWriter(); in testTemplatesEnableExtFunc()
229 StringWriter stringResult = new StringWriter(); in transform()
DXslSubstringTest.java36 import java.io.StringWriter;
96 StringWriter xmlResultString = new StringWriter(); in testTransform()
/libcore/ojluni/src/test/java/util/Vector/
DSimpleSerialization.java43 import java.io.StringWriter;
72 final StringWriter sw = new StringWriter(); in getFailureText()
DSerializationDeadlock.java42 import java.io.StringWriter;
141 final StringWriter sw = new StringWriter(); in getErrorText()
/libcore/ojluni/src/test/java/lang/invoke/
DFoldTest.java33 import java.io.StringWriter;
88 StringWriter swr = new StringWriter(); in testFoldArgumentsExample()
89 …MethodHandle trace = LOOKUP.findVirtual(StringWriter.class, "write", methodType(void.class, String… in testFoldArgumentsExample()
DSpreadCollectTest.java34 import java.io.StringWriter;
191 StringWriter swr = new StringWriter(); in testAsCollectorExample()
193 …findVirtual(StringWriter.class, "write", methodType(void.class, char[].class, int.class, int.class… in testAsCollectorExample()
/libcore/ojluni/src/test/java/io/Reader/
DNullReader.java27 import java.io.StringWriter;
111 assertEquals(0, openReader.transferTo(new StringWriter(7)), in testTransferTo()
149 closedReader.transferTo(new StringWriter(7)); in testTransferToClosed()
/libcore/ojluni/src/main/java/java/util/logging/
DSimpleFormatter.java154 StringWriter sw = new StringWriter(); in format()
/libcore/luni/src/test/java/libcore/java/lang/
DThrowableTest.java21 import java.io.StringWriter;
46 ex.printStackTrace(new PrintWriter(new StringWriter())); in testNullStackTrace()
69 th.printStackTrace(new PrintWriter(new StringWriter())); in testNonWritableStackTrace()
374 StringWriter writer = new StringWriter(); in printStackTraceToString()
DSystemTest.java25 import java.io.StringWriter;
54 StringWriter sw = new StringWriter(); in testLineSeparator()
66 sw = new StringWriter(); in testLineSeparator()
/libcore/luni/src/main/java/libcore/io/
DStreams.java30 import java.io.StringWriter;
183 StringWriter writer = new StringWriter(); in readFully()

12