Searched refs:__declspec (Results 1 - 25 of 499) sorted by relevance

1234567891011>>

/external/llvm/test/tools/llvm-readobj/Inputs/
H A Dcxx-cli-aux.cpp2 __declspec(appdomain) int PerAppDomain = 0;
/external/clang/test/CodeGen/
H A Dwindows-on-arm-dllimport-dllexport.c3 __declspec(dllexport) int export_int;
5 __declspec(dllimport) int import_int;
7 __declspec(dllexport) void export_declared_function();
9 __declspec(dllexport) void export_implemented_function() {
12 __declspec(dllimport) void import_function(int);
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 Dms-declspecs.c3 __declspec(selectany) int x1 = 1;
4 const __declspec(selectany) int x2 = 2;
8 struct __declspec(align(16)) S {
17 __declspec(naked) void t3() {} function
20 void __declspec(nothrow) t22();
24 __declspec(noinline) void t2() {} function
27 __declspec(noreturn) void f20_t(void);
/external/clang/test/Sema/
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
72 __declspec(dllexport) inline void inlineFunc1() {} function
92 __declspec(dllexport) inline void redecl5() {} // expected-error{{redeclaration of 'redecl5' cannot add 'dllexport' attribute}} function
129 void __declspec(dllimport) __declspec(dllexport) precedence1B() {} // expected-warning{{'dllimport' attribute ignored}} function
132 void __declspec(dllexport) __declspec(dllimport) precedence2B() {} // expected-warning{{'dllimport' attribute ignored}} function
[all...]
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
108 __declspec(dllimport) void def() {} // expected-error{{dllimport cannot be applied to non-inline function definition}} function
111 __declspec(dllimport) inline void inlineFunc1() {} function
134 __declspec(dllimport) inline void redecl6() {} // expected-error{{redeclaration of 'redecl6' cannot add 'dllimport' attribute}} function
[all...]
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}} */
/external/chromium_org/tools/gyp/test/additional-targets/src/dir1/
H A Dlib1.c2 __declspec(dllexport) function
/external/chromium_org/tools/gyp/test/dependencies/sharedlib-linksettings/
H A Dsharedlib.c8 __declspec(dllexport) function
/external/chromium_org/tools/gyp/test/win/importlib/
H A Dhas-exports.cc5 __declspec(dllexport) void some_function() {
H A Dhello.cc5 __declspec(dllimport) void some_function();
/external/chromium_org/tools/gyp/test/win/linker-flags/
H A Dmapfile.cc5 __declspec(dllexport)
/external/chromium_org/win8/metro_driver/
H A Ddisplay_properties.h9 extern "C" __declspec(dllexport) float GetModernUIScale();
/external/clang/test/SemaCXX/
H A Ddeclspec-thread.cpp3 __thread __declspec(thread) int a; // expected-error {{already has a thread-local storage specifier}}
4 __declspec(thread) __thread int b; // expected-error {{already has a thread-local storage specifier}}
5 __declspec(thread) int c(); // expected-warning {{only applies to variables}}
6 __declspec(thread) int d;
8 __declspec(thread) int e = foo(); // expected-error {{must be a constant expression}} expected-note {{thread_local}}
11 __declspec(thread) HasCtor f; // expected-error {{must be a constant expression}} expected-note {{thread_local}}
14 __declspec(thread) HasDtor g; // expected-error {{non-trivial destruction}} expected-note {{thread_local}}
20 __declspec(thread) HasDefaultedDefaultCtor h;
26 __declspec(thread) HasConstexprCtor i(42);
29 __declspec(threa
[all...]
H A Ddllexport.cpp19 __declspec(dllexport) typedef int typedef1; // expected-warning{{'dllexport' attribute only applies to variables, functions and classes}}
20 typedef __declspec(dllexport) int typedef2; // expected-warning{{'dllexport' attribute only applies to variables, functions and classes}}
21 typedef int __declspec(dllexport) typedef3; // expected-warning{{'dllexport' attribute only applies to variables, functions and classes}}
22 typedef __declspec(dllexport) void (*FunTy)(); // expected-warning{{'dllexport' attribute only applies to variables, functions and classes}}
23 enum __declspec(dllexport) Enum {}; // expected-warning{{'dllexport' attribute only applies to variables, functions and classes}}
25 enum class __declspec(dllexport) EnumClass {}; // expected-warning{{'dllexport' attribute only applies to variables, functions and classes}}
35 __declspec(dllexport) extern int ExternGlobalDecl;
38 __declspec(dllexport) int GlobalDef;
41 __declspec(dllexport) int GlobalInit1 = 1;
42 int __declspec(dllexpor
[all...]
H A Ddllimport.cpp18 __declspec(dllimport) typedef int typedef1; // expected-warning{{'dllimport' attribute only applies to variables, functions and classes}}
19 typedef __declspec(dllimport) int typedef2; // expected-warning{{'dllimport' attribute only applies to variables, functions and classes}}
20 typedef int __declspec(dllimport) typedef3; // expected-warning{{'dllimport' attribute only applies to variables, functions and classes}}
21 typedef __declspec(dllimport) void (*FunTy)(); // expected-warning{{'dllimport' attribute only applies to variables, functions and classes}}
22 enum __declspec(dllimport) Enum {}; // expected-warning{{'dllimport' attribute only applies to variables, functions and classes}}
24 enum class __declspec(dllimport) EnumClass {}; // expected-warning{{'dllimport' attribute only applies to variables, functions and classes}}
34 __declspec(dllimport) extern int ExternGlobalDecl;
37 __declspec(dllimport) int GlobalDecl;
42 __declspec(dllimport) extern int ExternGlobalInit = 1; // expected-error{{definition of dllimport data}}
43 __declspec(dllimpor
[all...]
H A Dattr-selectany.cpp4 __declspec(selectany) void foo() { } // expected-error{{'selectany' can only be applied to data items with external linkage}}
6 __declspec(selectany) int x1 = 1;
8 const __declspec(selectany) int x2 = 2; // expected-error{{'selectany' can only be applied to data items with external linkage}}
10 extern const __declspec(selectany) int x3 = 3;
13 const __declspec(selectany) int x4 = 4;
16 extern __declspec(selectany) int x5;
18 static __declspec(selectany) int x6 = 2; // expected-error{{'selectany' can only be applied to data items with external linkage}}
23 extern __declspec(selectany) int x7; // expected-warning{{attribute declaration must precede definition}}
33 __declspec(selectany) X x(1);
36 __declspec(selectan
[all...]
/external/chromium_org/tools/gyp/test/win/compiler-flags/
H A Dwarning-level3.cc6 struct __declspec(align(8)) C8 { __int64 i; };
7 struct __declspec(align(4)) C4 { C8 m8; };
/external/clang/test/CodeGenCXX/
H A DPR19955.cpp4 extern int __declspec(dllimport) var;
5 extern void __declspec(dllimport) fun();
H A Ddllexport-members.cpp44 __declspec(dllexport) void normalDef();
45 __declspec(dllexport) void normalInclass() { referencedNonExportedInClass(); }
46 __declspec(dllexport) void normalInlineDef();
47 __declspec(dllexport) inline void normalInlineDecl();
66 __declspec(dllexport) virtual void virtualDef();
67 __declspec(dllexport) virtual void virtualInclass() {}
68 __declspec(dllexport) virtual void virtualInlineDef();
69 __declspec(dllexport) virtual inline void virtualInlineDecl();
79 __declspec(dllexport) static void staticDef();
80 __declspec(dllexpor
[all...]
H A Ddllexport.cpp38 __declspec(dllexport) extern int ExternGlobalDecl;
43 __declspec(dllexport) int GlobalDef;
48 __declspec(dllexport) int GlobalInit1 = 1;
52 int __declspec(dllexport) GlobalInit2 = 1;
57 __declspec(dllexport) extern int GlobalDeclInit;
63 __declspec(dllexport) extern int GlobalRedecl1;
64 __declspec(dllexport) int GlobalRedecl1;
68 __declspec(dllexport) extern int GlobalRedecl2;
73 namespace ns { __declspec(dllexport) int ExternalGlobal; }
77 __declspec(dllexpor
[all...]
/external/clang/test/Rewriter/
H A Dmissing-dllimport.c7 __declspec(dllimport) int __cdecl foo(void);
/external/chromium_org/base/
H A Dbase_export.h12 #define BASE_EXPORT __declspec(dllexport)
13 #define BASE_EXPORT_PRIVATE __declspec(dllexport)
15 #define BASE_EXPORT __declspec(dllimport)
16 #define BASE_EXPORT_PRIVATE __declspec(dllimport)
/external/chromium_org/crypto/
H A Dcrypto_export.h16 #define CRYPTO_EXPORT __declspec(dllexport)
17 #define CRYPTO_EXPORT_PRIVATE __declspec(dllexport)
19 #define CRYPTO_EXPORT __declspec(dllimport)
20 #define CRYPTO_EXPORT_PRIVATE __declspec(dllimport)
/external/chromium_org/ipc/
H A Dipc_export.h15 #define IPC_EXPORT __declspec(dllexport)
17 #define IPC_EXPORT __declspec(dllimport)
21 #define IPC_MOJO_EXPORT __declspec(dllexport)
23 #define IPC_MOJO_EXPORT __declspec(dllimport)

Completed in 1171 milliseconds

1234567891011>>