Searched refs:out (Results 26 - 50 of 221) sorted by relevance

123456789

/dalvik/dx/src/com/android/dx/util/
H A DIndentingWriter.java51 * @param out {@code non-null;} writer to send final output to
56 public IndentingWriter(Writer out, int width, String prefix) { argument
57 super(out);
59 if (out == null) {
60 throw new NullPointerException("out == null");
81 * @param out {@code non-null;} writer to send final output to
85 public IndentingWriter(Writer out, int width) { argument
86 this(out, width, "");
106 out.write('\n');
116 out
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DValueEncoder.java45 * Handler for writing out {@code encoded_values} and parts
101 private final AnnotatedOutput out; field in class:ValueEncoder
107 * @param out {@code non-null;} output stream to write to
109 public ValueEncoder(DexFile file, AnnotatedOutput out) { argument
114 if (out == null) {
115 throw new NullPointerException("out == null");
119 this.out = out;
123 * Writes out the encoded form of the given constant.
137 EncodedValueCodec.writeSignedIntegralValue(out, typ
[all...]
H A DAnnotationItem.java155 ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput();
156 ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out);
159 encodedForm = out.toByteArray();
170 * @param out {@code non-null;} where to output to
173 public void annotateTo(AnnotatedOutput out, String prefix) { argument
174 out.annotate(0, prefix + "visibility: " +
176 out.annotate(0, prefix + "type: " + annotation.getType().toHuman());
182 out.annotate(0, prefix + name.toHuman() + ": " +
189 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
190 boolean annotates = out
[all...]
H A DAnnotationSetRefItem.java71 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
74 if (out.annotates()) {
75 out.annotate(4, " annotations_off: " + Hex.u4(annotationsOff));
78 out.writeInt(annotationsOff);
H A DAnnotationsDirectoryItem.java288 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
289 boolean annotates = out.annotates();
296 out.annotate(0, offsetString() + " annotations directory");
297 out.annotate(4, " class_annotations_off: " + Hex.u4(classOff));
298 out.annotate(4, " fields_size: " +
300 out.annotate(4, " methods_size: " +
302 out.annotate(4, " parameters_size: " +
306 out.writeInt(classOff);
307 out.writeInt(fieldsSize);
308 out
363 debugPrint(PrintWriter out) argument
[all...]
H A DClassDataItem.java191 * Prints out the contents of this instance, in a debugging-friendly
194 * @param out {@code non-null;} where to output to
197 public void debugPrint(Writer out, boolean verbose) { argument
198 PrintWriter pw = Writers.printWriterFor(out);
326 ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput();
328 encodeOutput(addedTo.getFile(), out);
329 encodedForm = out.toByteArray();
334 * Writes out the encoded form of this instance.
337 * @param out {@code non-null;} where to write to
339 private void encodeOutput(DexFile file, AnnotatedOutput out) { argument
371 encodeSize(DexFile file, AnnotatedOutput out, String label, int size) argument
391 encodeList(DexFile file, AnnotatedOutput out, String label, ArrayList<? extends EncodedMember> list) argument
411 writeTo0(DexFile file, AnnotatedOutput out) argument
[all...]
H A DDebugInfoItem.java94 * @param out {@code non-null;} where to annotate to
97 public void annotateTo(DexFile file, AnnotatedOutput out, String prefix) { argument
98 encode(file, prefix, null, out, false);
104 * @param out {@code non-null;} where to dump
107 public void debugPrint(PrintWriter out, String prefix) { argument
108 encode(null, prefix, out, null, false);
113 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
114 if (out.annotates()) {
120 out.annotate(offsetString() + " debug info");
121 encode(file, null, null, out, tru
139 encode(DexFile file, String prefix, PrintWriter debugPrint, AnnotatedOutput out, boolean consume) argument
170 encode0(DexFile file, String prefix, PrintWriter debugPrint, AnnotatedOutput out, boolean consume) argument
[all...]
H A DFieldAnnotationStruct.java85 public void writeTo(DexFile file, AnnotatedOutput out) { argument
89 if (out.annotates()) {
90 out.annotate(0, " " + field.toHuman());
91 out.annotate(4, " field_idx: " + Hex.u4(fieldIdx));
92 out.annotate(4, " annotations_off: " +
96 out.writeInt(fieldIdx);
97 out.writeInt(annotationsOff);
H A DMethodAnnotationStruct.java85 public void writeTo(DexFile file, AnnotatedOutput out) { argument
89 if (out.annotates()) {
90 out.annotate(0, " " + method.toHuman());
91 out.annotate(4, " method_idx: " + Hex.u4(methodIdx));
92 out.annotate(4, " annotations_off: " +
96 out.writeInt(methodIdx);
97 out.writeInt(annotationsOff);
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DAnnotationItem.java155 ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput();
156 ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out);
159 encodedForm = out.toByteArray();
170 * @param out {@code non-null;} where to output to
173 public void annotateTo(AnnotatedOutput out, String prefix) { argument
174 out.annotate(0, prefix + "visibility: " +
176 out.annotate(0, prefix + "type: " + annotation.getType().toHuman());
182 out.annotate(0, prefix + name.toHuman() + ": " +
189 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
190 boolean annotates = out
[all...]
H A DAnnotationSetRefItem.java71 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
74 if (out.annotates()) {
75 out.annotate(4, " annotations_off: " + Hex.u4(annotationsOff));
78 out.writeInt(annotationsOff);
H A DAnnotationsDirectoryItem.java284 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
285 boolean annotates = out.annotates();
292 out.annotate(0, offsetString() + " annotations directory");
293 out.annotate(4, " class_annotations_off: " + Hex.u4(classOff));
294 out.annotate(4, " fields_size: " +
296 out.annotate(4, " methods_size: " +
298 out.annotate(4, " parameters_size: " +
302 out.writeInt(classOff);
303 out.writeInt(fieldsSize);
304 out
359 debugPrint(PrintWriter out) argument
[all...]
H A DEncodedArrayItem.java104 ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput();
105 ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out);
108 encodedForm = out.toByteArray();
114 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
115 boolean annotates = out.annotates();
118 out.annotate(0, offsetString() + " encoded array");
125 ValueEncoder encoder = new ValueEncoder(file, out);
128 out.write(encodedForm);
H A DClassDataItem.java195 * Prints out the contents of this instance, in a debugging-friendly
198 * @param out {@code non-null;} where to output to
201 public void debugPrint(Writer out, boolean verbose) { argument
202 PrintWriter pw = Writers.printWriterFor(out);
330 ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput();
332 encodeOutput(addedTo.getFile(), out);
333 encodedForm = out.toByteArray();
338 * Writes out the encoded form of this instance.
341 * @param out {@code non-null;} where to write to
343 private void encodeOutput(DexFile file, AnnotatedOutput out) { argument
375 encodeSize(DexFile file, AnnotatedOutput out, String label, int size) argument
395 encodeList(DexFile file, AnnotatedOutput out, String label, ArrayList<? extends EncodedMember> list) argument
415 writeTo0(DexFile file, AnnotatedOutput out) argument
[all...]
H A DDebugInfoItem.java97 * @param out {@code non-null;} where to annotate to
100 public void annotateTo(DexFile file, AnnotatedOutput out, String prefix) { argument
101 encode(file, prefix, null, out, false);
107 * @param out {@code non-null;} where to dump
110 public void debugPrint(PrintWriter out, String prefix) { argument
111 encode(null, prefix, out, null, false);
116 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
117 if (out.annotates()) {
123 out.annotate(offsetString() + " debug info");
124 encode(file, null, null, out, tru
142 encode(DexFile file, String prefix, PrintWriter debugPrint, AnnotatedOutput out, boolean consume) argument
173 encode0(DexFile file, String prefix, PrintWriter debugPrint, AnnotatedOutput out, boolean consume) argument
[all...]
H A DFieldAnnotationStruct.java85 public void writeTo(DexFile file, AnnotatedOutput out) { argument
89 if (out.annotates()) {
90 out.annotate(0, " " + field.toHuman());
91 out.annotate(4, " field_idx: " + Hex.u4(fieldIdx));
92 out.annotate(4, " annotations_off: " +
96 out.writeInt(fieldIdx);
97 out.writeInt(annotationsOff);
H A DMethodAnnotationStruct.java85 public void writeTo(DexFile file, AnnotatedOutput out) { argument
89 if (out.annotates()) {
90 out.annotate(0, " " + method.toHuman());
91 out.annotate(4, " method_idx: " + Hex.u4(methodIdx));
92 out.annotate(4, " annotations_off: " +
96 out.writeInt(methodIdx);
97 out.writeInt(annotationsOff);
H A DTypeListItem.java92 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
96 if (out.annotates()) {
97 out.annotate(0, offsetString() + " type_list");
98 out.annotate(HEADER_SIZE, " size: " + Hex.u4(sz));
102 out.annotate(ELEMENT_SIZE,
107 out.writeInt(sz);
110 out.writeShort(typeIds.indexOf(list.getType(i)));
/dalvik/dx/tests/116-leb128/
H A Drun23 java -classpath $dxjar:. junit.textui.TestRunner com.android.dx.util.Leb128UtilsTest > unit-out.txt
28 cat unit-out.txt
/dalvik/dx/tests/117-modified-utf8/
H A Drun23 java -classpath $dxjar:. junit.textui.TestRunner com.android.dx.util.Mutf8Test > unit-out.txt
28 cat unit-out.txt
/dalvik/dx/tests/127-merge-stress/
H A Drun23 dexes=`find $ANDROID_BUILD_TOP/out -name '*.dex' -printf '%p '`
24 dexesinjars=`find $ANDROID_BUILD_TOP/libcore $ANDROID_BUILD_TOP/out -name '*.jar' -exec sh -c 'unzip -l "{}" 2>/dev/null | grep -q classes.dex ' \; -printf '%p '`
25 dexesinapks=`find $ANDROID_BUILD_TOP/libcore $ANDROID_BUILD_TOP/out -name '*.apk' -exec sh -c 'unzip -l "{}" 2>/dev/null | grep -q classes.dex ' \; -printf '%p '`
/dalvik/tools/dexdeps/src/com/android/dexdeps/
H A DOutput.java31 private static final PrintStream out = System.out; field in class:Output
36 out.println("File: " + fileName);
40 out.println(IN0 + "<external file=\"" + fileName + "\">");
42 out.println(IN0 + "<external>");
55 out.println();
63 out.println("</external>");
101 out.println("Classes:");
107 out.println(descriptorToDot(ref.getName()));
115 out
[all...]
/dalvik/dx/src/com/android/dx/io/instructions/
H A DInstructionCodec.java39 @Override public void encode(DecodedInstruction insn, CodeOutput out) {
40 out.write(insn.getOpcodeUnit());
54 @Override public void encode(DecodedInstruction insn, CodeOutput out) {
55 out.write(insn.getOpcodeUnit());
71 @Override public void encode(DecodedInstruction insn, CodeOutput out) {
72 out.write(
90 @Override public void encode(DecodedInstruction insn, CodeOutput out) {
91 out.write(
108 @Override public void encode(DecodedInstruction insn, CodeOutput out) {
109 out
762 encode(DecodedInstruction insn, CodeOutput out) argument
821 encodeRegisterList(DecodedInstruction insn, CodeOutput out) argument
849 encodeRegisterRange(DecodedInstruction insn, CodeOutput out) argument
[all...]
/dalvik/dx/src/com/android/dx/dex/code/
H A DInsnFormat.java170 * @param out {@code non-null;} the output destination to write to
173 public abstract void writeTo(AnnotatedOutput out, DalvInsn insn); argument
485 throw new IllegalArgumentException("arg out of range 0..255");
491 throw new IllegalArgumentException("opcode out of range 0..255");
498 * Helper method to get an extended (16-bit) opcode out of an
510 throw new IllegalArgumentException("opcode out of range 0..65535");
525 throw new IllegalArgumentException("low out of range 0..255");
529 throw new IllegalArgumentException("high out of range 0..255");
546 throw new IllegalArgumentException("n0 out of range 0..15");
550 throw new IllegalArgumentException("n1 out o
589 write(AnnotatedOutput out, short c0) argument
600 write(AnnotatedOutput out, short c0, short c1) argument
613 write(AnnotatedOutput out, short c0, short c1, short c2) argument
629 write(AnnotatedOutput out, short c0, short c1, short c2, short c3) argument
647 write(AnnotatedOutput out, short c0, short c1, short c2, short c3, short c4) argument
665 write(AnnotatedOutput out, short c0, int c1c2) argument
679 write(AnnotatedOutput out, short c0, int c1c2, short c3) argument
695 write(AnnotatedOutput out, short c0, int c1c2, short c3, short c4) argument
709 write(AnnotatedOutput out, short c0, long c1c2c3c4) argument
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DInsnFormat.java155 * @param out {@code non-null;} the output destination to write to
158 public abstract void writeTo(AnnotatedOutput out, DalvInsn insn); argument
406 throw new IllegalArgumentException("arg out of range 0..255");
412 throw new IllegalArgumentException("opcode out of range 0..255");
427 throw new IllegalArgumentException("low out of range 0..255");
431 throw new IllegalArgumentException("high out of range 0..255");
448 throw new IllegalArgumentException("n0 out of range 0..15");
452 throw new IllegalArgumentException("n1 out of range 0..15");
456 throw new IllegalArgumentException("n2 out of range 0..15");
460 throw new IllegalArgumentException("n3 out o
491 write(AnnotatedOutput out, short c0) argument
502 write(AnnotatedOutput out, short c0, short c1) argument
515 write(AnnotatedOutput out, short c0, short c1, short c2) argument
531 write(AnnotatedOutput out, short c0, short c1, short c2, short c3) argument
549 write(AnnotatedOutput out, short c0, short c1, short c2, short c3, short c4) argument
569 write(AnnotatedOutput out, short c0, short c1, short c2, short c3, short c4, short c5) argument
[all...]

Completed in 891 milliseconds

123456789