| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | string_view | 25 class basic_string_view; 72 class basic_string_view { 91 constexpr basic_string_view(const basic_string_view&) noexcept = default; 92 basic_string_view& operator=(const basic_string_view&) noexcept = default; 184 basic_string_view(It, End) -> basic_string_view<iter_value_t<It>>; // C++20 186 basic_string_view(Range&&) -> basic_string_view<ranges::range_value_t<Range>>; // C++23 272 class basic_string_view { 302 _LIBCPP_HIDE_FROM_ABI basic_string_view(const basic_string_view&) _NOEXCEPT = default; 304 _LIBCPP_HIDE_FROM_ABI basic_string_view& operator=(const basic_string_view&) _NOEXCEPT = default; 691 basic_string_view(_It, _End) -> basic_string_view<iter_value_t<_It>>; [all …]
|
| H A D | bitset | 50 typename basic_string_view<charT>::size_type n = basic_string_view<charT>::npos, 54 const basic_string_view<charT,traits>& str, 55 typename basic_string_view<charT,traits>::size_type pos = 0, 56 … typename basic_string_view<charT,traits>::size_type n = basic_string_view<charT,traits>::npos, 625 typename basic_string_view<_CharT>::size_type __n = basic_string_view<_CharT>::npos, 633 __init_from_string_view(basic_string_view<_CharT>(__str, __rlen), __zero, __one); 638 basic_string_view<_CharT, _Traits> __str, 639 typename basic_string_view<_CharT, _Traits>::size_type __pos = 0, 640 …typename basic_string_view<_CharT, _Traits>::size_type __n = basic_string_view<_CharT, _Traits>:… 647 …__init_from_string_view(basic_string_view<_CharT, _Traits>(__str.data() + __pos, __rlen), __zero, … [all …]
|
| H A D | format | 30 basic_string_view<charT> str; // exposition only 36 constexpr basic_string_view<charT> get() const noexcept { return str; } 47 basic_string_view<charT> str; // exposition-only 50 runtime-format-string(basic_string_view<charT> s) noexcept : str(s) {}
|
| H A D | sstream | 65 basic_string_view<char_type, traits_type> view() const noexcept; // C++20 135 basic_string_view<char_type, traits_type> view() const noexcept; // C++20 194 basic_string_view<char_type, traits_type> view() const noexcept; // C++20 253 basic_string_view<char_type, traits_type> view() const noexcept; // C++20 397 const basic_string_view<_CharT, _Traits> __view = view(); 416 _LIBCPP_HIDE_FROM_ABI basic_string_view<char_type, traits_type> view() const noexcept; 651 _LIBCPP_HIDE_FROM_ABI basic_string_view<_CharT, _Traits> 656 return basic_string_view<_CharT, _Traits>(this->pbase(), __hm_); 658 return basic_string_view<_CharT, _Traits>(this->eback(), this->egptr()); 659 return basic_string_view<_CharT, _Traits>(); [all …]
|
| H A D | string | 350 …constexpr bool starts_with(basic_string_view<charT, traits> sv) const noexcept; // C++… 378 explicit basic_string(basic_string_view<charT, traits>, const Allocator& = Allocator()) 384 basic_string(basic_string_view<charT, traits>, 702 … : public _BoolConstant< is_convertible<const _Tp&, basic_string_view<_CharT, _Traits> >::value && 715 typedef basic_string_view<_CharT, _Traits> __self_view; 2156 explicit basic_string(basic_string_view<_CharT, _Traits>, const _Allocator& = _Allocator()) 2164 basic_string(basic_string_view<_CharT, _Traits>, _Sz, _Sz, const _Allocator& = _Allocator()) 3694 return basic_string_view<_CharT, _Traits>(__lhs) == basic_string_view<_CharT, _Traits>(__rhs); 3735 return basic_string_view<_CharT, _Traits>(__lhs) == basic_string_view<_CharT, _Traits>(__rhs); 3751 return basic_string_view<_CharT, _Traits>(__lhs) <=> basic_string_view<_CharT, _Traits>(__rhs); [all …]
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__fwd/ |
| H A D | string_view.h | 23 class _LIBCPP_TEMPLATE_VIS basic_string_view; variable 25 typedef basic_string_view<char> string_view; 27 typedef basic_string_view<char8_t> u8string_view; 29 typedef basic_string_view<char16_t> u16string_view; 30 typedef basic_string_view<char32_t> u32string_view; 32 typedef basic_string_view<wchar_t> wstring_view; 46 basic_string_view;
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__format/ |
| H A D | formatter_string.h | 44 format(basic_string_view<_CharT> __str, _FormatContext& __ctx) const { in format() 72 …return __formatter::__format_escaped_string(basic_string_view<_CharT>{__str}, __ctx.out(), __specs… 87 return __formatter::__write_string(basic_string_view<_CharT>{__str}, __ctx.out(), __specs); 116 return _Base::format(basic_string_view<_CharT>(__str, _Size), __ctx); 130 return _Base::format(basic_string_view<_CharT>(__str.data(), __str.size()), __ctx); 136 struct _LIBCPP_TEMPLATE_VIS formatter<basic_string_view<_CharT, _Traits>, _CharT> : public __format… 141 format(basic_string_view<_CharT, _Traits> __str, _FormatContext& __ctx) const { 143 return _Base::format(basic_string_view<_CharT>(__str.data(), __str.size()), __ctx);
|
| H A D | formatter_tuple.h | 40 …_LIBCPP_HIDE_FROM_ABI constexpr void set_separator(basic_string_view<_CharT> __separator) noexcept… in set_separator() 44 …set_brackets(basic_string_view<_CharT> __opening_bracket, basic_string_view<_CharT> __closing_brac… in set_brackets() 113 …return __formatter::__write_string_no_precision(basic_string_view{__buffer.__view()}, __ctx.out(),… in format() 133 basic_string_view<_CharT> __separator_ = _LIBCPP_STATICALLY_WIDEN(_CharT, ", "); 134 basic_string_view<_CharT> __opening_bracket_ = _LIBCPP_STATICALLY_WIDEN(_CharT, "("); 135 basic_string_view<_CharT> __closing_bracket_ = _LIBCPP_STATICALLY_WIDEN(_CharT, ")");
|
| H A D | range_formatter.h | 43 …_LIBCPP_HIDE_FROM_ABI constexpr void set_separator(basic_string_view<_CharT> __separator) noexcept… in set_separator() 47 …set_brackets(basic_string_view<_CharT> __opening_bracket, basic_string_view<_CharT> __closing_brac… in set_brackets() 175 std::formatter<basic_string_view<_CharT>, _CharT> __formatter; in __format_as_string() 179 basic_string_view<_CharT>{ in __format_as_string() 255 basic_string_view<_CharT> __separator_ = _LIBCPP_STATICALLY_WIDEN(_CharT, ", "); 256 basic_string_view<_CharT> __opening_bracket_ = _LIBCPP_STATICALLY_WIDEN(_CharT, "["); 257 basic_string_view<_CharT> __closing_bracket_ = _LIBCPP_STATICALLY_WIDEN(_CharT, "]");
|
| H A D | formatter_output.h | 103 _LIBCPP_HIDE_FROM_ABI auto __copy(basic_string_view<_CharT> __str, output_iterator<const _OutCharT&… 121 return __formatter::__copy(basic_string_view{__first, __last}, std::move(__out_it)); 129 return __formatter::__copy(basic_string_view{std::to_address(__first), __n}, std::move(__out_it)); 232 __write(basic_string_view<_CharT> __str, 253 …return __formatter::__write(basic_string_view{__first, __last}, std::move(__out_it), __specs, __si… 299 basic_string_view<_CharT> __str, 318 _LIBCPP_HIDE_FROM_ABI int __truncate(basic_string_view<_CharT>& __str, int __precision) { in __truncate() 321 __str = basic_string_view<_CharT>{__str.begin(), __result.__last_}; in __truncate()
|
| H A D | write_escaped.h | 48 __write_string(basic_string_view<_CharT> __str, 175 __escape(basic_string<_CharT>& __str, basic_string_view<_CharT> __values, __escape_quotation_mark _… in __escape() 201 …__formatter::__escape(__str, basic_string_view{std::addressof(__value), 1}, __escape_quotation_mar… 208 __format_escaped_string(basic_string_view<_CharT> __values, 215 return __formatter::__write_string(basic_string_view{__str}, std::move(__out_it), __specs);
|
| H A D | range_default_formatter.h | 102 …_LIBCPP_HIDE_FROM_ABI constexpr void set_separator(basic_string_view<_CharT> __separator) noexcept… 106 …set_brackets(basic_string_view<_CharT> __opening_bracket, basic_string_view<_CharT> __closing_brac… 182 formatter<basic_string_view<_CharT>, _CharT> __underlying_; 200 …return __underlying_.format(basic_string_view<_CharT>{ranges::data(__range), ranges::size(__range)…
|
| H A D | format_functions.h | 346 basic_string_view<_CharT> __str_; 352 …_LIBCPP_HIDE_FROM_ABI __runtime_format_string(basic_string_view<_CharT> __s) noexcept : __str_(__s… in __runtime_format_string() 369 requires convertible_to<const _Tp&, basic_string_view<_CharT>> 375 _LIBCPP_HIDE_FROM_ABI constexpr basic_string_view<_CharT> get() const noexcept { return __str_; } in get() 381 basic_string_view<_CharT> __str_; 409 basic_string_view<_CharT> __fmt, in requires() 492 basic_string_view<_CharT> __fmt, in __vformat_to_n() 515 _LIBCPP_HIDE_FROM_ABI size_t __vformatted_size(basic_string_view<_CharT> __fmt, auto __args) { in __vformatted_size() 543 basic_string_view<_CharT> __fmt, in requires() 626 basic_string_view<_CharT> __fmt, in __vformat_to_n() [all …]
|
| H A D | format_parse_context.h | 30 using const_iterator = typename basic_string_view<_CharT>::const_iterator; 34 basic_string_view<_CharT> __fmt, size_t __num_args = 0) noexcept
|
| H A D | unicode.h | 124 using _Iterator = basic_string_view<char>::const_iterator; 250 using _Iterator = typename basic_string_view<wchar_t>::const_iterator; 381 using _Iterator = typename basic_string_view<_CharT>::const_iterator; 452 using _Iterator = typename basic_string_view<_CharT>::const_iterator;
|
| H A D | format_arg_store.h | 120 same_as<_Tp, basic_string_view<typename _Tp::value_type, typename _Tp::traits_type>>) in requires() 194 __arg, basic_string_view<typename _Context::char_type>{__value, extent_v<_Dp> - 1}}; in __create_format_arg() 199 __arg, basic_string_view<typename _Context::char_type>{__value.data(), __value.size()}}; in __create_format_arg()
|
| H A D | format_arg.h | 194 basic_string_view<_CharT> __string_view_; 218 _LIBCPP_HIDE_FROM_ABI __basic_format_arg_value(basic_string_view<_CharT> __value) noexcept in __basic_format_arg_value()
|
| H A D | buffer.h | 95 _LIBCPP_HIDE_FROM_ABI void __copy(basic_string_view<_InCharT> __str) { in __copy() 585 _LIBCPP_HIDE_FROM_ABI void __copy(basic_string_view<_InCharT> __str) { 620 _LIBCPP_HIDE_FROM_ABI basic_string_view<_CharT> __view() { return {__ptr_, __size_}; }
|
| H A D | parser_std_format_spec.h | 1108 template <class _CharT, class _Iterator = typename basic_string_view<_CharT>::const_iterator> 1110 … basic_string_view<_CharT> __str, size_t __maximum, __column_width_rounding __rounding) noexcept { 1156 _LIBCPP_HIDE_FROM_ABI constexpr __column_width_result<typename basic_string_view<_CharT>::const_ite… 1157 __estimate_column_width(basic_string_view<_CharT> __str, size_t __maximum, __column_width_rounding)…
|
| H A D | formatter_integral.h | 429 …return __formatter::__write_string_no_precision(basic_string_view<_CharT>{__str}, __ctx.out(), __s… 432 basic_string_view<_CharT> __str =
|
| /freebsd-14.2/contrib/llvm-project/libcxx/modules/std/ |
| H A D | string_view.inc | 11 // [string.view.template], class template basic_string_view 12 using std::basic_string_view; 26 // basic_string_view typedef-names 42 // [string.view.literals], suffix for basic_string_view literals
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__ranges/ |
| H A D | drop_view.h | 167 inline constexpr bool __is_passthrough_specialization<basic_string_view<_CharT, _Traits>> = true; 192 struct __passthrough_type<basic_string_view<_CharT, _Traits>> { 193 using type = basic_string_view<_CharT, _Traits>;
|
| H A D | take_view.h | 217 inline constexpr bool __is_passthrough_specialization<basic_string_view<_CharT, _Traits>> = true; 237 struct __passthrough_type<basic_string_view<_CharT, _Traits>> { 238 using type = basic_string_view<_CharT, _Traits>;
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__chrono/ |
| H A D | parser_std_format_spec.h | 152 __chrono_specs_ = basic_string_view<_CharT>{__begin, __last}; in __parse() 158 basic_string_view<_CharT> __chrono_specs_;
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__filesystem/ |
| H A D | path.h | 119 struct __is_pathable_string< basic_string_view<_ECharT, _Traits>, 122 using _Str = basic_string_view<_ECharT, _Traits>; 402 typedef basic_string_view<value_type> __string_view; 588 _PathCVT<_ECharT>::__append_source(__pn_, basic_string_view<_ECharT>(&__x, 1));
|