/libcore/support/src/test/java/tests/support/ |
Support_StringWriter.java | 21 import java.io.Writer; 23 public class Support_StringWriter extends Writer { 29 * <code>lock</code> used to synchronize access to this Writer. 40 * the <code>lock</code> used to synchronize access to this Writer. 52 * Close this Writer. This is the concrete implementation required. This 63 * Flush this Writer. This is the concrete implementation required. This
|
/prebuilts/go/darwin-x86/src/crypto/cipher/ |
io.go | 25 // StreamWriter wraps a Stream into an io.Writer. It calls XORKeyStream 32 W io.Writer 48 // Close closes the underlying Writer and returns its Close return value, if the Writer
|
/prebuilts/go/darwin-x86/src/runtime/ |
mkduff.go | 43 func gen(arch string, tags, zero, copy func(io.Writer)) { 61 func notags(w io.Writer) { fmt.Fprintln(w) } 63 func zeroAMD64(w io.Writer) { 79 func copyAMD64(w io.Writer) { 98 func zero386(w io.Writer) { 109 func copy386(w io.Writer) { 127 func zeroARM(w io.Writer) { 138 func copyARM(w io.Writer) { 152 func zeroARM64(w io.Writer) { 163 func copyARM64(w io.Writer) { [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/issue15470.dir/ |
a.go | 23 Write(w io.Writer, _ int, start bool) // _ (blank) caused crash
|
/prebuilts/go/linux-x86/src/crypto/cipher/ |
io.go | 25 // StreamWriter wraps a Stream into an io.Writer. It calls XORKeyStream 32 W io.Writer 48 // Close closes the underlying Writer and returns its Close return value, if the Writer
|
/prebuilts/go/linux-x86/src/runtime/ |
mkduff.go | 43 func gen(arch string, tags, zero, copy func(io.Writer)) { 61 func notags(w io.Writer) { fmt.Fprintln(w) } 63 func zeroAMD64(w io.Writer) { 79 func copyAMD64(w io.Writer) { 98 func zero386(w io.Writer) { 109 func copy386(w io.Writer) { 127 func zeroARM(w io.Writer) { 138 func copyARM(w io.Writer) { 152 func zeroARM64(w io.Writer) { 163 func copyARM64(w io.Writer) { [all...] |
/prebuilts/go/linux-x86/test/fixedbugs/issue15470.dir/ |
a.go | 23 Write(w io.Writer, _ int, start bool) // _ (blank) caused crash
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
SerializerTraceWriter.java | 25 import java.io.Writer; 28 * This class wraps the real writer, it only purpose is to send 30 * Each method immediately sends the call to the wrapped writer unchanged, but 34 * listener knows what characters have been written to the output Writer. 37 * output writer and what is really going there. These differences will be due 39 * and the underlying writer may not be UTF-8 encoding. There may also be 45 final class SerializerTraceWriter extends Writer implements WriterChain 48 /** The real writer to immediately write to. 52 private final java.io.Writer m_writer; 88 * If the writer passed in is null, then this SerializerTraceWriter wil [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
ReferenceUtil.java | 40 import java.io.Writer; 74 public static void writeMethodDescriptor(Writer writer, MethodReference methodReference) throws IOException { 75 writeMethodDescriptor(writer, methodReference, false); 78 public static void writeMethodDescriptor(Writer writer, MethodReference methodReference, 81 writer.write(methodReference.getDefiningClass()); 82 writer.write("->"); 84 writer.write(methodReference.getName()); 85 writer.write('(') [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
FileWriterWithEncoding.java | 24 import java.io.Writer; 32 * Writer of files that allows the encoding to be set. 50 public class FileWriterWithEncoding extends Writer { 51 // Cannot extend ProxyWriter, as requires writer to be 54 /** The writer to decorate. */ 55 private final Writer out; 212 * Initialise the wrapped file writer. 213 * Ensure that a cleanup occurs if the writer creation fails. 218 * @return the initialised writer 222 private static Writer initWriter(File file, Object encoding, boolean append) throws IOException 231 Writer writer = null; local [all...] |
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...] |
/prebuilts/go/darwin-x86/src/archive/zip/ |
writer.go | 18 // Writer implements a zip file writer. 19 type Writer struct { 36 // NewWriter returns a new Writer writing a zip file to w. 37 func NewWriter(w io.Writer) *Writer { 38 return &Writer{cw: &countWriter{w: bufio.NewWriter(w)}} 42 // underlying writer. It should be used when the zip data is appended to an 45 func (w *Writer) SetOffset(n int64) { 52 // Flush flushes any buffered data to the underlying writer [all...] |
/prebuilts/go/linux-x86/src/archive/zip/ |
writer.go | 18 // Writer implements a zip file writer. 19 type Writer struct { 36 // NewWriter returns a new Writer writing a zip file to w. 37 func NewWriter(w io.Writer) *Writer { 38 return &Writer{cw: &countWriter{w: bufio.NewWriter(w)}} 42 // underlying writer. It should be used when the zip data is appended to an 45 func (w *Writer) SetOffset(n int64) { 52 // Flush flushes any buffered data to the underlying writer [all...] |
/prebuilts/go/darwin-x86/src/text/tabwriter/ |
tabwriter.go | 5 // Package tabwriter implements a write filter (tabwriter.Writer) that 34 // A Writer is a filter that inserts padding around tab-delimited 37 // The Writer treats incoming bytes as UTF-8-encoded text consisting 43 // Writer inserts padding as needed to make all cells in a column have 60 // The Writer assumes that all Unicode code points have the same width; 69 // If a Writer is configured to filter HTML, HTML tags and entities 88 // The Writer must buffer input internally, because proper spacing 92 type Writer struct { 94 output io.Writer 110 func (b *Writer) addLine() { b.lines = append(b.lines, []cell{}) [all...] |
/prebuilts/go/linux-x86/src/text/tabwriter/ |
tabwriter.go | 5 // Package tabwriter implements a write filter (tabwriter.Writer) that 34 // A Writer is a filter that inserts padding around tab-delimited 37 // The Writer treats incoming bytes as UTF-8-encoded text consisting 43 // Writer inserts padding as needed to make all cells in a column have 60 // The Writer assumes that all Unicode code points have the same width; 69 // If a Writer is configured to filter HTML, HTML tags and entities 88 // The Writer must buffer input internally, because proper spacing 92 type Writer struct { 94 output io.Writer 110 func (b *Writer) addLine() { b.lines = append(b.lines, []cell{}) [all...] |
/prebuilts/go/darwin-x86/src/bufio/ |
bufio.go | 5 // Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer 6 // object, creating another object (Reader or Writer) that also implements 461 func (b *Reader) WriteTo(w io.Writer) (n int64, err error) { 500 var errNegativeWrite = errors.New("bufio: writer returned negative count from Write") 502 // writeBuf writes the Reader's buffer to the writer. 503 func (b *Reader) writeBuf(w io.Writer) (int64, error) { 514 // Writer implements buffering for an io.Writer object. 515 // If an error occurs writing to a Writer, no more data will be 519 // the underlying io.Writer [all...] |
/prebuilts/go/linux-x86/src/bufio/ |
bufio.go | 5 // Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer 6 // object, creating another object (Reader or Writer) that also implements 461 func (b *Reader) WriteTo(w io.Writer) (n int64, err error) { 500 var errNegativeWrite = errors.New("bufio: writer returned negative count from Write") 502 // writeBuf writes the Reader's buffer to the writer. 503 func (b *Reader) writeBuf(w io.Writer) (int64, error) { 514 // Writer implements buffering for an io.Writer object. 515 // If an error occurs writing to a Writer, no more data will be 519 // the underlying io.Writer [all...] |
/external/compiler-rt/lib/profile/ |
InstrProfilingWriter.c | 31 /* The buffer writer is reponsponsible in keeping writer state 204 static int writeValueProfData(WriterCallback Writer, void *WriterCtx, 214 BufferIO = lprofCreateBufferIO(Writer, WriterCtx); 228 COMPILER_RT_VISIBILITY int lprofWriteData(WriterCallback Writer, 238 return lprofWriteDataImpl(Writer, WriterCtx, DataBegin, DataEnd, 244 lprofWriteDataImpl(WriterCallback Writer, void *WriterCtx, 276 if (Writer(IOVec, sizeof(IOVec) / sizeof(*IOVec), &WriterCtx)) 279 return writeValueProfData(Writer, WriterCtx, VPDataReader, DataBegin,
|
/packages/apps/Camera2/src/com/android/camera/util/ |
CaptureDataSerializer.java | 37 import java.io.Writer; 48 public void write(Writer writer) throws IOException; 58 StringWriter writer = new StringWriter(); local 59 dumpMetadata(title, metadata, writer); 60 return writer.toString(); 70 FileWriter writer = new FileWriter(file, true); local 72 dumpMetadata(title, (CaptureRequest) metadata, writer); 74 dumpMetadata(title, (CaptureResult) metadata, writer); 76 writer.close() [all...] |
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
misctest.cpp | 23 #include "rapidjson/writer.h"
761 template <typename Writer>
764 Writer writer(sb);
768 writer.WriteInt(randval[j]);
774 template <typename Writer>
776 Writer writer;
local 782 writer.Reset(ss);
784 writer.WriteInt(randval[j]); 813 Writer writer; local 842 Writer writer; local 880 Writer writer; local [all...] |
/frameworks/av/media/libnbaio/include/ |
NBLog.h | 37 class Writer; 161 friend class Writer; 208 // FIXME Timeline was intended to wrap Writer and Reader, but isn't actually used yet. 223 friend class Writer; 234 // Writer is thread-safe with respect to Reader, but not with respect to multiple threads 235 // calling Writer methods. If you need multi-thread safety for writing, use LockedWriter. 236 class Writer : public RefBase { 238 Writer(); // dummy nop implementation without shared memory 242 Writer(void *shared, size_t size); 243 Writer(const sp<IMemory>& iMemory, size_t size) [all...] |
/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/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
JSONWriter.java | 4 import java.io.Writer; 89 * The writer that will receive the output. 91 protected Writer writer; field in class:JSONWriter 96 public JSONWriter(Writer w) { 101 this.writer = w; 117 this.writer.write(','); 119 this.writer.write(s); 165 this.writer.write(c); 208 this.writer.write(',') [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
CharSinkTester.java | 27 import java.io.Writer; 79 Writer writer = sink.openStream(); local 81 writer.write(data); 83 writer.close(); 90 Writer writer = sink.openBufferedStream(); local 92 writer.write(data); 94 writer.close();
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/xml/ |
XMLElement.java | 17 import java.io.Writer; 41 /** Writer for content output */ 42 protected final Writer writer; field in class:XMLElement 55 * @param writer 60 protected XMLElement(final Writer writer, final String name) { 61 this.writer = writer; 73 * in case of problems with the writer [all...] |