/external/llvm/unittests/DebugInfo/PDB/ |
MappedBlockStreamTest.cpp | 326 StreamWriter Writer(S); 327 EXPECT_NO_ERROR(Writer.writeInteger(u16[0])); 334 Writer.setOffset(0); 336 EXPECT_NO_ERROR(Writer.writeInteger(u32[0])); 343 Writer.setOffset(0); 345 EXPECT_NO_ERROR(Writer.writeEnum(Enum[0])); 352 Writer.setOffset(0); 354 EXPECT_NO_ERROR(Writer.writeZeroString(ZStr[0])); 362 Writer.setOffset(0); 364 EXPECT_NO_ERROR(Writer.writeFixedString(FStr[0])) [all...] |
/build/soong/cc/ |
androidmk.go | 55 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) (err error) { 88 func (library *libraryDecorator) androidMkWriteExportedFlags(w io.Writer) { 108 ret.Custom = func(w io.Writer, name, prefix, moduleDir string) error { 142 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error { 170 ret.Custom = func(w io.Writer, name, prefix, moduleDir string) error { 185 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error { 213 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error { 232 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error { 245 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error { 259 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error [all...] |
/art/compiler/debug/dwarf/ |
debug_info_entry_writer.h | 27 #include "debug/dwarf/writer.h" 34 * Writer for debug information entries (DIE). 45 class DebugInfoEntryWriter FINAL : private Writer<Vector> { 196 using Writer<Vector>::data; 197 using Writer<Vector>::size; 198 using Writer<Vector>::UpdateUint32; 204 : Writer<Vector>(&entries_),
|
debug_line_opcode_writer.h | 23 #include "debug/dwarf/writer.h" 28 // Writer for the .debug_line opcodes (DWARF-3). 29 // The writer is very light-weight, however it will do the following for you: 34 class DebugLineOpCodeWriter FINAL : private Writer<Vector> { 221 using Writer<Vector>::data; 227 : Writer<Vector>(&opcodes_),
|
/external/llvm/unittests/ProfileData/ |
SampleProfTest.cpp | 48 std::unique_ptr<SampleProfileWriter> Writer; 52 : Data(), OS(new raw_string_ostream(Data)), Writer(), Reader() {} 57 Writer = std::move(WriterOrErr.get()); 92 EC = Writer->write(Profiles); 95 Writer->getOutputStream().flush();
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
ClipStorage.java | 148 * Returns a writer. Callers must close the writer when finished. 150 private Writer createWriter(int slot) throws IOException { 152 return new Writer(file); 204 public static final class Writer implements Closeable { 209 private Writer(File file) throws IOException { 265 try(Writer writer = mClipStore.createWriter(mSlot)){ 268 writer.write(uri);
|
/build/soong/third_party/zip/ |
register.go | 15 // A Compressor returns a new compressing writer, writing to w. 18 // simultaneously, but each returned writer will be used only by 20 type Compressor func(w io.Writer) (io.WriteCloser, error) 31 func newFlateWriter(w io.Writer) io.WriteCloser { 32 fw, ok := flateWriterPool.Get().(*flate.Writer) 43 fw *flate.Writer 109 Store: func(w io.Writer) (io.WriteCloser, error) { return &nopCloser{w}, nil }, 110 Deflate: func(w io.Writer) (io.WriteCloser, error) { return newFlateWriter(w), nil },
|
/cts/libs/json/src/com/android/json/stream/ |
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...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
DalvInsnList.java | 29 import java.io.Writer; 224 public void debugPrint(Writer out, String prefix, boolean verbose) { 259 Writer w = new OutputStreamWriter(out);
|
/dalvik/dx/src/com/android/dx/dex/code/ |
DalvInsnList.java | 30 import java.io.Writer; 238 public void debugPrint(Writer out, String prefix, boolean verbose) { 273 Writer w = new OutputStreamWriter(out);
|
/external/testng/src/main/java/org/testng/reporters/ |
FileStringBuffer.java | 10 import java.io.Writer; 69 public void toWriter(Writer fw) { 71 throw new IllegalArgumentException("Writer (Argument 0 of FileStringBuffer#toWriter) should not be null"); 87 private static void copy(Reader input, Writer output)
|
/frameworks/base/core/java/com/android/internal/util/ |
LineBreakBufferedWriter.java | 20 import java.io.Writer; 24 * A writer that breaks up its output into chunks before writing to its out writer, 36 * out writer. Otherwise a StringBuilder would have been simpler to use. 46 * The chunk size (=maximum buffer size) to use for this writer. 52 * Index of the last newline character discovered in the buffer. The writer will try 63 * Create a new linebreak-aware buffered writer with the given output and buffer 65 * @param out The writer to write to. 68 public LineBreakBufferedWriter(Writer out, int bufferSize) { 73 * Create a new linebreak-aware buffered writer with the given output, buffe [all...] |
FastPrintWriter.java | 26 import java.io.Writer; 35 private static class DummyWriter extends Writer { 62 final private Writer mWriter; 72 * stream. By default, the new print writer does not automatically flush its 86 * stream. The parameter {@code autoFlush} determines if the print writer 105 * if the print writer automatically flushes its contents to the target stream 137 * writer. By default, the new print writer does not automatically flush its 138 * contents to the target writer when a newline is encountered. 141 * FastPrintWriter before sending data to the Writer. This means you must cal [all...] |
/prebuilts/go/darwin-x86/src/archive/zip/ |
register.go | 15 // A Compressor returns a new compressing writer, writing to w. 18 // simultaneously, but each returned writer will be used only by 20 type Compressor func(w io.Writer) (io.WriteCloser, error) 31 func newFlateWriter(w io.Writer) io.WriteCloser { 32 fw, ok := flateWriterPool.Get().(*flate.Writer) 43 fw *flate.Writer 109 Store: func(w io.Writer) (io.WriteCloser, error) { return &nopCloser{w}, nil }, 110 Deflate: func(w io.Writer) (io.WriteCloser, error) { return newFlateWriter(w), nil },
|
/prebuilts/go/darwin-x86/src/net/textproto/ |
textproto.go | 21 // Writer, to write dot-encoded text blocks. 23 // Conn, a convenient packaging of Reader, Writer, and Pipeline for use 54 // It consists of a Reader and Writer to manage I/O 60 Writer 69 Writer: Writer{W: bufio.NewWriter(conn)},
|
/prebuilts/go/linux-x86/src/archive/zip/ |
register.go | 15 // A Compressor returns a new compressing writer, writing to w. 18 // simultaneously, but each returned writer will be used only by 20 type Compressor func(w io.Writer) (io.WriteCloser, error) 31 func newFlateWriter(w io.Writer) io.WriteCloser { 32 fw, ok := flateWriterPool.Get().(*flate.Writer) 43 fw *flate.Writer 109 Store: func(w io.Writer) (io.WriteCloser, error) { return &nopCloser{w}, nil }, 110 Deflate: func(w io.Writer) (io.WriteCloser, error) { return newFlateWriter(w), nil },
|
/prebuilts/go/linux-x86/src/net/textproto/ |
textproto.go | 21 // Writer, to write dot-encoded text blocks. 23 // Conn, a convenient packaging of Reader, Writer, and Pipeline for use 54 // It consists of a Reader and Writer to manage I/O 60 Writer 69 Writer: Writer{W: bufio.NewWriter(conn)},
|
/cts/tools/vm-tests-tf/src/util/build/ |
JackBuildStep.java | 22 import java.io.Writer; 69 Writer argsOut = null;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/ |
PemWriter.java | 5 import java.io.Writer; 12 * A generic PEM writer, based on RFC 1421 27 public PemWriter(Writer out)
|
/external/clang/lib/AST/ |
InheritViz.cpp | 152 InheritanceHierarchyWriter Writer(Context, O); 153 Writer.WriteGraph(Self);
|
/external/compiler-rt/lib/profile/ |
InstrProfilingInternal.h | 43 * low level writer callback function. 92 * through the low level writer callback. 97 * callback by other high level writer methods such as buffered IO writer 98 * and profile data writer. */ 136 int lprofWriteData(WriterCallback Writer, void *WriterCtx, 138 int lprofWriteDataImpl(WriterCallback Writer, void *WriterCtx,
|
/external/guava/guava-tests/test/com/google/common/io/ |
CharSinkTest.java | 28 import java.io.Writer; 48 Writer writer = sink.openBufferedStream(); local 52 writer.write(STRING); 53 writer.close(); 102 // ensure writer was closed IF it was opened (depends on implementation whether or not it's
|
/external/llvm/bindings/go/llvm/ |
bitwriter.go | 39 // TODO(nsf): Figure out way how to make it work with io.Writer
|
/external/vogar/src/vogar/android/ |
AndroidProfiler.java | 42 Class<?> Writer = Class.forName(packageName + ".AsciiHprofWriter"); 51 write = Writer.getMethod("write", HprofData, OutputStream.class);
|
/frameworks/base/tools/preload/ |
WritePreloadedClassFile.java | 21 import java.io.Writer; 57 Writer out = new BufferedWriter(new OutputStreamWriter(
|