Home
last modified time | relevance | path

Searched refs:cdecl (Results 1 – 25 of 56) sorted by relevance

123

/external/clang/test/Sema/
Dcallingconv.c26 void __attribute__((cdecl)) ctest0() {} in ctest0()
28 void __attribute__((cdecl(1))) ctest1(float x) {} // expected-error {{'cdecl' attribute takes no ar… in ctest1()
34 void (__attribute__((cdecl)) *ptest1)(void) = test1; // expected-warning {{incompatible pointer typ…
39 void (__attribute__((cdecl)) *pctest2)() = ctest2;
56 void __attribute__((cdecl)) ctest3() {} in ctest3()
60 PROC __attribute__((cdecl)) ctest4(const char *x) {} in ctest4()
Dcallingconv-iamcu.c19 void __attribute__((cdecl)) ctest0() {} in ctest0()
21 void __attribute__((cdecl(1))) ctest1(float x) {} // expected-error {{'cdecl' attribute takes no ar… in ctest1()
30 void (__attribute__((cdecl)) *pctest2)() = ctest2;
46 void __attribute__((cdecl)) ctest3() {} in ctest3()
49 PROC __attribute__((cdecl)) ctest4(const char *x) {} in ctest4()
Dstdcall-fastcall.c13 void rdar8876096foo1(int i, int j) __attribute__((fastcall, cdecl)); // expected-error {{not compat…
16 void rdar8876096foo4(int i, int j) __attribute__((stdcall, cdecl)); // expected-error {{not compati…
18 void rdar8876096foo6(int i, int j) __attribute__((cdecl, fastcall)); // expected-error {{not compat…
19 void rdar8876096foo7(int i, int j) __attribute__((cdecl, stdcall)); // expected-error {{not compati…
Dstdcall-fastcall-x64.c13 void rdar8876096foo1(int i, int j) __attribute__((fastcall, cdecl)); // expected-warning{{calling c…
16 void rdar8876096foo4(int i, int j) __attribute__((stdcall, cdecl)); // expected-warning{{calling co…
18 void rdar8876096foo6(int i, int j) __attribute__((cdecl, fastcall)); // expected-warning {{calling …
19 void rdar8876096foo7(int i, int j) __attribute__((cdecl, stdcall)); // expected-warning{{calling co…
Dms_abi-sysv_abi.c13 void bar(int i, int j) __attribute__((ms_abi, cdecl)); // expected-error{{cdecl and ms_abi attribut…
14 void bar2(int i, int j) __attribute__((sysv_abi, cdecl)); // no-error
Dmrtd.c24 __attribute__((cdecl)) extern void (*a)(int, int);
27 __attribute__((cdecl)) extern void (*b)(int, ...);
Dpreserve-call-conv.c13 void (__attribute__((cdecl)) *pfoo2)(void *) = foo; // expected-warning {{incompatible pointer type…
29 void (__attribute__((cdecl)) *pboo2)(void *) = boo; // expected-warning {{incompatible pointer type…
Dattr-args.c6 inline __attribute__((cdecl(a))) void *f3(); // expected-error {{'cdecl' attribute takes no argume…
/external/zlib/src/contrib/pascal/
Dzlibpas.pas18 cdecl;
20 cdecl;
23 cdecl;
25 cdecl;
256 function _malloc(Size: Integer): Pointer; cdecl; in _malloc()
261 procedure _free(Block: Pointer); cdecl;
266 procedure _memset(P: Pointer; B: Byte; count: Integer); cdecl;
271 procedure _memcpy(dest, source: Pointer; count: Integer); cdecl;
/external/zlib/src/contrib/delphi/
DZLib.pas19 TAlloc = function (AppData: Pointer; Items, Size: Integer): Pointer; cdecl; in ppData()
20 TFree = procedure (AppData, Block: Pointer); cdecl;
218 function _malloc(Size: Integer): Pointer; cdecl; in _malloc()
223 procedure _free(Block: Pointer); cdecl;
228 procedure _memset(P: Pointer; B: Byte; count: Integer); cdecl;
233 procedure _memcpy(dest, source: Pointer; count: Integer); cdecl;
254 function zlibAllocMem(AppData: Pointer; Items, Size: Integer): Pointer; cdecl; in zlibAllocMem()
260 procedure zlibFreeMem(AppData, Block: Pointer); cdecl;
/external/clang/test/CodeGenCXX/
D2007-01-06-PtrMethodInit.cpp36 __attribute__ ((regparm (0), cdecl)) HandleEvent (nsIDOMEvent * event) =
48 cdecl)) MouseDown (nsIDOMEvent * aMouseEvent) = 0;
Ddefault_calling_conv.cpp14 void __attribute__((cdecl)) test2() {} in test2()
Dmicrosoft-abi-default-cc.cpp7 # define METHOD_CC __attribute__ ((cdecl))
/external/vulkan-validation-layers/scripts/
Dlayer_dispatch_table_generator.py223 cdecl=param_cdecl))
236 cdecl=self.makeCDecls(cmdinfo.elem)[0]))
246 cdecl=self.makeCDecls(cmdinfo.elem)[0]))
258 cdecl=self.makeCDecls(cmdinfo.elem)[0]))
269 cdecl=self.makeCDecls(cmdinfo.elem)[0]))
Dobject_tracker_generator.py577 cdecl = self.makeCParamDecl(member, 0)
594 isconst=True if 'const' in cdecl else False,
599 cdecl=cdecl,
695 if 'uint32_t*' in cmd_info[-2].cdecl:
782 ispointer = '*' in member.cdecl;
872 cdecl = self.makeCParamDecl(member, 0)
876 isconst = True if 'const' in cdecl else False
896 cdecl=cdecl,
Dlayer_chassis_dispatch_generator.py1243 cdecl = self.makeCParamDecl(member, 0)
1261 isconst=True if 'const' in cdecl else False,
1265 cdecl=cdecl,
1549 … if (first_level_param == False) or (create_func == False) or (not '*' in member.cdecl):
1560 ispointer = '*' in member.cdecl;
1688 cdecl = self.makeCParamDecl(member, 0)
1692 isconst = True if 'const' in cdecl else False
1713 cdecl=cdecl,
Dparameter_validation_generator.py520 cdecl = self.makeCParamDecl(member, 0)
542 isconst=True if 'const' in cdecl else False,
549 cdecl=cdecl))
633 cdecl = self.makeCParamDecl(param, 0)
643 isconst=True if 'const' in cdecl else False,
650 cdecl=cdecl))
656 …self.commands.append(self.CommandData(name=name, params=paramsInfo, cdecl=self.makeCDecls(cmdinfo.…
773 len=None, extstructs=None, condition=None, cdecl=None)
784 lines = cmd.cdecl[:-1].split('\n')
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dtailcall-msvc-conventions.ll10 ; Don't allow tail calling these cdecl functions, because we need to clear the
146 ; stdcall to cdecl works if no arguments need popping.
154 ; vectorcall to cdecl works if no arguments need popping.
162 ; fastcall to cdecl works if no arguments need popping.
/external/llvm/test/CodeGen/X86/
Dtailcall-msvc-conventions.ll10 ; Don't allow tail calling these cdecl functions, because we need to clear the
146 ; stdcall to cdecl works if no arguments need popping.
154 ; vectorcall to cdecl works if no arguments need popping.
162 ; fastcall to cdecl works if no arguments need popping.
/external/clang/test/SemaObjC/
Dmethod-attributes.m90 __attribute__((cdecl)) // expected-warning {{'cdecl' attribute only applies to functions and metho…
/external/clang/test/Parser/
Dx64-windows-calling-convention-handling.c3 int __cdecl cdecl(int a, int b, int c, int d) { // expected-no-diagnostics in cdecl() function
Darm-windows-calling-convention-handling.c3 int __cdecl cdecl(int a, int b, int c, int d) { // expected-no-diagnostics in cdecl() function
/external/clang/test/SemaCXX/
Dvirtual-override-x64.cpp14 void __attribute__((cdecl)) f();
Dvirtual-override-x86.cpp11 …void __attribute__((cdecl)) f(); // expected-error{{virtual function 'f' has different calling co…
/external/curl/lib/
Dconfig-win32.h700 #define WINBERAPI __declspec(cdecl)
701 #define WINLDAPAPI __declspec(cdecl)

123