/freebsd/sys/sys/ |
H A D | cdefs.h | 377 #define __noexcept_if(__c) noexcept(__c) argument 380 #define __noexcept_if(__c) argument
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetLibraryInfo.def | 149 /// int _IO_putc(int __c, _IO_FILE * __fp);
|
/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | locale.cpp | 4413 const string& __time_get_c_storage<char>::__c() const { in __c() function in __time_get_c_storage 4420 const wstring& __time_get_c_storage<wchar_t>::__c() const { in __c() function in __time_get_c_storage
|
H A D | std_stream.h | 103 int __c = getc(__fp); in __do_getc() local 104 if (__c == EOF) in __do_getc() 111 wint_t __c = getwc(__fp); in __do_getc() local 112 if (__c == WEOF) in __do_getc() 120 if (ungetc(__c, __fp) == EOF) in __do_ungetc() 157 int __c = getc(__file_); in __getchar() local 158 if (__c == EOF) in __getchar() 178 if (__c == EOF) in __getchar() 208 return __c; in pbackfail() 235 return __c; in pbackfail() [all …]
|
H A D | strstream.cpp | 105 strstreambuf::int_type strstreambuf::overflow(int_type __c) { in overflow() argument 106 if (__c == EOF) in overflow() 140 *pptr() = static_cast<char>(__c); in overflow() 142 return int_type(static_cast<unsigned char>(__c)); in overflow() 145 strstreambuf::int_type strstreambuf::pbackfail(int_type __c) { in pbackfail() argument 148 if (__c == EOF) { in pbackfail() 153 if (gptr()[-1] == static_cast<char>(__c)) { in pbackfail() 155 return __c; in pbackfail() 160 *gptr() = static_cast<char>(__c); in pbackfail() 161 return __c; in pbackfail()
|
H A D | tz.cpp | 52 [[nodiscard]] static bool __is_whitespace(int __c) { return __c == ' ' || __c == '\t'; } in __is_whitespace() argument 72 for (auto __c : __expected) in __matches() local 73 if (std::tolower(__input.get()) != __c) in __matches() 80 int __c = __input.get(); in __parse_string() local 81 switch (__c) { in __parse_string() 94 __result.push_back(__c); in __parse_string()
|
/freebsd/contrib/llvm-project/libcxx/src/ryu/ |
H A D | d2fixed.cpp | 180 __result[0] = __DIGIT_TABLE[__c]; in __append_d_digits() 196 __result[__count - __i - 1] = __c; in __append_c_digits() 400 const char __c = _Round[0]; in __d2fixed_buffered_n() local 401 if (__c == '.') { in __d2fixed_buffered_n() 403 } else if (__c == '9') { in __d2fixed_buffered_n() 408 _Round[0] = __c + 1; in __d2fixed_buffered_n() 619 const char __c = _Round[0]; in __d2exp_buffered_n() local 620 if (__c == '.') { in __d2exp_buffered_n() 622 } else if (__c == '9') { in __d2exp_buffered_n() 627 _Round[0] = __c + 1; in __d2exp_buffered_n() [all …]
|
H A D | d2s.cpp | 522 const uint32_t __c = __output2 % 10000; in __to_chars() local 554 const uint32_t __c = __output2 << 1; in __to_chars() local 598 const uint32_t __c = __output2 % 10000; in __to_chars() local 601 const uint32_t __c0 = (__c % 100) << 1; in __to_chars() 602 const uint32_t __c1 = (__c / 100) << 1; in __to_chars() 616 const uint32_t __c = __output2 % 10000; in __to_chars() 619 const uint32_t __c0 = (__c % 100) << 1; in __to_chars() 620 const uint32_t __c1 = (__c / 100) << 1; in __to_chars() 632 const uint32_t __c = __output2 << 1; in __to_chars() local 634 __result[2] = __DIGIT_TABLE[__c + 1]; in __to_chars() [all …]
|
H A D | f2s.cpp | 563 const uint32_t __c = _Output % 10000; in __to_chars() 566 const uint32_t __c0 = (__c % 100) << 1; in __to_chars() 567 const uint32_t __c1 = (__c / 100) << 1; in __to_chars() 577 const uint32_t __c = _Output << 1; in __to_chars() local 615 const uint32_t __c = _Output % 10000; in __to_chars() 618 const uint32_t __c0 = (__c % 100) << 1; in __to_chars() 619 const uint32_t __c1 = (__c / 100) << 1; in __to_chars() 625 const uint32_t __c = (_Output % 100) << 1; in __to_chars() local 631 const uint32_t __c = _Output << 1; in __to_chars() local 633 __result[2] = __DIGIT_TABLE[__c + 1]; in __to_chars() [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | streambuf | 199 if (__binp_ == __ninp_ || !traits_type::eq(__c, __ninp_[-1])) 200 return pbackfail(traits_type::to_int_type(__c)); 211 inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 int_type sputc(char_type __c) { 213 return overflow(traits_type::to_int_type(__c)); 214 *__nout_++ = __c; 215 return traits_type::to_int_type(__c); 273 virtual int_type pbackfail(int_type __c = traits_type::eof()); 277 virtual int_type overflow(int_type __c = traits_type::eof()); 362 int_type __c; 371 } else if ((__c = uflow()) != __eof) { [all …]
|
H A D | string | 983 __init(__n, __c); 1010 __init(__n, __c); 1258 push_back(__c); 2073 __alloc() = std::move(__c.__alloc()); 2500 traits_type::assign(__p, __n, __c); 2518 traits_type::assign(*__p, __c); 2789 traits_type::assign(*__p, __c); 2987 traits_type::assign(__p[__ip], __c); 3182 append(__n - __sz, __c); 3448 return find(__c, __pos); [all …]
|
H A D | 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() 95 return __builtin_memchr(__s, __c, __n); in memchr() 97 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD void* memchr(void* __s, int __c, size_t __n… in memchr() argument [all …]
|
H A D | string_view | 516 rfind(_CharT __c, size_type __pos = npos) const _NOEXCEPT { 542 find_first_of(_CharT __c, size_type __pos = 0) const _NOEXCEPT { 543 return find(__c, __pos); 568 find_last_of(_CharT __c, size_type __pos = npos) const _NOEXCEPT { 569 return rfind(__c, __pos); 595 find_first_not_of(_CharT __c, size_type __pos = 0) const _NOEXCEPT { 622 find_last_not_of(_CharT __c, size_type __pos = npos) const _NOEXCEPT { 645 return !empty() && _Traits::eq(front(), __c); 656 constexpr _LIBCPP_HIDE_FROM_ABI bool ends_with(value_type __c) const noexcept { 657 return !empty() && _Traits::eq(back(), __c); [all …]
|
H A D | strstream | 178 int_type overflow(int_type __c = EOF) override; 179 int_type pbackfail(int_type __c = EOF) override;
|
H A D | syncstream | 327 int_type overflow(int_type __c = traits_type::eof()) override { 328 if (traits_type::eq_int_type(__c, traits_type::eof())) 329 return traits_type::not_eof(__c); 350 return this->sputc(traits_type::to_char_type(__c));
|
H A D | unordered_set | 1156 erase_if(unordered_set<_Value, _Hash, _Pred, _Alloc>& __c, _Predicate __pred) { 1157 return std::__libcpp_erase_if_container(__c, __pred); 1768 erase_if(unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __c, _Predicate __pred) { 1769 return std::__libcpp_erase_if_container(__c, __pred);
|
H A D | variant | 1474 if (auto __c = __lhs.index() <=> __rhs.index(); __c != 0) 1475 return __c;
|
H A D | vector | 1276 assign(_Ip(__c.begin()), _Ip(__c.end())); 1289 __c.__begin_ = __c.__end_ = __c.__end_cap() = nullptr; 2510 assign(__c.begin(), __c.end()); 2519 __move_assign_alloc(__c); 2524 __c.__cap() = __c.__size_ = 0; 2532 if (__n <= __c) 2657 if (__n <= __c && size() <= __c - __n) { 2731 if (__n <= __c && size() <= __c - __n) { 2789 if (__n <= __c && __cs <= __c - __n) { 2915 __c.erase(std::remove(__c.begin(), __c.end(), __v), __c.end()); [all …]
|
H A D | 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() 151 return __libcpp_wcschr(__s, __c); in wcschr() 154 return __libcpp_wcschr(__s, __c); in wcschr() 169 return (wchar_t*)wcsrchr(__s, __c); in __libcpp_wcsrchr() 172 return __libcpp_wcsrchr(__s, __c); in wcsrchr() 175 return __libcpp_wcsrchr(__s, __c); in wcsrchr() 190 return (wchar_t*)wmemchr(__s, __c, __n); in __libcpp_wmemchr() 193 wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) { in wmemchr() argument 194 return __libcpp_wmemchr(__s, __c, __n); in wmemchr() [all …]
|
H A D | sstream | 441 int_type pbackfail(int_type __c = traits_type::eof()) override; 442 int_type overflow(int_type __c = traits_type::eof()) override; 679 basic_stringbuf<_CharT, _Traits, _Allocator>::pbackfail(int_type __c) { 683 if (traits_type::eq_int_type(__c, traits_type::eof())) { 685 return traits_type::not_eof(__c); 689 *this->gptr() = traits_type::to_char_type(__c); 690 return __c; 698 basic_stringbuf<_CharT, _Traits, _Allocator>::overflow(int_type __c) { 699 if (!traits_type::eq_int_type(__c, traits_type::eof())) { 726 return this->sputc(traits_type::to_char_type(__c)); [all …]
|
H A D | stack | 187 _LIBCPP_HIDE_FROM_ABI explicit stack(container_type&& __c) : c(std::move(__c)) {} 190 _LIBCPP_HIDE_FROM_ABI explicit stack(const container_type& __c) : c(__c) {} 198 …stack(const container_type& __c, const _Alloc& __a, __enable_if_t<uses_allocator<container_type, _… 199 : c(__c, __a) {} 207 …stack(container_type&& __c, const _Alloc& __a, __enable_if_t<uses_allocator<container_type, _Alloc… 208 : c(std::move(__c), __a) {} 249 …if constexpr (requires(container_type& __c) { __c.append_range(std::forward<_Range>(__range)); }) {
|
H A D | typeinfo | 214 while (unsigned char __c = static_cast<unsigned char>(*__ptr++)) 215 __hash = (__hash * 33) ^ __c;
|
H A D | unordered_map | 1806 erase_if(unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __c, _Predicate __pred) { 1807 return std::__libcpp_erase_if_container(__c, __pred); 2501 erase_if(unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __c, _Predicate __pred) { 2502 return std::__libcpp_erase_if_container(__c, __pred);
|
H A D | list | 661 __c.__end_.__next_ = __c.__end_.__prev_ = __c.__end_as_link(); 663 __c.__end_.__prev_->__next_ = __c.__end_.__next_->__prev_ = __c.__end_as_link(); 879 base::swap(__c); 911 _LIBCPP_HIDE_FROM_ABI void merge(list&& __c) { merge(__c); } 1074 splice(end(), __c); 1083 assign(_Ip(__c.begin()), _Ip(__c.end())); 1099 assign(_Ip(__c.begin()), _Ip(__c.end())); 1109 splice(end(), __c); 1118 assign(__c.begin(), __c.end()); 1462 __c.__sz() = 0; [all …]
|
H A D | locale | 309 _CharT __c = *__b; 311 __c = __ct.toupper(__c); 325 if (__c == __kc) { 1450 _CharT __c = *__b; 1458 __c = *__b; 3031 _LIBCPP_HIDE_FROM_ABI void close(catalog __c) const { do_close(__c); } 3070 (void)__c; 3082 (void)__c; 3473 return __c; 3489 return __c; [all …]
|