Home
last modified time | relevance | path

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

12345678

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DEncodedValue.java49 out.annotate(1, "valueArg = %d, valueType = 0x%x: byte", valueArg, valueType); in annotateEncodedValue()
51 out.annotate(1, "value = 0x%x", intValue); in annotateEncodedValue()
54 out.annotate(1, "valueArg = %d, valueType = 0x%x: short", valueArg, valueType); in annotateEncodedValue()
56 out.annotate(valueArg + 1, "value = 0x%x", intValue); in annotateEncodedValue()
59 out.annotate(1, "valueArg = %d, valueType = 0x%x: char", valueArg, valueType); in annotateEncodedValue()
61 out.annotate(valueArg+1, "value = 0x%x", intValue); in annotateEncodedValue()
64 out.annotate(1, "valueArg = %d, valueType = 0x%x: int", valueArg, valueType); in annotateEncodedValue()
66 out.annotate(valueArg+1, "value = 0x%x", intValue); in annotateEncodedValue()
69 out.annotate(1, "valueArg = %d, valueType = 0x%x: long", valueArg, valueType); in annotateEncodedValue()
71 out.annotate(valueArg+1, "value = 0x%x", longValue); in annotateEncodedValue()
[all …]
DCodeItem.java92 out.annotate(2, "registers_size = %d", registers); in makeAnnotator()
95 out.annotate(2, "ins_size = %d", inSize); in makeAnnotator()
98 out.annotate(2, "outs_size = %d", outSize); in makeAnnotator()
101 out.annotate(2, "tries_size = %d", triesCount); in makeAnnotator()
104 out.annotate(4, "debug_info_off = 0x%x", debugInfoOffset); in makeAnnotator()
111 out.annotate(4, "insns_size = 0x%x", instructionSize); in makeAnnotator()
113 out.annotate(0, "instructions:"); in makeAnnotator()
157 out.annotate(0, "annotation error: %s", ex.getMessage()); in makeAnnotator()
168 out.annotate(2, "padding"); in makeAnnotator()
171 out.annotate(0, "try_items:"); in makeAnnotator()
[all …]
DHeaderItem.java173 out.annotate(8, "magic: %s", StringUtils.escapeString(magicBuilder.toString())); in makeAnnotator()
174 out.annotate(4, "checksum"); in makeAnnotator()
175 out.annotate(20, "signature"); in makeAnnotator()
176 out.annotate(4, "file_size: %d", dexFile.readInt(out.getCursor())); in makeAnnotator()
179 out.annotate(4, "header_size: %d", headerSize); in makeAnnotator()
182 out.annotate(4, "endian_tag: 0x%x (%s)", endianTag, getEndianText(endianTag)); in makeAnnotator()
184 out.annotate(4, "link_size: %d", dexFile.readInt(out.getCursor())); in makeAnnotator()
185 out.annotate(4, "link_offset: 0x%x", dexFile.readInt(out.getCursor())); in makeAnnotator()
187 out.annotate(4, "map_off: 0x%x", dexFile.readInt(out.getCursor())); in makeAnnotator()
189 out.annotate(4, "string_ids_size: %d", dexFile.readInt(out.getCursor())); in makeAnnotator()
[all …]
DAnnotationDirectoryItem.java60 out.annotate(4, "class_annotations_off = %s", in makeAnnotator()
64 out.annotate(4, "fields_size = %d", fieldsSize); in makeAnnotator()
67 out.annotate(4, "annotated_methods_size = %d", annotatedMethodsSize); in makeAnnotator()
70 out.annotate(4, "annotated_parameters_size = %d", annotatedParameterSize); in makeAnnotator()
73 out.annotate(0, "field_annotations:"); in makeAnnotator()
76 out.annotate(0, "field_annotation[%d]", i); in makeAnnotator()
79 … out.annotate(4, "%s", FieldIdItem.getReferenceAnnotation(dexFile, fieldIndex)); in makeAnnotator()
81 … out.annotate(4, "%s", AnnotationSetItem.getReferenceAnnotation(dexFile, annotationOffset)); in makeAnnotator()
88 out.annotate(0, "method_annotations:"); in makeAnnotator()
91 out.annotate(0, "method_annotation[%d]", i); in makeAnnotator()
[all …]
DClassDefItem.java72 … out.annotate(4, "class_idx = %s", TypeIdItem.getReferenceAnnotation(dexFile, classIndex)); in makeAnnotator()
75 out.annotate(4, "access_flags = 0x%x: %s", accessFlags, in makeAnnotator()
79 out.annotate(4, "superclass_idx = %s", in makeAnnotator()
83 …out.annotate(4, "interfaces_off = %s", TypeListItem.getReferenceAnnotation(dexFile, interfacesOffs… in makeAnnotator()
86 … out.annotate(4, "source_file_idx = %s", StringIdItem.getOptionalReferenceAnnotation(dexFile, in makeAnnotator()
91 out.annotate(4, "annotations_off = annotations_directory_item[NO_OFFSET]"); in makeAnnotator()
93 … out.annotate(4, "annotations_off = annotations_directory_item[0x%x]", annotationsOffset); in makeAnnotator()
98 out.annotate(4, "class_data_off = class_data_item[NO_OFFSET]"); in makeAnnotator()
100 out.annotate(4, "class_data_off = class_data_item[0x%x]", classDataOffset); in makeAnnotator()
106 out.annotate(4, "static_values_off = encoded_array_item[NO_OFFSET]"); in makeAnnotator()
[all …]
DSectionAnnotator.java78 out.annotate(0, ""); in annotateSectionInner()
79 out.annotate(0, "-----------------------------"); in annotateSectionInner()
80 out.annotate(0, "%s section", itemName); in annotateSectionInner()
81 out.annotate(0, "-----------------------------"); in annotateSectionInner()
82 out.annotate(0, ""); in annotateSectionInner()
89 out.annotate(0, "[%d] %s: %s", i, itemName, itemIdentity); in annotateSectionInner()
91 out.annotate(0, "[%d] %s", i, itemName); in annotateSectionInner()
DClassDataItem.java77 out.annotate(0, "static_fields:"); in makeAnnotator()
80 out.annotate(0, "static_field[%d]", i); in makeAnnotator()
89 out.annotate(0, "instance_fields:"); in makeAnnotator()
93 out.annotate(0, "instance_field[%d]", i); in makeAnnotator()
102 out.annotate(0, "direct_methods:"); in makeAnnotator()
106 out.annotate(0, "direct_method[%d]", i); in makeAnnotator()
115 out.annotate(0, "virtual_methods:"); in makeAnnotator()
119 out.annotate(0, "virtual_method[%d]", i); in makeAnnotator()
DMapItem.java83 out.annotate(2, "type = 0x%x: %s", itemType, ItemType.getItemTypeName(itemType)); in makeAnnotator()
85 out.annotate(2, "unused"); in makeAnnotator()
88 out.annotate(4, "size = %d", size); in makeAnnotator()
91 out.annotate(4, "offset = 0x%x", offset); in makeAnnotator()
97 out.annotate(4, "size = %d", mapItemCount); in makeAnnotator()
/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/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-comments-objc.m107 // CHECK-DAG: annotate-comments-objc.m:7:6: FunctionDecl=functionBeforeImports:{{.*}} BriefComment=…
113 // CHECK: annotate-comments-objc.m:23:50: ObjCPropertyDecl=property1_isdoxy1:{{.*}} property1_isdox…
114 // CHECK: annotate-comments-objc.m:24:50: ObjCPropertyDecl=property1_isdoxy2:{{.*}} property1_isdox…
115 // CHECK: annotate-comments-objc.m:25:50: ObjCPropertyDecl=property1_isdoxy3:{{.*}} property1_isdox…
116 // CHECK: annotate-comments-objc.m:26:50: ObjCPropertyDecl=property1_isdoxy4:{{.*}} property1_isdox…
117 // CHECK: annotate-comments-objc.m:29:9: ObjCInstanceMethodDecl=method1_isdoxy1:{{.*}} method1_isdo…
118 // CHECK: annotate-comments-objc.m:30:9: ObjCInstanceMethodDecl=method1_isdoxy2:{{.*}} method1_isdo…
119 // CHECK: annotate-comments-objc.m:31:9: ObjCInstanceMethodDecl=method1_isdoxy3:{{.*}} method1_isdo…
120 // CHECK: annotate-comments-objc.m:32:9: ObjCInstanceMethodDecl=method1_isdoxy4:{{.*}} method1_isdo…
121 // CHECK: annotate-comments-objc.m:43:22: EnumDecl=An_NS_ENUM_isdoxy1:{{.*}} An_NS_ENUM_isdoxy1 IS_…
[all …]
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-attribute.cpp5 __attribute__((annotate("spiffy_method"))) void aMethod();
7 public __attribute__((annotate("works"))):
10 private __attribute__((annotate("investigations"))):
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…
Dannotate-parameterized-classes.m18 // RUN: c-index-test -test-annotate-tokens=%s:7:1:9:1 %s -target x86_64-apple-macosx10.7.0 | FileCh…
24 // RUN: c-index-test -test-annotate-tokens=%s:10:1:12:1 %s -target x86_64-apple-macosx10.7.0 | File…
30 // RUN: c-index-test -test-annotate-tokens=%s:13:1:14:1 %s -target x86_64-apple-macosx10.7.0 | File…
35 // RUN: c-index-test -test-annotate-tokens=%s:15:1:16:1 %s -target x86_64-apple-macosx10.7.0 | File…
/external/ImageMagick/Magick++/demo/
Dgravity.cpp60 pic.annotate( "NorthWest", Geometry(0,0,x,y), NorthWestGravity, angle ); in main()
61 pic.annotate( "North", Geometry(0,0,0,y), NorthGravity, angle ); in main()
62 pic.annotate( "NorthEast", Geometry(0,0,x,y), NorthEastGravity, angle ); in main()
63 pic.annotate( "East", Geometry(0,0,x,0), EastGravity, angle ); in main()
64 pic.annotate( "Center", Geometry(0,0,0,0), CenterGravity, angle ); in main()
65 pic.annotate( "SouthEast", Geometry(0,0,x,y), SouthEastGravity, angle ); in main()
66 pic.annotate( "South", Geometry(0,0,0,y), SouthGravity, angle ); in main()
67 pic.annotate( "SouthWest", Geometry(0,0,x,y), SouthWestGravity, angle ); in main()
68 pic.annotate( "West", Geometry(0,0,x,0), WestGravity, angle ); in main()
/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 {{'annotate' attribute requires a string}} in foo()
6 …__attribute__((annotate("bar", 1))) int z; // expected-error {{'annotate' attribute takes one argu… in foo()
/external/clang/test/Analysis/
Dobjc_invalidation.m27 - (void) invalidate __attribute__((annotate("objc_instance_variable_invalidator")));
31 - (void) invalidate __attribute__((annotate("objc_instance_variable_invalidator")));
35 - (void) invalidate __attribute__((annotate("objc_instance_variable_invalidator")));
36 - (void) invalidate2 __attribute__((annotate("objc_instance_variable_invalidator")));
52 - (void) invalidate __attribute__((annotate("objc_instance_variable_invalidator"))); category
119 -(void)partialInvalidator1 __attribute__((annotate("objc_instance_variable_invalidator_partial")));
120 -(void)partialInvalidator2 __attribute__((annotate("objc_instance_variable_invalidator_partial")));
241 - (void)invalidate __attribute__((annotate("objc_instance_variable_invalidator")));
296 -(void)partialInvalidator __attribute__((annotate("objc_instance_variable_invalidator_partial")));
308 -(void)partialInvalidator __attribute__((annotate("objc_instance_variable_invalidator_partial")));
[all …]
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/
DGenerator.java31 annotate(node, Generated.class, new StringLiteralExpr(getClass().getName())); in annotateGenerated()
35 annotate(node, SuppressWarnings.class, new StringLiteralExpr("unchecked")); in annotateSuppressWarnings()
39 annotate(method, Override.class, null); in annotateOverridden()
42 …private <T extends Node & NodeWithAnnotations<?>> void annotate(T node, Class<?> annotation, Expre… in annotate() method in Generator
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DMonitoringModuleGenerator.java72 classWriter.annotate(Generated.class).setValue(ComponentProcessor.class.getName()); in write()
73 classWriter.annotate(Module.class); in write()
80 emptySetBindingMethod.annotate(Provides.class).setMember("type", Provides.Type.SET_VALUES); in write()
89 monitorMethod.annotate(Provides.class); in write()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DModifiable.java45 public AnnotationWriter annotate(ClassName annotation) { in annotate() method in Modifiable
51 public AnnotationWriter annotate(Class<? extends Annotation> annotation) { in annotate() method in Modifiable
52 return annotate(ClassName.fromClass(annotation)); in annotate()

12345678