HomeSort by relevance Sort by last modified time
    Searched refs:Writer (Results 301 - 325 of 1150) sorted by null

<<11121314151617181920>>

  /frameworks/base/core/java/android/util/
JsonWriter.java 21 import java.io.Writer;
34 * writer as you walk the structure's contents, nesting arrays and objects as
72 * JsonWriter writer = new JsonWriter(new OutputStreamWriter(out, "UTF-8"));
73 * writer.setIndent(" ");
74 * writeMessagesArray(writer, messages);
75 * writer.close();
78 * public void writeMessagesArray(JsonWriter writer, List<Message> messages) throws IOException {
79 * writer.beginArray();
81 * writeMessage(writer, message);
83 * writer.endArray()
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldBufferedWriterTest.java 20 import java.io.Writer;
228 fail("Test 3: IOException expected since the target writer is closed.");
234 // written out to the target writer.
239 fail("Test 4: IOException expected since the target writer throws it.");
306 Writer thrower = new Writer() {
333 // reset the output writer to null. This would still allow write()
  /prebuilts/go/darwin-x86/src/cmd/go/
bug.go 79 func printGoDetails(w io.Writer) {
84 func printOSDetails(w io.Writer) {
107 func printCDetails(w io.Writer) {
123 func inspectGoVersion(w io.Writer) {
149 func printCmdOut(w io.Writer, prefix, path string, args ...string) {
172 func printGlibcVersion(w io.Writer) {
  /prebuilts/go/linux-x86/src/cmd/go/
bug.go 79 func printGoDetails(w io.Writer) {
84 func printOSDetails(w io.Writer) {
107 func printCDetails(w io.Writer) {
123 func inspectGoVersion(w io.Writer) {
149 func printCmdOut(w io.Writer, prefix, path string, args ...string) {
172 func printGlibcVersion(w io.Writer) {
  /prebuilts/go/darwin-x86/src/io/
io.go 81 // Writer is the interface that wraps the basic Write method.
90 type Writer interface {
122 Writer
133 Writer
140 Writer
152 Writer
159 Writer
182 WriteTo(w Writer) (n int64, err error)
287 func WriteString(w Writer, s string) (n int, err error) {
335 func CopyN(dst Writer, src Reader, n int64) (written int64, err error)
    [all...]
  /prebuilts/go/linux-x86/src/io/
io.go 81 // Writer is the interface that wraps the basic Write method.
90 type Writer interface {
122 Writer
133 Writer
140 Writer
152 Writer
159 Writer
182 WriteTo(w Writer) (n int64, err error)
287 func WriteString(w Writer, s string) (n int, err error) {
335 func CopyN(dst Writer, src Reader, n int64) (written int64, err error)
    [all...]
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
MediaRecorderStressTest.java 34 import java.io.Writer;
176 Writer output = new BufferedWriter(new FileWriter(stressOutFile, true));
220 Writer output = new BufferedWriter(new FileWriter(stressOutFile, true));
303 Writer output = new BufferedWriter(new FileWriter(stressOutFile, true));
407 Writer output = new BufferedWriter(
  /external/llvm/tools/llvm-profdata/
llvm-profdata.cpp 134 InstrProfWriter Writer(OutputSparse);
143 if (Writer.setIsIRLevelProfile(IsIRProfile))
147 if (Error E = Writer.addRecord(std::move(I), Input.Weight)) {
159 Writer.writeText(Output);
161 Writer.write(Output);
177 auto Writer = std::move(WriterOrErr.get());
208 Writer->write(ProfileMap);
  /external/icu/android_icu4j/src/main/java/android/icu/util/
VTimeZone.java 15 import java.io.Writer;
212 * @param writer A <code>Writer</code> used for the output
213 * @throws IOException If there were problems creating a buffered writer or writing to it.
215 public void write(Writer writer) throws IOException {
216 BufferedWriter bw = new BufferedWriter(writer);
245 writeZone(writer, tz, customProperties);
253 * @param writer The <code>Writer</code> used for the outpu
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
VTimeZone.java 14 import java.io.Writer;
231 * @param writer A <code>Writer</code> used for the output
232 * @throws IOException If there were problems creating a buffered writer or writing to it.
236 public void write(Writer writer) throws IOException {
237 BufferedWriter bw = new BufferedWriter(writer);
266 writeZone(writer, tz, customProperties);
274 * @param writer The <code>Writer</code> used for the outpu
    [all...]
  /prebuilts/go/darwin-x86/src/strings/
replace.go 18 WriteString(w io.Writer, s string) (n int, err error)
74 func (r *Replacer) WriteString(w io.Writer, s string) (n int, err error) {
274 // Write writes to the buffer to satisfy io.Writer.
291 w io.Writer
298 func getStringWriter(w io.Writer) stringWriterIface {
312 func (r *genericReplacer) WriteString(w io.Writer, s string) (n int, err error) {
385 func (r *singleStringReplacer) WriteString(w io.Writer, s string) (n int, err error) {
432 func (r *byteReplacer) WriteString(w io.Writer, s string) (n int, err error) {
490 func (r *byteStringReplacer) WriteString(w io.Writer, s string) (n int, err error) {
  /prebuilts/go/linux-x86/src/strings/
replace.go 18 WriteString(w io.Writer, s string) (n int, err error)
74 func (r *Replacer) WriteString(w io.Writer, s string) (n int, err error) {
274 // Write writes to the buffer to satisfy io.Writer.
291 w io.Writer
298 func getStringWriter(w io.Writer) stringWriterIface {
312 func (r *genericReplacer) WriteString(w io.Writer, s string) (n int, err error) {
385 func (r *singleStringReplacer) WriteString(w io.Writer, s string) (n int, err error) {
432 func (r *byteReplacer) WriteString(w io.Writer, s string) (n int, err error) {
490 func (r *byteStringReplacer) WriteString(w io.Writer, s string) (n int, err error) {
  /prebuilts/go/darwin-x86/src/cmd/trace/
pprof.go 36 func pprofIO(w io.Writer) error {
56 func pprofBlock(w io.Writer) error {
82 func pprofSyscall(w io.Writer) error {
103 func pprofSched(w io.Writer) error {
124 func serveSVGProfile(prof func(w io.Writer) error) http.HandlerFunc {
  /prebuilts/go/darwin-x86/src/text/tabwriter/
tabwriter_test.go 37 func write(t *testing.T, testname string, w *Writer, src string) {
47 func verify(t *testing.T, testname string, w *Writer, b *buffer, src, expected string) {
63 var w Writer
638 w := new(Writer)
648 w := new(Writer)
  /prebuilts/go/linux-x86/src/cmd/trace/
pprof.go 36 func pprofIO(w io.Writer) error {
56 func pprofBlock(w io.Writer) error {
82 func pprofSyscall(w io.Writer) error {
103 func pprofSched(w io.Writer) error {
124 func serveSVGProfile(prof func(w io.Writer) error) http.HandlerFunc {
  /prebuilts/go/linux-x86/src/text/tabwriter/
tabwriter_test.go 37 func write(t *testing.T, testname string, w *Writer, src string) {
47 func verify(t *testing.T, testname string, w *Writer, b *buffer, src, expected string) {
63 var w Writer
638 w := new(Writer)
648 w := new(Writer)
  /external/llvm/tools/yaml2obj/
yaml2macho.cpp 447 MachOWriter Writer(*ObjectFile.MachO);
448 return Writer.writeMachO(OS);
458 MachOWriter Writer(FatFile.Slices[i]);
459 if (auto Err = Writer.writeMachO(OS))
533 UniversalWriter Writer(Doc);
534 if (auto Err = Writer.writeMachO(Out)) {
  /external/tagsoup/src/org/ccil/cowan/tagsoup/
XMLWriter.java 20 import java.io.Writer;
129 * <p>The writer contains extensive support for XML Namespaces, so that
131 * supply <var>xmlns</var> attributes. By default, the XML writer will
151 * XML writer allows two methods for selecting prefixes:</p>
158 * <p>Whenever the XML writer finds a new Namespace URI, it checks
198 * <p>By default, the XML writer will not declare a Namespace until
219 * problem, you can instruct the XML writer to predeclare Namespaces
263 * Create a new XML writer.
274 * Create a new XML writer.
276 * <p>Write to the writer provided.</p
    [all...]
  /packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
documenttest.cpp 17 #include "rapidjson/writer.h"
139 Writer<OutputStream, UTF16<>, UTF8<> > writer(eos);
140 d.Accept(writer);
148 Writer<StringBuffer> writer(bos2);
149 reader.Parse(is, writer);
178 Writer<StringBuffer> writer(bos);
179 d.Accept(writer);
    [all...]
  /prebuilts/go/darwin-x86/src/go/types/
typestring_test.go 115 dup(`interface{io.Reader; io.Writer}`),
116 dup(`interface{m() int; io.Writer}`),
128 src := `package p; import "io"; type _ io.Writer; type T ` + test.src
  /prebuilts/go/linux-x86/src/go/types/
typestring_test.go 115 dup(`interface{io.Reader; io.Writer}`),
116 dup(`interface{m() int; io.Writer}`),
128 src := `package p; import "io"; type _ io.Writer; type T ` + test.src
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
DexFile.java 33 import java.io.Writer;
170 public void writeTo(OutputStream out, Writer humanOut, boolean verbose)
192 public byte[] toDex(Writer humanOut, boolean verbose)
  /dalvik/dx/src/com/android/dx/dex/file/
DexFile.java 34 import java.io.Writer;
190 public void writeTo(OutputStream out, Writer humanOut, boolean verbose)
212 public byte[] toDex(Writer humanOut, boolean verbose)
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
ToXMLSAXHandler.java 25 import java.io.Writer;
79 public Writer getWriter()
131 * @see Serializer#setWriter(Writer)
133 public void setWriter(Writer writer)
  /external/guava/guava-tests/test/com/google/common/io/
SourceSinkFactories.java 37 import java.io.Writer;
344 Writer writer = new OutputStreamWriter(new FileOutputStream(file), Charsets.UTF_8);
346 writer.write(string);
348 writer.close();
371 Writer writer = new OutputStreamWriter(new FileOutputStream(file), Charsets.UTF_8);
373 writer.write(initialString);
375 writer.close();

Completed in 1679 milliseconds

<<11121314151617181920>>