Home
last modified time | relevance | path

Searched refs:__view (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/contrib/llvm-project/libcxx/src/
H A Dprint.cpp47 __write_to_windows_console([[maybe_unused]] FILE* __stream, [[maybe_unused]] wstring_view __view) { in __write_to_windows_console() argument
50 __view.data(), in __write_to_windows_console()
51 __view.size(), in __write_to_windows_console()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__format/
H A Dwrite_escaped.h176 __unicode::__code_point_view<_CharT> __view{__values.begin(), __values.end()}; in __escape()
178 while (!__view.__at_end()) { in __escape()
179 auto __first = __view.__position(); in __escape()
180 typename __unicode::__consume_result __result = __view.__consume(); in __escape()
184 ranges::copy(__first, __view.__position(), std::back_insert_iterator(__str)); in __escape()
187 ranges::for_each(__first, __view.__position(), [&](_CharT __value) { in __escape()
H A Dparser_std_format_spec.h598 __unicode::__code_point_view<_CharT> __view{__begin, __end};
599 __unicode::__consume_result __consumed = __view.__consume();
603 if (__view.__position() < __end && __parse_alignment(*__view.__position())) {
604 ptrdiff_t __code_units = __view.__position() - __begin;
1039 __unicode::__extended_grapheme_cluster_view<_CharT> __view{__first, __last};
1043 …typename __unicode::__extended_grapheme_cluster_view<_CharT>::__cluster __cluster = __view.__consu…
H A Dformatter_tuple.h113 …return __formatter::__write_string_no_precision(basic_string_view{__buffer.__view()}, __ctx.out(),… in format()
H A Drange_formatter.h150 return __formatter::__write_string_no_precision(__buffer.__view(), __ctx.out(), __specs); in format()
H A Dbuffer.h620 _LIBCPP_HIDE_FROM_ABI basic_string_view<_CharT> __view() { return {__ptr_, __size_}; }
/freebsd-14.2/contrib/llvm-project/libcxx/include/__ranges/
H A Drange_adaptor.h62 …operator|(_View&& __view, _Closure&& __closure) noexcept(is_nothrow_invocable_v<_Closure, _View>) {
63 return std::invoke(std::forward<_Closure>(__closure), std::forward<_View>(__view));
H A Dreverse_view.h59 …_LIBCPP_HIDE_FROM_ABI constexpr explicit reverse_view(_View __view) : __base_(std::move(__view)) {} in reverse_view() argument
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dprint66 _LIBCPP_EXPORTED_FROM_ABI void __write_to_windows_console(FILE* __stream, wstring_view __view);
158 __code_point_view<iter_value_t<_InIt>> __view{__data.begin(), __data.end()};
159 while (!__view.__at_end())
160 __unicode::__encode(__out_it, __view.__consume().__code_point);
270 [[maybe_unused]] wstring_view __view = __buffer.__view();
275 _LIBCPP_TESTING_PRINT_WRITE_TO_WINDOWS_CONSOLE_FUNCTION(__stream, __view);
277 std::__write_to_windows_console(__stream, __view);
H A Dsstream397 const basic_string_view<_CharT, _Traits> __view = view();
398 …typename string_type::size_type __pos = __view.empty() ? 0 : __view.data() - __str_.data…
399 …// In C++23, this is just string_type(std::move(__str_), __pos, __view.size(), __str_.get_allocato…
402 __result.resize(__pos + __view.size());