/external/llvm-project/clang/test/Parser/ |
D | pragma-attribute.cpp | 3 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = function) 9 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = any(variable(is_paramete… 12 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = variable(unless(is_param… 15 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = any(variable(unless(is_p… 27 #pragma clang attribute push(__attribute__((annotate("test"))), ) // expected-error {{expected attr… 28 #pragma clang attribute push(__attribute__((annotate("test"))), = any(function)) // expected-error … 29 #pragma clang attribute push(__attribute__((annotate("test"))), = function) // expected-error {{exp… 30 #pragma clang attribute push(__attribute__((annotate("test"))), any(function)) // expected-error {{… 31 #pragma clang attribute push(__attribute__((annotate("test"))), function) // expected-error {{expec… 32 #pragma clang attribute push(__attribute__((annotate("test"))), apply = any(function )) // expected… [all …]
|
/external/llvm-project/clang/test/CodeGen/ |
D | annotations-global.c | 9 static __attribute((annotate("sfoo_0"))) __attribute((annotate("sfoo_1"))) char sfoo; 10 __attribute((annotate("foo_0"))) __attribute((annotate("foo_1"))) char foo; 12 void __attribute((annotate("ann_a_0"))) __attribute((annotate("ann_a_1"))) __attribute((annotate("a… 13 void __attribute((annotate("ann_a_0"))) __attribute((annotate("ann_a_1"))) a(char *a) { in a() 14 __attribute__((annotate("bar_0"))) __attribute__((annotate("bar_1"))) static char bar; in a() 18 __attribute((address_space(1))) __attribute__((annotate("addrspace1_ann"))) char addrspace1_var;
|
D | annotations-var.c | 17 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() 44 int localvar __attribute__((annotate("localvar_after_return"))) = 3; in local_after_return() 52 int undefvar __attribute__((annotate("undefvar_ann_0"))); in undef()
|
D | 2007-06-15-AnnotateAttribute.c | 5 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/llvm-project/clang/test/SemaCXX/ |
D | attr-annotate.cpp | 32 [[clang::annotate("test", fail_on_int(v))]] void t() {} in t() 34 …[[clang::annotate("test", (typename enable_if<!is_same<long, T>::value, int>::type)v)]] void t1() … in t1() 45 [[clang::annotate("test", (T{}, 9))]] void t() {} in t() 56 [[clang::annotate("test", "arg")]] void t3() {} in t3() 66 …int v __attribute__((annotate("v_ann_0", str(), 90, V, g_i))) __attribute__((annotate("v_ann_1", V… 69 [[clang::annotate("qdwqwd", cf, cb)]] void t() {} in t() 70 [[clang::annotate("qdwqwd", f, cb)]] void t1() {} in t1() 73 [[clang::annotate("jui", b, cf)]] void t2() {} in t2() 76 …[[clang::annotate("jui", (b, 0), cf)]] [[clang::annotate("jui", &b, cf, &foo::t2, str())]] void t3… in t3() 89 [[clang::annotate("test", I)]] int v = 0; // expected-note {{declared here}} in f() [all …]
|
/external/clang/test/CodeGen/ |
D | annotations-global.c | 8 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()
|
D | annotations-var.c | 17 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()
|
D | 2007-06-15-AnnotateAttribute.c | 5 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/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/ |
D | CodeItem.java | 92 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 …]
|
D | AnnotationDirectoryItem.java | 60 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 …]
|
D | HeaderItem.java | 173 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 …]
|
D | ClassDefItem.java | 72 … 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 …]
|
D | SectionAnnotator.java | 78 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()
|
/external/llvm-project/clang/test/Sema/ |
D | pragma-attribute.c | 6 #pragma clang attribute push (__attribute__((annotate)), apply_to = function) // expected-warning {… 10 #pragma clang attribute push (__attribute__((annotate)), apply_to = function) // expected-error 4 {… 15 #pragma clang attribute push (__attribute__((annotate())), apply_to = function) // expected-error 2… 19 #pragma clang attribute push (__attribute__((annotate("hello", "world"))), apply_to = function) 41 #pragma clang attribute push (__attribute__((annotate())), apply_to = function) // expected-error{{… 42 #pragma clang attribute (__attribute__((annotate())), apply_to = function) // expected-error{{'anno… 51 #pragma clang attribute (__attribute__((annotate())), apply_to = function) // expected-error 2 {{'a… 55 #pragma clang attribute push (__attribute__((annotate())), apply_to = function) // expected-error{{… 62 #pragma clang attribute (__attribute__((annotate)), apply_to = function) // expected-error{{'#pragm… 68 #pragma clang attribute push (__attribute__((annotate("func"))), apply_to = function) // expected-e…
|
D | annotate.c | 3 void __attribute__((annotate("foo"))) foo(float *a) { in foo() 4 __attribute__((annotate("bar"))) int x; in foo() 5 [[clang::annotate("bar")]] int x2; in foo() 6 __attribute__((annotate(1))) int y; // expected-error {{'annotate' attribute requires a string}} in foo() 7 [[clang::annotate(1)]] int y2; // expected-error {{'annotate' attribute requires a string}} in foo() 8 __attribute__((annotate("bar", 1))) int z; in foo() 9 [[clang::annotate("bar", 1)]] int z2; in foo()
|
D | pragma-attribute-namespace.c | 7 #pragma clang attribute MyNamespace.push (__attribute__((annotate)), apply_to=function) // expected… 14 #pragma clang attribute MyOtherNamespace.push (__attribute__((annotate)), apply_to=function) // exp… 31 #pragma clang attribute Merp.push (__attribute__((annotate)), apply_to=function) // expected-error{… 32 #pragma clang attribute push (__attribute__((annotate)), apply_to=function) // expected-warning {{u… 37 #pragma clang attribute push (__attribute__((annotate)), apply_to=function) // expected-warning {{u… 38 #pragma clang attribute Merp.push (__attribute__((annotate)), apply_to=function) // expected-error{…
|
/external/llvm-project/clang/test/Index/ |
D | annotate-macro-args.m | 2 // 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…
|
D | complete-with-annotations.cpp | 4 int field __attribute((annotate("one"), annotate("two"), annotate("three"))); 6 public __attribute__((annotate("some annotation"))): 8 int member2 __attribute__((annotate("another annotation")));
|
D | annotate-attribute.cpp | 5 __attribute__((annotate("spiffy_method"))) void aMethod(); 7 public __attribute__((annotate("works"))): 10 private __attribute__((annotate("investigations"))): 20 class __attribute__((annotate("works"))) TemplateTest {}; 23 int templateFunction(T value) __attribute__((annotate("works")));
|
/external/clang/test/Index/ |
D | annotate-macro-args.m | 2 // 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…
|
D | complete-with-annotations.cpp | 4 int field __attribute((annotate("one"), annotate("two"), annotate("three"))); 6 public __attribute__((annotate("some annotation"))): 8 int member2 __attribute__((annotate("another annotation")));
|
D | index-attrs.m | 7 -(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
|
/external/ImageMagick/Magick++/demo/ |
D | gravity.cpp | 60 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/llvm-project/clang/test/FixIt/ |
D | fixit-pragma-attribute.cpp | 3 #pragma clang attribute push (annotate) 6 #pragma clang attribute push (annotate(("test"))) 10 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = any( enum, function, fun… 14 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = any( variable(is_global)… 18 #pragma clang attribute push (__attribute__((annotate("subRuleContradictions"))), apply_to = any(va… 24 #pragma clang attribute push (__attribute__((annotate("subRuleContradictions2"))), apply_to = any(f… 29 #pragma clang attribute push (__attribute__((annotate("negatedSubRuleContradictions1"))), apply_to … 33 #pragma clang attribute push (__attribute__((annotate("negatedSubRuleContradictions2"))), apply_to … 82 #pragma clang attribute push (__attribute__((annotate("a"))))
|
/external/libabigail/tests/data/test-annotate/ |
D | test-anonymous-members-0.o.abi | 6 …s-0.cc' comp-dir-path='/home/dodji/git/libabigail/fixes/tests/data/test-annotate' language='LANG_C… 20 …ty='default' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-me… 23 …ty='default' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-me… 26 …ty='default' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-me… 32 …ty='default' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-me… 35 …ty='default' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-me… 41 …ty='default' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-me… 44 …ty='default' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-me… 50 …nymous='yes' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-me… 58 …nymous='yes' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-me… [all …]
|