Home
last modified time | relevance | path

Searched refs:OutputStreamWriter (Results 1 – 25 of 29) 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()
DWriterTesterTest.java33 import java.io.OutputStreamWriter;
205 return new OutputStreamWriter(out, "UTF-8"); in create()
DBufferedWriterTest.java23 import java.io.OutputStreamWriter;
114 BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(new ByteArrayOutputStream())); in test_close2()
DInputStreamReaderTest.java27 import java.io.OutputStreamWriter;
112 OutputStreamWriter osw = new OutputStreamWriter(bos); in setUp()
/libcore/ojluni/src/main/java/java/io/
DOutputStreamWriter.java77 public class OutputStreamWriter extends Writer { class
94 public OutputStreamWriter(OutputStream out, String charsetName) in OutputStreamWriter() method in OutputStreamWriter
108 public OutputStreamWriter(OutputStream out) { in OutputStreamWriter() method in OutputStreamWriter
129 public OutputStreamWriter(OutputStream out, Charset cs) { in OutputStreamWriter() method in OutputStreamWriter
148 public OutputStreamWriter(OutputStream out, CharsetEncoder enc) { in OutputStreamWriter() method in OutputStreamWriter
DPrintWriter.java148 this(new BufferedWriter(new OutputStreamWriter(out)), autoFlush); in PrintWriter()
184 this(new BufferedWriter(new OutputStreamWriter(new FileOutputStream(fileName))), in PrintWriter()
192 this(new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), charset)), in PrintWriter()
263 this(new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file))), in PrintWriter()
DFileWriter.java52 public class FileWriter extends OutputStreamWriter {
DPrintStream.java71 private OutputStreamWriter charOut;
358 charOut = charset != null ? new OutputStreamWriter(this, charset) : in getTextOut()
359 new OutputStreamWriter(this); in getTextOut()
/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/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/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/ojluni/src/main/java/java/net/
DURLEncoder.java30 import java.io.OutputStreamWriter;
/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/xml/src/main/java/com/android/org/kxml2/io/
DKXmlSerializer.java364 ? new OutputStreamWriter(os) in setOutput()
365 : new OutputStreamWriter(os, encoding)); in setOutput()
/libcore/ojluni/src/main/java/java/util/
DProperties.java36 import java.io.OutputStreamWriter;
820 store0(new BufferedWriter(new OutputStreamWriter(out, "8859_1")), in store()
/libcore/ojluni/src/main/java/sun/misc/
DJarIndex.java274 (new OutputStreamWriter(out, "UTF8")); in write()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java34 import java.io.OutputStreamWriter;
294 OutputStreamWriter writer = new OutputStreamWriter(connection.getOutputStream());
/libcore/ojluni/src/main/java/java/nio/file/
DFiles.java36 import java.io.OutputStreamWriter;
2860 Writer writer = new OutputStreamWriter(newOutputStream(path, options), encoder);
3352 try (BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(out, encoder))) {

12