Home
last modified time | relevance | path

Searched refs:annotate (Results 1 – 25 of 84) sorted by relevance

1234

/dalvik/dexgen/src/com/android/dexgen/dex/file/
DHeaderItem.java75 out.annotate(8, "magic: " + new CstUtf8(MAGIC).toQuoted()); in writeTo()
76 out.annotate(4, "checksum"); in writeTo()
77 out.annotate(20, "signature"); in writeTo()
78 out.annotate(4, "file_size: " + in writeTo()
80 out.annotate(4, "header_size: " + Hex.u4(HEADER_SIZE)); in writeTo()
81 out.annotate(4, "endian_tag: " + Hex.u4(ENDIAN_TAG)); in writeTo()
82 out.annotate(4, "link_size: 0"); in writeTo()
83 out.annotate(4, "link_off: 0"); in writeTo()
84 out.annotate(4, "map_off: " + Hex.u4(mapOff)); in writeTo()
116 out.annotate(4, "data_size: " + Hex.u4(dataSize)); in writeTo()
[all …]
DMemberIdItem.java72 out.annotate(0, indexString() + ' ' + cst.toHuman()); in writeTo()
73 out.annotate(2, " class_idx: " + Hex.u2(classIdx)); in writeTo()
74 out.annotate(2, String.format(" %-10s %s", getTypoidName() + ':', in writeTo()
76 out.annotate(4, " name_idx: " + Hex.u4(nameIdx)); in writeTo()
DCodeItem.java244 out.annotate(0, offsetString() + ' ' + ref.toHuman()); in writeTo0()
245 out.annotate(2, " registers_size: " + Hex.u2(regSz)); in writeTo0()
246 out.annotate(2, " ins_size: " + Hex.u2(insSz)); in writeTo0()
247 out.annotate(2, " outs_size: " + Hex.u2(outsSz)); in writeTo0()
248 out.annotate(2, " tries_size: " + Hex.u2(triesSz)); in writeTo0()
249 out.annotate(4, " debug_off: " + Hex.u4(debugOff)); in writeTo0()
250 out.annotate(4, " insns_size: " + Hex.u4(insnsSz)); in writeTo0()
255 out.annotate(0, " throws " + StdTypeList.toHuman(throwsList)); in writeTo0()
271 out.annotate(2, " padding: 0"); in writeTo0()
285 out.annotate(0, " debug info"); in writeTo0()
DClassDefItem.java189 out.annotate(0, indexString() + ' ' + thisClass.toHuman()); in writeTo()
190 out.annotate(4, " class_idx: " + Hex.u4(classIdx)); in writeTo()
191 out.annotate(4, " access_flags: " + in writeTo()
193 out.annotate(4, " superclass_idx: " + Hex.u4(superIdx) + in writeTo()
196 out.annotate(4, " interfaces_off: " + Hex.u4(interOff)); in writeTo()
201 out.annotate(0, " " + list.getType(i).toHuman()); in writeTo()
204 out.annotate(4, " source_file_idx: " + Hex.u4(sourceFileIdx) + in writeTo()
207 out.annotate(4, " annotations_off: " + Hex.u4(annoOff)); in writeTo()
208 out.annotate(4, " class_data_off: " + Hex.u4(dataOff)); in writeTo()
209 out.annotate(4, " static_values_off: " + in writeTo()
DAnnotationsDirectoryItem.java292 out.annotate(0, offsetString() + " annotations directory"); in writeTo0()
293 out.annotate(4, " class_annotations_off: " + Hex.u4(classOff)); in writeTo0()
294 out.annotate(4, " fields_size: " + in writeTo0()
296 out.annotate(4, " methods_size: " + in writeTo0()
298 out.annotate(4, " parameters_size: " + in writeTo0()
310 out.annotate(0, " fields:"); in writeTo0()
320 out.annotate(0, " methods:"); in writeTo0()
330 out.annotate(0, " parameters:"); in writeTo0()
DDebugInfoEncoder.java130 private void annotate(int length, String message) { in annotate() method in DebugInfoEncoder
136 annotateTo.annotate(shouldConsume ? length : 0, message); in annotate()
203 annotate(1, String.format("%04x: prologue end",address)); in convert0()
371 boolean annotate = (annotateTo != null) || (debugPrint != null); in emitHeader()
381 if (annotate) { in emitHeader()
382 annotate(output.getCursor() - mark, "line_start: " + line); in emitHeader()
408 if (annotate) { in emitHeader()
409 annotate(output.getCursor() - mark, in emitHeader()
451 if (annotate) { in emitHeader()
455 annotate(output.getCursor() - mark, in emitHeader()
[all …]
DAnnotationItem.java174 out.annotate(0, prefix + "visibility: " + in annotateTo()
176 out.annotate(0, prefix + "type: " + annotation.getType().toHuman()); in annotateTo()
182 out.annotate(0, prefix + name.toHuman() + ": " + in annotateTo()
194 out.annotate(0, offsetString() + " annotation"); in writeTo0()
195 out.annotate(1, " visibility: VISBILITY_" + visibility); in writeTo0()
DMapItem.java221 out.annotate(0, offsetString() + ' ' + type.getTypeName() + in writeTo0()
223 out.annotate(2, " type: " + Hex.u2(value) + " // " + in writeTo0()
225 out.annotate(2, " unused: 0"); in writeTo0()
226 out.annotate(4, " size: " + Hex.u4(itemCount)); in writeTo0()
227 out.annotate(4, " offset: " + Hex.u4(offset)); in writeTo0()
DMethodAnnotationStruct.java90 out.annotate(0, " " + method.toHuman()); in writeTo()
91 out.annotate(4, " method_idx: " + Hex.u4(methodIdx)); in writeTo()
92 out.annotate(4, " annotations_off: " + in writeTo()
DFieldAnnotationStruct.java90 out.annotate(0, " " + field.toHuman()); in writeTo()
91 out.annotate(4, " field_idx: " + Hex.u4(fieldIdx)); in writeTo()
92 out.annotate(4, " annotations_off: " + in writeTo()
DDexFile.java172 boolean annotate = (humanOut != null); in writeTo()
173 ByteArrayAnnotatedOutput result = toDex0(annotate, verbose); in writeTo()
179 if (annotate) { in writeTo()
194 boolean annotate = (humanOut != null); in toDex()
195 ByteArrayAnnotatedOutput result = toDex0(annotate, verbose); in toDex()
197 if (annotate) { in toDex()
475 private ByteArrayAnnotatedOutput toDex0(boolean annotate, in toDex0() argument
540 if (annotate) { in toDex0()
575 if (annotate) { in toDex0()
DTypeListItem.java97 out.annotate(0, offsetString() + " type_list"); in writeTo0()
98 out.annotate(HEADER_SIZE, " size: " + Hex.u4(sz)); in writeTo0()
102 out.annotate(ELEMENT_SIZE, in writeTo0()
/dalvik/dx/src/com/android/dx/dex/file/
DHeaderItem.java67 out.annotate(8, "magic: " + new CstString(magic).toQuoted()); in writeTo()
68 out.annotate(4, "checksum"); in writeTo()
69 out.annotate(20, "signature"); in writeTo()
70 out.annotate(4, "file_size: " + in writeTo()
72 out.annotate(4, "header_size: " + Hex.u4(SizeOf.HEADER_ITEM)); in writeTo()
73 out.annotate(4, "endian_tag: " + Hex.u4(DexFormat.ENDIAN_TAG)); in writeTo()
74 out.annotate(4, "link_size: 0"); in writeTo()
75 out.annotate(4, "link_off: 0"); in writeTo()
76 out.annotate(4, "map_off: " + Hex.u4(mapOff)); in writeTo()
108 out.annotate(4, "data_size: " + Hex.u4(dataSize)); in writeTo()
[all …]
DCodeItem.java235 out.annotate(0, offsetString() + ' ' + ref.toHuman()); in writeTo0()
236 out.annotate(2, " registers_size: " + Hex.u2(regSz)); in writeTo0()
237 out.annotate(2, " ins_size: " + Hex.u2(insSz)); in writeTo0()
238 out.annotate(2, " outs_size: " + Hex.u2(outsSz)); in writeTo0()
239 out.annotate(2, " tries_size: " + Hex.u2(triesSz)); in writeTo0()
240 out.annotate(4, " debug_off: " + Hex.u4(debugOff)); in writeTo0()
241 out.annotate(4, " insns_size: " + Hex.u4(insnsSz)); in writeTo0()
246 out.annotate(0, " throws " + StdTypeList.toHuman(throwsList)); in writeTo0()
262 out.annotate(2, " padding: 0"); in writeTo0()
276 out.annotate(0, " debug info"); in writeTo0()
DMemberIdItem.java70 out.annotate(0, indexString() + ' ' + cst.toHuman()); in writeTo()
71 out.annotate(2, " class_idx: " + Hex.u2(classIdx)); in writeTo()
72 out.annotate(2, String.format(" %-10s %s", getTypoidName() + ':', in writeTo()
74 out.annotate(4, " name_idx: " + Hex.u4(nameIdx)); in writeTo()
DClassDefItem.java187 out.annotate(0, indexString() + ' ' + thisClass.toHuman()); in writeTo()
188 out.annotate(4, " class_idx: " + Hex.u4(classIdx)); in writeTo()
189 out.annotate(4, " access_flags: " + in writeTo()
191 out.annotate(4, " superclass_idx: " + Hex.u4(superIdx) + in writeTo()
194 out.annotate(4, " interfaces_off: " + Hex.u4(interOff)); in writeTo()
199 out.annotate(0, " " + list.getType(i).toHuman()); in writeTo()
202 out.annotate(4, " source_file_idx: " + Hex.u4(sourceFileIdx) + in writeTo()
205 out.annotate(4, " annotations_off: " + Hex.u4(annoOff)); in writeTo()
206 out.annotate(4, " class_data_off: " + Hex.u4(dataOff)); in writeTo()
207 out.annotate(4, " static_values_off: " + in writeTo()
DAnnotationsDirectoryItem.java296 out.annotate(0, offsetString() + " annotations directory"); in writeTo0()
297 out.annotate(4, " class_annotations_off: " + Hex.u4(classOff)); in writeTo0()
298 out.annotate(4, " fields_size: " + in writeTo0()
300 out.annotate(4, " methods_size: " + in writeTo0()
302 out.annotate(4, " parameters_size: " + in writeTo0()
314 out.annotate(0, " fields:"); in writeTo0()
324 out.annotate(0, " methods:"); in writeTo0()
334 out.annotate(0, " parameters:"); in writeTo0()
DDebugInfoEncoder.java138 private void annotate(int length, String message) { in annotate() method in DebugInfoEncoder
144 annotateTo.annotate(shouldConsume ? length : 0, message); in annotate()
211 annotate(1, String.format("%04x: prologue end",address)); in convert0()
379 boolean annotate = (annotateTo != null) || (debugPrint != null); in emitHeader()
389 if (annotate) { in emitHeader()
390 annotate(output.getCursor() - mark, "line_start: " + line); in emitHeader()
416 if (annotate) { in emitHeader()
417 annotate(output.getCursor() - mark, in emitHeader()
459 if (annotate) { in emitHeader()
463 annotate(output.getCursor() - mark, in emitHeader()
[all …]
DAnnotationItem.java174 out.annotate(0, prefix + "visibility: " + in annotateTo()
176 out.annotate(0, prefix + "type: " + annotation.getType().toHuman()); in annotateTo()
182 out.annotate(0, prefix + name.toHuman() + ": " + in annotateTo()
194 out.annotate(0, offsetString() + " annotation"); in writeTo0()
195 out.annotate(1, " visibility: VISBILITY_" + visibility); in writeTo0()
DMapItem.java220 out.annotate(0, offsetString() + ' ' + type.getTypeName() + in writeTo0()
222 out.annotate(2, " type: " + Hex.u2(value) + " // " + in writeTo0()
224 out.annotate(2, " unused: 0"); in writeTo0()
225 out.annotate(4, " size: " + Hex.u4(itemCount)); in writeTo0()
226 out.annotate(4, " offset: " + Hex.u4(offset)); in writeTo0()
DFieldAnnotationStruct.java90 out.annotate(0, " " + field.toHuman()); in writeTo()
91 out.annotate(4, " field_idx: " + Hex.u4(fieldIdx)); in writeTo()
92 out.annotate(4, " annotations_off: " + in writeTo()
DMethodAnnotationStruct.java90 out.annotate(0, " " + method.toHuman()); in writeTo()
91 out.annotate(4, " method_idx: " + Hex.u4(methodIdx)); in writeTo()
92 out.annotate(4, " annotations_off: " + in writeTo()
DDexFile.java192 boolean annotate = (humanOut != null); in writeTo()
193 ByteArrayAnnotatedOutput result = toDex0(annotate, verbose); in writeTo()
199 if (annotate) { in writeTo()
214 boolean annotate = (humanOut != null); in toDex()
215 ByteArrayAnnotatedOutput result = toDex0(annotate, verbose); in toDex()
217 if (annotate) { in toDex()
495 private ByteArrayAnnotatedOutput toDex0(boolean annotate, in toDex0() argument
560 if (annotate) { in toDex0()
595 if (annotate) { in toDex0()
/dalvik/dx/src/com/android/dx/util/
DAnnotatedOutput.java49 public void annotate(String msg); in annotate() method
62 public void annotate(int amt, String msg); in annotate() method
/dalvik/dexgen/src/com/android/dexgen/util/
DAnnotatedOutput.java49 public void annotate(String msg); in annotate() method
62 public void annotate(int amt, String msg); in annotate() method

1234