/external/llvm/test/tools/llvm-readobj/Inputs/ |
cxx-cli-aux.cpp | 2 __declspec(appdomain) int PerAppDomain = 0;
|
/external/clang/test/CodeGen/ |
windows-on-arm-dllimport-dllexport.c | 3 __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);
|
dllexport.c | 14 __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(dllexport) inline void externInlineFunc(void) { function 102 void __declspec(dllimport) __declspec(dllexport) precedence1B(void) {} function 107 void __declspec(dllexport) __declspec(dllimport) precedence2B(void) {} function [all...] |
ms-declspecs.c | 3 __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/ |
dllexport.c | 7 __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(dllexport) GlobalInit2 = 1 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...] |
dllimport.c | 7 __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(dllimport) int GlobalInit1 = 1; // expected-error{{definition of dllimport data} 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...] |
MicrosoftCompatibility.c | 14 __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/ |
lib1.c | 2 __declspec(dllexport) function
|
/external/chromium_org/tools/gyp/test/dependencies/sharedlib-linksettings/ |
sharedlib.c | 8 __declspec(dllexport) function
|
/external/chromium_org/tools/gyp/test/win/importlib/ |
has-exports.cc | 5 __declspec(dllexport) void some_function() {
|
hello.cc | 5 __declspec(dllimport) void some_function();
|
/external/chromium_org/tools/gyp/test/win/linker-flags/ |
mapfile.cc | 5 __declspec(dllexport)
|
/external/chromium_org/win8/metro_driver/ |
display_properties.h | 9 extern "C" __declspec(dllexport) float GetModernUIScale();
|
/external/clang/test/SemaCXX/ |
declspec-thread.cpp | 3 __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(thread) int a; // expected-error {{must have global storage} [all...] |
attr-selectany.cpp | 4 __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(selectany) auto x8 = Internal(); // expected-error {{'selectany' can only be applied to data items (…) [all...] |
dllexport.cpp | 19 __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(dllexport) GlobalInit2 = 1 [all...] |
dllimport.cpp | 18 __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(dllimport) int GlobalInit1 = 1; // expected-error{{definition of dllimport data} [all...] |
/external/chromium_org/tools/gyp/test/win/compiler-flags/ |
warning-level3.cc | 6 struct __declspec(align(8)) C8 { __int64 i; }; 7 struct __declspec(align(4)) C4 { C8 m8; };
|
/external/clang/test/CodeGenCXX/ |
PR19955.cpp | 4 extern int __declspec(dllimport) var; 5 extern void __declspec(dllimport) fun();
|
dllexport-members.cpp | 44 __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(dllexport) static void staticInclass() { [all...] |
dllexport.cpp | 38 __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(dllexport) auto ExternalAutoTypeGlobal = External() [all...] |
/external/clang/test/Rewriter/ |
missing-dllimport.c | 7 __declspec(dllimport) int __cdecl foo(void);
|
/external/chromium_org/base/ |
base_export.h | 12 #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/ |
crypto_export.h | 16 #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/ |
ipc_export.h | 15 #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)
|