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

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/SemaObjC/
nonnull.h 2 #define NONNULL_ATTR __attribute__((nonnull))
method-attributes.m 6 -t1 __attribute__((noreturn));
7 - (NSString *)stringByAppendingFormat:(NSString *)format, ... __attribute__((format(__NSString__, 1, 2)));
8 -(void) m0 __attribute__((noreturn));
9 -(void) m1 __attribute__((unused));
10 -(void) m2 __attribute__((stdcall));
11 -(void) m3 __attribute__((optnone));
16 - (int) foo1: (int)arg1 __attribute__((deprecated));
20 - (int) foo2: (int)arg1 __attribute__((deprecated)) __attribute__((unavailable));
21 - (int) foo3: (int)arg1 __attribute__((deprecated)) __attribute__((unavailable)) __attribute__((ns_consumes_self))
    [all...]
  /external/clang/test/SemaCXX/
address-space-initialize.cpp 3 __attribute__((address_space(42)))
6 __attribute__((address_space(42)))
9 __attribute__((address_space(42)))
12 __attribute__((address_space(42)))
15 __attribute__((address_space(42)))
19 __attribute__((address_space(9999)))
20 int* as_ptr = nocv_iarray; // expected-error{{cannot initialize a variable of type '__attribute__((address_space(9999))) int *' with an lvalue of type '__attribute__((address_space(42))) int [10]'}}
23 __attribute__((address_space(42))) int* __attribute__((address_space(42))) ptr_in_same_addr_space = nocv_iarray
    [all...]
attr-print.cpp 3 // CHECK: int x __attribute__((aligned(4)));
4 int x __attribute__((aligned(4)));
10 // CHECK: void foo() __attribute__((const));
11 void foo() __attribute__((const));
13 // CHECK: void bar() __attribute__((__const));
14 void bar() __attribute__((__const));
17 // CHECK: void foo1() __attribute__((pure)) __attribute__((noinline));
18 void foo1() __attribute__((noinline, pure));
20 // CHECK: typedef int Small1 __attribute__((mode(byte)))
    [all...]
  /external/clang/test/SemaCXX/Inputs/
malloc.h 2 extern void *malloc (__SIZE_TYPE__ __size) throw () __attribute__ ((__malloc__)) ;
  /external/clang/test/Sema/
