/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
LockableFileWriter.java | 25 import java.io.Writer;
50 public class LockableFileWriter extends Writer {
51 // Cannot extend ProxyWriter, as requires writer to be
57 /** The writer to decorate. */
58 private final Writer out;
182 // init wrapped writer
221 * Initialise the wrapped file writer.
222 * Ensure that a cleanup occurs if the writer creation fails.
227 * @return The initialised writer
230 private Writer initWriter(File file, String encoding, boolean append) throws IOException { 233 Writer writer = null; local [all...] |
/external/marisa-trie/tests/ |
io-test.cc | 23 marisa::Writer writer; local 24 writer.open("io-test.dat"); 26 writer.write(value); 27 writer.write(value); 29 writer.write(values, 2); 30 EXCEPT(writer.write(values, 1U << 30), MARISA_SIZE_ERROR); 34 marisa::Writer writer; local 35 writer.open("io-test.dat", false, 4, SEEK_SET) 41 marisa::Writer writer; local 82 marisa::Writer writer; local [all...] |
/external/marisa-trie/v0_1_5/tests/ |
io-test.cc | 24 marisa_alpha::Writer writer; local 25 writer.open("io-test.dat"); 27 writer.write(value); 28 writer.write(value); 30 writer.write(values, 2); 31 EXCEPT(writer.write(values, 1U << 30), MARISA_ALPHA_SIZE_ERROR); 35 marisa_alpha::Writer writer; local 36 writer.open("io-test.dat", false, 4, SEEK_SET) 42 marisa_alpha::Writer writer; local 83 marisa_alpha::Writer writer; local [all...] |
/external/qemu/android/ |
config.c | 356 } Writer; 359 writer_init( Writer* w, const char* fn ) 375 writer_write( Writer* w, const char* src, int len ) 401 writer_done( Writer* w ) 413 writer_margin( Writer* w, int margin) 425 writer_c(Writer* w, char c) 431 writer_str(Writer* w, const char* str) 437 writer_node(Writer* w, AConfig* node, int margin) 467 Writer w[1];
|
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
SerializerSwitcher.java | 24 import java.io.Writer; 93 Writer writer = oldSerializer.getWriter(); local 95 if (null != writer) 96 serializer.setWriter(writer); 183 Writer writer = oldSerializer.getWriter(); local 185 if (null != writer) 186 serializer.setWriter(writer);
|
/external/smack/src/org/jivesoftware/smack/ |
PacketWriter.java | 26 import java.io.Writer; 44 private Writer writer; field in class:PacketWriter 50 * Creates a new packet writer with the specified connection. 61 * Initializes the writer in order to be used. It is called at the first connection and also 65 this.writer = connection.writer; 73 writerThread.setName("Smack Packet Writer (" + connection.connectionCounterValue + ")"); 99 // Process packet writer listeners. Note that we're using the sending 106 * Starts the packet writer thread and opens a connection to the server. Th [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
IOUtils.java | 32 import java.io.Writer;
83 // Writer. Each method should take at least one of these as a parameter,
150 * Unconditionally close a <code>Writer</code>.
152 * Equivalent to {@link Writer#close()}, except any exceptions will be ignored.
155 * @param output the Writer to close, may be null or already closed
157 public static void closeQuietly(Writer output) {
636 * Writes bytes from a <code>byte[]</code> to chars on a <code>Writer</code>
643 * @param output the <code>Writer</code> to write to
648 public static void write(byte[] data, Writer output) throws IOException {
655 * Writes bytes from a <code>byte[]</code> to chars on a <code>Writer</code> [all...] |
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
MediaPlayerStressTest.java | 32 import java.io.Writer; 77 private void writeTestOutput(String filename, Writer output) throws Exception{ 89 private void writeTestSummary(Writer output) throws Exception{ 128 Writer output = new BufferedWriter(new FileWriter(playbackOutput, true));
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
db_impl.h | 65 struct Writer; 97 WriteBatch* BuildBatchGroup(Writer** last_writer); 137 log::Writer* log_; 140 std::deque<Writer*> writers_;
|
/external/chromium_org/tools/gyp/pylib/gyp/ |
MSVSToolFile.py | 5 """Visual Studio project reader/writer.""" 11 class Writer(object): 12 """Visual Studio XML tool file writer."""
|
/frameworks/av/services/audioflinger/ |
FastMixerState.h | 81 NBLog::Writer* mNBLogWriter; // non-blocking logger
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
MediaPlayerStressTest.java | 34 import java.io.Writer; 72 private void writeTestOutput(String filename, Writer output) throws Exception{ 84 private void writeTestSummary(Writer output) throws Exception{ 116 Writer output = new BufferedWriter(new FileWriter(playbackOutput, true));
|
/libcore/luni/src/main/java/java/io/ |
BufferedWriter.java | 24 * Wraps an existing {@link Writer} and <em>buffers</em> the output. Expensive 39 public class BufferedWriter extends Writer { 41 private Writer out; 51 * @param out the {@code Writer} the buffer writes to. 53 public BufferedWriter(Writer out) { 65 public BufferedWriter(Writer out, int size) { 75 * Closes this writer. The contents of the buffer are flushed, the target 76 * writer is closed, and the buffer is released. Only the first invocation 80 * if an error occurs while closing this writer. 113 * Flushes this writer. The contents of the buffer are committed to th [all...] |
/external/clang/lib/Serialization/ |
ASTWriter.cpp | 1 //===--- ASTWriter.cpp - AST File Writer ----------------------------------===// 77 ASTWriter &Writer; 84 ASTTypeWriter(ASTWriter &Writer, ASTWriter::RecordDataImpl &Record) 85 : Writer(Writer), Record(Record), Code(TYPE_EXT_QUAL) { } 102 Writer.AddTypeRef(T->getElementType(), Record); 107 Writer.AddTypeRef(T->getPointeeType(), Record); 112 Writer.AddTypeRef(T->getOriginalType(), Record); 117 Writer.AddTypeRef(T->getPointeeType(), Record); 122 Writer.AddTypeRef(T->getPointeeTypeAsWritten(), Record) [all...] |
/development/tools/mkstubs/src/com/android/mkstubs/ |
SourceGenerator.java | 29 import java.io.Writer; 92 void visitClassSource(Writer fw, ClassReader cr, Filter filter) {
|
/external/chromium_org/third_party/WebKit/Source/core/scripts/ |
make_css_value_keywords.py | 105 class CSSValueKeywordsWriter(in_generator.Writer): 113 in_generator.Writer.__init__(self, file_paths, enabled_conditions)
|
/external/proguard/src/proguard/io/ |
ManifestRewriter.java | 49 Writer writer) 53 new SplitLineWriter(writer)); 162 * This Writer writes manifest files, splitting any long lines. 169 public SplitLineWriter(Writer writer) 171 super(writer);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldFilterWriterTest.java | 31 public MyFilterWriter(java.io.Writer writer) { 32 super(writer); 36 class MockWriter extends java.io.Writer {
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
XmlSerializer.java | 5 import java.io.Writer; 98 * Set the output to the given writer. 101 void setOutput (Writer writer)
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
Rfc822Output.java | 42 import java.io.Writer; 132 Writer writer = new OutputStreamWriter(stream); local 138 writeHeader(writer, "Date", date); 140 writeEncodedHeader(writer, "Subject", message.mSubject); 142 writeHeader(writer, "Message-ID", message.mMessageId); 144 writeAddressHeader(writer, "From", message.mFrom); 145 writeAddressHeader(writer, "To", message.mTo); 146 writeAddressHeader(writer, "Cc", message.mCc); 150 writeAddressHeader(writer, "Bcc", message.mBcc) [all...] |
/external/jmonkeyengine/engine/src/xml/com/jme3/export/xml/ |
DOMSerializer.java | 59 private void escape(Writer writer, String s) throws IOException { 65 writer.write("<"); 68 writer.write(">"); 71 writer.write("&"); 74 writer.write("
"); 77 writer.write(c); 101 Writer writer = new OutputStreamWriter(out, encoding); local 102 write(doc, writer, 0) 191 write(nodes.item(i), writer, 0); local [all...] |
/external/llvm/tools/llvm-readobj/ |
llvm-readobj.cpp | 171 StreamWriter &Writer, 177 return createCOFFDumper(Obj, Writer, Result); 179 return createELFDumper(Obj, Writer, Result); 181 return createMachODumper(Obj, Writer, Result); 189 StreamWriter Writer(outs()); 191 if (error_code EC = createDumper(Obj, Writer, Dumper)) {
|
/frameworks/base/core/java/com/android/internal/util/ |
FastPrintWriter.java | 9 import java.io.Writer; 18 private static Writer sDummyWriter = new Writer() { 45 final private Writer mWriter; 55 * stream. By default, the new print writer does not automatically flush its 69 * stream. The parameter {@code autoFlush} determines if the print writer 88 * if the print writer automatically flushes its contents to the target stream 120 * writer. By default, the new print writer does not automatically flush its 121 * contents to the target writer when a newline is encountered [all...] |
/external/marisa-trie/lib/marisa/ |
tail.cc | 81 Writer writer; local 82 writer.open(filename, trunc_flag, offset, whence); 83 write(writer); 87 Writer writer(file); 88 write(writer); 92 Writer writer(fd); 93 write(writer); [all...] |
trie.cc | 88 Writer writer; local 89 writer.open(filename, trunc_flag, offset, whence); 90 write(writer); 94 Writer writer(file); 95 write(writer); 99 Writer writer(fd); 100 write(writer); [all...] |