Home
last modified time | relevance | path

Searched refs:__c (Results 1 – 25 of 162) sorted by relevance

1234567

/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__support/xlocale/
H A D__posix_l_fallback.h28 inline _LIBCPP_HIDE_FROM_ABI int isalnum_l(int __c, locale_t) { return ::isalnum(__c); } in isalnum_l() argument
30 inline _LIBCPP_HIDE_FROM_ABI int isalpha_l(int __c, locale_t) { return ::isalpha(__c); } in isalpha_l() argument
32 inline _LIBCPP_HIDE_FROM_ABI int iscntrl_l(int __c, locale_t) { return ::iscntrl(__c); } in iscntrl_l() argument
34 inline _LIBCPP_HIDE_FROM_ABI int isdigit_l(int __c, locale_t) { return ::isdigit(__c); } in isdigit_l() argument
36 inline _LIBCPP_HIDE_FROM_ABI int isgraph_l(int __c, locale_t) { return ::isgraph(__c); } in isgraph_l() argument
38 inline _LIBCPP_HIDE_FROM_ABI int islower_l(int __c, locale_t) { return ::islower(__c); } in islower_l() argument
40 inline _LIBCPP_HIDE_FROM_ABI int isprint_l(int __c, locale_t) { return ::isprint(__c); } in isprint_l() argument
42 inline _LIBCPP_HIDE_FROM_ABI int ispunct_l(int __c, locale_t) { return ::ispunct(__c); } in ispunct_l() argument
44 inline _LIBCPP_HIDE_FROM_ABI int isspace_l(int __c, locale_t) { return ::isspace(__c); } in isspace_l() argument
46 inline _LIBCPP_HIDE_FROM_ABI int isupper_l(int __c, locale_t) { return ::isupper(__c); } in isupper_l() argument
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__locale_dir/support/no_locale/
H A Dcharacters.h32 inline _LIBCPP_HIDE_FROM_ABI int __isdigit(int __c, __locale_t) { return std::isdigit(__c); } in __isdigit() argument
34 inline _LIBCPP_HIDE_FROM_ABI int __isxdigit(int __c, __locale_t) { return std::isxdigit(__c); } in __isxdigit() argument
37 inline _LIBCPP_HIDE_FROM_ABI int __toupper(int __c, __locale_t) { return std::toupper(__c); } in __toupper() argument
39 inline _LIBCPP_HIDE_FROM_ABI int __tolower(int __c, __locale_t) { return std::tolower(__c); } in __tolower() argument
50 inline _LIBCPP_HIDE_FROM_ABI int __iswctype(wint_t __c, wctype_t __type, __locale_t) { in __iswctype() argument
51 return std::iswctype(__c, __type); in __iswctype()
54 inline _LIBCPP_HIDE_FROM_ABI int __iswspace(wint_t __c, __locale_t) { return std::iswspace(__c); } in __iswspace() argument
56 inline _LIBCPP_HIDE_FROM_ABI int __iswprint(wint_t __c, __locale_t) { return std::iswprint(__c); } in __iswprint() argument
58 inline _LIBCPP_HIDE_FROM_ABI int __iswcntrl(wint_t __c, __locale_t) { return std::iswcntrl(__c); } in __iswcntrl() argument
60 inline _LIBCPP_HIDE_FROM_ABI int __iswupper(wint_t __c, __locale_t) { return std::iswupper(__c); } in __iswupper() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_complex_builtins.h89 __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 …]
H A Daltivec.h51 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/include/xlocale/
H A D_ctype.h71 __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/contrib/llvm-project/libcxx/include/__iterator/
H A Daccess.h35 _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 …]
H A Dreverse_access.h46 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto rbegin(_Cp& __c) -> decltype(__c.rbegin())…
47 return __c.rbegin();
51 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto rbegin(const _Cp& __c) -> decltype(__c.rbe…
52 return __c.rbegin();
56 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto rend(_Cp& __c) -> decltype(__c.rend()) {
57 return __c.rend();
61 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto rend(const _Cp& __c) -> decltype(__c.rend(…
62 return __c.rend();
66 …FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto crbegin(const _Cp& __c) -> decltype(std::rbegin(__c)) {
67 return std::rbegin(__c);
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__random/
H A Dlinear_congruential_engine.h37 unsigned long long __c,
41 … bool _Full = (!_HasOverflow || __m - 1ull <= (_Mp - __c) / __a), // (a * x + c) % m works
54 unsigned long long __c,
57 __lce_alg_type _Mode = __lce_alg_picker<__a, __c, __m, _Mp>::__mode>
69 const __calc_type __c = static_cast<__calc_type>(_Cp);
72 return static_cast<result_type>((__a * __x + __c) % __m);
77 template <unsigned long long __a, unsigned long long __c, unsigned long long __m>
78 struct __lce_ta<__a, __c, __m, (unsigned long long)(-1), _LCE_Schrage> {
87 __x += __c - (__x >= __m - __c) * __m;
106 template <unsigned long long __a, unsigned long long __c, unsigned long long __m>
[all …]
/freebsd/contrib/llvm-project/libcxx/include/ext/
H A D__hash27 _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/contrib/llvm-project/libcxx/include/__cxx03/ext/
H A D__hash27 _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/contrib/llvm-project/libcxx/include/__locale_dir/support/
H A Dbsd_like.h92 inline _LIBCPP_HIDE_FROM_ABI int __isdigit(int __c, __locale_t __loc) { return ::isdigit_l(__c, __l… in __isdigit() argument
94 inline _LIBCPP_HIDE_FROM_ABI int __isxdigit(int __c, __locale_t __loc) { return ::isxdigit_l(__c, _… in __isxdigit() argument
97 inline _LIBCPP_HIDE_FROM_ABI int __toupper(int __c, __locale_t __loc) { return ::toupper_l(__c, __l… in __toupper() argument
99 inline _LIBCPP_HIDE_FROM_ABI int __tolower(int __c, __locale_t __loc) { return ::tolower_l(__c, __l… in __tolower() argument
110 inline _LIBCPP_HIDE_FROM_ABI int __iswctype(wint_t __c, wctype_t __type, __locale_t __loc) { in __iswctype() argument
111 return ::iswctype_l(__c, __type, __loc); in __iswctype()
114 inline _LIBCPP_HIDE_FROM_ABI int __iswspace(wint_t __c, __locale_t __loc) { return ::iswspace_l(__c in __iswspace() argument
116 inline _LIBCPP_HIDE_FROM_ABI int __iswprint(wint_t __c, __locale_t __loc) { return ::iswprint_l(__c in __iswprint() argument
118 inline _LIBCPP_HIDE_FROM_ABI int __iswcntrl(wint_t __c, __locale_t __loc) { return ::iswcntrl_l(__c in __iswcntrl() argument
120 inline _LIBCPP_HIDE_FROM_ABI int __iswupper(wint_t __c, __locale_t __loc) { return ::iswupper_l(__c in __iswupper() argument
[all …]
H A Dlinux.h119 inline _LIBCPP_HIDE_FROM_ABI int __isdigit(int __c, __locale_t __loc) { return isdigit_l(__c, __loc… in __isdigit() argument
121 inline _LIBCPP_HIDE_FROM_ABI int __isxdigit(int __c, __locale_t __loc) { return isxdigit_l(__c, __l… in __isxdigit() argument
124 inline _LIBCPP_HIDE_FROM_ABI int __toupper(int __c, __locale_t __loc) { return toupper_l(__c, __loc… in __toupper() argument
126 inline _LIBCPP_HIDE_FROM_ABI int __tolower(int __c, __locale_t __loc) { return tolower_l(__c, __loc… in __tolower() argument
137 inline _LIBCPP_HIDE_FROM_ABI int __iswctype(wint_t __c, wctype_t __type, __locale_t __loc) { in __iswctype() argument
138 return iswctype_l(__c, __type, __loc); in __iswctype()
141 inline _LIBCPP_HIDE_FROM_ABI int __iswspace(wint_t __c, __locale_t __loc) { return iswspace_l(__c, … in __iswspace() argument
143 inline _LIBCPP_HIDE_FROM_ABI int __iswprint(wint_t __c, __locale_t __loc) { return iswprint_l(__c, … in __iswprint() argument
145 inline _LIBCPP_HIDE_FROM_ABI int __iswcntrl(wint_t __c, __locale_t __loc) { return iswcntrl_l(__c, … in __iswcntrl() argument
147 inline _LIBCPP_HIDE_FROM_ABI int __iswupper(wint_t __c, __locale_t __loc) { return iswupper_l(__c, … in __iswupper() argument
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A Ddivdc3.c20 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 …]
H A Ddivsc3.c20 COMPILER_RT_ABI Fcomplex __divsc3(float __a, float __b, float __c, float __d) { in __divsc3() argument
23 __compiler_rt_logbf(__compiler_rt_fmaxX(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 …]
H A Ddivtc3.c20 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 …]
H A Dmuldc3.c18 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 …]
H A Dmulsc3.c18 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 …]
/freebsd/contrib/llvm-project/libcxx/include/__random/
H A Dlinear_congruential_engine.h37 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/contrib/llvm-project/libcxx/include/__vector/
H A Derase.h30 erase(vector<_Tp, _Allocator>& __c, const _Up& __v) { in erase() argument
31 auto __old_size = __c.size(); in erase()
32 __c.erase(std::remove(__c.begin(), __c.end(), __v), __c.end()); in erase()
33 return __old_size - __c.size(); in erase()
38 erase_if(vector<_Tp, _Allocator>& __c, _Predicate __pred) { in erase_if() argument
39 auto __old_size = __c.size(); in erase_if()
40 __c.erase(std::remove_if(__c.begin(), __c.end(), __pred), __c.end()); in erase_if()
41 return __old_size - __c.size(); in erase_if()
/freebsd/contrib/llvm-project/libcxx/include/__compare/
H A Dis_eq.h23 _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/contrib/llvm-project/libcxx/include/__cxx03/
H A Dwchar.h147 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 …]
H A Dstring.h73 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/contrib/llvm-project/libcxx/include/
H A Dwchar.h141 inline _LIBCPP_HIDE_FROM_ABI wchar_t* __libcpp_wcschr(const wchar_t* __s, wchar_t __c) { in __libcpp_wcschr() argument
142 return (wchar_t*)wcschr(__s, __c); in __libcpp_wcschr()
144 …P_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const wchar_t* wcschr(const wchar_t* __s, wchar_t __c) { in wcschr() argument
145 return __libcpp_wcschr(__s, __c); in wcschr()
147 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD wchar_t* wcschr(wchar_t* __s, wchar_t __c) { in wcschr() argument
148 return __libcpp_wcschr(__s, __c); in wcschr()
162 inline _LIBCPP_HIDE_FROM_ABI wchar_t* __libcpp_wcsrchr(const wchar_t* __s, wchar_t __c) { in __libcpp_wcsrchr() argument
163 return (wchar_t*)wcsrchr(__s, __c); in __libcpp_wcsrchr()
165 …_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const wchar_t* wcsrchr(const wchar_t* __s, wchar_t __c) { in wcsrchr() argument
166 return __libcpp_wcsrchr(__s, __c); in wcsrchr()
[all …]
H A Dstring.h77 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const char* strchr(const char* __s, int __c in strchr() argument
78 return __builtin_strchr(__s, __c); in strchr()
80 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD char* strchr(char* __s, int __c) { in strchr() argument
81 return __builtin_strchr(__s, __c); in strchr()
91 …ne _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const char* strrchr(const char* __s, int __c) { in strrchr() argument
92 return __builtin_strrchr(__s, __c); in strrchr()
94 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD char* strrchr(char* __s, int __c) { in strrchr() argument
95 return __builtin_strrchr(__s, __c); in strrchr()
98 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const void* memchr(const void* __s, int __c in memchr() argument
99 return __builtin_memchr(__s, __c, __n); in memchr()
[all …]
/freebsd/contrib/llvm-project/libcxx/src/
H A Dstd_stream.h47 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 …]

1234567