arm-interrupt-attr.c 3 __attribute__((interrupt(IRQ))) void foo() {} // expected-error {{'interrupt' attribute requires a string}}
4 __attribute__((interrupt("irq"))) void foo1() {} // expected-warning {{'interrupt' attribute argument not supported: irq}}
6 __attribute__((interrupt("IRQ", 1))) void foo2() {} // expected-error {{'interrupt' attribute takes no more than 1 argument}}
8 __attribute__((interrupt("IRQ"))) void foo3() {}
9 __attribute__((interrupt("FIQ"))) void foo4() {}
10 __attribute__((interrupt("SWI"))) void foo5() {}
11 __attribute__((interrupt("ABORT"))) void foo6() {}
12 __attribute__((interrupt("UNDEF"))) void foo7() {}
14 __attribute__((interrupt)) void foo8() {}
15 __attribute__((interrupt())) void foo9() {
    [all...]
attr-coldhot.c 3 int foo() __attribute__((__hot__));
4 int bar() __attribute__((__cold__));
6 int var1 __attribute__((__cold__)); // expected-warning{{'__cold__' attribute only applies to functions}}
7 int var2 __attribute__((__hot__)); // expected-warning{{'__hot__' attribute only applies to functions}}
9 int qux() __attribute__((__hot__)) __attribute__((__cold__)); // expected-error{{'__hot__' and 'cold' attributes are not compatible}}
10 int baz() __attribute__((__cold__)) __attribute__((__hot__)); // expected-error{{'__cold__' and 'hot' attributes are not compatible}}
attr-returns-twice.c 3 int a __attribute__((returns_twice)); // expected-warning {{'returns_twice' attribute only applies to functions}}
5 __attribute__((returns_twice)) void t0(void) {
8 void t1() __attribute__((returns_twice));
10 void t2() __attribute__((returns_twice(2))); // expected-error {{'returns_twice' attribute takes no arguments}}
12 typedef void (*t3)(void) __attribute__((returns_twice)); // expected-warning {{'returns_twice' attribute only applies to functions}}
attr-declspec-ignored.c 3 __attribute__((visibility("hidden"))) __attribute__((aligned)) struct A; // expected-warning{{attribute 'visibility' is ignored, place it after "struct" to apply attribute to type declaration}} \
5 __attribute__((visibility("hidden"))) __attribute__((aligned)) union B; // expected-warning{{attribute 'visibility' is ignored, place it after "union" to apply attribute to type declaration}} \
7 __attribute__((visibility("hidden"))) __attribute__((aligned)) enum C {C}; // expected-warning{{attribute 'visibility' is ignored, place it after "enum" to apply attribute to type declaration}} \
10 __attribute__((visibility("hidden"))) __attribute__((aligned)) struct D {} d;
11 __attribute__((visibility("hidden"))) __attribute__((aligned)) union E {} e
    [all...]
attr-weak.c 3 extern int g0 __attribute__((weak));
4 extern int g1 __attribute__((weak_import));
5 int g2 __attribute__((weak));
6 int g3 __attribute__((weak_import)); // expected-warning {{'weak_import' attribute cannot be specified on a definition}}
7 int __attribute__((weak_import)) g4(void);
8 void __attribute__((weak_import)) g5(void) {
11 struct __attribute__((weak)) s0 {}; // expected-warning {{'weak' attribute only applies to variables and functions}}
12 struct __attribute__((weak_import)) s1 {}; // expected-warning {{'weak_import' attribute only applies to variables and functions}}
14 static int x __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}}
18 extern int C __attribute__((weak_import)); // expected-warning {{an already-declared variable is made a weak_import declarati (…)
    [all...]
attr-used.c 3 extern int l0 __attribute__((used)); // expected-warning {{'used' attribute ignored}}
4 __private_extern__ int l1 __attribute__((used)); // expected-warning {{'used' attribute ignored}}
6 struct __attribute__((used)) s { // expected-warning {{'used' attribute only applies to variables and functions}}
10 int a __attribute__((used));
12 static void __attribute__((used)) f0(void) {
16 static int a __attribute__((used));
17 int b __attribute__((used)); // expected-warning {{'used' attribute ignored}}
20 static void __attribute__((used)) f0(void);
attr-noreturn.c 3 static void (*fp0)(void) __attribute__((noreturn));
7 static void __attribute__((noreturn)) f0(void) {
12 int f1() __attribute__((noreturn));
14 int g0 __attribute__((noreturn)); // expected-warning {{'noreturn' only applies to function types; type here is 'int'}}
16 int f2() __attribute__((noreturn(1, 2))); // expected-error {{'noreturn' attribute takes no arguments}}
18 void f3() __attribute__((noreturn));
25 void f4() __attribute__((noreturn));
31 extern void f5 (unsigned long) __attribute__ ((__noreturn__));
40 __attribute__((noreturn)) void f(__attribute__((noreturn)) void (*x)(void))
    [all...]
attr-alias-elf.c 3 void f1(void) __attribute__((alias("g1")));
7 void f2(void) __attribute__((alias("g2"))); // expected-error {{alias must point to a defined variable or function}}
10 void f3(void) __attribute__((alias("g3"))); // expected-error {{alias must point to a defined variable or function}}
14 void f4() __attribute__((alias("g4")));
16 void h4() __attribute__((alias("f4")));
18 void f5() __attribute__((alias("g5")));
19 void h5() __attribute__((alias("f5")));
23 void f6() __attribute__((alias("g6")));
24 void h6() __attribute__((alias("f6")));
27 void h7() __attribute__((alias("f7")))
    [all...]
callingconv.c 4 void __attribute__((fastcall)) foo(float *a) {
7 void __attribute__((stdcall)) bar(float *a) {
10 void __attribute__((fastcall(1))) baz(float *a) { // expected-error {{'fastcall' attribute takes no arguments}}
13 void __attribute__((fastcall)) test0() { // expected-error {{function with no prototype cannot use fastcall calling convention}}
16 void __attribute__((fastcall)) test1(void) {
19 void __attribute__((fastcall)) test2(int a, ...) { // expected-warning {{fastcall calling convention ignored on variadic function}}
21 void __attribute__((stdcall)) test3(int a, ...) { // expected-warning {{stdcall calling convention ignored on variadic function}}
23 void __attribute__((thiscall)) test4(int a, ...) { // expected-error {{variadic function cannot use thiscall calling convention}}
26 void __attribute__((cdecl)) ctest0() {}
28 void __attribute__((cdecl(1))) ctest1(float x) {} // expected-error {{'cdecl' attribute takes no arguments}
    [all...]
attr-naked.c 3 int a __attribute__((naked)); // expected-warning {{'naked' attribute only applies to functions}}
5 __attribute__((naked)) int t0(void) {
9 void t1() __attribute__((naked));
11 void t2() __attribute__((naked(2))); // expected-error {{'naked' attribute takes no arguments}}
  /external/clang/test/PCH/
ext_vector.h 3 typedef __attribute__((ext_vector_type(2))) float float2;
4 typedef __attribute__((ext_vector_type(4))) float float4;
  /frameworks/compile/slang/tests/P_overload/
overload.rs 4 void __attribute__((overloadable)) foo(int i) {
7 void __attribute__((overloadable)) foo(float f) {
  /external/chromium_org/tools/gyp/test/mac/strip/
file.c 6 __attribute__((used)) void the_used_function() {}
8 __attribute__((visibility("hidden"))) __attribute__((used))
10 __attribute__((visibility("default"))) __attribute__((used))
14 __attribute__((used)) int i;
15 __attribute__((used)) const int ci = 34623;
main.c 6 __attribute__((used)) void the_used_function() {}
8 __attribute__((visibility("hidden"))) __attribute__((used))
10 __attribute__((visibility("default"))) __attribute__((used))
16 __attribute__((used)) int i;
17 __attribute__((used)) const int ci = 34623;
  /prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/scriptc/
rs_object.rsh 33 extern void __attribute__((overloadable))
38 extern void __attribute__((overloadable))
43 extern void __attribute__((overloadable))
48 extern void __attribute__((overloadable))
53 extern void __attribute__((overloadable))
58 extern void __attribute__((overloadable))
63 extern void __attribute__((overloadable))
68 extern void __attribute__((overloadable))
73 extern void __attribute__((overloadable))
78 extern void __attribute__((overloadable)
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/scriptc/
rs_object.rsh 33 extern void __attribute__((overloadable))
38 extern void __attribute__((overloadable))
43 extern void __attribute__((overloadable))
48 extern void __attribute__((overloadable))
53 extern void __attribute__((overloadable))
58 extern void __attribute__((overloadable))
63 extern void __attribute__((overloadable))
68 extern void __attribute__((overloadable))
73 extern void __attribute__((overloadable))
78 extern void __attribute__((overloadable)
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/scriptc/
rs_object.rsh 33 extern void __attribute__((overloadable))
38 extern void __attribute__((overloadable))
43 extern void __attribute__((overloadable))
48 extern void __attribute__((overloadable))
53 extern void __attribute__((overloadable))
58 extern void __attribute__((overloadable))
63 extern void __attribute__((overloadable))
68 extern void __attribute__((overloadable))
73 extern void __attribute__((overloadable))
78 extern void __attribute__((overloadable)
    [all...]
  /external/clang/test/Parser/
attributes.c 3 int __attribute__(()) x;
5 __inline void __attribute__((__always_inline__, __nodebug__))
10 __attribute__(()) y; // expected-warning {{defaults to 'int'}}
13 int (__attribute__(()) *z)(long y);
16 void f1(__attribute__(()) int x);
18 int f2(y, __attribute__(()) x); // expected-error {{expected identifier}}
21 // int) because the __attribute__ is a declspec.
22 void f3(__attribute__(()) x, // expected-warning {{defaults to 'int'}}
25 void f4(__attribute__(())); // expected-error {{expected parameter declarator}}
28 // This is ok, the __attribute__ applies to the pointer
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
TestConvert.rs 23 float2 __attribute__((kernel)) testConvertFloat2Float2Float2(float2 inV) {
27 float3 __attribute__((kernel)) testConvertFloat3Float3Float3(float3 inV) {
31 float4 __attribute__((kernel)) testConvertFloat4Float4Float4(float4 inV) {
35 float2 __attribute__((kernel)) testConvertFloat2Char2Float2(char2 inV) {
39 float3 __attribute__((kernel)) testConvertFloat3Char3Float3(char3 inV) {
43 float4 __attribute__((kernel)) testConvertFloat4Char4Float4(char4 inV) {
47 float2 __attribute__((kernel)) testConvertFloat2Uchar2Float2(uchar2 inV) {
51 float3 __attribute__((kernel)) testConvertFloat3Uchar3Float3(uchar3 inV) {
55 float4 __attribute__((kernel)) testConvertFloat4Uchar4Float4(uchar4 inV) {
59 float2 __attribute__((kernel)) testConvertFloat2Short2Float2(short2 inV)
    [all...]
  /external/chromium_org/tools/gyp/test/ninja/solibs_avoid_relinking/
solib.cc 4 __attribute__((visibility("default")))

Completed in 3525 milliseconds

1 2 3 4 5 6 7 8 91011>>