HomeSort by relevance Sort by last modified time
    Searched full:__attribute (Results 1 - 25 of 129) sorted by null

1 2 3 4 5 6

  /external/bluetooth/glib/glib/
galias.h 14 extern __typeof (g_array_append_vals) IA__g_array_append_vals __attribute((visibility("hidden")));
17 extern __typeof (g_array_free) IA__g_array_free __attribute((visibility("hidden")));
20 extern __typeof (g_array_insert_vals) IA__g_array_insert_vals __attribute((visibility("hidden")));
23 extern __typeof (g_array_new) IA__g_array_new __attribute((visibility("hidden")));
26 extern __typeof (g_array_prepend_vals) IA__g_array_prepend_vals __attribute((visibility("hidden")));
29 extern __typeof (g_array_remove_index) IA__g_array_remove_index __attribute((visibility("hidden")));
32 extern __typeof (g_array_remove_index_fast) IA__g_array_remove_index_fast __attribute((visibility("hidden")));
35 extern __typeof (g_array_remove_range) IA__g_array_remove_range __attribute((visibility("hidden")));
38 extern __typeof (g_array_set_size) IA__g_array_set_size __attribute((visibility("hidden")));
41 extern __typeof (g_array_sized_new) IA__g_array_sized_new __attribute((visibility("hidden")))
    [all...]
galiasdef.c 18 extern __typeof (g_array_append_vals) g_array_append_vals __attribute((alias("IA__g_array_append_vals"), visibility("default")));
21 extern __typeof (g_array_free) g_array_free __attribute((alias("IA__g_array_free"), visibility("default")));
24 extern __typeof (g_array_insert_vals) g_array_insert_vals __attribute((alias("IA__g_array_insert_vals"), visibility("default")));
27 extern __typeof (g_array_new) g_array_new __attribute((alias("IA__g_array_new"), visibility("default")));
30 extern __typeof (g_array_prepend_vals) g_array_prepend_vals __attribute((alias("IA__g_array_prepend_vals"), visibility("default")));
33 extern __typeof (g_array_remove_index) g_array_remove_index __attribute((alias("IA__g_array_remove_index"), visibility("default")));
36 extern __typeof (g_array_remove_index_fast) g_array_remove_index_fast __attribute((alias("IA__g_array_remove_index_fast"), visibility("default")));
39 extern __typeof (g_array_remove_range) g_array_remove_range __attribute((alias("IA__g_array_remove_range"), visibility("default")));
42 extern __typeof (g_array_set_size) g_array_set_size __attribute((alias("IA__g_array_set_size"), visibility("default")));
45 extern __typeof (g_array_sized_new) g_array_sized_new __attribute((alias("IA__g_array_sized_new"), visibility("default")))
    [all...]
  /external/clang/test/SemaObjC/
attr-malloc.m 4 - (id) test1 __attribute((malloc)); // expected-warning {{functions returning a pointer type}}
5 - (int) test2 __attribute((malloc)); // expected-warning {{functions returning a pointer type}}
8 id bar(void) __attribute((malloc)); // no-warning
11 bptr baz(void) __attribute((malloc)); // no-warning
13 __attribute((malloc)) id (*f)(); // expected-warning {{functions returning a pointer type}}
14 __attribute((malloc)) bptr (*g)(); // expected-warning {{functions returning a pointer type}}
15 __attribute((malloc)) void *(^h)(); // expected-warning {{functions returning a pointer type}}
arc-nsconsumed-errors.m 4 typedef void (^blk)(id arg1, __attribute((ns_consumed)) id arg2);
5 typedef void (^blk1)(__attribute((ns_consumed))id arg1, __attribute((ns_consumed)) id arg2);
6 blk a = ^void (__attribute((ns_consumed)) id arg1, __attribute((ns_consumed)) id arg2){}; // expected-error {{incompatible block pointer types initializing}}
8 blk b = ^void (id arg1, __attribute((ns_consumed)) id arg2){};
10 blk c = ^void (__attribute((ns_consumed)) id arg1, __attribute((ns_consumed)) id arg2){}; // expected-error {{incompatible block pointer types initializing}}
14 blk1 a1 = ^void (__attribute((ns_consumed)) id arg1, id arg2){}; // expected-error {{incompatible block pointer types initializing}}
16 blk1 b2 = ^void (id arg1, __attribute((ns_consumed)) id arg2){}; // expected-error {{incompatible block pointer types initializing}
    [all...]
