Searched refs:out (Results 101 - 125 of 400) sorted by relevance

1234567891011>>

/dalvik/dx/src/com/android/dx/dex/file/
H A DStringDataItem.java71 public void writeTo0(DexFile file, AnnotatedOutput out) { argument
75 if (out.annotates()) {
76 out.annotate(Leb128Utils.unsignedLeb128Size(utf16Size),
78 out.annotate(bytes.size() + 1, value.toQuoted());
81 out.writeUleb128(utf16Size);
82 out.write(bytes);
83 out.writeByte(0);
H A DMemberIdItem.java61 public final void writeTo(DexFile file, AnnotatedOutput out) { argument
69 if (out.annotates()) {
70 out.annotate(0, indexString() + ' ' + cst.toHuman());
71 out.annotate(2, " class_idx: " + Hex.u2(classIdx));
72 out.annotate(2, String.format(" %-10s %s", getTypoidName() + ':',
74 out.annotate(4, " name_idx: " + Hex.u4(nameIdx));
77 out.writeShort(classIdx);
78 out.writeShort(typoidIdx);
79 out.writeInt(nameIdx);
84 * this item, in order that it may be written out
[all...]
H A DAnnotationItem.java153 ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput();
154 ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out);
157 encodedForm = out.toByteArray();
168 * @param out {@code non-null;} where to output to
171 public void annotateTo(AnnotatedOutput out, String prefix) { argument
172 out.annotate(0, prefix + "visibility: " +
174 out.annotate(0, prefix + "type: " + annotation.getType().toHuman());
180 out.annotate(0, prefix + name.toHuman() + ": " +
187 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
188 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...]
/dalvik/tests/003-omnibus-opcodes/src/
H A DMain.java28 System.out.println("FAIL: assert doesn't work (specify '-ea')\n");
31 System.out.println("(assertions are enabled)");
40 System.out.println("Done!");
64 System.out.println("Caught: " + ve);
69 System.out.println("Caught (retry): " + ve);
75 System.out.println("Caught: " + ve);
77 /* UnresClass can cause desktop Java to freak out */
78 System.out.println("NOTE: UnresTest2 not available");
H A DUnresTest2.java28 System.out.println("UnresTest2...");
47 System.out.println("UnresTest2 done");
/dalvik/tests/061-out-of-memory/src/
H A DMain.java25 System.out.println("tests beginning");
29 System.out.println("tests succeeded");
39 System.out.println("Got expected huge-array OOM");
44 System.out.println("testOomeLarge beginning");
63 System.out.println("testOomeLarge succeeded");
67 * list afterwards. Even if we null out list when we're done, the conservative
99 System.out.println("testOomeSmall beginning");
107 System.out.println("testOomeSmall succeeded");
/dalvik/tests/067-preemptive-unpark/src/
H A DMain.java13 System.out.println("Test starting");
19 System.out.println("GC'ing");
23 System.out.println("Asking thread to park");
33 System.out.println("Test succeeded!");
35 System.out.println("Test failed.");
99 System.out.println("park()ed for " + elapsed + " msec");
102 System.out.println("park() returned quickly");
/dalvik/tests/088-monitor-verification/src/
H A DMain.java35 System.out.println("nestedMayThrow ok");
38 System.out.println("constantLock ok");
47 System.out.println("excessiveNesting ok");
50 System.out.println("notNested ok");
56 System.out.println("twoPath ok");
59 System.out.println("triplet ok");
69 System.out.println("recursiveSync ok");
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DMemberIdItem.java29 /** size of instances when written out to a file, in bytes */
63 public final void writeTo(DexFile file, AnnotatedOutput out) { argument
71 if (out.annotates()) {
72 out.annotate(0, indexString() + ' ' + cst.toHuman());
73 out.annotate(2, " class_idx: " + Hex.u2(classIdx));
74 out.annotate(2, String.format(" %-10s %s", getTypoidName() + ':',
76 out.annotate(4, " name_idx: " + Hex.u4(nameIdx));
79 out.writeShort(classIdx);
80 out.writeShort(typoidIdx);
81 out
[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.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);
/dalvik/dexgen/src/com/android/dexgen/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/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/tests/037-inherit/src/
H A DMain.java6 System.out.println(" " + i + ": " + magicArray[i].getSomeData());
12 System.out.print("magic is ");
13 System.out.println(magic.getSomeData());
/dalvik/tests/049-show-object/src/
H A DMain.java11 System.out.println("d is " + d);
16 System.out.println("class: " + foo.getClass());
19 System.out.println(i + ": " + foo[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/tests/025-access-controller/src/
H A DMain.java12 System.out.println("AccessControllerTest: got " + result);
/dalvik/dx/src/com/android/dx/io/
H A DDexIndexPrinter.java38 System.out.println("section " + Integer.toHexString(section.type)
49 System.out.println("string " + index + ": " + string);
57 System.out.println("type " + index + ": " + dexBuffer.strings().get(type));
65 System.out.println("proto " + index + ": " + protoId);
73 System.out.println("field " + index + ": " + fieldId);
81 System.out.println("methodId " + index + ": " + methodId);
88 System.out.println("No type lists");
94 System.out.print("Type list i=" + i + ", size=" + size + ", elements=");
96 System.out.print(" " + dexBuffer.typeNames().get((int) in.readShort()));
101 System.out
[all...]
/dalvik/tests/014-math3/src/
H A DMain.java53 System.out.println("HEY: expected throws is " + expectedThrows);
55 System.out.println("testMath3 success");
/dalvik/tests/081-hot-exceptions/src/
H A DMain.java39 System.out.println("sum = " + sum);
40 System.out.println("exception = " + exception);

Completed in 328 milliseconds

1234567891011>>