/openbsd-src/gnu/llvm/libcxx/include/ |
H A D | string_view | 21 // 7.2, Class template basic_string_view 23 class basic_string_view; 26 inline constexpr bool ranges::enable_view<basic_string_view<charT, traits>> = true; 29 …inline constexpr bool ranges::enable_borrowed_range<basic_string_view<charT, traits>> = true; // … 31 // 7.9, basic_string_view non-member comparison functions 33 constexpr bool operator==(basic_string_view<charT, traits> x, 34 basic_string_view<charT, traits> y) noexcept; 36 constexpr bool operator!=(basic_string_view<charT, traits> x, 37 basic_string_view<charT, traits> y) noexcept; 39 constexpr bool operator< (basic_string_view<charT, traits> x, [all …]
|
H A D | format | 30 basic_string_view<charT> str; // exposition only 35 constexpr basic_string_view<charT> get() const noexcept { return str; }
|
H A D | filesystem | 62 path& operator+=(basic_string_view<value_type> x); 117 int compare(basic_string_view<value_type> s) const;
|
/openbsd-src/gnu/llvm/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;
|
/openbsd-src/gnu/llvm/libcxx/include/__format/ |
H A D | formatter_string.h | 42 …_LIBCPP_HIDE_FROM_ABI auto format(basic_string_view<_CharT> __str, auto& __ctx) const -> decltype(… 71 …return __formatter::__format_escaped_string(basic_string_view<_CharT>{__str}, __ctx.out(), __specs… 86 return __formatter::__write_string(basic_string_view<_CharT>{__str}, __ctx.out(), __specs); 114 return _Base::format(basic_string_view<_CharT>(__str, _Size), __ctx); 125 return _Base::format(basic_string_view<_CharT>(__str, _Size), __ctx); 138 return _Base::format(basic_string_view<_CharT>(__str.data(), __str.size()), __ctx); 144 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<basic_string_view<_CharT, _Traits… 148 _LIBCPP_HIDE_FROM_ABI auto format(basic_string_view<_CharT, _Traits> __str, auto& __ctx) const 151 return _Base::format(basic_string_view<_CharT>(__str.data(), __str.size()), __ctx);
|
H A D | formatter_tuple.h | 42 _LIBCPP_HIDE_FROM_ABI constexpr void set_separator(basic_string_view<_CharT> __separator) { in set_separator() 46 …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{__str}, __ctx.out(), __specs); in format() 161 basic_string_view<_CharT> __separator_ = _LIBCPP_STATICALLY_WIDEN(_CharT, ", "); 162 basic_string_view<_CharT> __opening_bracket_ = _LIBCPP_STATICALLY_WIDEN(_CharT, "("); 163 basic_string_view<_CharT> __closing_bracket_ = _LIBCPP_STATICALLY_WIDEN(_CharT, ")");
|
H A D | range_formatter.h | 44 _LIBCPP_HIDE_FROM_ABI constexpr void set_separator(basic_string_view<_CharT> __separator) { in set_separator() 48 …set_brackets(basic_string_view<_CharT> __opening_bracket, basic_string_view<_CharT> __closing_brac… in set_brackets() 171 std::formatter<basic_string_view<_CharT>, _CharT> __formatter; in __format_as_string() 175 basic_string_view<_CharT>{ in __format_as_string() 246 basic_string_view<_CharT> __separator_ = _LIBCPP_STATICALLY_WIDEN(_CharT, ", "); 247 basic_string_view<_CharT> __opening_bracket_ = _LIBCPP_STATICALLY_WIDEN(_CharT, "["); 248 basic_string_view<_CharT> __closing_bracket_ = _LIBCPP_STATICALLY_WIDEN(_CharT, "]");
|
H A D | formatter_output.h | 100 _LIBCPP_HIDE_FROM_ABI auto __copy(basic_string_view<_CharT> __str, output_iterator<const _OutCharT&… 118 return __formatter::__copy(basic_string_view{__first, __last}, _VSTD::move(__out_it)); 124 return __formatter::__copy(basic_string_view{__first, __n}, _VSTD::move(__out_it)); 251 __write(basic_string_view<_CharT> __str, 272 …return __formatter::__write(basic_string_view{__first, __last}, _VSTD::move(__out_it), __specs, __… 342 basic_string_view<_CharT> __str, 361 _LIBCPP_HIDE_FROM_ABI int __truncate(basic_string_view<_CharT>& __str, int __precision) { in __truncate() 364 __str = basic_string_view<_CharT>{__str.begin(), __result.__last_}; in __truncate() 374 basic_string_view<_CharT> __str, 500 __escape(basic_string<_CharT>& __str, basic_string_view<_CharT> __values, __escape_quotation_mark _… in __escape() [all …]
|
H A D | format_functions.h | 230 …return __format::__compile_time_validate_argument<_CharT, basic_string_view<_CharT>, true>(__parse… in __compile_time_visit_format_arg() 338 requires convertible_to<const _Tp&, basic_string_view<_CharT>> 344 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_AVAILABILITY_FORMAT constexpr basic_string_view<_CharT> get() const … in get() 349 basic_string_view<_CharT> __str_; 392 _OutIt __out_it, basic_string_view<_CharT> __fmt, in requires() 470 basic_string_view<_CharT> __fmt, in __vformat_to_n() 494 _LIBCPP_HIDE_FROM_ABI size_t __vformatted_size(basic_string_view<_CharT> __fmt, auto __args) { in __vformatted_size() 520 _OutIt __out_it, locale __loc, basic_string_view<_CharT> __fmt, in requires() 604 … locale __loc, basic_string_view<_CharT> __fmt, in __vformat_to_n() 632 _LIBCPP_HIDE_FROM_ABI size_t __vformatted_size(locale __loc, basic_string_view<_CharT> __fmt, auto … in __vformatted_size()
|
H A D | format_parse_context.h | 29 using const_iterator = typename basic_string_view<_CharT>::const_iterator; 33 constexpr explicit basic_format_parse_context(basic_string_view<_CharT> __fmt,
|
H A D | range_default_formatter.h | 115 _LIBCPP_HIDE_FROM_ABI constexpr void set_separator(basic_string_view<_CharT> __separator) { 119 …set_brackets(basic_string_view<_CharT> __opening_bracket, basic_string_view<_CharT> __closing_brac…
|
H A D | format_arg_store.h | 120 same_as<_Tp, basic_string_view<typename _Tp::value_type, typename _Tp::traits_type>>) in requires() 180 …__arg, basic_string_view<typename _Context::char_type>{__value, extent_v<remove_cvref_t<_Tp>> - 1}… in __create_format_arg() 185 __arg, basic_string_view<typename _Context::char_type>{__value.data(), __value.size()}}; in __create_format_arg()
|
H A D | buffer.h | 88 _LIBCPP_HIDE_FROM_ABI void __copy(basic_string_view<_InCharT> __str) { in __copy() 545 _LIBCPP_HIDE_FROM_ABI void __copy(basic_string_view<_InCharT> __str) { 557 …_LIBCPP_HIDE_FROM_ABI basic_string_view<_CharT> __view() { return {__buffer_.data(), __buffer_.siz…
|
H A D | formatter_integral.h | 347 …return __formatter::__write_string_no_precision(basic_string_view<_CharT>{__str}, __ctx.out(), __s… 350 basic_string_view<_CharT> __str =
|
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 | parser_std_format_spec.h | 889 … basic_string_view<_CharT> __str, size_t __maximum, __column_width_rounding __rounding) noexcept { in __estimate_column_width() 936 __estimate_column_width(basic_string_view<_CharT> __str, size_t __maximum, __column_width_rounding)… in __estimate_column_width()
|
/openbsd-src/gnu/llvm/libcxx/benchmarks/ |
H A D | std_format_spec_string_unicode.bench.cpp | 21 std::basic_string_view<CharT> ascii_text() { in ascii_text() 80 std::basic_string_view<CharT> unicode_text() { in unicode_text() 131 std::basic_string_view<CharT> cyrillic_text() { in cyrillic_text() 164 std::basic_string_view<CharT> japanese_text() { in japanese_text() 181 std::basic_string_view<CharT> emoji_text() { in emoji_text() 237 void BM_text(benchmark::State& state, std::basic_string_view<CharT> input) { in BM_text()
|
/openbsd-src/gnu/llvm/libcxx/include/__ranges/ |
H A D | drop_view.h | 154 inline constexpr bool __is_passthrough_specialization<basic_string_view<_CharT, _Traits>> = true; 179 struct __passthrough_type<basic_string_view<_CharT, _Traits>> { 180 using type = basic_string_view<_CharT, _Traits>;
|
H A D | take_view.h | 208 inline constexpr bool __is_passthrough_specialization<basic_string_view<_CharT, _Traits>> = true; 228 struct __passthrough_type<basic_string_view<_CharT, _Traits>> { 229 using type = basic_string_view<_CharT, _Traits>;
|
/openbsd-src/gnu/llvm/libcxx/include/__chrono/ |
H A D | parser_std_format_spec.h | 150 __chrono_specs_ = basic_string_view<_CharT>{__begin, __last}; 156 basic_string_view<_CharT> __chrono_specs_;
|
H A D | formatter.h | 146 …const _Tp& __value, basic_stringstream<_CharT>& __sstr, basic_string_view<_CharT> __chrono_specs) { in __format_chrono_using_chrono_specs() 442 basic_string_view<_CharT> __chrono_specs) -> decltype(__ctx.out()) { 487 return __formatter::__write_string(basic_string_view<_CharT>{__str}, __ctx.out(), __specs);
|
/openbsd-src/gnu/llvm/libcxx/include/__filesystem/ |
H A D | path.h | 122 basic_string_view<_ECharT, _Traits>, 125 using _Str = basic_string_view<_ECharT, _Traits>; 462 typedef basic_string_view<value_type> __string_view; 682 basic_string_view<_ECharT>(&__x, 1));
|
/openbsd-src/gnu/llvm/libcxx/docs/Status/ |
H A D | Cxx2bPapers.csv | 24 …166R1>`__","LWG","A Proposal to Prohibit std::basic_string and std::basic_string_view construction… 34 "`P2251R1 <https://wg21.link/P2251R1>`__","LWG","Require ``span`` & ``basic_string_view`` to be Tri…
|
H A D | Cxx17Issues.csv | 251 "`2755 <https://wg21.link/LWG2755>`__","[string.view.io] uses non-existent basic_string_view::to_st… 259 …"Broken Effects of some basic_string::compare functions in terms of basic_string_view","Issaquah",… 261 "`2777 <https://wg21.link/LWG2777>`__","basic_string_view::copy should use char_traits::copy","Issa… 262 "`2778 <https://wg21.link/LWG2778>`__","basic_string_view is missing constexpr","Issaquah","|Comple… 271 "`2785 <https://wg21.link/LWG2785>`__","quoted should work with basic_string_view","Kona","|Complet…
|
H A D | Cxx2bIssues.csv | 89 `3542 <https://wg21.link/LWG3542>`__,"``basic_format_arg`` mishandles ``basic_string_view`` with cu… 116 …21.link/LWG3554>`__,"``chrono::parse`` needs ``const charT*`` and ``basic_string_view<charT>`` ove… 128 `3573 <https://wg21.link/LWG3573>`__,"Missing Throws element for ``basic_string_view(It begin, End … 131 `3581 <https://wg21.link/LWG3581>`__,"The range constructor makes ``basic_string_view`` not trivial…
|