| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/interception/ |
| H A D | interception.h | 150 # define DECLARE_WRAPPER(ret_type, func, ...) argument 157 extern "C" ret_type func(__VA_ARGS__); 242 # define DECLARE_REAL(ret_type, func, ...) argument 256 # define DECLARE_REAL(ret_type, func, ...) \ argument 257 extern "C" ret_type func(__VA_ARGS__); 265 extern "C" ret_type WRAP(func)(__VA_ARGS__); 271 extern "C" ret_type func(__VA_ARGS__); 288 # define DEFINE_REAL(ret_type, func, ...) argument 303 #define INTERCEPTOR(ret_type, func, ...) \ argument 310 INTERCEPTOR(ret_type, func, __VA_ARGS__) [all …]
|
| /freebsd-14.2/usr.bin/truss/ |
| H A D | syscalls.c | 128 { .name = "accept", .ret_type = 1, .nargs = 3, 150 { .name = "bind", .ret_type = 1, .nargs = 3, 155 { .name = "break", .ret_type = 1, .nargs = 1, 165 { .name = "chdir", .ret_type = 1, .nargs = 1, 172 { .name = "chmod", .ret_type = 1, .nargs = 2, 174 { .name = "chown", .ret_type = 1, .nargs = 3, 180 { .name = "close", .ret_type = 1, .nargs = 1, 207 { .name = "dup", .ret_type = 1, .nargs = 1, 209 { .name = "dup2", .ret_type = 1, .nargs = 2, 216 { .name = "exit", .ret_type = 0, .nargs = 1, [all …]
|
| H A D | syscall.h | 214 u_int ret_type; member
|
| /freebsd-14.2/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-14.2/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-14.2/sys/arm64/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(uint64_t, uint64_t, \ 41 qual ret_type name args __attribute__((ifunc(#name "_resolver"))); \ 42 static ret_type (*name##_resolver(uint64_t _arg1 __unused, \
|
| /freebsd-14.2/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-14.2/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__); \ 462 #define INTERCEPTORS_STRTO(ret_type, func, char_type) \ argument 463 INTERCEPTOR_STRTO(ret_type, func, char_type) \ 464 INTERCEPTOR_STRTO_LOC(ret_type, func##_l, char_type) 468 INTERCEPTOR_STRTO_SRET_LOC(ret_type, func##_l, char_type) 472 INTERCEPTOR_STRTO_BASE_LOC(ret_type, func##_l, char_type) 475 #define INTERCEPTORS_STRTO(ret_type, func, char_type) \ argument 476 INTERCEPTOR_STRTO(ret_type, func, char_type) \ 477 INTERCEPTOR_STRTO_LOC(ret_type, func##_l, char_type) \ [all …]
|
| /freebsd-14.2/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* 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< 192 To, From, typename simplify_type<From>::SimpleType>::ret_type; 204 static typename cast_retty<To, From>::ret_type doit(const From &Val) { [all …]
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/safestack/ |
| H A D | safestack_platform.h | 58 #define DEFINE__REAL(ret_type, func, ...) \ argument 59 static ret_type (*real_##func)(__VA_ARGS__) = NULL; \ 61 real_##func = (ret_type(*)(__VA_ARGS__))GetRealLibcAddress(#func); \
|
| /freebsd-14.2/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-14.2/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-14.2/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-14.2/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() 809 Type *ret_type = ResolveTypeUID(ret_uid); in ParseFunctions() local 816 ret_type->GetFullCompilerType(), arg_types.data(), arg_types.size(), in ParseFunctions()
|
| /freebsd-14.2/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-14.2/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-14.2/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-14.2/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_interceptors.cpp | 622 # define INTERCEPTOR_STRTO_BASE(ret_type, func) \ argument 623 INTERCEPTOR(ret_type, func, const char *nptr, char **endptr, int base) { \
|
| /freebsd-14.2/sys/amd64/vmm/ |
| H A D | vmm.c | 221 #define DEFINE_VMMOPS_IFUNC(ret_type, opname, args) \ argument 222 DEFINE_IFUNC(static, ret_type, vmmops_##opname, args) \ 229 return ((ret_type (*)args)vmmops_panic); \
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_custom.cpp | 1296 #define WRAPPER_STRTO(ret_type, fun) \ in WRAPPER_ALIAS() argument 1297 SANITIZER_INTERFACE_ATTRIBUTE ret_type __dfsw_##fun( \ in WRAPPER_ALIAS() 1306 SANITIZER_INTERFACE_ATTRIBUTE ret_type __dfso_##fun( \
|
| /freebsd-14.2/contrib/mandoc/ |
| H A D | NEWS | 103 form "ret_type (fname)(args)", but otherwise check names more strictly
|