Home
last modified time | relevance | path

Searched refs:__stdcall (Results 1 – 25 of 70) sorted by relevance

123

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Ddecl-microsoft-call-conv.cpp60 void_fun_t __stdcall member_typedef_stdcall;
68 static void __stdcall static_member_stdcall1();
69 static void __stdcall static_member_stdcall2();
90 void __stdcall S::member_typedef_stdcall() {} in member_typedef_stdcall()
131 static void __stdcall overloaded(short a);
143 void __stdcall friend_stdcall1() {} in friend_stdcall1()
149 friend void __stdcall friend_stdcall2();
154 void __stdcall friend_stdcall2() {} in friend_stdcall2()
164 void __cdecl __cdecl __stdcall __cdecl __fastcall __vectorcall multi_cc(int x);
166 template <typename T> void __stdcall StdcallTemplate(T) {} in StdcallTemplate()
[all …]
H A Dms-iunknown-template-function.cpp15 #define __stdcall macro
22 virtual HRESULT __stdcall QueryInterface(
26 virtual ULONG __stdcall AddRef(void) = 0;
28 virtual ULONG __stdcall Release(void) = 0;
31 HRESULT __stdcall QueryInterface(Q **pp) { in QueryInterface()
H A Dcalling-conv-compat.cpp10 void __stdcall free_func_stdcall();
15 typedef void (__stdcall *fptr_stdcall)();
102 typedef void (__stdcall &fref_stdcall)();
326 mptr_t __stdcall return_mptr_std(short) { in return_mptr_std()
351 void __stdcall method_stdcall();
357 void (__stdcall A::*mp3)() = &A::method_stdcall;
363 typedef void (__stdcall fun_stdcall)();
377 X<void __stdcall ()>::p tmpl3 = &A::method_stdcall;
403 void pass_fptr_stdcall (void (__stdcall *fp)());
424 template<typename T, T (__stdcall f)()> void g();
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dmicrosoft-call-conv.c6 void __stdcall f2(void);
13 void __stdcall f5(void) { in f5()
31 void (__stdcall *pf2)(void) = f2;
34 void (__stdcall *pf5)(void) = f5;
56 void __stdcall f7(foo) int foo; {} in f7()
67 void __stdcall f11(int x, ...) {}; in f11()
H A Dmicrosoft-call-conv-x64.c4 void __stdcall f2(void);
10 void __stdcall f5(void) { in f5()
18 void (__stdcall *pf2)(void) = f2;
20 void (__stdcall *pf5)(void) = f5;
35 void __stdcall f7(foo) int foo; {} in f7()
H A Dmangle-windows.c13 void __stdcall f1(void) {} in f1()
25 void __stdcall f3(void) {} in f3()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dmangle-windows.cpp7 void __stdcall f1(void) {} in f1()
15 extern "C" void __stdcall f3(void) {} in f3()
28 void __stdcall foo();
29 static void __stdcall bar();
43 extern "C" void __stdcall operator++(Foo &x) { in operator ++()
H A Dmicrosoft-abi-thunks.cpp144 virtual void __stdcall foo();
147 virtual void __stdcall foo();
150 virtual void __stdcall foo();
H A Dmicrosoft-abi-byval-thunks.cpp41 struct A { virtual void __stdcall foo(Agg x); };
42 struct B { virtual void __stdcall foo(Agg x); };
43 struct C : A, B { C(); virtual void __stdcall foo(Agg x); };
H A Dmicrosoft-abi-structors.cpp478 __stdcall G() {}; in G()
480 __stdcall ~G() {}; in ~G()
/llvm-project-15.0.7/clang/test/Sema/
H A Ddecl-microsoft-call-conv.c9 void __stdcall CrcGenerateTableStdcall(void);
10 void __stdcall CrcGenerateTableStdcall();
11 void __stdcall CrcGenerateTableStdcall() {} in CrcGenerateTableStdcall()
23 void __stdcall CrcGenerateTableNoProtoStdcall(); // expected-warning{{function with no prototype ca…
29 void __stdcall CrcGenerateTableNoProtoDefStdcall() {} in CrcGenerateTableNoProtoDefStdcall()
H A DMicrosoftCompatibility-x64.c7 int __stdcall f(void);
11 int __stdcall func_std(void);
H A Dmingw-macro-qualified-type.c10 #define WINAPI __stdcall
11 #define CALLBACK __stdcall
H A Dcalling-conv-complete-params.c19 EXTERN_C void __stdcall fwd_std(struct Foo p);
23 void (__stdcall *fp_fwd_std)(struct Foo) = &fwd_std;
/llvm-project-15.0.7/clang/test/PCH/
H A Dsingle-token-macro.c15 #ifdef __stdcall
17 #undef __stdcall
20 #define __stdcall macro
21 #define STDCALL __stdcall
/llvm-project-15.0.7/llvm/test/Demangle/
H A Dms-windows.test8 ; CHECK: static void __stdcall Foo::bar(void)
11 ; CHECK: void __stdcall Foo::bar(void)
17 ; CHECK: void __stdcall f1(void)
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Windows/
H A Drtlallocateheap_dll_unload_realloc.cpp14 using AllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, SIZE_T);
15 using FreeFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID);
16 using RtlReAllocateHeapPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID, SIZE_T);
H A Drtlallocateheap_zero.cpp10 using AllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, SIZE_T);
11 using ReAllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID, SIZE_T);
12 using FreeFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID);
H A Dheapalloc_rtl_transfer.cpp10 using AllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, SIZE_T);
11 using ReAllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID, SIZE_T);
13 using FreeFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID);
H A Drtlallocateheap.cpp9 using AllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, SIZE_T);
10 using FreeFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID);
H A Drtlallocateheap_flags_fallback.cpp11 using AllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, SIZE_T);
12 using FreeFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID);
H A Drtlallocateheap_dll_unload_double_free.cpp14 using AllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, SIZE_T);
15 using FreeFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID);
/llvm-project-15.0.7/clang/test/Parser/
H A DMicrosoftExtensions.c2 __stdcall int func0(void);
3 int __stdcall func(void);
6 extern __declspec(dllimport) void __stdcall VarR4FromDec(void);
98 typedef void(*ignored_quals_dummy3)(void), __stdcall ignored_quals3; // expected-warning {{qualifie…
H A DMicrosoftExtensions.cpp389 typedef bool (__stdcall __stdcall *blarg)(int);
392 bool (__stdcall *p)(int);
419 typedef void(*ignored_quals_dummy3)(), __stdcall ignored_quals3; // expected-warning {{qualifiers a…
/llvm-project-15.0.7/compiler-rt/lib/interception/
H A Dinterception.h132 extern "C" __declspec(dllimport) ret_type __stdcall func(__VA_ARGS__);
250 typedef ret_type (__stdcall *FUNC_TYPE(func))(__VA_ARGS__); \
256 ret_type __stdcall WRAP(func)(__VA_ARGS__)

123