Home
last modified time | relevance | path

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

123456

/external/clang/test/CodeGen/
Dannotations-global.c8 static __attribute((annotate("sfoo_0"))) __attribute((annotate("sfoo_1"))) char sfoo;
9 __attribute((annotate("foo_0"))) __attribute((annotate("foo_1"))) char foo;
11 void __attribute((annotate("ann_a_0"))) __attribute((annotate("ann_a_1"))) __attribute((annotate("a…
12 void __attribute((annotate("ann_a_0"))) __attribute((annotate("ann_a_1"))) a(char *a) { in a()
13 __attribute__((annotate("bar_0"))) __attribute__((annotate("bar_1"))) static char bar; in a()
Dannotations-var.c17 int foo(int v __attribute__((annotate("param_ann_2"))) __attribute__((annotate("param_ann_3"))));
18 int foo(int v __attribute__((annotate("param_ann_0"))) __attribute__((annotate("param_ann_1")))) { in foo()
33 …int localvar __attribute__((annotate("localvar_ann_0"))) __attribute__((annotate("localvar_ann_1")… in local()
43 int undefvar __attribute__((annotate("undefvar_ann_0"))); in undef()
D2007-06-15-AnnotateAttribute.c5 int X __attribute__((annotate("GlobalValAnnotation")));
8 int foo(int y) __attribute__((annotate("GlobalValAnnotation")))
11 int foo(int y __attribute__((annotate("LocalValAnnotation")))) { in foo()
12 int x __attribute__((annotate("LocalValAnnotation"))); in foo()
18 static int a __attribute__((annotate("GlobalValAnnotation"))); in main()
/external/smali/dexlib/src/main/java/org/jf/dexlib/
DHeaderItem.java185 out.annotate("magic: " + Utf8Utils.escapeString(magicBuilder.toString())); in writeItem()
188 out.annotate("checksum"); in writeItem()
191 out.annotate("signature"); in writeItem()
194 …out.annotate("file_size: 0x" + Integer.toHexString(dexFile.getFileSize()) + " (" + dexFile.getFile… in writeItem()
198 out.annotate("header_size: 0x" + Integer.toHexString(HEADER_SIZE)); in writeItem()
201 out.annotate("endian_tag: 0x" + Integer.toHexString(LITTLE_ENDIAN)); in writeItem()
204 out.annotate("link_size: 0"); in writeItem()
207 out.annotate("link_off: 0"); in writeItem()
210 out.annotate("map_off: 0x" + Integer.toHexString(dexFile.MapItem.getOffset())); in writeItem()
213 out.annotate("string_ids_size: " + dexFile.StringIdsSection.getItems().size()); in writeItem()
[all …]
DDebugInfoItem.java368 out.annotate(0, parent.getParent().method.getMethodString()); in writeItemWithAnnotations()
369 out.annotate("line_start: 0x" + Integer.toHexString(lineStart) + " (" + lineStart + ")"); in writeItemWithAnnotations()
371 …out.annotate("parameters_size: 0x" + Integer.toHexString(parameterNames.length) + " (" + parameter… in writeItemWithAnnotations()
378 out.annotate("[" + index++ +"] parameterName: "); in writeItemWithAnnotations()
381 out.annotate("[" + index++ +"] parameterName: " + parameterName.getStringValue()); in writeItemWithAnnotations()
393 out.annotate("DBG_END_SEQUENCE"); in writeItemWithAnnotations()
399 out.annotate("DBG_ADVANCE_PC"); in writeItemWithAnnotations()
402 … out.annotate("addr_diff: 0x" + Integer.toHexString(addressDiff) + " (" + addressDiff + ")"); in writeItemWithAnnotations()
409 out.annotate("DBG_ADVANCE_LINE"); in writeItemWithAnnotations()
412 … out.annotate("line_diff: 0x" + Integer.toHexString(lineDiff) + " (" + lineDiff + ")"); in writeItemWithAnnotations()
[all …]
DMapItem.java87 out.annotate("map_size: 0x" + Integer.toHexString(sections.length + 2) + " (" + in writeItem()
92 out.annotate(0, "[" + index++ + "]"); in writeItem()
98 out.annotate(0, "[" + index++ + "]"); in writeItem()
104 out.annotate(0, "[" + index++ + "]"); in writeItem()
112 out.annotate(2, "item_type: " + itemType); in writeSectionInfo()
113 out.annotate(2, "unused"); in writeSectionInfo()
114 … out.annotate(4, "section_size: 0x" + Integer.toHexString(sectionSize) + " (" + sectionSize + ")"); in writeSectionInfo()
115 out.annotate(4, "section_off: 0x" + Integer.toHexString(sectionOffset)); in writeSectionInfo()
DAnnotationDirectoryItem.java206 out.annotate(0, parentType.getTypeDescriptor()); in writeItem()
209 … out.annotate(4, "class_annotations_off: 0x" + Integer.toHexString(classAnnotations.getOffset())); in writeItem()
211 out.annotate(4, "class_annotations_off:"); in writeItem()
215 out.annotate(4, "annotated_fields_size: 0x" + Integer.toHexString(length) + " (" + in writeItem()
218 out.annotate(4, "annotated_methods_size: 0x" + Integer.toHexString(length) + " (" + in writeItem()
221 out.annotate(4, "annotated_parameters_size: 0x" + Integer.toHexString(length) + " (" + in writeItem()
228 out.annotate(0, "[" + index++ + "] field_annotation"); in writeItem()
231 … out.annotate(4, "field: " + fieldAnnotation.field.getFieldName().getStringValue() + ":" + in writeItem()
233 out.annotate(4, "annotations_off: 0x" + in writeItem()
242 out.annotate(0, "[" + index++ + "] method_annotation"); in writeItem()
[all …]
DSection.java110 out.annotate(0, " "); in writeTo()
111 out.annotate(0, "-----------------------------"); in writeTo()
112 out.annotate(0, this.ItemType.TypeName + " section"); in writeTo()
113 out.annotate(0, "-----------------------------"); in writeTo()
114 out.annotate(0, " "); in writeTo()
120 out.annotate(0, " "); in writeTo()
DCodeItem.java225 out.annotate(0, parent.method.getMethodString()); in writeItem()
226 …out.annotate(2, "registers_size: 0x" + Integer.toHexString(registerCount) + " (" + registerCount +… in writeItem()
227 out.annotate(2, "ins_size: 0x" + Integer.toHexString(inWords) + " (" + inWords + ")"); in writeItem()
228 … out.annotate(2, "outs_size: 0x" + Integer.toHexString(outWords) + " (" + outWords + ")"); in writeItem()
230 … out.annotate(2, "tries_size: 0x" + Integer.toHexString(triesLength) + " (" + triesLength + ")"); in writeItem()
232 out.annotate(4, "debug_info_off:"); in writeItem()
234 out.annotate(4, "debug_info_off: 0x" + Integer.toHexString(debugInfo.getOffset())); in writeItem()
236 out.annotate(4, "insns_size: 0x" + Integer.toHexString(instructionsLength) + " (" + in writeItem()
264 out.annotate("padding"); in writeItem()
270 out.annotate(0, "[0x" + Integer.toHexString(index++) + "] try_item"); in writeItem()
[all …]
/external/clang/test/Index/
Dannotate-macro-args.m2 // RUN: c-index-test -test-annotate-tokens=%S/annotate-macro-args.h:9:1:10:1 %s -include %S/annotat…
3 // RUN: c-index-test -test-annotate-tokens=%S/annotate-macro-args.h:15:1:16:1 %s -include %S/annota…
6 // RUN: c-index-test -write-pch %t.pch -x objective-c-header %S/annotate-macro-args.h -Xclang -deta…
7 // RUN: c-index-test -test-annotate-tokens=%S/annotate-macro-args.h:9:1:10:1 %s -include-pch %t.pch…
8 // RUN: c-index-test -test-annotate-tokens=%S/annotate-macro-args.h:15:1:16:1 %s -include-pch %t.pc…
Dcomplete-with-annotations.cpp4 int field __attribute((annotate("one"), annotate("two"), annotate("three")));
6 public __attribute__((annotate("some annotation"))):
8 int member2 __attribute__((annotate("another annotation")));
Dindex-attrs.m7 -(id)prop __attribute__((annotate("anno")));
8 -(void)setProp:(id)p __attribute__((annotate("anno")));
9 @property (assign) id prop __attribute__((annotate("anno")));
15 // CHECK: <attribute>: attribute(annotate)=anno
16 …K: <getter>: kind: objc-instance-method | name: prop | {{.*}} <attribute>: attribute(annotate)=anno
17 …setter>: kind: objc-instance-method | name: setProp: | {{.*}} <attribute>: attribute(annotate)=anno
Dannotate-attribute.cpp5 __attribute__((annotate("spiffy_method"))) void aMethod();
7 public __attribute__((annotate("works"))):
10 private __attribute__((annotate("investigations"))):
Dannotate-comments-property-accessor.m16 // CHECK: FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments-propert…
22 // CHECK: FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments-propert…
23 // CHECK: FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments-propert…
32 // CHECK: FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments-propert…
33 // CHECK: FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments-propert…
42 // CHECK: FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments-propert…
52 // CHECK: FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments-propert…
53 // CHECK: FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments-propert…
Dannotate-comments-typedef.m20 …ocumentation for MyEnum </p>] FullCommentAsXML=[<Typedef file="{{[^"]+}}annotate-comments-typedef.…
30 …rief"> Documentation for E </p>] FullCommentAsXML=[<Enum file="{{[^"]+}}annotate-comments-typedef.…
31 …f"> Documentation for E </p>] FullCommentAsXML=[<Typedef file="{{[^"]+}}annotate-comments-typedef.…
38 …ief"> Comment about Foo </p>] FullCommentAsXML=[<Typedef file="{{[^"]+}}annotate-comments-typedef.…
39 …brief"> Comment about Foo </p>] FullCommentAsXML=[<Class file="{{[^"]+}}annotate-comments-typedef.…
48 …sXML=[<Typedef file="{{[^"]+}}annotate-comments-typedef.m" line="[[@LINE-2]]" column="21"><Name>Fo…
/external/dexmaker/src/dx/java/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.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()
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 …]
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.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()
DDexFile.java193 boolean annotate = (humanOut != null); in writeTo()
194 ByteArrayAnnotatedOutput result = toDex0(annotate, verbose); in writeTo()
200 if (annotate) { in writeTo()
215 boolean annotate = (humanOut != null); in toDex()
216 ByteArrayAnnotatedOutput result = toDex0(annotate, verbose); in toDex()
218 if (annotate) { in toDex()
494 private ByteArrayAnnotatedOutput toDex0(boolean annotate, in toDex0() argument
559 if (annotate) { in toDex0()
594 if (annotate) { in toDex0()
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()
DAnnotationItem.java172 out.annotate(0, prefix + "visibility: " + in annotateTo()
174 out.annotate(0, prefix + "type: " + annotation.getType().toHuman()); in annotateTo()
180 out.annotate(0, prefix + name.toHuman() + ": " + in annotateTo()
192 out.annotate(0, offsetString() + " annotation"); in writeTo0()
193 out.annotate(1, " visibility: VISBILITY_" + visibility); in writeTo0()
/external/srec/srec/include/
Dutteranc.h63 annotate; typedef
102 annotate *utb_table; /* utb file header information */
241 int init_utb_file(file_utterance_info *utt, annotate **table);
242 int position_utb_file(file_utterance_info *utt, long position, annotate *table);
253 int read_tcp(char *filename, annotate **tag_base);
254 int read_lst(char *filename, annotate *tag_base, int ntags);
255 int read_utb_table(char *filename, annotate **tag_base);
256 void save_tcp(char *tcpnam, annotate *tag, int ntags);
/external/clang/test/Sema/
Dannotate.c3 void __attribute__((annotate("foo"))) foo(float *a) { in foo()
4 __attribute__((annotate("bar"))) int x; in foo()
5 …__attribute__((annotate(1))) int y; // expected-error {{argument to annotate attribute was not a s… in foo()
6 __attribute__((annotate("bar", 1))) int z; // expected-error {{attribute takes one argument}} in foo()

123456