| /freebsd/contrib/llvm-project/compiler-rt/lib/interception/ |
| H A D | interception.h | 150 # define DECLARE_WRAPPER(ret_type, func, ...) argument 156 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument 157 extern "C" ret_type func(__VA_ARGS__); 158 # define DECLARE_WRAPPER_WINAPI(ret_type, func, ...) \ argument 159 extern "C" __declspec(dllimport) ret_type __stdcall func(__VA_ARGS__); 194 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument 195 extern "C" ret_type func(__VA_ARGS__); \ 196 extern "C" ret_type TRAMPOLINE(func)(__VA_ARGS__); \ 197 extern "C" ret_type __interceptor_##func(__VA_ARGS__) \ 229 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument [all …]
|
| /freebsd/usr.bin/truss/ |
| H A D | syscalls.c | 94 { .name = "__acl_aclcheck_fd", .ret_type = 1, .nargs = 3, 96 { .name = "__acl_aclcheck_file", .ret_type = 1, .nargs = 3, 98 { .name = "__acl_aclcheck_link", .ret_type = 1, .nargs = 3, 100 { .name = "__acl_delete_fd", .ret_type = 1, .nargs = 2, 102 { .name = "__acl_delete_file", .ret_type = 1, .nargs = 2, 104 { .name = "__acl_delete_link", .ret_type = 1, .nargs = 2, 106 { .name = "__acl_get_fd", .ret_type = 1, .nargs = 3, 108 { .name = "__acl_get_file", .ret_type = 1, .nargs = 3, 110 { .name = "__acl_get_link", .ret_type = 1, .nargs = 3, 112 { .name = "__acl_set_fd", .ret_type = 1, .nargs = 3, [all …]
|
| H A D | syscall.h | 215 u_int ret_type; member
|
| /freebsd/sys/x86/include/ |
| H A D | ifunc.h | 32 #define DEFINE_IFUNC(qual, ret_type, name, args) \ argument 33 static ret_type (*name##_resolver(void))args __used; \ 34 qual ret_type name args __attribute__((ifunc(#name "_resolver"))); \ 35 static ret_type (*name##_resolver(void))args 37 #define DEFINE_UIFUNC(qual, ret_type, name, args) \ argument 38 static ret_type (*name##_resolver(uint32_t, uint32_t, uint32_t, \ 40 qual ret_type name args __attribute__((ifunc(#name "_resolver"))); \ 41 static ret_type (*name##_resolver( \
|
| /freebsd/sys/arm/include/ |
| H A D | ifunc.h | 11 #define DEFINE_IFUNC(qual, ret_type, name, args) \ argument 12 static ret_type (*name##_resolver(void))args __used; \ 13 qual ret_type name args __attribute__((ifunc(#name "_resolver"))); \ 14 static ret_type (*name##_resolver(void))args 17 #define DEFINE_UIFUNC(qual, ret_type, name, args) \ argument 18 static ret_type (*name##_resolver(uint32_t, uint32_t, uint32_t, \ 20 qual ret_type name args __attribute__((ifunc(#name "_resolver"))); \ 21 static ret_type (*name##_resolver( \
|
| /freebsd/sys/riscv/include/ |
| H A D | ifunc.h | 33 #define DEFINE_IFUNC(qual, ret_type, name, args) \ argument 34 static ret_type (*name##_resolver(void))args __used; \ 35 qual ret_type name args __attribute__((ifunc(#name "_resolver"))); \ 36 static ret_type (*name##_resolver(void))args 38 #define DEFINE_UIFUNC(qual, ret_type, name, args) \ argument 39 static ret_type (*name##_resolver(unsigned long, unsigned long, \ 42 qual ret_type name args __attribute__((ifunc(#name "_resolver"))); \ 43 static ret_type (*name##_resolver(unsigned long elf_hwcap __unused, \
|
| H A D | vmm.h | 135 #define DECLARE_VMMOPS_FUNC(ret_type, opname, args) \ argument 136 ret_type vmmops_##opname args
|
| /freebsd/sys/powerpc/include/ |
| H A D | ifunc.h | 38 #define DEFINE_IFUNC(qual, ret_type, name, args) \ argument 39 static ret_type (*name##_resolver(void))args __used; \ 40 qual ret_type name args __attribute__((ifunc(#name "_resolver"))); \ 41 static ret_type (*name##_resolver(void))args 43 #define DEFINE_UIFUNC(qual, ret_type, name, args) \ argument 44 static ret_type (*name##_resolver(register_t, register_t, \ 47 qual ret_type name args __attribute__((ifunc(#name "_resolver"))); \ 48 static ret_type (*name##_resolver( \
|
| /freebsd/sys/arm64/include/ |
| H A D | ifunc.h | 45 #define DEFINE_IFUNC(qual, ret_type, name, args) \ argument 46 static ret_type (*name##_resolver(void))args __used; \ 47 qual ret_type name args __attribute__((ifunc(#name "_resolver"))); \ 48 static ret_type (*name##_resolver(void))args 50 #define DEFINE_UIFUNC(qual, ret_type, name, args) \ argument 51 static ret_type (*name##_resolver(uint64_t, \ 55 qual ret_type name args __attribute__((ifunc(#name "_resolver"))); \ 56 static ret_type (*name##_resolver( \
|
| H A D | vmm.h | 138 #define DECLARE_VMMOPS_FUNC(ret_type, opname, args) \ argument 139 ret_type vmmops_##opname args
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_solaris.cpp | 46 #define DECLARE__REAL(ret_type, func, ...) \ argument 47 extern "C" ret_type _REAL(func)(__VA_ARGS__) 48 #define DECLARE__REAL_AND_INTERNAL(ret_type, func, ...) \ argument 49 DECLARE__REAL(ret_type, func, __VA_ARGS__); \ 50 ret_type internal_ ## func(__VA_ARGS__) 57 #define DECLARE__REAL64(ret_type, func, ...) \ argument 58 extern "C" ret_type _REAL64(func)(__VA_ARGS__) 59 #define DECLARE__REAL_AND_INTERNAL64(ret_type, func, ...) \ argument 60 DECLARE__REAL64(ret_type, func, __VA_ARGS__); \ 61 ret_type internal_ ## func(__VA_ARGS__)
|
| H A D | sanitizer_netbsd.cpp | 89 #define DEFINE__REAL(ret_type, func, ...) \ argument 90 static ret_type (*real_##func)(__VA_ARGS__) = NULL; \ 92 real_##func = (ret_type(*)(__VA_ARGS__))GetRealLibcAddress(#func); \
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/safestack/ |
| H A D | safestack_platform.h | 79 #define DEFINE__REAL(ret_type, func, ...) \ argument 80 static ret_type (*real_##func)(__VA_ARGS__) = NULL; \ 82 real_##func = (ret_type(*)(__VA_ARGS__))GetRealLibcAddress(#func); \ 89 # define DEFINE__REAL(ret_type, func, ...) \ argument 90 extern "C" ret_type _REAL(func)(__VA_ARGS__) 97 # define DEFINE__REAL64(ret_type, func, ...) \ argument 98 extern "C" ret_type _REAL64(func)(__VA_ARGS__)
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
| H A D | msan_interceptors.cpp | 412 #define INTERCEPTOR_STRTO_BODY(ret_type, func, ...) \ argument 414 ret_type res = REAL(func)(__VA_ARGS__); \ 426 #define INTERCEPTOR_STRTO(ret_type, func, char_type) \ argument 427 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr) { \ 428 INTERCEPTOR_STRTO_BODY(ret_type, func, nptr, endptr); \ 431 #define INTERCEPTOR_STRTO_SRET(ret_type, func, char_type) \ argument 432 INTERCEPTOR(void, func, ret_type *sret, const char_type *nptr, \ 437 #define INTERCEPTOR_STRTO_BASE(ret_type, func, char_type) \ argument 438 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr, \ 440 INTERCEPTOR_STRTO_BODY(ret_type, func, nptr, endptr, base); \ [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Casting.h | 150 using ret_type = To &; // Normal case, return Ty& 153 using ret_type = const To &; // Normal case, return Ty& 157 using ret_type = To *; // Pointer arg case, return Ty* 161 using ret_type = const To *; // Constant pointer arg case, return const Ty* 165 using ret_type = const To *; // Constant pointer arg case, return const Ty* 171 using PointerType = typename cast_retty_impl<To, From *>::ret_type; 175 using ret_type = std::unique_ptr<ResultType>; 182 using ret_type = typename cast_retty<To, SimpleFrom>::ret_type; 187 using ret_type = typename cast_retty_impl<To, FromTy>::ret_type; 191 using ret_type = typename cast_retty_wrap< [all …]
|
| /freebsd/contrib/netbsd-tests/lib/libcurses/director/ |
| H A D | testlang_parse.y | 634 assign_rets(returns_enum_t ret_type, void *ret) in assign_rets() argument 640 cur.return_type = ret_type; in assign_rets() 641 if (ret_type != ret_var) { in assign_rets() 642 if ((ret_type == ret_number) || (ret_type == ret_string)) { in assign_rets() 650 } else if (ret_type == ret_byte) { in assign_rets() 659 } else if (ret_type == ret_ref) { in assign_rets()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerInterceptors.cpp | 21 #define DEFINE_REAL(ret_type, func, ...) \ argument 22 typedef ret_type (*FUNC_TYPE(func))(__VA_ARGS__); \
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| H A D | AppleObjCDeclVendor.cpp | 347 clang::QualType ret_type = in BuildMethod() local 351 if (ret_type.isNull()) in BuildMethod() 356 ret_type, nullptr, interface_decl, isInstance, isVariadic, in BuildMethod()
|
| /freebsd/sys/amd64/include/ |
| H A D | vmm.h | 169 #define DECLARE_VMMOPS_FUNC(ret_type, opname, args) \ argument 170 typedef ret_type (*vmmops_##opname##_t) args; \ 171 ret_type vmmops_##opname args
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/CTF/ |
| H A D | SymbolFileCTF.cpp | 486 Type *ret_type = ResolveTypeUID(ctf_function.return_type); in CreateFunction() local 487 if (!ret_type) in CreateFunction() 494 ret_type->GetFullCompilerType(), arg_types.data(), arg_types.size(), in CreateFunction() 810 Type *ret_type = ResolveTypeUID(ret_uid); in ParseFunctions() local 817 ret_type ? ret_type->GetFullCompilerType() : CompilerType(), in ParseFunctions()
|
| /freebsd/contrib/elftoolchain/libelftc/ |
| H A D | libelftc_dem_gnu3.c | 207 struct vector_str ret_type; in cpp_demangle_gnu3() local 256 if (!vector_str_init(&ret_type)) in cpp_demangle_gnu3() 258 ddata.cur_output = &ret_type; in cpp_demangle_gnu3() 281 if (!VEC_PUSH_STR(&ret_type, " ")) in cpp_demangle_gnu3() 284 &ret_type)) in cpp_demangle_gnu3() 287 vector_str_dest(&ret_type); in cpp_demangle_gnu3() 317 vector_str_dest(&ret_type); in cpp_demangle_gnu3()
|
| /freebsd/contrib/llvm-project/lldb/source/Target/ |
| H A D | StopInfo.cpp | 59 lldb::StateType ret_type = thread_sp->GetProcess()->GetPrivateState(); in HasTargetRunSinceMe() local 60 if (ret_type == eStateRunning) { in HasTargetRunSinceMe() 62 } else if (ret_type == eStateStopped) { in HasTargetRunSinceMe()
|
| /freebsd/contrib/libcxxrt/ |
| H A D | libelftc_dem_gnu3.c | 541 struct vector_str ret_type; in __cxa_demangle_gnu3() local 594 if (!vector_str_init(&ret_type)) in __cxa_demangle_gnu3() 596 ddata.cur_output = &ret_type; in __cxa_demangle_gnu3() 619 if (!VEC_PUSH_STR(&ret_type, " ")) in __cxa_demangle_gnu3() 622 &ret_type)) in __cxa_demangle_gnu3() 625 vector_str_dest(&ret_type); in __cxa_demangle_gnu3() 655 vector_str_dest(&ret_type); in __cxa_demangle_gnu3()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_interceptors.cpp | 645 # define INTERCEPTOR_STRTO_BASE(ret_type, func) \ argument 646 INTERCEPTOR(ret_type, func, const char *nptr, char **endptr, int base) { \
|
| /freebsd/sys/amd64/vmm/ |
| H A D | vmm.c | 118 #define DEFINE_VMMOPS_IFUNC(ret_type, opname, args) \ argument 119 DEFINE_IFUNC(, ret_type, vmmops_##opname, args) \ 126 return ((ret_type (*)args)vmmops_panic); \
|