Searched defs:__declspec (Results 1 - 14 of 14) sorted by relevance

/external/clang/test/CodeGen/
H A Dms-declspecs.c3 __declspec(selectany) int x1 = 1;
4 const __declspec(selectany) int x2 = 2;
9 __declspec(selectany) int x3;
10 extern __declspec(selectany) int x4;
14 struct __declspec(align(16)) S {
23 __declspec(naked) void t3() {} function
26 void __declspec(nothrow) t22();
30 __declspec(noinline) void t2() {} function
33 __declspec(noreturn) void f20_t(void);
H A Ddllexport.c14 __declspec(dllexport) extern int ExternGlobalDecl;
18 __declspec(dllexport) int GlobalDef;
22 __declspec(dllexport) int GlobalInit = 1;
26 __declspec(dllexport) extern int GlobalDeclInit;
31 __declspec(dllexport) extern int GlobalRedecl1;
32 __declspec(dllexport) int GlobalRedecl1;
35 __declspec(dllexport) extern int GlobalRedecl2;
48 __declspec(dllexport) void def(void) {} function
53 __declspec(dllexport) inline void inlineFunc(void) {} function
54 __declspec(dllexpor function
102 void __declspec(dllimport) __declspec(dllexport) precedence1B(void) {} function
107 void __declspec(dllexport) __declspec(dllimport) precedence2B(void) {} function
[all...]
H A Ddllimport.c21 __declspec(dllimport) extern int ExternGlobalDecl;
26 __declspec(dllimport) int GlobalDecl;
31 __declspec(dllimport) extern int GlobalRedecl1;
32 __declspec(dllimport) extern int GlobalRedecl1;
36 __declspec(dllimport) int GlobalRedecl2;
37 __declspec(dllimport) int GlobalRedecl2;
43 __declspec(dllimport) extern int GlobalRedecl3;
49 __declspec(dllimport) extern int GlobalRedecl4;
55 __declspec(dllimport) extern int GlobalRedecl5;
61 __declspec(dllimpor
86 __declspec(dllimport) inline void inlineFunc(void) {} function
97 __declspec(dllimport) __attribute__((always_inline)) inline void alwaysInline(void) {} function
[all...]
H A Dms-inline-asm-functions.c9 __declspec(dllimport) int kimport(int);
50 void __declspec(naked) naked() { function
/external/clang/test/Sema/
H A DMicrosoftCompatibility.c14 __declspec(noreturn) void f6( void ) { function
18 __declspec(align(32768)) struct S1 { int a; } s; /* expected-error {{requested alignment must be 8192 bytes or smaller}} */
19 struct __declspec(aligned) S2 {}; /* expected-warning {{__declspec attribute 'aligned' is not supported}} */ function
21 struct __declspec(appdomain) S3 {}; /* expected-warning {{__declspec attribute 'appdomain' is not supported}} */ function
23 __declspec(__noreturn__) void f7(void); /* expected-warning {{__declspec attribute '__noreturn__' is not supported}} */
H A Ddllexport.c7 __declspec(dllexport) typedef int typedef1; // expected-warning{{'dllexport' attribute only applies to variables and functions}}
8 typedef __declspec(dllexport) int typedef2; // expected-warning{{'dllexport' attribute only applies to variables and functions}}
9 typedef int __declspec(dllexport) typedef3; // expected-warning{{'dllexport' attribute only applies to variables and functions}}
10 typedef __declspec(dllexport) void (*FunTy)(); // expected-warning{{'dllexport' attribute only applies to variables and functions}}
11 enum __declspec(dllexport) Enum { EnumVal }; // expected-warning{{'dllexport' attribute only applies to variables and functions}} function
12 struct __declspec(dllexport) Record {}; // expected-warning{{'dllexport' attribute only applies to variables and functions}} function
21 __declspec(dllexport) extern int ExternGlobalDecl;
24 __declspec(dllexport) int GlobalDef;
27 __declspec(dllexport) int GlobalInit1 = 1;
28 int __declspec(dllexpor
80 __declspec(dllexport) inline void inlineFunc1() {} function
102 __declspec(dllexport) inline void redecl5() {} // expected-error{{redeclaration of 'redecl5' cannot add 'dllexport' attribute}} function
144 void __declspec(dllimport) __declspec(dllexport) precedence1B() {} // expected-warning{{'dllimport' attribute ignored}} function
147 void __declspec(dllexport) __declspec(dllimport) precedence2B() {} // expected-warning{{'dllimport' attribute ignored}} function
[all...]
H A Dms-inline-asm.c108 __declspec(naked) int t5(int x) { // expected-note {{attribute is here}} function
114 __declspec(naked) int t6(int x) { function
H A Dpragma-ms_struct.c62 struct __declspec(ms_struct) bad { // expected-warning {{__declspec attribute 'ms_struct' is not supported}} function
H A Ddllimport.c7 __declspec(dllimport) typedef int typedef1; // expected-warning{{'dllimport' attribute only applies to variables and functions}}
8 typedef __declspec(dllimport) int typedef2; // expected-warning{{'dllimport' attribute only applies to variables and functions}}
9 typedef int __declspec(dllimport) typedef3; // expected-warning{{'dllimport' attribute only applies to variables and functions}}
10 typedef __declspec(dllimport) void (*FunTy)(); // expected-warning{{'dllimport' attribute only applies to variables and functions}}
11 enum __declspec(dllimport) Enum { EnumVal }; // expected-warning{{'dllimport' attribute only applies to variables and functions}} function
12 struct __declspec(dllimport) Record {}; // expected-warning{{'dllimport' attribute only applies to variables and functions}} function
21 __declspec(dllimport) extern int ExternGlobalDecl;
24 __declspec(dllimport) int GlobalDecl;
32 __declspec(dllimport) extern int ExternGlobalInit = 1; // expected-error{{definition of dllimport data}}
33 __declspec(dllimpor
122 __declspec(dllimport) void def() {} // expected-error{{dllimport cannot be applied to non-inline function definition}} function
129 __declspec(dllimport) inline void inlineFunc1() {} function
167 __declspec(dllimport) inline void redecl7() {} function
[all...]
H A DMicrosoftExtensions.c23 struct __declspec(uuid("00000000-0000-0000-C000-000000000046")) IUnknown {}; /* expected-error {{'uuid' attribute is not supported in C}} */
115 __declspec(deprecated("This is deprecated")) enum DE1 { one, two } e1; // expected-note {{'e1' has been explicitly marked deprecated here}}
116 struct __declspec(deprecated) DS1 { int i; float f; }; // expected-note {{'DS1' has been explicitly marked deprecated here}} function
119 __declspec(deprecated(MY_TEXT)) void Dfunc1( void ) {} // expected-note {{'Dfunc1' has been explicitly marked deprecated here}}
121 struct __declspec(deprecated(123)) DS2 {}; // expected-error {{'deprecated' attribute requires a string}}
/external/clang/test/Parser/
H A DMicrosoftExtensions.c6 extern __declspec(dllimport) void __stdcall VarR4FromDec(void);
7 __declspec(deprecated) __declspec(deprecated) char * __cdecl ltoa( long _Val, char * _DstBuf, int _Radix);
8 __declspec(safebuffers) __declspec(noalias) __declspec(restrict) void * __cdecl xxx(void *_Memory); /* expected-warning{{__declspec attribute 'safebuffers' is not supported}} expected-warning{{__declspec attribute 'noalias' is not supported}} */
41 enum __declspec(deprecated) E2 { i, j, k }; /* expected-note {{'E2' has been explicitly marked deprecated here}} */ function
42 __declspec(deprecate function
61 struct __declspec(frobble) S1 {}; /* expected-warning {{__declspec attribute 'frobble' is not supported}} */ function
[all...]
/external/tcpdump/
H A Daddrtoname.c762 __declspec(dllimport) function
/external/sqlite/dist/orig/
H A Dsqlite3.c8323 # define SQLITE_NOINLINE __declspec(noinline)
19948 __declspec(naked) __inline sqlite_uint64 __cdecl sqlite3Hwtime(void){ function
25595 __declspec(naked) __inline sqlite_uint64 __cdecl sqlite3Hwtime(void){ function
33114 __declspec(naked) __inline sqlite_uint64 __cdecl sqlite3Hwtime(void){ function
71276 __declspec(naked) __inline sqlite_uint64 __cdecl sqlite3Hwtime(void){ function
138874 __declspec(dllexport) function
154434 __declspec(dllexport) function
154939 __declspec(dllexport) function
[all...]
/external/sqlite/dist/
H A Dsqlite3.c8323 # define SQLITE_NOINLINE __declspec(noinline)
19948 __declspec(naked) __inline sqlite_uint64 __cdecl sqlite3Hwtime(void){ function
25602 __declspec(naked) __inline sqlite_uint64 __cdecl sqlite3Hwtime(void){ function
33132 __declspec(naked) __inline sqlite_uint64 __cdecl sqlite3Hwtime(void){ function
71294 __declspec(naked) __inline sqlite_uint64 __cdecl sqlite3Hwtime(void){ function
138904 __declspec(dllexport) function
154464 __declspec(dllexport) function
154969 __declspec(dllexport) function
[all...]

Completed in 675 milliseconds