Home
last modified time | relevance | path

Searched refs:OutputStreamWriter (Results 1 – 25 of 34) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/io/
DOldOutputStreamWriterTest.java24 import java.io.OutputStreamWriter;
33 OutputStreamWriter osw;
43 osw = new OutputStreamWriter(fos, "UTF-8"); in setUp()
57 OutputStreamWriter writer = null; in test_ConstructorLjava_io_OutputStream()
60 writer = new OutputStreamWriter(null); in test_ConstructorLjava_io_OutputStream()
67 writer = new OutputStreamWriter(new Support_OutputStream()); in test_ConstructorLjava_io_OutputStream()
84 osw = new OutputStreamWriter(null, "utf-8"); in test_ConstructorLjava_io_OutputStreamLjava_lang_String()
91 osw = new OutputStreamWriter(fos, (String) null); in test_ConstructorLjava_io_OutputStreamLjava_lang_String()
98 osw = new OutputStreamWriter(fos, ""); in test_ConstructorLjava_io_OutputStreamLjava_lang_String()
105 osw = new OutputStreamWriter(fos, "Bogus"); in test_ConstructorLjava_io_OutputStreamLjava_lang_String()
[all …]
DOldAndroidOutputStreamWriterTest.java20 import java.io.OutputStreamWriter;
31 OutputStreamWriter a = new OutputStreamWriter(aa, "ISO8859_1"); in testOutputStreamWriter()
DOutputStreamWriterTest.java35 OutputStreamWriter writer = new OutputStreamWriter(os, "UTF-8"); in testFlushCount()
54 OutputStreamWriter writer = new OutputStreamWriter(baos, "UTF-32BE"); in testFlush()
DOldFilterWriterTest.java23 import java.io.OutputStreamWriter;
104 fw = new MyFilterWriter(new OutputStreamWriter( in test_write$CII_Exception()
DOldInputStreamReaderTest.java25 import java.io.OutputStreamWriter;
52 OutputStreamWriter osw = new OutputStreamWriter(bos); in setUp()
DOldBufferedReaderTest.java24 import java.io.OutputStreamWriter;
387 PrintWriter pw = new PrintWriter(new OutputStreamWriter(pos)); in test_8778372()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DOutputStreamWriterTest.java29 import java.io.OutputStreamWriter;
42 private OutputStreamWriter writer;
49 OutputStreamWriter osw;
64 writer = new OutputStreamWriter(out, "utf-8"); in setUp()
67 osw = new OutputStreamWriter(fos); in setUp()
304 writer = new OutputStreamWriter(null); in testOutputStreamWriterOutputStream()
309 OutputStreamWriter writer2 = new OutputStreamWriter(out); in testOutputStreamWriterOutputStream()
318 writer = new OutputStreamWriter(null, "utf-8"); in testOutputStreamWriterOutputStreamString()
324 writer = new OutputStreamWriter(out, ""); in testOutputStreamWriterOutputStreamString()
330 writer = new OutputStreamWriter(out, "badname"); in testOutputStreamWriterOutputStreamString()
[all …]
DUnsupportedEncodingExceptionTest.java21 import java.io.OutputStreamWriter;
32 new OutputStreamWriter(new ByteArrayOutputStream(), "BogusEncoding"); in test_Constructor()
47 new OutputStreamWriter(new ByteArrayOutputStream(), "BogusEncoding"); in test_ConstructorLjava_lang_String()
DBufferedWriterTest.java23 import java.io.OutputStreamWriter;
114 BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(new ByteArrayOutputStream())); in test_close2()
DWriterTesterTest.java33 import java.io.OutputStreamWriter;
205 return new OutputStreamWriter(out, "UTF-8"); in create()
DInputStreamReaderTest.java27 import java.io.OutputStreamWriter;
112 OutputStreamWriter osw = new OutputStreamWriter(bos); in setUp()
/libcore/ojluni/src/main/java/java/io/
DOutputStreamWriter.java76 public class OutputStreamWriter extends Writer { class
93 public OutputStreamWriter(OutputStream out, String charsetName) in OutputStreamWriter() method in OutputStreamWriter
107 public OutputStreamWriter(OutputStream out) { in OutputStreamWriter() method in OutputStreamWriter
124 public OutputStreamWriter(OutputStream out, Charset cs) { in OutputStreamWriter() method in OutputStreamWriter
142 public OutputStreamWriter(OutputStream out, CharsetEncoder enc) { in OutputStreamWriter() method in OutputStreamWriter
DPrintWriter.java164 this(new BufferedWriter(new OutputStreamWriter(out, charset)), autoFlush); in PrintWriter()
200 this(new BufferedWriter(new OutputStreamWriter(new FileOutputStream(fileName))), in PrintWriter()
208 this(new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), charset)), in PrintWriter()
309 this(new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file))), in PrintWriter()
DPrintStream.java77 private OutputStreamWriter charOut;
204 this.charOut = new OutputStreamWriter(this, charset); in PrintStream()
441 charOut = charset != null ? new OutputStreamWriter(this, charset) : in getTextOut()
442 new OutputStreamWriter(this); in getTextOut()
DFileWriter.java54 public class FileWriter extends OutputStreamWriter {
/libcore/metrictests/memory/apps/src/libcore/heapdumper/
DPssInstrumentation.java27 import java.io.OutputStreamWriter;
46 try (OutputStreamWriter writer = new OutputStreamWriter(new FileOutputStream(output), cs)) { in takeMeasurement()
/libcore/ojluni/src/test/java/util/Properties/
DPropertiesTest.java45 import java.io.OutputStreamWriter;
112 return new OutputStreamWriter( in getFOSW()
208 props.store(new OutputStreamWriter(baos, "UTF-8"), in EscapeSpace()
275 props.store(new OutputStreamWriter(baos, "EUC_JP"), "A test"); in SaveEncoding()
363 originalProps.store(new OutputStreamWriter(baos, "UTF-8"), in SaveLoadBasher()
388 props.store(new OutputStreamWriter(baos, "UTF-8"), "A test"); in SaveSeparator()
411 p.store(new OutputStreamWriter(myos, "UTF-8"), "Test"); in SaveClose()
434 OutputStreamWriter osw = new OutputStreamWriter(baos); in checkMalformedUnicodeEscape()
505 props.store(new OutputStreamWriter(baos, "UTF-8"), in SaveComments()
/libcore/ojluni/src/main/java/java/util/logging/
DStreamHandler.java146 writer = new OutputStreamWriter(output); in setOutputStream()
149 writer = new OutputStreamWriter(output, encoding); in setOutputStream()
181 writer = new OutputStreamWriter(output); in setEncoding()
183 writer = new OutputStreamWriter(output, encoding); in setEncoding()
/libcore/ojluni/src/test/java/io/FileWriter/
DConstructorTest.java30 import java.io.OutputStreamWriter;
164 … try (OutputStreamWriter writer = new OutputStreamWriter(new FileOutputStream(file), charset)) { in writeWithOutputStreamWriter()
/libcore/ojluni/src/test/java/io/Writer/
DAppend.java39 OutputStreamWriter.class, FileWriter.class
/libcore/luni/src/test/java/libcore/java/nio/charset/
DStandardCharsetsEncoderTest.java29 import java.io.OutputStreamWriter;
207 return new BufferedWriter(new OutputStreamWriter(out, StandardCharsets.US_ASCII)); in createAsciiWriter()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DPropertiesTest.java27 import java.io.OutputStreamWriter;
712 myProps.store(new OutputStreamWriter(out), "A Header"); in test_storeLjava_io_WriterLjava_lang_String()
738 myProps.store(new OutputStreamWriter(new ByteArrayOutputStream()), in test_storeLjava_io_WriterLjava_lang_String()
745 myProps.store(new OutputStreamWriter(new ByteArrayOutputStream()), in test_storeLjava_io_WriterLjava_lang_String()
750 myProps.store(new OutputStreamWriter(new ByteArrayOutputStream()), in test_storeLjava_io_WriterLjava_lang_String()
/libcore/ojluni/src/test/java/net/Socks/
DSocksIPv6Test.java36 import java.io.OutputStreamWriter;
/libcore/xml/src/main/java/com/android/org/kxml2/io/
DKXmlSerializer.java382 ? new OutputStreamWriter(os) in setOutput()
383 : new OutputStreamWriter(os, encoding)); in setOutput()
/libcore/ojluni/src/main/java/jdk/internal/util/jar/
DJarIndex.java256 (new OutputStreamWriter(out, UTF_8)); in write()

12