HomeSort by relevance Sort by last modified time
    Searched full:writer (Results 1 - 25 of 998) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/llvm/lib/Bitcode/
CMakeLists.txt 2 add_subdirectory(Writer)
  /external/libxml2/include/libxml/
xmlwriter.h 46 XMLPUBFUN void XMLCALL xmlFreeTextWriter(xmlTextWriterPtr writer);
57 xmlTextWriterStartDocument(xmlTextWriterPtr writer,
62 writer);
68 writer);
69 XMLPUBFUN int XMLCALL xmlTextWriterEndComment(xmlTextWriterPtr writer);
71 xmlTextWriterWriteFormatComment(xmlTextWriterPtr writer,
75 xmlTextWriterWriteVFormatComment(xmlTextWriterPtr writer,
80 writer,
88 xmlTextWriterStartElement(xmlTextWriterPtr writer,
91 writer,
    [all...]
  /external/skia/tests/
Writer32Test.cpp 22 static void test1(skiatest::Reporter* reporter, SkWriter32* writer) {
25 REPORTER_ASSERT(reporter, i*4 == writer->size());
26 writer->write32(data[i]);
27 uint32_t* addr = writer->peek32(i * 4);
32 REPORTER_ASSERT(reporter, sizeof(buffer) == writer->size());
33 writer->flatten(buffer);
37 static void test2(skiatest::Reporter* reporter, SkWriter32* writer) {
44 writer->writeString(gStr, i);
46 REPORTER_ASSERT(reporter, writer->size() == len);
49 writer->flatten(storage.get())
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/util/
Writers.java 20 import java.io.Writer;
23 * Utilities for dealing with {@code Writer}s.
34 * Makes a {@code PrintWriter} for the given {@code Writer},
35 * returning the given writer if it already happens to be the right
38 * @param writer {@code non-null;} writer to (possibly) wrap
41 public static PrintWriter printWriterFor(Writer writer) {
42 if (writer instanceof PrintWriter) {
43 return (PrintWriter) writer;
    [all...]
  /dalvik/dx/src/com/android/dx/util/
Writers.java 20 import java.io.Writer;
23 * Utilities for dealing with {@code Writer}s.
34 * Makes a {@code PrintWriter} for the given {@code Writer},
35 * returning the given writer if it already happens to be the right
38 * @param writer {@code non-null;} writer to (possibly) wrap
41 public static PrintWriter printWriterFor(Writer writer) {
42 if (writer instanceof PrintWriter) {
43 return (PrintWriter) writer;
    [all...]
  /external/chromium/chrome/common/
important_file_writer_unittest.cc 60 ImportantFileWriter writer(file_,
62 EXPECT_FALSE(file_util::PathExists(writer.path()));
63 writer.WriteNow("foo");
66 ASSERT_TRUE(file_util::PathExists(writer.path()));
67 EXPECT_EQ("foo", GetFileContent(writer.path()));
71 ImportantFileWriter writer(file_,
73 writer.set_commit_interval(base::TimeDelta::FromMilliseconds(25));
74 EXPECT_FALSE(writer.HasPendingWrite());
76 writer.ScheduleWrite(&serializer);
77 EXPECT_TRUE(writer.HasPendingWrite())
    [all...]
  /external/libxml2/
xmlwriter.c 3 * xmlwriter.c: XML text writer implementation
100 static int xmlTextWriterOutputNSDecl(xmlTextWriterPtr writer);
112 static int xmlTextWriterWriteIndent(xmlTextWriterPtr writer);
114 xmlTextWriterHandleStateDependencies(xmlTextWriterPtr writer,
119 * @ctxt: a writer context
123 * Handle a writer error
141 * @ctxt: a writer context
146 * Handle a writer error
167 * NOTE: the @out parameter will be deallocated when the writer is closed
305 * NOTE: the @ctxt context will be freed with the resulting writer
    [all...]
  /external/clang/lib/Serialization/
ASTWriterStmt.cpp 28 ASTWriter &Writer;
35 ASTStmtWriter(ASTWriter &Writer, ASTWriter::RecordData &Record)
36 : Writer(Writer), Record(Record) { }
50 Writer.AddSourceLocation(Args.LAngleLoc, Record);
51 Writer.AddSourceLocation(Args.RAngleLoc, Record);
53 Writer.AddTemplateArgumentLoc(Args.getTemplateArgs()[i], Record);
61 Writer.AddSourceLocation(S->getSemiLoc(), Record);
71 Writer.AddStmt(*CS);
72 Writer.AddSourceLocation(S->getLBracLoc(), Record)
    [all...]
  /libcore/luni/src/main/java/java/io/
FilterWriter.java 21 * Wraps an existing {@link Writer} and performs some transformation on the
24 * decompression of the underlying writer. Writers that wrap another writer and
30 public abstract class FilterWriter extends Writer {
33 * The Writer being filtered.
35 protected Writer out;
38 * Constructs a new FilterWriter on the Writer {@code out}. All writes are
39 * now filtered through this writer.
42 * the target Writer to filter writes on.
44 protected FilterWriter(Writer out)
    [all...]
Writer.java 21 * The base class for all writers. A writer is a means of writing data to a
37 public abstract class Writer implements Appendable, Closeable, Flushable {
39 * The object used to synchronize access to the writer.
44 * Constructs a new {@code Writer} with {@code this} as the object used to
47 protected Writer() {
52 * Constructs a new {@code Writer} with {@code lock} used to synchronize
60 protected Writer(Object lock) {
68 * Closes this writer. Implementations of this method should free any
69 * resources associated with the writer.
72 * if an error occurs while closing this writer
    [all...]
  /packages/apps/Mms/src/com/android/mms/dom/smil/parser/
SmilXmlSerializer.java 25 import java.io.Writer;
36 Writer writer = new BufferedWriter(new OutputStreamWriter(out, "UTF-8"), 2048); local
38 writeElement(writer, smilDoc.getDocumentElement());
39 writer.flush();
47 private static void writeElement(Writer writer, Element element)
49 writer.write('<');
50 writer.write(element.getTagName());
56 writer.write(" " + attribute.getName())
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldOutputStreamWriterTest.java 57 OutputStreamWriter writer = null; local
60 writer = new OutputStreamWriter(null);
67 writer = new OutputStreamWriter(new Support_OutputStream());
75 Charset.forName(writer.getEncoding()));
77 if (writer != null) writer.close();
124 OutputStreamWriter writer; local
129 writer = new OutputStreamWriter(null, cs);
136 writer = new OutputStreamWriter(out, (Charset) null);
142 writer = new OutputStreamWriter(out, cs)
150 OutputStreamWriter writer; local
205 OutputStreamWriter writer = new OutputStreamWriter(bout, local
327 OutputStreamWriter writer; local
342 OutputStreamWriter writer; local
435 OutputStreamWriter writer; local
487 OutputStreamWriter writer; local
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
MultipartForm.java 110 PrintWriter writer = new PrintWriter(new OutputStreamWriter(byteOutput)); local
111 writer.println();
114 writeFormField(writer, formValue.getKey(), formValue.getValue());
118 writeFormFileHeader(writer, mName, mFileName);
119 writer.flush(); // Must flush here before writing to the byte stream!
121 writer.println();
123 writer.append("--").append(FORM_DATA_BOUNDARY).println("--");
124 writer.flush();
125 writer.close();
129 private void writeFormField(PrintWriter writer, String name, String value)
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
Rfc822Output.java 43 import java.io.Writer;
192 Writer writer = new OutputStreamWriter(stream); local
198 writeHeader(writer, "Date", date);
200 writeEncodedHeader(writer, "Subject", message.mSubject);
202 writeHeader(writer, "Message-ID", message.mMessageId);
204 writeAddressHeader(writer, "From", message.mFrom);
205 writeAddressHeader(writer, "To", message.mTo);
206 writeAddressHeader(writer, "Cc", message.mCc);
210 writeAddressHeader(writer, "Bcc", message.mBcc)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
OutputStreamWriterTest.java 43 private OutputStreamWriter writer; field in class:OutputStreamWriterTest
65 writer = new OutputStreamWriter(out, "utf-8");
77 writer.close();
91 writer.flush();
92 writer.close();
94 writer.flush();
102 writer.write(source);
103 writer.flush();
116 writer.write((char[]) null, -1, -1);
124 writer.write((char[]) null, 1, -1)
435 FileWriter writer = new FileWriter(f); local
582 OutputStreamWriter writer = new OutputStreamWriter(bout, local
    [all...]
WriterTest.java 19 import java.io.Writer;
26 * @tests java.io.Writer#append(char)
30 MockWriter writer = new MockWriter(20); local
31 writer.append(testChar);
32 assertEquals(String.valueOf(testChar), String.valueOf(writer
34 writer.close();
38 * @tests java.io.Writer#append(CharSequence)
42 MockWriter writer = new MockWriter(20); local
43 writer.append(testString);
44 assertEquals(testString, String.valueOf(writer.getContents()))
54 MockWriter writer = new MockWriter(20); local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
WriterChain.java 26 * It is unfortunate that java.io.Writer is a class rather than an interface.
27 * The serializer has a number of classes that extend java.io.Writer
28 * and which send their ouput to a yet another wrapped Writer or OutputStream.
31 * the important methods defined on the java.io.Writer class, namely these:
42 * the base class rather than to the wrapped Writer or OutputStream.
44 * The purpose of this class is to have a uniform way of chaining the output of one writer to
45 * the next writer in the chain. In addition there are methods to obtain the Writer or
53 /** This method forces us to over-ride the method defined in java.io.Writer */
55 /** This method forces us to over-ride the method defined in java.io.Writer */
    [all...]
  /libcore/xml/src/main/java/org/kxml2/io/
KXmlSerializer.java 38 // (Guarantee that the writer is always buffered.)
39 private BufferedWriter writer; field in class:KXmlSerializer
70 writer.write(' ');
71 writer.write("xmlns");
73 writer.write(':');
74 writer.write(nspStack[i * 2]);
78 writer.write("=\"");
80 writer.write('"');
92 writer.write(close ? " />" : ">");
103 writer.write(c)
    [all...]
  /external/proguard/src/proguard/
ConfigurationWriter.java 46 private final PrintWriter writer; field in class:ConfigurationWriter
73 public ConfigurationWriter(PrintWriter writer) throws IOException
75 this.writer = writer;
84 writer.close();
99 writer.println();
105 writer.println();
152 writer.println();
163 if (writer.checkError())
183 writer.print(optionName)
634 ConfigurationWriter writer = new ConfigurationWriter(new File(args[0])); local
    [all...]
DataEntryWriterFactory.java 48 DataEntryWriter writer = null; local
54 writer = createClassPathEntryWriter(entry, writer);
57 return writer;
93 DataEntryWriter writer = new DirectoryWriter(classPathEntry.getFile(), local
100 writer = wrapInJarWriter(writer, isZip, zipFilter, ".zip", isJar || isWar || isEar);
101 writer = wrapInJarWriter(writer, isEar, earFilter, ".ear", isJar || isWar);
102 writer = wrapInJarWriter(writer, isWar, warFilter, ".war", isJar)
    [all...]
  /development/tools/mkstubs/src/com/android/mkstubs/sourcer/
Output.java 20 import java.io.Writer;
23 * An {@link Output} objects is an helper to write to a character stream {@link Writer}.
30 private final Writer mWriter;
33 * Creates a new {@link Output} object that wraps the given {@link Writer}.
35 * The caller is responsible of opening and closing the {@link Writer}.
37 * @param writer The writer to write to. Could be a file, a string, etc.
39 public Output(Writer writer) {
40 mWriter = writer;
    [all...]
  /build/libs/host/
list.java 10 OutputStreamWriter writer = null; local
12 writer = new OutputStreamWriter(stream, "utf-8");
19 writer.write(n);
20 writer.close();
  /external/llvm/test/Assembler/
2004-10-22-BCWriterUndefBug.ll 1 ;; The bytecode writer was trying to treat undef values as ConstantArray's when
  /frameworks/base/core/java/android/content/
CursorLoader.java 210 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) {
211 super.dump(prefix, fd, writer, args);
212 writer.print(prefix); writer.print("mUri="); writer.println(mUri);
213 writer.print(prefix); writer.print("mProjection=");
214 writer.println(Arrays.toString(mProjection));
215 writer.print(prefix); writer.print("mSelection="); writer.println(mSelection)
    [all...]
  /frameworks/support/v4/java/android/support/v4/content/
CursorLoader.java 203 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) {
204 super.dump(prefix, fd, writer, args);
205 writer.print(prefix); writer.print("mUri="); writer.println(mUri);
206 writer.print(prefix); writer.print("mProjection=");
207 writer.println(Arrays.toString(mProjection));
208 writer.print(prefix); writer.print("mSelection="); writer.println(mSelection)
    [all...]

Completed in 4201 milliseconds

1 2 3 4 5 6 7 8 91011>>