| /freebsd-14.2/contrib/llvm-project/libcxx/include/__format/ |
| H A D | write_escaped.h | 80 __str += _CharT('}'); in __write_escaped_code_unit() 144 __str += __value; in __is_escaped_sequence_written() 150 __str += __value; in __is_escaped_sequence_written() 158 __str += __value; in __is_escaped_sequence_written() 199 basic_string<_CharT> __str; variable 200 __str += _CharT('\''); 202 __str += _CharT('\''); 203 …return __formatter::__write(__str.data(), __str.data() + __str.size(), std::move(__out_it), __spec… 211 basic_string<_CharT> __str; variable 212 __str += _CharT('"'); [all …]
|
| H A D | formatter_string.h | 44 format(basic_string_view<_CharT> __str, _FormatContext& __ctx) const { in format() 87 return __formatter::__write_string(basic_string_view<_CharT>{__str}, __ctx.out(), __specs); 91 while (*__str) 92 *__out_it++ = *__str++; 104 return _Base::format(__str, __ctx); 115 format(const _CharT (&__str)[_Size], _FormatContext& __ctx) const { 116 return _Base::format(basic_string_view<_CharT>(__str, _Size), __ctx); 128 format(const basic_string<_CharT, _Traits, _Allocator>& __str, _FormatContext& __ctx) const { 130 return _Base::format(basic_string_view<_CharT>(__str.data(), __str.size()), __ctx); 141 format(basic_string_view<_CharT, _Traits> __str, _FormatContext& __ctx) const { [all …]
|
| H A D | formatter_output.h | 106 __out_it.__get_container()->__copy(__str); 109 __out_it.__buffer_->__copy(__str); 112 return std::ranges::copy(__str, std::move(__out_it)).out; 232 __write(basic_string_view<_CharT> __str, 237 return __formatter::__copy(__str, std::move(__out_it)); 241 __out_it = __formatter::__copy(__str, std::move(__out_it)); 299 basic_string_view<_CharT> __str, 306 return __formatter::__copy(__str, std::move(__out_it)); 314 return __formatter::__write(__str, std::move(__out_it), __specs, __size); 318 _LIBCPP_HIDE_FROM_ABI int __truncate(basic_string_view<_CharT>& __str, int __precision) { in __truncate() argument [all …]
|
| H A D | parser_std_format_spec.h | 1110 … basic_string_view<_CharT> __str, size_t __maximum, __column_width_rounding __rounding) noexcept { 1118 if (__str.empty() || __maximum == 0) 1119 return {0, __str.begin()}; 1128 auto __it = __str.begin(); 1133 if (__it == __str.end()) 1134 return {__str.size(), __str.end()}; 1138 return {static_cast<size_t>(__it - __str.begin()), __it}; 1147 ptrdiff_t __ascii_size = __it - __str.begin(); 1149 … __detail::__estimate_column_width_grapheme_clustering(__it, __str.end(), __maximum, __rounding); 1161 size_t __width_ = std::min(__str.size(), __maximum); [all …]
|
| H A D | buffer.h | 95 _LIBCPP_HIDE_FROM_ABI void __copy(basic_string_view<_InCharT> __str) { in __copy() argument 107 size_t __n = __str.size(); in __copy() 111 std::copy_n(__str.data(), __n, std::addressof(__ptr_[__size_])); in __copy() 119 const _InCharT* __first = __str.data(); in __copy() 585 _LIBCPP_HIDE_FROM_ABI void __copy(basic_string_view<_InCharT> __str) { 586 size_t __n = __str.size(); 591 std::uninitialized_copy_n(__str.data(), __n, __ptr_ + __size_);
|
| H A D | formatter_integral.h | 428 basic_string<_CharT> __str = __value ? __np.truename() : __np.falsename(); 429 …return __formatter::__write_string_no_precision(basic_string_view<_CharT>{__str}, __ctx.out(), __s… 432 basic_string_view<_CharT> __str = 434 return __formatter::__write(__str.begin(), __str.end(), __ctx.out(), __specs);
|
| H A D | format_functions.h | 370 consteval basic_format_string(const _Tp& __str) : __str_{__str} { in basic_format_string()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__chrono/ |
| H A D | statically_widen.h | 29 _LIBCPP_HIDE_FROM_ABI constexpr const _CharT* __statically_widen(const char* __str, const wchar_t* … in __statically_widen() argument 31 return __str; in __statically_widen() 35 # define _LIBCPP_STATICALLY_WIDEN(_CharT, __str) ::std::__statically_widen<_CharT>(__str, L##__s… argument 42 _LIBCPP_HIDE_FROM_ABI constexpr const _CharT* __statically_widen(const char* __str) { 43 return __str; 45 # define _LIBCPP_STATICALLY_WIDEN(_CharT, __str) ::std::__statically_widen<_CharT>(__str)
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | ios | 706 return __str; 711 return __str; 716 return __str; 721 return __str; 726 return __str; 731 return __str; 736 return __str; 741 return __str; 746 return __str; 751 return __str; [all …]
|
| H A D | string | 1269 return append(__str.data(), __str.size()); 1432 return insert(__pos1, __str.data(), __str.size()); 3318 if (this != &__str && !__str.__is_long()) 3324 if (this != &__str && !__str.__is_long()) 3325 __str.__annotate_new(__str.__get_short_size()); 3425 data(), size(), __str.data(), __pos, __str.size()); 3465 data(), size(), __str.data(), __pos, __str.size()); 3506 data(), size(), __str.data(), __pos, __str.size()); 3547 data(), size(), __str.data(), __pos, __str.size()); 4101 __str.erase(std::remove(__str.begin(), __str.end(), __v), __str.end()); [all …]
|
| H A D | cwchar | 197 …IBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 size_t __constexpr_wcslen(const wchar_t* __str) { 199 return __builtin_wcslen(__str); 202 return std::wcslen(__str); 205 for (; *__str != L'\0'; ++__str) 230 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 _Tp* __constexpr_wmemchr(_Tp* __str, _Up __valu… 240 … __builtin_wmemchr(reinterpret_cast<__apply_cv_t<_Tp, wchar_t>*>(__str), __value_buffer, __count)); 244 return __builtin_wmemchr(__str, __value, __count); 249 if (*__str == __value) 250 return __str; 251 ++__str;
|
| H A D | ostream | 676 __str, 677 (__os.flags() & ios_base::adjustfield) == ios_base::left ? __str + __len : __str, 678 __str + __len, 742 return std::__put_character_sequence(__os, __str, _Traits::length(__str)); 787 return std::__put_character_sequence(__os, __str, _Traits::length(__str)); 793 const char* __s = (const char*)__str; 926 return std::__put_character_sequence(__os, __str.data(), __str.size()); 1046 const char* __str = __o.data(); 1055 __str, 1056 (__os.flags() & ios_base::adjustfield) == ios_base::left ? __str + __len : __str, [all …]
|
| H A D | bitset | 623 const _CharT* __str, 638 basic_string_view<_CharT, _Traits> __str, 643 if (__pos > __str.size()) 646 size_t __rlen = std::min(__n, __str.size() - __pos); 652 const basic_string<_CharT, _Traits, _Allocator>& __str, 658 if (__pos > __str.size()) 661 size_t __rlen = std::min(__n, __str.size() - __pos); 716 for (size_t __i = 0; __i < __str.size(); ++__i) 717 if (!_Traits::eq(__str[__i], __zero) && !_Traits::eq(__str[__i], __one)) 720 size_t __mp = std::min(__str.size(), _Size); [all …]
|
| H A D | istream | 1210 __str.clear(); 1213 __n = __str.max_size(); 1227 __str.push_back(__ch); 1257 __str.clear(); 1269 __str.push_back(__ch); 1270 if (__str.size() == __str.max_size()) { 1294 return std::getline(__is, __str, __is.widen('\n')); 1300 return std::getline(__is, __str, __dlm); 1318 basic_string<_CharT, _Traits> __str; 1332 __str.push_back(__ch); [all …]
|
| H A D | print | 216 string __str = std::vformat(__fmt, __args); 218 __str.push_back('\n'); 220 size_t __size = fwrite(__str.data(), 1, __str.size(), __stream); 221 if (__size < __str.size()) { 255 string __str = std::vformat(__fmt, __args); 265 __format::__retarget_buffer<wchar_t> __buffer{__str.size()}; 266 __unicode::__transcode(__str.begin(), __str.end(), __buffer.__make_output_iterator());
|
| H A D | iomanip | 413 basic_string<_CharT, _Traits> __str; 414 __str.push_back(__delim); 417 __str.push_back(__escape); 418 __str.push_back(*__first); 420 __str.push_back(__delim); 421 return std::__put_character_sequence(__os, __str.data(), __str.size());
|
| H A D | regex | 3443 if (__str) 3449 if (__str) 3455 if (__str) 3461 if (__str) 3467 if (__str) 3473 if (__str) 3479 if (__str) 3485 if (__str) 5205 return __e.__search(__str, __str + _Traits::length(__str), __m, __flags); 5281 return std::regex_match(__str, __str + _Traits::length(__str), __m, __e, __flags); [all …]
|
| H A D | string_view | 871 operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __str); 904 operator""sv(const char* __str, size_t __len) _NOEXCEPT { 905 return basic_string_view<char>(__str, __len); 910 operator""sv(const wchar_t* __str, size_t __len) _NOEXCEPT { 911 return basic_string_view<wchar_t>(__str, __len); 917 operator""sv(const char8_t* __str, size_t __len) _NOEXCEPT { 918 return basic_string_view<char8_t>(__str, __len); 923 operator""sv(const char16_t* __str, size_t __len) _NOEXCEPT { 924 return basic_string_view<char16_t>(__str, __len); 928 operator""sv(const char32_t* __str, size_t __len) _NOEXCEPT { [all …]
|
| H A D | locale | 3151 _LIBCPP_HIDE_FROM_ABI wide_string from_bytes(const byte_string& __str) { 3152 return from_bytes(__str.data(), __str.data() + __str.size());
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__string/ |
| H A D | constexpr_c_functions.h | 38 … _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 size_t __constexpr_strlen(const char* __str) { in __constexpr_strlen() argument 44 for (; __str[__i] != '\0'; ++__i) in __constexpr_strlen() 49 return __builtin_strlen(__str); in __constexpr_strlen() 116 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 _Tp* __constexpr_memchr(_Tp* __str, _Up __value… in __constexpr_memchr() argument 124 return __builtin_char_memchr(__str, __value, __count); in __constexpr_memchr() 128 if (*__str == __value) in __constexpr_memchr() 129 return __str; in __constexpr_memchr() 130 ++__str; in __constexpr_memchr() 136 return static_cast<_Tp*>(__builtin_memchr(__str, __value_buffer, __count)); in __constexpr_memchr()
|
| /freebsd-14.2/sys/dev/hptmv/ |
| H A D | osbsd.h | 218 #define __str(x) __str_direct(x) macro 219 #define KMSG_LEADING __str(PROC_DIR_NAME) ": "
|
| H A D | entry.c | 94 __str(PROC_DIR_NAME), 2023 hpt_vsim = cam_sim_alloc(hpt_action, hpt_poll, __str(PROC_DIR_NAME), in hpt_attach()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__filesystem/ |
| H A D | path.h | 295 …HIDE_FROM_ABI static void __append_string(__path_string& __dest, const basic_string<char>& __str) { 296 size_t __size = __char_to_wide(__str, nullptr, 0); 299 __char_to_wide(__str, const_cast<__path_value*>(__dest.data()) + __pos, __size);
|
| /freebsd-14.2/contrib/mandoc/ |
| H A D | roff.c | 175 #define PREDEF(__name, __str) \ argument 176 { (__name), (__str) },
|