Searched refs:out (Results 126 - 150 of 393) sorted by relevance

1234567891011>>

/dalvik/tests/081-hot-exceptions/src/
H A DMain.java39 System.out.println("sum = " + sum);
40 System.out.println("exception = " + exception);
/dalvik/tests/053-wait-some/src/
H A DMain.java24 System.out.println("HEY: didn't throw on negative arg");
26 System.out.println("Caught expected exception on neg arg");
32 System.out.println("Waiting for " + delay + "ms...");
55 System.out.println(" Elapsed time was too short");
58 System.out.println(" Elapsed time was too long: "
65 System.out.println(" Wall clock elapsed "
/dalvik/tests/079-phantom/src/
H A DMain.java29 System.out.println("start");
35 System.out.println("done");
46 System.out.println("nulling 1");
51 System.out.println("nulling 2");
56 System.out.println("nulling 3");
61 System.out.println("nulling 4");
/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/dexgen/src/com/android/dexgen/dex/file/
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)));
H A DEncodedField.java117 public void debugPrint(PrintWriter out, boolean verbose) { argument
119 out.println(toString());
133 public int encode(DexFile file, AnnotatedOutput out, argument
139 if (out.annotates()) {
140 out.annotate(0, String.format(" [%x] %s", dumpSeq,
142 out.annotate(Leb128Utils.unsignedLeb128Size(diff),
144 out.annotate(Leb128Utils.unsignedLeb128Size(accessFlags),
149 out.writeUnsignedLeb128(diff);
150 out.writeUnsignedLeb128(accessFlags);
H A DStringIdItem.java28 /** size of instances when written out to a file, in bytes */
99 public void writeTo(DexFile file, AnnotatedOutput out) { argument
102 if (out.annotates()) {
103 out.annotate(0, indexString() + ' ' + value.toQuoted(100));
104 out.annotate(4, " string_data_off: " + Hex.u4(dataOff));
107 out.writeInt(dataOff);
H A DTypeIdItem.java28 /** size of instances when written out to a file, in bytes */
60 public void writeTo(DexFile file, AnnotatedOutput out) { argument
65 if (out.annotates()) {
66 out.annotate(0, indexString() + ' ' + descriptor.toHuman());
67 out.annotate(4, " descriptor_idx: " + Hex.u4(idx));
70 out.writeInt(idx);
/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...]
H A DDalvInsnList.java122 * @param out {@code non-null;} where to write to
124 public void writeTo(AnnotatedOutput out) { argument
125 int startCursor = out.getCursor();
128 if (out.annotates()) {
129 boolean verbose = out.isVerbose();
137 s = insn.listingString(" ", out.getAnnotationWidth(),
144 out.annotate(codeBytes, s);
146 out.annotate(codeBytes, "");
154 insn.writeTo(out);
162 int written = (out
224 debugPrint(Writer out, String prefix, boolean verbose) argument
258 debugPrint(OutputStream out, String prefix, boolean verbose) argument
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
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);
H A DTypeListItem.java91 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
95 if (out.annotates()) {
96 out.annotate(0, offsetString() + " type_list");
97 out.annotate(HEADER_SIZE, " size: " + Hex.u4(sz));
101 out.annotate(ELEMENT_SIZE,
106 out.writeInt(sz);
109 out.writeShort(typeIds.indexOf(list.getType(i)));
H A DEncodedField.java116 public void debugPrint(PrintWriter out, boolean verbose) { argument
118 out.println(toString());
132 public int encode(DexFile file, AnnotatedOutput out, argument
138 if (out.annotates()) {
139 out.annotate(0, String.format(" [%x] %s", dumpSeq,
141 out.annotate(Leb128.unsignedLeb128Size(diff),
143 out.annotate(Leb128.unsignedLeb128Size(accessFlags),
148 out.writeUleb128(diff);
149 out.writeUleb128(accessFlags);
H A DStringIdItem.java97 public void writeTo(DexFile file, AnnotatedOutput out) { argument
100 if (out.annotates()) {
101 out.annotate(0, indexString() + ' ' + value.toQuoted(100));
102 out.annotate(4, " string_data_off: " + Hex.u4(dataOff));
105 out.writeInt(dataOff);
/dalvik/tests/044-proxy/src/
H A DBasicTest.java56 System.out.println("Didn't get expected exception");
58 System.out.println("Got expected ioobe");
62 System.out.println("Didn't get expected exception");
64 System.out.println("Got expected ie");
71 System.out.println("");
73 System.out.println("Proxy methods: " + Arrays.deepToString(methods));
75 System.out.println("Decl annos: " + Arrays.deepToString(meth.getDeclaredAnnotations()));
77 System.out.println("Param annos (" + paramAnnos.length + ") : "
80 System.out.println("Proxy fields: " + Arrays.deepToString(fields));
97 //System.out
[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...]
H A DDalvInsnList.java122 * @param out {@code non-null;} where to write to
124 public void writeTo(AnnotatedOutput out) { argument
125 int startCursor = out.getCursor();
128 if (out.annotates()) {
129 boolean verbose = out.isVerbose();
137 s = insn.listingString(" ", out.getAnnotationWidth(),
144 out.annotate(codeBytes, s);
146 out.annotate(codeBytes, "");
154 insn.writeTo(out);
162 int written = (out
224 debugPrint(Writer out, String prefix, boolean verbose) argument
258 debugPrint(OutputStream out, String prefix, boolean verbose) argument
[all...]

Completed in 932 milliseconds

1234567891011>>