| /freebsd-14-stable/contrib/llvm-project/clang/lib/Headers/ |
| HD | __clang_cuda_complex_builtins.h | 89 __DEVICE__ double _Complex __muldc3(double __a, double __b, double __c, in __muldc3() argument 91 double __ac = __a * __c; in __muldc3() 94 double __bc = __b * __c; in __muldc3() 103 if (_ISNANd(__c)) in __muldc3() 104 __c = _COPYSIGNd(0, __c); in __muldc3() 109 if (_ISINFd(__c) || _ISINFd(__d)) { in __muldc3() 110 __c = _COPYSIGNd(_ISINFd(__c) ? 1 : 0, __c); in __muldc3() 124 if (_ISNANd(__c)) in __muldc3() 125 __c = _COPYSIGNd(0, __c); in __muldc3() 133 __real__(z) = __builtin_huge_val() * (__a * __c - __b * __d); in __muldc3() [all …]
|
| HD | altivec.h | 51 vector signed char __a, vector signed char __b, vector unsigned char __c); 55 vector unsigned char __c); 58 vec_perm(vector bool char __a, vector bool char __b, vector unsigned char __c); 62 vector unsigned char __c); 66 vector unsigned char __c); 69 vector bool short __a, vector bool short __b, vector unsigned char __c); 73 vector unsigned char __c); 77 vector unsigned char __c); 80 vector unsigned int __a, vector unsigned int __b, vector unsigned char __c); 83 vec_perm(vector bool int __a, vector bool int __b, vector unsigned char __c); [all …]
|
| /freebsd-14-stable/include/xlocale/ |
| HD | _ctype.h | 71 __maskrune_l(__ct_rune_t __c, unsigned long __f, locale_t __loc); 73 __istype_l(__ct_rune_t __c, unsigned long __f, locale_t __loc); 76 __maskrune_l(__ct_rune_t __c, unsigned long __f, locale_t __loc) in __maskrune_l() argument 80 return ((__c < 0 || __c >= _CACHED_RUNES) ? ___runetype_l(__c, __loc) : in __maskrune_l() 81 runes->__runetype[__c]) & __f; in __maskrune_l() 85 __istype_l(__ct_rune_t __c, unsigned long __f, locale_t __loc) in __istype_l() argument 87 return (!!__maskrune_l(__c, __f, __loc)); in __istype_l() 92 _XLOCALE_INLINE int isw##fname##_l(int __c, locale_t __l)\ 93 { return __istype_l(__c, cat, __l); } 96 __sbmaskrune_l(__ct_rune_t __c, unsigned long __f, locale_t __loc); [all …]
|
| /freebsd-14-stable/contrib/llvm-project/libcxx/include/__iterator/ |
| HD | access.h | 35 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto begin(_Cp& __c) -> decltype(__c.begin()) { 36 return __c.begin(); 40 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto begin(const _Cp& __c) -> decltype(__c.begi… 41 return __c.begin(); 45 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto end(_Cp& __c) -> decltype(__c.end()) { 46 return __c.end(); 50 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto end(const _Cp& __c) -> decltype(__c.end())… 51 return __c.end(); 58 cbegin(const _Cp& __c) noexcept(noexcept(std::begin(__c))) -> decltype(std::begin(__c)) { 59 return std::begin(__c); [all …]
|
| HD | reverse_access.h | 47 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto rbegin(_Cp& __c) -> decltype(__c.rbegin())… 48 return __c.rbegin(); 52 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto rbegin(const _Cp& __c) -> decltype(__c.rbe… 53 return __c.rbegin(); 57 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto rend(_Cp& __c) -> decltype(__c.rend()) { 58 return __c.rend(); 62 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto rend(const _Cp& __c) -> decltype(__c.rend(… 63 return __c.rend(); 67 …FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto crbegin(const _Cp& __c) -> decltype(std::rbegin(__c)) { 68 return std::rbegin(__c); [all …]
|
| HD | size.h | 27 …CPP_HIDE_FROM_ABI constexpr auto size(const _Cont& __c) noexcept(noexcept(__c.size())) -> decltype… 28 return __c.size(); 39 ssize(const _Cont& __c) noexcept(noexcept(static_cast<common_type_t<ptrdiff_t, make_signed_t<declty… 40 __c.size()))) -> common_type_t<ptrdiff_t, make_signed_t<decltype(__c.size())>> { 41 return static_cast<common_type_t<ptrdiff_t, make_signed_t<decltype(__c.size())>>>(__c.size());
|
| HD | data.h | 26 constexpr _LIBCPP_HIDE_FROM_ABI auto data(_Cont& __c) noexcept(noexcept(__c.data())) -> decltype(__… 27 return __c.data(); 31 …texpr _LIBCPP_HIDE_FROM_ABI auto data(const _Cont& __c) noexcept(noexcept(__c.data())) -> decltype… 32 return __c.data();
|
| /freebsd-14-stable/contrib/llvm-project/libcxx/include/__random/ |
| HD | linear_congruential_engine.h | 37 unsigned long long __c, 41 … bool _Full = (!_HasOverflow || __m - 1ull <= (_Mp - __c) / __a), // (a * x + c) % m works 58 unsigned long long __c, 61 __lce_alg_type _Mode = __lce_alg_picker<__a, __c, __m, _Mp>::__mode> 73 const __calc_type __c = static_cast<__calc_type>(_Cp); 76 return static_cast<result_type>((__a * __x + __c) % __m); 81 template <unsigned long long __a, unsigned long long __c, unsigned long long __m> 82 struct __lce_ta<__a, __c, __m, (unsigned long long)(-1), _LCE_Schrage> { 91 __x += __c - (__x >= __m - __c) * __m; 110 template <unsigned long long __a, unsigned long long __c, unsigned long long __m> [all …]
|
| /freebsd-14-stable/contrib/llvm-project/libcxx/include/ext/ |
| HD | __hash | 27 _LIBCPP_HIDE_FROM_ABI size_t operator()(const char* __c) const _NOEXCEPT { 28 return std::__do_string_hash(__c, __c + strlen(__c)); 34 _LIBCPP_HIDE_FROM_ABI size_t operator()(char* __c) const _NOEXCEPT { 35 return std::__do_string_hash<const char*>(__c, __c + strlen(__c)); 41 _LIBCPP_HIDE_FROM_ABI size_t operator()(char __c) const _NOEXCEPT { return __c; } 46 _LIBCPP_HIDE_FROM_ABI size_t operator()(signed char __c) const _NOEXCEPT { return __c; } 51 _LIBCPP_HIDE_FROM_ABI size_t operator()(unsigned char __c) const _NOEXCEPT { return __c; } 56 _LIBCPP_HIDE_FROM_ABI size_t operator()(short __c) const _NOEXCEPT { return __c; } 61 _LIBCPP_HIDE_FROM_ABI size_t operator()(unsigned short __c) const _NOEXCEPT { return __c; } 66 _LIBCPP_HIDE_FROM_ABI size_t operator()(int __c) const _NOEXCEPT { return __c; } [all …]
|
| /freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/builtins/ |
| HD | divsc3.c | 20 COMPILER_RT_ABI Fcomplex __divsc3(float __a, float __b, float __c, float __d) { in __divsc3() argument 23 __compiler_rt_logbf(__compiler_rt_fmaxf(crt_fabsf(__c), crt_fabsf(__d))); in __divsc3() 26 __c = __compiler_rt_scalbnf(__c, -__ilogbw); in __divsc3() 29 float __denom = __c * __c + __d * __d; in __divsc3() 32 __compiler_rt_scalbnf((__a * __c + __b * __d) / __denom, -__ilogbw); in __divsc3() 34 __compiler_rt_scalbnf((__b * __c - __a * __d) / __denom, -__ilogbw); in __divsc3() 37 COMPLEX_REAL(z) = crt_copysignf(CRT_INFINITY, __c) * __a; in __divsc3() 38 COMPLEX_IMAGINARY(z) = crt_copysignf(CRT_INFINITY, __c) * __b; in __divsc3() 39 } else if ((crt_isinf(__a) || crt_isinf(__b)) && crt_isfinite(__c) && in __divsc3() 43 COMPLEX_REAL(z) = CRT_INFINITY * (__a * __c + __b * __d); in __divsc3() [all …]
|
| HD | divdc3.c | 20 COMPILER_RT_ABI Dcomplex __divdc3(double __a, double __b, double __c, in __divdc3() argument 23 double __logbw = __compiler_rt_logb(__compiler_rt_fmax(crt_fabs(__c), in __divdc3() 27 __c = __compiler_rt_scalbn(__c, -__ilogbw); in __divdc3() 30 double __denom = __c * __c + __d * __d; in __divdc3() 33 __compiler_rt_scalbn((__a * __c + __b * __d) / __denom, -__ilogbw); in __divdc3() 35 __compiler_rt_scalbn((__b * __c - __a * __d) / __denom, -__ilogbw); in __divdc3() 38 COMPLEX_REAL(z) = crt_copysign(CRT_INFINITY, __c) * __a; in __divdc3() 39 COMPLEX_IMAGINARY(z) = crt_copysign(CRT_INFINITY, __c) * __b; in __divdc3() 40 } else if ((crt_isinf(__a) || crt_isinf(__b)) && crt_isfinite(__c) && in __divdc3() 44 COMPLEX_REAL(z) = CRT_INFINITY * (__a * __c + __b * __d); in __divdc3() [all …]
|
| HD | divxc3.c | 20 COMPILER_RT_ABI Lcomplex __divxc3(xf_float __a, xf_float __b, xf_float __c, in __divxc3() argument 23 xf_float __logbw = crt_logbl(crt_fmaxl(crt_fabsl(__c), crt_fabsl(__d))); in __divxc3() 26 __c = crt_scalbnl(__c, -__ilogbw); in __divxc3() 29 xf_float __denom = __c * __c + __d * __d; in __divxc3() 31 COMPLEX_REAL(z) = crt_scalbnl((__a * __c + __b * __d) / __denom, -__ilogbw); in __divxc3() 33 crt_scalbnl((__b * __c - __a * __d) / __denom, -__ilogbw); in __divxc3() 36 COMPLEX_REAL(z) = crt_copysignl(CRT_INFINITY, __c) * __a; in __divxc3() 37 COMPLEX_IMAGINARY(z) = crt_copysignl(CRT_INFINITY, __c) * __b; in __divxc3() 38 } else if ((crt_isinf(__a) || crt_isinf(__b)) && crt_isfinite(__c) && in __divxc3() 42 COMPLEX_REAL(z) = CRT_INFINITY * (__a * __c + __b * __d); in __divxc3() [all …]
|
| HD | divtc3.c | 20 COMPILER_RT_ABI Qcomplex __divtc3(fp_t __a, fp_t __b, fp_t __c, fp_t __d) { in __divtc3() argument 23 __compiler_rt_fmaxtf(crt_fabstf(__c), crt_fabstf(__d))); in __divtc3() 26 __c = __compiler_rt_scalbntf(__c, -__ilogbw); in __divtc3() 29 fp_t __denom = __c * __c + __d * __d; in __divtc3() 32 __compiler_rt_scalbntf((__a * __c + __b * __d) / __denom, -__ilogbw); in __divtc3() 34 __compiler_rt_scalbntf((__b * __c - __a * __d) / __denom, -__ilogbw); in __divtc3() 37 COMPLEXTF_REAL(z) = crt_copysigntf(CRT_INFINITY, __c) * __a; in __divtc3() 38 COMPLEXTF_IMAGINARY(z) = crt_copysigntf(CRT_INFINITY, __c) * __b; in __divtc3() 39 } else if ((crt_isinf(__a) || crt_isinf(__b)) && crt_isfinite(__c) && in __divtc3() 43 COMPLEXTF_REAL(z) = CRT_INFINITY * (__a * __c + __b * __d); in __divtc3() [all …]
|
| HD | mulsc3.c | 18 COMPILER_RT_ABI Fcomplex __mulsc3(float __a, float __b, float __c, float __d) { in __mulsc3() argument 19 float __ac = __a * __c; in __mulsc3() 22 float __bc = __b * __c; in __mulsc3() 31 if (crt_isnan(__c)) in __mulsc3() 32 __c = crt_copysignf(0, __c); in __mulsc3() 37 if (crt_isinf(__c) || crt_isinf(__d)) { in __mulsc3() 38 __c = crt_copysignf(crt_isinf(__c) ? 1 : 0, __c); in __mulsc3() 52 if (crt_isnan(__c)) in __mulsc3() 53 __c = crt_copysignf(0, __c); in __mulsc3() 59 COMPLEX_REAL(z) = CRT_INFINITY * (__a * __c - __b * __d); in __mulsc3() [all …]
|
| HD | muldc3.c | 18 COMPILER_RT_ABI Dcomplex __muldc3(double __a, double __b, double __c, in __muldc3() argument 20 double __ac = __a * __c; in __muldc3() 23 double __bc = __b * __c; in __muldc3() 32 if (crt_isnan(__c)) in __muldc3() 33 __c = crt_copysign(0, __c); in __muldc3() 38 if (crt_isinf(__c) || crt_isinf(__d)) { in __muldc3() 39 __c = crt_copysign(crt_isinf(__c) ? 1 : 0, __c); in __muldc3() 53 if (crt_isnan(__c)) in __muldc3() 54 __c = crt_copysign(0, __c); in __muldc3() 60 COMPLEX_REAL(z) = CRT_INFINITY * (__a * __c - __b * __d); in __muldc3() [all …]
|
| HD | mulxc3.c | 20 COMPILER_RT_ABI Lcomplex __mulxc3(xf_float __a, xf_float __b, xf_float __c, in __mulxc3() argument 22 xf_float __ac = __a * __c; in __mulxc3() 25 xf_float __bc = __b * __c; in __mulxc3() 34 if (crt_isnan(__c)) in __mulxc3() 35 __c = crt_copysignl(0, __c); in __mulxc3() 40 if (crt_isinf(__c) || crt_isinf(__d)) { in __mulxc3() 41 __c = crt_copysignl(crt_isinf(__c) ? 1 : 0, __c); in __mulxc3() 55 if (crt_isnan(__c)) in __mulxc3() 56 __c = crt_copysignl(0, __c); in __mulxc3() 62 COMPLEX_REAL(z) = CRT_INFINITY * (__a * __c - __b * __d); in __mulxc3() [all …]
|
| /freebsd-14-stable/contrib/llvm-project/libcxx/include/__compare/ |
| HD | is_eq.h | 23 _LIBCPP_HIDE_FROM_ABI inline constexpr bool is_eq(partial_ordering __c) noexcept { return __c == 0;… in is_eq() argument 24 _LIBCPP_HIDE_FROM_ABI inline constexpr bool is_neq(partial_ordering __c) noexcept { return __c != 0… in is_neq() argument 25 _LIBCPP_HIDE_FROM_ABI inline constexpr bool is_lt(partial_ordering __c) noexcept { return __c < 0; } in is_lt() argument 26 _LIBCPP_HIDE_FROM_ABI inline constexpr bool is_lteq(partial_ordering __c) noexcept { return __c <= … in is_lteq() argument 27 _LIBCPP_HIDE_FROM_ABI inline constexpr bool is_gt(partial_ordering __c) noexcept { return __c > 0; } in is_gt() argument 28 _LIBCPP_HIDE_FROM_ABI inline constexpr bool is_gteq(partial_ordering __c) noexcept { return __c >= … in is_gteq() argument
|
| /freebsd-14-stable/contrib/llvm-project/libcxx/include/ |
| HD | wchar.h | 147 inline _LIBCPP_HIDE_FROM_ABI wchar_t* __libcpp_wcschr(const wchar_t* __s, wchar_t __c) { in __libcpp_wcschr() argument 148 return (wchar_t*)wcschr(__s, __c); in __libcpp_wcschr() 150 …P_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const wchar_t* wcschr(const wchar_t* __s, wchar_t __c) { in wcschr() argument 151 return __libcpp_wcschr(__s, __c); in wcschr() 153 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD wchar_t* wcschr(wchar_t* __s, wchar_t __c) { in wcschr() argument 154 return __libcpp_wcschr(__s, __c); in wcschr() 168 inline _LIBCPP_HIDE_FROM_ABI wchar_t* __libcpp_wcsrchr(const wchar_t* __s, wchar_t __c) { in __libcpp_wcsrchr() argument 169 return (wchar_t*)wcsrchr(__s, __c); in __libcpp_wcsrchr() 171 …_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const wchar_t* wcsrchr(const wchar_t* __s, wchar_t __c) { in wcsrchr() argument 172 return __libcpp_wcsrchr(__s, __c); in wcsrchr() [all …]
|
| HD | string.h | 73 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const char* strchr(const char* __s, int __c… in strchr() argument 74 return __builtin_strchr(__s, __c); in strchr() 76 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD char* strchr(char* __s, int __c) { in strchr() argument 77 return __builtin_strchr(__s, __c); in strchr() 87 …ne _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const char* strrchr(const char* __s, int __c) { in strrchr() argument 88 return __builtin_strrchr(__s, __c); in strrchr() 90 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD char* strrchr(char* __s, int __c) { in strrchr() argument 91 return __builtin_strrchr(__s, __c); in strrchr() 94 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const void* memchr(const void* __s, int __c… in memchr() argument 95 return __builtin_memchr(__s, __c, __n); in memchr() [all …]
|
| /freebsd-14-stable/contrib/llvm-project/libcxx/src/ |
| HD | std_stream.h | 47 virtual int_type pbackfail(int_type __c = traits_type::eof()); 103 int __c = getc(__fp); in __do_getc() local 104 if (__c == EOF) in __do_getc() 106 *__pbuf = static_cast<char>(__c); in __do_getc() 111 wint_t __c = getwc(__fp); in __do_getc() local 112 if (__c == WEOF) in __do_getc() 114 *__pbuf = static_cast<wchar_t>(__c); in __do_getc() 119 inline bool __do_ungetc(int __c, FILE* __fp, char __dummy) { in __do_ungetc() argument 120 if (ungetc(__c, __fp) == EOF) in __do_ungetc() 125 inline bool __do_ungetc(std::wint_t __c, FILE* __fp, wchar_t __dummy) { in __do_ungetc() argument [all …]
|
| /freebsd-14-stable/contrib/llvm-project/clang/lib/Headers/ppc_wrappers/ |
| HD | bmi2intrin.h | 56 unsigned long __c, __t; in _pdep_u64() local 67 __c = __builtin_clzl(__m); in _pdep_u64() 68 __t = __X << (__p - __c); in _pdep_u64() 69 __m ^= (__mask >> __c); in _pdep_u64() 70 __result |= (__t & (__mask >> __c)); in _pdep_u64() 82 unsigned long __c; in _pext_u64() local 93 __c = __builtin_clzl(__m); in _pext_u64() 94 __p = (__p << 8) | __c; in _pext_u64() 95 __m ^= (__mask >> __c); in _pext_u64() 108 __c = __builtin_clzl(__m); in _pext_u64() [all …]
|
| HD | xmmintrin.h | 226 __m128 __a, __b, __c; in _mm_add_ss() local 234 __c = __a + __b; in _mm_add_ss() 237 return (vec_sel(__A, __c, __mask)); in _mm_add_ss() 248 __m128 __a, __b, __c; in _mm_sub_ss() local 256 __c = __a - __b; in _mm_sub_ss() 259 return (vec_sel(__A, __c, __mask)); in _mm_sub_ss() 270 __m128 __a, __b, __c; in _mm_mul_ss() local 278 __c = __a * __b; in _mm_mul_ss() 281 return (vec_sel(__A, __c, __mask)); in _mm_mul_ss() 292 __m128 __a, __b, __c; in _mm_div_ss() local [all …]
|
| HD | mmintrin.h | 232 __vector unsigned char __a, __b, __c; in _mm_unpackhi_pi8() local 236 __c = vec_mergel(__a, __b); in _mm_unpackhi_pi8() 237 return (__m64)((__vector long long)__c)[1]; in _mm_unpackhi_pi8() 313 __vector unsigned char __a, __b, __c; in _mm_unpacklo_pi8() local 317 __c = vec_mergel(__a, __b); in _mm_unpacklo_pi8() 318 return (__m64)((__vector long long)__c)[0]; in _mm_unpacklo_pi8() 394 __vector signed char __a, __b, __c; in _mm_add_pi8() local 398 __c = vec_add(__a, __b); in _mm_add_pi8() 399 return (__m64)((__vector long long)__c)[0]; in _mm_add_pi8() 430 __vector signed short __a, __b, __c; in _mm_add_pi16() local [all …]
|
| /freebsd-14-stable/contrib/llvm-project/libcxx/src/ryu/ |
| HD | d2fixed.cpp | 130 const uint32_t __c = __digits - 10000 * (__digits / 10000); in __append_n_digits() local 132 const uint32_t __c = __digits % 10000; in __append_n_digits() 135 const uint32_t __c0 = (__c % 100) << 1; in __append_n_digits() 136 const uint32_t __c1 = (__c / 100) << 1; in __append_n_digits() 142 const uint32_t __c = (__digits % 100) << 1; in __append_n_digits() local 144 std::memcpy(__result + __olength - __i - 2, __DIGIT_TABLE + __c, 2); in __append_n_digits() 148 const uint32_t __c = __digits << 1; in __append_n_digits() local 149 std::memcpy(__result + __olength - __i - 2, __DIGIT_TABLE + __c, 2); in __append_n_digits() 159 const uint32_t __c = __digits - 10000 * (__digits / 10000); in __append_d_digits() local 161 const uint32_t __c = __digits % 10000; in __append_d_digits() [all …]
|
| /freebsd-14-stable/contrib/llvm-project/libcxx/include/__charconv/ |
| HD | from_chars_integral.h | 74 inline _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI bool __in_pattern(_Tp __c) { in __in_pattern() argument 75 return '0' <= __c && __c <= '9'; in __in_pattern() 86 inline _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI __in_pattern_result __in_pattern(_Tp __c… in __in_pattern() argument 88 return {'0' <= __c && __c < '0' + __base, __c - '0'}; in __in_pattern() 89 else if (std::__in_pattern(__c)) in __in_pattern() 90 return {true, __c - '0'}; in __in_pattern() 91 else if ('a' <= __c && __c < 'a' + __base - 10) in __in_pattern() 92 return {true, __c - 'a' + 10}; in __in_pattern() 94 return {'A' <= __c && __c < 'A' + __base - 10, __c - 'A' + 10}; in __in_pattern() 191 if (auto __c = __in_pattern(*__p, __b)) { in __from_chars_integral() [all …]
|