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

1234567891011>>

/dalvik/tests/084-class-init/src/
H A DMain.java33 System.out.println(PartialInit.FIELD0);
36 System.out.println("Got expected EIIE for FIELD0");
40 System.out.println(PartialInit.FIELD0);
43 System.out.println("Got expected NCDFE for FIELD0");
46 System.out.println(PartialInit.FIELD1);
49 System.out.println("Got expected NCDFE for FIELD1");
72 System.out.println("Fields (main thread): " +
91 System.out.println("Fields (child thread): " +
/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.java40 @Override public void encode(DecodedInstruction insn, CodeOutput out) {
41 out.write(insn.getOpcodeUnit());
55 @Override public void encode(DecodedInstruction insn, CodeOutput out) {
56 out.write(insn.getOpcodeUnit());
72 @Override public void encode(DecodedInstruction insn, CodeOutput out) {
73 out.write(
91 @Override public void encode(DecodedInstruction insn, CodeOutput out) {
92 out.write(
109 @Override public void encode(DecodedInstruction insn, CodeOutput out) {
110 out
763 encode(DecodedInstruction insn, CodeOutput out) argument
822 encodeRegisterList(DecodedInstruction insn, CodeOutput out) argument
850 encodeRegisterRange(DecodedInstruction insn, CodeOutput out) argument
[all...]
/dalvik/dx/src/com/android/dx/dex/
H A DTableOfContents.java31 * TODO: factor out ID constants.
168 public void writeHeader(DexBuffer.Section out) throws IOException { argument
169 out.write(DexFormat.apiToMagic(DexFormat.API_NO_EXTENDED_OPCODES).getBytes("UTF-8"));
170 out.writeInt(checksum);
171 out.write(signature);
172 out.writeInt(fileSize);
173 out.writeInt(SizeOf.HEADER_ITEM);
174 out.writeInt(DexFormat.ENDIAN_TAG);
175 out.writeInt(linkSize);
176 out
194 writeMap(DexBuffer.Section out) argument
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DValueEncoder.java44 * Handler for writing out {@code encoded_values} and parts
100 private final AnnotatedOutput out; field in class:ValueEncoder
106 * @param out {@code non-null;} output stream to write to
108 public ValueEncoder(DexFile file, AnnotatedOutput out) { argument
113 if (out == null) {
114 throw new NullPointerException("out == null");
118 this.out = out;
122 * Writes out the encoded form of the given constant.
182 out
[all...]
H A DClassDataItem.java192 * Prints out the contents of this instance, in a debugging-friendly
195 * @param out {@code non-null;} where to output to
198 public void debugPrint(Writer out, boolean verbose) { argument
199 PrintWriter pw = Writers.printWriterFor(out);
327 ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput();
329 encodeOutput(addedTo.getFile(), out);
330 encodedForm = out.toByteArray();
335 * Writes out the encoded form of this instance.
338 * @param out {@code non-null;} where to write to
340 private void encodeOutput(DexFile file, AnnotatedOutput out) { argument
372 encodeSize(DexFile file, AnnotatedOutput out, String label, int size) argument
392 encodeList(DexFile file, AnnotatedOutput out, String label, ArrayList<? extends EncodedMember> list) argument
412 writeTo0(DexFile file, AnnotatedOutput out) argument
[all...]
H A DDebugInfoItem.java95 * @param out {@code non-null;} where to annotate to
98 public void annotateTo(DexFile file, AnnotatedOutput out, String prefix) { argument
99 encode(file, prefix, null, out, false);
105 * @param out {@code non-null;} where to dump
108 public void debugPrint(PrintWriter out, String prefix) { argument
109 encode(null, prefix, out, null, false);
114 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
115 if (out.annotates()) {
121 out.annotate(offsetString() + " debug info");
122 encode(file, null, null, out, tru
140 encode(DexFile file, String prefix, PrintWriter debugPrint, AnnotatedOutput out, boolean consume) argument
171 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.writeUleb128(diff);
150 out.writeUleb128(accessFlags);
/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);
/dalvik/dx/src/com/android/dx/dex/code/
H A DInsnFormat.java171 * @param out {@code non-null;} the output destination to write to
174 public abstract void writeTo(AnnotatedOutput out, DalvInsn insn); argument
486 throw new IllegalArgumentException("arg out of range 0..255");
492 throw new IllegalArgumentException("opcode out of range 0..255");
499 * Helper method to get an extended (16-bit) opcode out of an
511 throw new IllegalArgumentException("opcode out of range 0..65535");
526 throw new IllegalArgumentException("low out of range 0..255");
530 throw new IllegalArgumentException("high out of range 0..255");
547 throw new IllegalArgumentException("n0 out of range 0..15");
551 throw new IllegalArgumentException("n1 out o
590 write(AnnotatedOutput out, short c0) argument
601 write(AnnotatedOutput out, short c0, short c1) argument
614 write(AnnotatedOutput out, short c0, short c1, short c2) argument
630 write(AnnotatedOutput out, short c0, short c1, short c2, short c3) argument
648 write(AnnotatedOutput out, short c0, short c1, short c2, short c3, short c4) argument
666 write(AnnotatedOutput out, short c0, int c1c2) argument
680 write(AnnotatedOutput out, short c0, int c1c2, short c3) argument
696 write(AnnotatedOutput out, short c0, int c1c2, short c3, short c4) argument
710 write(AnnotatedOutput out, short c0, long c1c2c3c4) argument
[all...]
H A DDalvInsnList.java123 * @param out {@code non-null;} where to write to
125 public void writeTo(AnnotatedOutput out) { argument
126 int startCursor = out.getCursor();
129 if (out.annotates()) {
130 boolean verbose = out.isVerbose();
138 s = insn.listingString(" ", out.getAnnotationWidth(),
145 out.annotate(codeBytes, s);
147 out.annotate(codeBytes, "");
155 insn.writeTo(out);
163 int written = (out
225 debugPrint(Writer out, String prefix, boolean verbose) argument
259 debugPrint(OutputStream out, String prefix, boolean verbose) argument
[all...]
/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 366 milliseconds

1234567891011>>