Home
last modified time | relevance | path

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

/src/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()
/src/contrib/llvm-project/libcxx/include/__format/
H A Dwrite_escaped.h188 __unicode::__code_point_view<_CharT> __view{__values.begin(), __values.end()}; in __escape()
193 while (!__view.__at_end()) { in __escape()
194 auto __first = __view.__position(); in __escape()
195 typename __unicode::__consume_result __result = __view.__consume(); in __escape()
200 ranges::copy(__first, __view.__position(), std::back_insert_iterator(__str)); in __escape()
203 ranges::for_each(__first, __view.__position(), [&](_CharT __value) { in __escape()
H A Dparser_std_format_spec.h595 __unicode::__code_point_view<_CharT> __view{__begin, __end};
596 __unicode::__consume_result __consumed = __view.__consume();
600 if (__view.__position() < __end && __parse_alignment(*__view.__position())) {
601 ptrdiff_t __code_units = __view.__position() - __begin;
1036 __unicode::__extended_grapheme_cluster_view<_CharT> __view{__first, __last};
1040 …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_}; }
/src/contrib/llvm-project/libcxx/include/
H A Dprint67 _LIBCPP_EXPORTED_FROM_ABI void __write_to_windows_console(FILE* __stream, wstring_view __view);
159 __code_point_view<iter_value_t<_InIt>> __view{__data.begin(), __data.end()};
160 while (!__view.__at_end())
161 __unicode::__encode(__out_it, __view.__consume().__code_point);
271 [[maybe_unused]] wstring_view __view = __buffer.__view();
276 _LIBCPP_TESTING_PRINT_WRITE_TO_WINDOWS_CONSOLE_FUNCTION(__stream, __view);
278 std::__write_to_windows_console(__stream, __view);
H A Dsstream457 const basic_string_view<_CharT, _Traits> __view = view();
458 …typename string_type::size_type __pos = __view.empty() ? 0 : __view.data() - __str_.data…
459 …// In C++23, this is just string_type(std::move(__str_), __pos, __view.size(), __str_.get_allocato…
462 __result.resize(__pos + __view.size());
/src/contrib/llvm-project/libcxx/include/__ranges/
H A Dreverse_view.h59 …_LIBCPP_HIDE_FROM_ABI constexpr explicit reverse_view(_View __view) : __base_(std::move(__view)) {} in reverse_view() argument