HomeSort by relevance Sort by last modified time
    Searched full:writer (Results 76 - 100 of 2654) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
EncodedValueWriter.java 32 package org.jf.dexlib2.writer;
44 @Nonnull private final DexDataWriter writer; field in class:EncodedValueWriter
52 @Nonnull DexDataWriter writer,
58 this.writer = writer;
70 writer.writeEncodedValueHeader(ValueType.ANNOTATION, 0);
71 writer.writeUleb128(typeSection.getItemIndex(annotationType));
72 writer.writeUleb128(elements.size());
74 writer.writeUleb128(stringSection.getItemIndex(annotationSection.getElementName(element)));
80 writer.writeEncodedValueHeader(ValueType.ARRAY, 0)
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
DeferredOutputStream.java 1 package org.jf.dexlib2.writer.io;
  /external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
AnnotationFormatter.java 41 public static void writeTo(IndentingWriter writer,
46 writer.write('\n');
50 writeTo(writer, annotation);
54 public static void writeTo(IndentingWriter writer, Annotation annotation) throws IOException {
55 writer.write(".annotation ");
56 writer.write(AnnotationVisibility.getVisibility(annotation.getVisibility()));
57 writer.write(' ');
58 writer.write(annotation.getType());
59 writer.write('\n');
61 AnnotationEncodedValueAdaptor.writeElementsTo(writer, annotation.getElements())
    [all...]
MethodDefinition.java 135 public static void writeEmptyMethodTo(IndentingWriter writer, Method method,
137 writer.write(".method ");
138 writeAccessFlags(writer, method.getAccessFlags());
139 writer.write(method.getName());
140 writer.write("(");
143 writer.write(parameter.getType());
145 writer.write(")");
146 writer.write(method.getReturnType());
147 writer.write('\n');
149 writer.indent(4)
    [all...]
  /external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/
ArrayDataMethodItem.java 44 public boolean writeTo(IndentingWriter writer) throws IOException {
47 writer.write(".array-data ");
48 writer.printSignedIntAsDec(instruction.getElementWidth());
49 writer.write('\n');
51 writer.indent(4);
66 LongRenderer.writeSignedIntOrLongTo(writer, number.longValue());
67 writer.write(suffix);
69 writeResourceId(writer, number.intValue());
70 writer.write("\n");
72 writer.deindent(4)
    [all...]
  /cts/common/host-side/xml-plan-generator/src/com/android/compatibility/common/xmlgenerator/
XmlPlanGenerator.java 78 PrintWriter writer = null; local
80 writer = new PrintWriter(out);
81 writer.println("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
82 writeTestPackage(writer);
84 if (writer != null) {
85 writer.close();
90 private void writeTestPackage(PrintWriter writer) {
91 writer.append("<TestPackage");
93 writer.append(" appNameSpace=\"").append(mAppNameSpace).append("\"");
96 writer.append(" appPackageName=\"").append(mAppPackageName).append("\"")
    [all...]
  /external/chromium_org/sync/syncable/
syncable_base_write_transaction.cc 13 WriterTag writer,
15 : BaseTransaction(location, name, writer, directory) {
write_transaction_info.cc 15 WriterTag writer,
19 writer(writer),
23 : id(-1), writer(INVALID) {}
32 dict->SetString("writer", WriterTagToString(writer));
  /external/smali/baksmali/src/main/java/org/jf/baksmali/Renderers/
IntegerRenderer.java 36 public static void writeTo(IndentingWriter writer, int val) throws IOException {
38 writer.write("-0x");
39 writer.printUnsignedLongAsHex(-((long) val));
41 writer.write("0x");
42 writer.printUnsignedLongAsHex(val);
46 public static void writeUnsignedTo(IndentingWriter writer, int val) throws IOException {
47 writer.write("0x");
48 writer.printUnsignedLongAsHex(val & 0xFFFFFFFFL);
  /external/chromium_org/content/browser/fileapi/
local_file_stream_writer_unittest.cc 48 int WriteStringToWriter(LocalFileStreamWriter* writer,
56 int result = writer->Write(
102 scoped_ptr<LocalFileStreamWriter> writer(CreateWriter(path, 0));
103 EXPECT_EQ(net::OK, WriteStringToWriter(writer.get(), "foo"));
104 EXPECT_EQ(net::OK, WriteStringToWriter(writer.get(), "bar"));
105 writer.reset();
113 scoped_ptr<LocalFileStreamWriter> writer(CreateWriter(path, 2));
114 EXPECT_EQ(net::OK, WriteStringToWriter(writer.get(), "xxx"));
115 writer.reset();
123 scoped_ptr<LocalFileStreamWriter> writer(CreateWriter(path, 6))
    [all...]
  /external/chromium_org/third_party/skia/tests/
PipeTest.cpp 27 SkGPipeWriter writer; local
28 SkCanvas* pipeCanvas = writer.startRecording(&pc, SkGPipeWriter::kCrossProcess_Flag);
29 writer.endRecording();
50 SkGPipeWriter writer; local
51 SkCanvas* pipeCanvas = writer.startRecording(&pipeController);
53 writer.endRecording();
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
DiskCache.java 16 public interface Writer {
21 * @param os The output stream the Writer should write to.
35 * Write to a key in the cache. {@link Writer} is used so that the cache implementation
39 * @param writer An interface that will write data given an OutputStream for the key
41 public void put(Key key, Writer writer);
  /external/skia/tests/
PipeTest.cpp 27 SkGPipeWriter writer; local
28 SkCanvas* pipeCanvas = writer.startRecording(&pc, SkGPipeWriter::kCrossProcess_Flag);
29 writer.endRecording();
50 SkGPipeWriter writer; local
51 SkCanvas* pipeCanvas = writer.startRecording(&pipeController);
53 writer.endRecording();
  /external/fonttools/Lib/fontTools/ttLib/tables/
G_M_A_P_.py 38 def toXML(self, writer, ttFont):
39 writer.begintag("GMAPRecord")
40 writer.newline()
41 writer.simpletag("UV", value=self.UV)
42 writer.newline()
43 writer.simpletag("cid", value=self.cid)
44 writer.newline()
45 writer.simpletag("gid", value=self.gid)
46 writer.newline()
47 writer.simpletag("glyphletGid", value=self.gid
    [all...]
  /frameworks/base/core/java/android/content/
CursorLoader.java 231 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) {
232 super.dump(prefix, fd, writer, args);
233 writer.print(prefix); writer.print("mUri="); writer.println(mUri);
234 writer.print(prefix); writer.print("mProjection=");
235 writer.println(Arrays.toString(mProjection));
236 writer.print(prefix); writer.print("mSelection="); writer.println(mSelection)
    [all...]
  /frameworks/support/v4/java/android/support/v4/content/
CursorLoader.java 195 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) {
196 super.dump(prefix, fd, writer, args);
197 writer.print(prefix); writer.print("mUri="); writer.println(mUri);
198 writer.print(prefix); writer.print("mProjection=");
199 writer.println(Arrays.toString(mProjection));
200 writer.print(prefix); writer.print("mSelection="); writer.println(mSelection)
    [all...]
  /libcore/luni/src/main/java/java/io/
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...]
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/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
IOExtensions.cs 51 public static void close( this TextWriter writer )
53 writer.Close();
57 public static void print<T>( this TextWriter writer, T value )
59 writer.Write( value );
63 public static void println( this TextWriter writer )
65 writer.WriteLine();
69 public static void println<T>( this TextWriter writer, T value )
71 writer.WriteLine( value );
75 public static void write<T>( this TextWriter writer, T value )
77 writer.Write( value )
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
IOExtensions.cs 49 public static void close( this TextWriter writer )
51 writer.Close();
55 public static void print<T>( this TextWriter writer, T value )
57 writer.Write( value );
61 public static void println( this TextWriter writer )
63 writer.WriteLine();
67 public static void println<T>( this TextWriter writer, T value )
69 writer.WriteLine( value );
73 public static void write<T>( this TextWriter writer, T value )
75 writer.Write( value )
    [all...]
  /external/chromium_org/dbus/
property.cc 97 MessageWriter writer(&method_call);
98 writer.AppendString(interface());
99 writer.AppendString(property->name());
127 MessageWriter writer(&method_call);
128 writer.AppendString(interface());
152 MessageWriter writer(&method_call);
153 writer.AppendString(interface());
154 writer.AppendString(property->name());
155 property->AppendSetValueToWriter(&writer);
228 void Property<uint8>::AppendSetValueToWriter(MessageWriter* writer) {
    [all...]
  /external/smack/src/org/jivesoftware/smack/util/
ObservableWriter.java 27 * An ObservableWriter is a wrapper on a Writer that notifies to its listeners when
32 public class ObservableWriter extends Writer {
34 Writer wrappedWriter = null;
37 public ObservableWriter(Writer wrappedWriter) {
93 * Adds a writer listener to this writer that will be notified when
96 * @param writerListener a writer listener.
110 * Removes a writer listener from this writer.
112 * @param writerListener a writer listener
    [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) {
137 Writer.AddCXXCtorInitializers(CD->CtorInitializers,
139 Writer.AddStmt(FD->getBody());
151 Writer.AddTypeSourceInfo(DD->getTypeSourceInfo(), Record);
160 Writer.AddStmt(FD->getBody());
165 Writer.AddDeclRef(cast_or_null<Decl>(D->getDeclContext()), Record);
166 Writer.AddDeclRef(cast_or_null<Decl>(D->getLexicalDeclContext()), Record)
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/
SeqParameterSet.java 311 CAVLCWriter writer = new CAVLCWriter(out); local
313 writer.writeNBit(profile_idc, 8, "SPS: profile_idc");
314 writer.writeBool(constraint_set_0_flag, "SPS: constraint_set_0_flag");
315 writer.writeBool(constraint_set_1_flag, "SPS: constraint_set_1_flag");
316 writer.writeBool(constraint_set_2_flag, "SPS: constraint_set_2_flag");
317 writer.writeBool(constraint_set_3_flag, "SPS: constraint_set_3_flag");
318 writer.writeNBit(0, 4, "SPS: reserved");
319 writer.writeNBit(level_idc, 8, "SPS: level_idc");
320 writer.writeUE(seq_parameter_set_id, "SPS: seq_parameter_set_id");
324 writer.writeUE(chroma_format_idc.getId(), "SPS: chroma_format_idc")
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
CharArrayWriterTest.java 38 assertEquals("Created incorrect writer", 0, cw.size());
46 assertEquals("Created incorrect writer", 0, cw.size());
115 assertEquals("Writer failed to write correct chars", "World",
138 assertEquals("Writer failed to write char", 'T', cr.read());
149 assertEquals("Writer failed to write correct chars", "World",
169 * java.io.CharArrayWriter#writeTo(java.io.Writer)
175 assertEquals("Writer failed to write correct chars", "HelloWorld", sw
203 CharArrayWriter writer = new CharArrayWriter(10); local
204 writer.append(testChar);
205 writer.flush()
215 CharArrayWriter writer = new CharArrayWriter(10); local
227 CharArrayWriter writer = new CharArrayWriter(10); local
    [all...]

Completed in 1920 milliseconds

1 2 34 5 6 7 8 91011>>