Home
last modified time | relevance | path

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

12

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DOutputStreamWriterTest.java28 import java.io.OutputStreamWriter;
43 private OutputStreamWriter writer;
50 OutputStreamWriter osw;
65 writer = new OutputStreamWriter(out, "utf-8"); in setUp()
68 osw = new OutputStreamWriter(fos); in setUp()
305 writer = new OutputStreamWriter(null); in testOutputStreamWriterOutputStream()
310 OutputStreamWriter writer2 = new OutputStreamWriter(out); in testOutputStreamWriterOutputStream()
319 writer = new OutputStreamWriter(null, "utf-8"); in testOutputStreamWriterOutputStreamString()
325 writer = new OutputStreamWriter(out, ""); in testOutputStreamWriterOutputStreamString()
331 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;
187 return new OutputStreamWriter(out, "UTF-8"); in create()
DBufferedWriterTest.java23 import java.io.OutputStreamWriter;
115 BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(new ByteArrayOutputStream())); in test_close2()
DInputStreamReaderTest.java26 import java.io.OutputStreamWriter;
114 OutputStreamWriter osw = new OutputStreamWriter(bos); in setUp()
/external/guava/src/com/google/common/io/
DCharStreams.java27 import java.io.OutputStreamWriter;
99 public static OutputSupplier<OutputStreamWriter> newWriterSupplier(
103 return new OutputSupplier<OutputStreamWriter>() {
104 public OutputStreamWriter getOutput() throws IOException {
105 return new OutputStreamWriter(out.getOutput(), charset);
DFiles.java32 import java.io.OutputStreamWriter;
82 new OutputStreamWriter(new FileOutputStream(file), charset)); in newWriter()
154 public static OutputSupplier<OutputStreamWriter> newWriterSupplier(File file,
169 public static OutputSupplier<OutputStreamWriter> newWriterSupplier(File file,
/external/chromium/chrome/common/extensions/docs/examples/extensions/irc/servlet/src/org/chromium/
DIRCProxyWebSocket.java6 import java.io.OutputStreamWriter;
40 OutputStreamWriter out_;
60 out_ = new OutputStreamWriter(socket_.getOutputStream()); in onMessage()
/external/jsilver/src/com/google/clearsilver/jsilver/functions/escape/
DUrlEscapeFunction.java23 import java.io.OutputStreamWriter;
38 new OutputStreamWriter(new ByteArrayOutputStream(), encoding); in UrlEscapeFunction()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DEncodings.java25 import java.io.OutputStreamWriter;
76 OutputStreamWriter osw = new OutputStreamWriter(output,javaName); in getWriter()
93 return new OutputStreamWriter(output, encoding); in getWriter()
/external/javassist/sample/evolve/
DDemoServer.java76 OutputStreamWriter out = new OutputStreamWriter(outs); in runJava()
DWebPage.java12 public void show(OutputStreamWriter out) throws IOException { in show()
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/
DCharsetProviderTest.java20 import java.io.OutputStreamWriter;
73 OutputStreamWriter writer = new OutputStreamWriter(fos, "UTF-8"); in setupFile()
/external/javassist/sample/evolve/sample/evolve/
DWebPage.java12 public void show(OutputStreamWriter out) throws IOException { in show()
/external/doclava/src/com/google/doclava/
DDoclavaDiff.java27 import java.io.OutputStreamWriter;
334 OutputStreamWriter stream = null; in generateHtml()
336 stream = new OutputStreamWriter(new FileOutputStream(file), "UTF-8"); in generateHtml()
DClearPage.java27 import java.io.OutputStreamWriter;
138 stream = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), "UTF-8")); in write()
/external/proguard/src/proguard/io/
DDataEntryRewriter.java58 Writer writer = new BufferedWriter(new OutputStreamWriter(outputStream)); in copyData()
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DPYXScanner.java121 Writer w = new BufferedWriter(new OutputStreamWriter(System.out, "UTF-8")); in main()
DCommandLine.java184 w = new OutputStreamWriter(os); in process()
187 w = new OutputStreamWriter(os, theOutputEncoding); in process()
/external/emma/core/java12/com/vladium/emma/report/lcov/
DReportGenerator.java37 import java.io.OutputStreamWriter;
391 new OutputStreamWriter(new FileOutputStream(file), encoding), in openOutFile()
/external/antlr/src/org/antlr/runtime/debug/
DDebugEventSocketProxy.java79 OutputStreamWriter osw = new OutputStreamWriter(os, "UTF8"); in handshake()
DRemoteDebugEventSocketListener.java196 OutputStreamWriter osw = new OutputStreamWriter(os, "UTF8"); in openConnection()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DPropertiesTest.java26 import java.io.OutputStreamWriter;
771 myProps.store(new OutputStreamWriter(out), "A Header"); in test_storeLjava_io_WriterLjava_lang_String()
797 myProps.store(new OutputStreamWriter(new ByteArrayOutputStream()), in test_storeLjava_io_WriterLjava_lang_String()
804 myProps.store(new OutputStreamWriter(new ByteArrayOutputStream()), in test_storeLjava_io_WriterLjava_lang_String()
809 myProps.store(new OutputStreamWriter(new ByteArrayOutputStream()), in test_storeLjava_io_WriterLjava_lang_String()
/external/emma/core/java12/com/vladium/emma/report/txt/
DReportGenerator.java15 import java.io.OutputStreamWriter;
500 …m_out = new BufferedWriter (new OutputStreamWriter (new FileOutputStream (file), encoding), IO_BUF… in openOutFile()
/external/emma/core/java12/com/vladium/emma/report/xml/
DReportGenerator.java15 import java.io.OutputStreamWriter;
515 …m_out = new IndentingWriter (new OutputStreamWriter (new FileOutputStream (file), encoding), IO_BU… in openOutFile()

12