/frameworks/base/services/core/java/com/android/server/net/ |
DelayedDiskWrite.java | 36 public interface Writer { 40 public void write(final String filePath, final Writer w) { 44 public void write(final String filePath, final Writer w, final boolean open) { 66 private void doWrite(String filePath, Writer w, boolean open) {
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/condense/ |
condense.cpp | 7 #include "rapidjson/writer.h"
20 // Prepare JSON writer and output stream.
23 Writer<FileWriteStream> writer(os);
25 // JSON reader parse from the input stream and let writer generate the output.
26 if (!reader.Parse(is, writer)) {
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simpledom/ |
simpledom.cpp | 5 #include "rapidjson/writer.h" 23 Writer<StringBuffer> writer(buffer); 24 d.Accept(writer);
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
TwoColumnOutput.java | 23 import java.io.Writer; 31 /** {@code non-null;} underlying writer for final output */ 32 private final Writer out; 43 /** {@code non-null;} left column writer */ 46 /** {@code non-null;} right column writer */ 83 * @param out {@code non-null;} writer to send final output to 88 public TwoColumnOutput(Writer out, int leftWidth, int rightWidth, 132 * Gets the writer to use to write to the left column. 134 * @return {@code non-null;} the left column writer 136 public Writer getLeft() [all...] |
/dalvik/dx/src/com/android/dx/util/ |
TwoColumnOutput.java | 23 import java.io.Writer; 31 /** {@code non-null;} underlying writer for final output */ 32 private final Writer out; 43 /** {@code non-null;} left column writer */ 46 /** {@code non-null;} right column writer */ 83 * @param out {@code non-null;} writer to send final output to 88 public TwoColumnOutput(Writer out, int leftWidth, int rightWidth, 132 * Gets the writer to use to write to the left column. 134 * @return {@code non-null;} the left column writer 136 public Writer getLeft() [all...] |
/external/dexmaker/src/dx/java/com/android/dx/util/ |
TwoColumnOutput.java | 23 import java.io.Writer; 31 /** {@code non-null;} underlying writer for final output */ 32 private final Writer out; 43 /** {@code non-null;} left column writer */ 46 /** {@code non-null;} right column writer */ 83 * @param out {@code non-null;} writer to send final output to 88 public TwoColumnOutput(Writer out, int leftWidth, int rightWidth, 132 * Gets the writer to use to write to the left column. 134 * @return {@code non-null;} the left column writer 136 public Writer getLeft() [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
CopyUtils.java | 27 import java.io.Writer; 33 * (<code>OutputStream</code>, <code>Writer</code>, <code>String</code> and 85 * 2 copy Reader Writer (primitive) 87 * 3 copy InputStream Writer 2 92 * 6 copy String Writer (trivial) 94 * 7 copy byte[] Writer 3 143 // byte[] -> Writer 148 * <code>Writer</code>. 151 * @param output the <code>Writer</code> to write to 154 public static void copy(byte[] input, Writer output [all...] |
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/ |
CharSinkTester.java | 25 import java.io.Writer; 30 * Tests behaviour common to all implementations of {@link Writer}. This adapts 38 * Creates a new writer ready to receive an arbitrary number of chars. Each 42 public abstract Writer create() throws Exception; 45 * Returns the current set of chars written to the writer last returned by 46 * {@link #create}, and releases any resources held by that writer. 51 * Configures whether the writer is expected to throw exceptions when an 96 Writer out = create(); 104 Writer out = create(); 117 Writer out = create() [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldWriterTest.java | 20 import java.io.Writer; 27 Writer tobj = new Support_ASimpleWriter(2); 41 Writer tobj = new Support_ASimpleWriter(20); 54 Writer tobj = new Support_ASimpleWriter(21); 68 tobj.append(testString, 20, 21); // Just fill the writer to its limit! 79 Writer tobj = new Support_ASimpleWriter(21); 101 Writer tobj = new Support_ASimpleWriter(21); 108 tobj.write("z".toCharArray()); // Just fill the writer to its limit! 118 Writer tobj = new Support_ASimpleWriter(2); 131 Writer tobj = new Support_ASimpleWriter(21) [all...] |
/libcore/support/src/test/java/org/apache/harmony/testframework/ |
CharSinkTester.java | 25 import java.io.Writer; 30 * Tests behaviour common to all implementations of {@link Writer}. This adapts 38 * Creates a new writer ready to receive an arbitrary number of chars. Each 42 public abstract Writer create() throws Exception; 45 * Returns the current set of chars written to the writer last returned by 46 * {@link #create}, and releases any resources held by that writer. 51 * Configures whether the writer is expected to throw exceptions when an 96 Writer out = create(); 104 Writer out = create(); 117 Writer out = create() [all...] |
/external/guava/guava/src/com/google/common/io/ |
AppendableWriter.java | 24 import java.io.Writer; 29 * Writer that places all output on an {@link Appendable} target. If the target 37 class AppendableWriter extends Writer { 42 * Creates a new writer that appends everything it writes to {@code target}. 51 * Abstract methods from Writer 97 @Override public Writer append(char c) throws IOException { 103 @Override public Writer append(@Nullable CharSequence charSeq) throws IOException { 109 @Override public Writer append(@Nullable CharSequence charSeq, int start, int end) 118 throw new IOException("Cannot write to a closed writer.");
|
CharStreams.java | 28 import java.io.Writer; 41 * {@link java.io.Writer}. 179 * Returns a {@link Writer} that simply discards written chars. 183 public static Writer nullWriter() { 187 private static final class NullWriter extends Writer { 216 public Writer append(CharSequence csq) { 222 public Writer append(CharSequence csq, int start, int end) { 228 public Writer append(char c) { 247 * Returns a Writer that sends all output to the given {@link Appendable} 248 * target. Closing the writer will close the target if it is {@lin [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
AppendableWriterTest.java | 22 import java.io.Writer; 63 Writer writer = new AppendableWriter(builder); local 65 writer.write("Hello".toCharArray()); 66 writer.write(','); 67 writer.write(0xBEEF0020); // only lower 16 bits are important 68 writer.write("Wo"); 69 writer.write("Whirled".toCharArray(), 3, 2); 70 writer.write("Mad! Mad, I say", 2, 2); 77 Writer writer = new AppendableWriter(builder) local 89 Writer writer = new AppendableWriter(spy); local 106 Writer writer = new AppendableWriter(builder); local [all...] |
/external/clang/lib/Serialization/ |
ASTWriterDecl.cpp | 36 ASTWriter &Writer; 45 ASTDeclWriter(ASTWriter &Writer, ASTContext &Context, RecordData &Record) 46 : Writer(Writer), Context(Context), Record(Record) { 145 Writer.AddDeclRef(typeParam, Record); 147 Writer.AddSourceLocation(typeParams->getLAngleLoc(), Record); 148 Writer.AddSourceLocation(typeParams->getRAngleLoc(), Record); 156 Writer.AddCXXCtorInitializersRef( 159 Writer.AddStmt(FD->getBody()); 170 Firsts[Writer.Chain->getOwningModuleFile(R)] = R [all...] |
/frameworks/av/media/libnbaio/ |
NBLog.cpp | 75 NBLog::Writer::Writer() 80 NBLog::Writer::Writer(size_t size, void *shared) 85 NBLog::Writer::Writer(size_t size, const sp<IMemory>& iMemory) 91 void NBLog::Writer::log(const char *string) 103 void NBLog::Writer::logf(const char *fmt, ...) 110 Writer::logvf(fmt, ap); // the Writer:: is needed to avoid virtual dispatch for LockedWrite [all...] |
/external/compiler-rt/lib/profile/ |
InstrProfilingInternal.h | 52 int llvmWriteProfData(WriterCallback Writer, void *WriterCtx, 55 int llvmWriteProfDataImpl(WriterCallback Writer, void *WriterCtx,
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
TestLogWriter.java | 11 import java.io.Writer; 13 public final class TestLogWriter extends Writer {
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
TestLogWriter.java | 10 import java.io.Writer; 12 public final class TestLogWriter extends Writer {
|
/frameworks/base/core/java/android/util/ |
LogWriter.java | 19 import java.io.Writer; 22 public class LogWriter extends Writer { 29 * Create a new Writer that sends to the log with the given priority
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/ |
AnnotationJavaFileWriter.java | 16 package android.databinding.tool.writer; 23 import java.io.Writer; 37 Writer writer = null; local 42 writer = javaFileObject.openWriter(); 43 writer.write(contents); 47 if (writer != null) { 48 IOUtils.closeQuietly(writer);
|
/frameworks/support/v4/java/android/support/v4/util/ |
LogWriter.java | 21 import java.io.Writer; 29 public class LogWriter extends Writer { 34 * Create a new Writer that sends to the log with the given priority
|
/libcore/ojluni/src/main/java/java/sql/ |
SQLXML.java | 31 import java.io.Writer; 46 * as a String, a Reader or Writer, or as a Stream. The XML value 292 Writer setCharacterStream() throws SQLException;
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/serialize/ |
serialize.cpp | 2 // This example shows writing JSON string with writer directly.
17 template <typename Writer>
18 void Serialize(Writer& writer) const {
20 writer.String("name");
22 writer.String(name_);
24 writer.String(name_.c_str(), (SizeType)name_.length()); // Supplying length of string is faster.
26 writer.String("age");
27 writer.Uint(age_);
42 template <typename Writer>
[all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
ProxyWriter.java | 21 import java.io.Writer; 39 * @param proxy the Writer to delegate to 41 public ProxyWriter(Writer proxy) {
|
/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...] |