attr-cleanup.m 9 NSString *s __attribute((cleanup(c1)));
attr-objc-gc.m 2 static id __attribute((objc_gc(weak))) a;
3 static id __attribute((objc_gc(strong))) b;
5 static id __attribute((objc_gc())) c; // expected-error{{'objc_gc' attribute requires parameter 1 to be a string}}
6 static id __attribute((objc_gc(123))) d; // expected-error{{'objc_gc' attribute requires parameter 1 to be a string}}
7 static id __attribute((objc_gc(foo, 456))) e; // expected-error{{attribute takes one argument}}
8 static id __attribute((objc_gc(hello))) f; // expected-warning{{'objc_gc' attribute argument not supported: 'hello'}}
22 void test2(id __attribute((objc_gc(strong))) *strong,
23 id __attribute((objc_gc(weak))) *weak) {
nsobject-attribute.m 7 typedef struct S1 __attribute__ ((NSObject)) CGColorRef1; // expected-error {{__attribute ((NSObject)) is for pointer types only}}
8 typedef void * __attribute__ ((NSObject)) CGColorRef2; // expected-error {{__attribute ((NSObject)) is for pointer types only}}
46 __attribute__((NSObject)) void * color; // expected-warning {{__attribute ((NSObject)) may be put on a typedef only, attribute is ignored}}
52 char* __attribute__((NSObject)) string2 = 0; // expected-warning {{__attribute ((NSObject)) may be put on a typedef only, attribute is ignored}}
protocol-attribute.m 3 __attribute ((unavailable))
9 __attribute ((deprecated)) @protocol MyProto1
41 __attribute ((unavailable)) __attribute ((deprecated)) @protocol XProto; // expected-note{{marked unavailable}}
  /external/clang/test/CodeGen/
align-local.c 3 typedef struct __attribute((aligned(16))) {int x[4];} ff; function
7 struct {int x[4];} b __attribute((aligned(16)));
2011-03-08-ZeroFieldUnionInitializer.c 4 struct { } __attribute((packed));
pragma-visibility.c 13 extern __attribute((visibility("default"))) int z;
22 __attribute((visibility("default"))) void g();
pr2394.c 2 struct __attribute((packed)) x {int a : 24;};
weak_constant.c 4 const int x __attribute((weak)) = 123;
  /external/libxml2/
elfgcchack.h 69 extern __typeof (__xmlGenericError) __xmlGenericError __attribute((alias("__xmlGenericError__internal_alias")));
72 extern __typeof (__xmlGenericError) __xmlGenericError__internal_alias __attribute((visibility("hidden")));
79 extern __typeof (__xmlGenericErrorContext) __xmlGenericErrorContext __attribute((alias("__xmlGenericErrorContext__internal_alias")));
82 extern __typeof (__xmlGenericErrorContext) __xmlGenericErrorContext__internal_alias __attribute((visibility("hidden")));
91 extern __typeof (docbCreatePushParserCtxt) docbCreatePushParserCtxt __attribute((alias("docbCreatePushParserCtxt__internal_alias")));
94 extern __typeof (docbCreatePushParserCtxt) docbCreatePushParserCtxt__internal_alias __attribute((visibility("hidden")));
103 extern __typeof (htmlAttrAllowed) htmlAttrAllowed __attribute((alias("htmlAttrAllowed__internal_alias")));
106 extern __typeof (htmlAttrAllowed) htmlAttrAllowed__internal_alias __attribute((visibility("hidden")));
115 extern __typeof (htmlAutoCloseTag) htmlAutoCloseTag __attribute((alias("htmlAutoCloseTag__internal_alias")));
118 extern __typeof (htmlAutoCloseTag) htmlAutoCloseTag__internal_alias __attribute((visibility("hidden")))
    [all...]
  /external/clang/test/SemaObjCXX/
arc-nsconsumed-errors.mm 4 typedef void (^blk)(id, __attribute((ns_consumed)) id);
5 typedef void (^blk1)(__attribute((ns_consumed))id, __attribute((ns_consumed)) id);
6 blk a = ^void (__attribute((ns_consumed)) id, __attribute((ns_consumed)) id){}; // expected-error {{cannot initialize a variable of type '__strong blk'}}
8 blk b = ^void (id, __attribute((ns_consumed)) id){};
10 blk c = ^void (__attribute((ns_consumed)) id, __attribute((ns_consumed)) id){}; // expected-error {{cannot initialize a variable of type '__strong blk'}}
14 blk1 a1 = ^void (__attribute((ns_consumed)) id, id){}; // expected-error {{cannot initialize a variable of type '__strong blk1'}}
16 blk1 b2 = ^void (id, __attribute((ns_consumed)) id){}; // expected-error {{cannot initialize a variable of type '__strong blk1'}
    [all...]
  /external/clang/test/Sema/
attr-cleanup.c 5 extern int g1 __attribute((cleanup(c1))); // expected-warning {{cleanup attribute ignored}}
6 int g2 __attribute((cleanup(c1))); // expected-warning {{cleanup attribute ignored}}
7 static int g3 __attribute((cleanup(c1))); // expected-warning {{cleanup attribute ignored}}
11 int v1 __attribute((cleanup)); // expected-error {{attribute takes one argument}}
12 int v2 __attribute((cleanup(1, 2))); // expected-error {{attribute takes one argument}}
14 static int v3 __attribute((cleanup(c1))); // expected-warning {{cleanup attribute ignored}}
16 int v4 __attribute((cleanup(h))); // expected-error {{'cleanup' argument 'h' not found}}
18 int v5 __attribute((cleanup(c1)));
19 int v6 __attribute((cleanup(v3))); // expected-error {{'cleanup' argument 'v3' is not a function}}
38 __attribute((cleanup(c4))) void* g
    [all...]
attr-malloc.c 7 void * malloc(size_t) __attribute((malloc));
9 int no_vars __attribute((malloc)); // expected-warning {{functions returning a pointer type}}
11 void returns_void (void) __attribute((malloc)); // expected-warning {{functions returning a pointer type}}
12 int returns_int (void) __attribute((malloc)); // expected-warning {{functions returning a pointer type}}
13 int * returns_intptr(void) __attribute((malloc)); // no-warning
15 iptr returns_iptr (void) __attribute((malloc)); // no-warning
17 __attribute((malloc)) void *(*f)(); // expected-warning{{'malloc' attribute only applies to functions returning a pointer type}}
18 __attribute((malloc)) int (*g)(); // expected-warning{{'malloc' attribute only applies to functions returning a pointer type}}
20 __attribute((malloc))
24 #define malloc_like __attribute((__malloc__)
    [all...]
attr-regparm.c 3 __attribute((regparm(2))) int x0(void);
4 __attribute((regparm(1.0))) int x1(void); // expected-error{{'regparm' attribute requires integer constant}}
5 __attribute((regparm(-1))) int x2(void); // expected-error{{'regparm' parameter must be between 0 and 3 inclusive}}
6 __attribute((regparm(5))) int x3(void); // expected-error{{'regparm' parameter must be between 0 and 3 inclusive}}
7 __attribute((regparm(5,3))) int x4(void); // expected-error{{attribute takes one argument}}
attr-mode.c 6 typedef int i16_1 __attribute((mode(HI)));
8 typedef int i16_2 __attribute((__mode__(__HI__)));
11 typedef float f64 __attribute((mode(DF)));
14 typedef int invalid_1 __attribute((mode)); // expected-error{{attribute requires unquoted parameter}}
15 typedef int invalid_2 __attribute((mode())); // expected-error{{attribute requires unquoted parameter}}
16 typedef int invalid_3 __attribute((mode(II))); // expected-error{{unknown machine mode}}
17 typedef struct {int i,j,k;} invalid_4 __attribute((mode(SI))); // expected-error{{mode attribute only supported for integer and floating-point types}}
18 typedef float invalid_5 __attribute((mode(SI))); // expected-error{{type of machine mode does not match type of base type}}
20 int **__attribute((mode(QI)))* i32; // expected-error{{mode attribute}}
22 typedef _Complex double c32 __attribute((mode(SC)))
    [all...]
  /external/clang/test/CodeGenCXX/
enum.cpp 3 enum A { a } __attribute((packed));
pragma-visibility.cpp 12 struct __attribute((visibility("default"))) x2 {
22 } __attribute((visibility("default")));
51 namespace n __attribute((visibility("default"))) {
57 namespace n __attribute((visibility("default"))) {
  /external/clang/test/SemaOpenCL/
vector_conv_invalid.cl 3 typedef unsigned int uint4 __attribute((ext_vector_type(4)));
4 typedef int int4 __attribute((ext_vector_type(4)));
5 typedef int int3 __attribute((ext_vector_type(3)));
6 typedef unsigned uint3 __attribute((ext_vector_type(3)));
vector_literals_const.cl 3 typedef int int2 __attribute((ext_vector_type(2)));
4 typedef int int3 __attribute((ext_vector_type(3)));
5 typedef int int4 __attribute((ext_vector_type(4)));
15 typedef float float2 __attribute((ext_vector_type(2)));
16 typedef float float3 __attribute((ext_vector_type(3)));
17 typedef float float4 __attribute((ext_vector_type(4)));
init.cl 3 typedef float float8 __attribute((ext_vector_type(8)));
  /external/clang/test/CodeGenOpenCL/
vector_literals_nested.cl 3 typedef int int2 __attribute((ext_vector_type(2)));
4 typedef int int4 __attribute((ext_vector_type(4)));
11 typedef float float2 __attribute((ext_vector_type(2)));
12 typedef float float4 __attribute((ext_vector_type(4)));

Completed in 511 milliseconds

1 2 3 4 5 6