Home
last modified time | relevance | path

Searched refs:__out_it (Results 1 – 11 of 11) sorted by relevance

/freebsd-14-stable/contrib/llvm-project/libcxx/include/__format/
HDformatter_output.h104 …string_view<_CharT> __str, output_iterator<const _OutCharT&> auto __out_it) -> decltype(__out_it) {
105 …if constexpr (std::same_as<decltype(__out_it), std::back_insert_iterator<__format::__output_buffer…
106 __out_it.__get_container()->__copy(__str);
107 return __out_it;
108 …} else if constexpr (std::same_as<decltype(__out_it), typename __format::__retarget_buffer<_OutCha…
109 __out_it.__buffer_->__copy(__str);
110 return __out_it;
112 return std::ranges::copy(__str, std::move(__out_it)).out;
120 …__first, _Iterator __last, output_iterator<const _OutCharT&> auto __out_it) -> decltype(__out_it) {
121 return __formatter::__copy(basic_string_view{__first, __last}, std::move(__out_it));
[all …]
HDformat_functions.h305 typename _Ctx::iterator __out_it = __ctx.out(); in __vformat_to() local
314 __ctx.advance_to(std::move(__out_it)); in __vformat_to()
316 __out_it = __ctx.out(); in __vformat_to()
334 *__out_it++ = *__begin++; in __vformat_to()
336 return __out_it; in __vformat_to()
407 _LIBCPP_HIDE_FROM_ABI _OutIt __vformat_to(_OutIt __out_it, in requires()
412 …_parse_context{__fmt, __args.__size()}, std::__format_context_create(std::move(__out_it), __args)); in requires()
414 __format::__format_buffer<_OutIt, _CharT> __buffer{std::move(__out_it)}; in requires()
417 return std::move(__buffer).__out_it(); in requires()
425 _LIBCPP_ALWAYS_INLINE _LIBCPP_HIDE_FROM_ABI _OutIt vformat_to(_OutIt __out_it, string_view __fmt, f… in vformat_to() argument
[all …]
HDwrite_escaped.h49 output_iterator<const _CharT&> auto __out_it,
50 __format_spec::__parsed_specifications<_CharT> __specs) -> decltype(__out_it) {
52 return __formatter::__write_string_no_precision(__str, std::move(__out_it), __specs);
56 return __formatter::__write(__str.begin(), __str.end(), std::move(__out_it), __specs, __size);
72 back_insert_iterator __out_it{__str}; in __write_escaped_code_unit()
73 std::ranges::copy(__prefix, __nul_terminator{}, __out_it); in __write_escaped_code_unit()
78 std::ranges::copy(std::begin(__buffer), __r.ptr, __out_it); in __write_escaped_code_unit()
213 output_iterator<const _CharT&> auto __out_it,
214 … __format_spec::__parsed_specifications<_CharT> __specs) -> decltype(__out_it) {
219 …return __formatter::__write(__str.data(), __str.data() + __str.size(), std::move(__out_it), __spec…
[all …]
HDformatter_floating_point.h497 _OutIt __out_it,
535 *__out_it++ = *__buffer.begin();
536 __out_it = __formatter::__fill(std::move(__out_it), __padding.__before_, __specs.__fill_);
538 *__out_it++ = *__buffer.begin();
542 __out_it = __formatter::__copy(__first, __digits, std::move(__out_it));
554 __out_it = __formatter::__copy(__first, *__r, std::move(__out_it));
561 *__out_it++ = __sep;
567 *__out_it++ = __np.decimal_point();
568__out_it = __formatter::__copy(__result.__radix_point + 1, __result.__exponent, std::move(__out…
569__out_it = __formatter::__fill(std::move(__out_it), __buffer.__num_trailing_zeros(), _CharT('0'…
[all …]
HDformatter_integral.h128 output_iterator<const _CharT&> auto __out_it,
129 __format_spec::__parsed_specifications<_CharT> __specs) -> decltype(__out_it) {
148 …return __formatter::__write(std::addressof(__c), std::addressof(__c) + 1, std::move(__out_it), __s…
215 _OutIt __out_it, in __write_using_decimal_separators() argument
229 __out_it = __formatter::__copy(__begin, __first, std::move(__out_it)); in __write_using_decimal_separators()
234__out_it = __formatter::__fill(std::move(__out_it), __specs.__width_ - __size, _CharT('… in __write_using_decimal_separators()
241 __out_it = __formatter::__fill(std::move(__out_it), __padding.__before_, __specs.__fill_); in __write_using_decimal_separators()
244 __out_it = __formatter::__copy(__begin, __first, std::move(__out_it)); in __write_using_decimal_separators()
265 __out_it = __formatter::__transform(__first, __last, std::move(__out_it), __hex_to_upper); in __write_using_decimal_separators()
268 __out_it = __formatter::__copy(__first, *__r, std::move(__out_it)); in __write_using_decimal_separators()
[all …]
HDbuffer.h267 _LIBCPP_HIDE_FROM_ABI explicit __writer_direct(_OutIt __out_it) : __out_it_(__out_it) {} in __writer_direct() argument
269 _LIBCPP_HIDE_FROM_ABI _OutIt __out_it() { return __out_it_; } in __out_it() function
285 …_LIBCPP_HIDE_FROM_ABI explicit __writer_iterator(_OutIt __out_it) : __out_it_{std::move(__out_it)}… in __writer_iterator() argument
287 _LIBCPP_HIDE_FROM_ABI _OutIt __out_it() && { return std::move(__out_it_); } in __out_it() function
328 _LIBCPP_HIDE_FROM_ABI explicit __writer_container(back_insert_iterator<_Container> __out_it)
329 : __container_{__out_it.__get_container()} {}
331 _LIBCPP_HIDE_FROM_ABI auto __out_it() { return std::back_inserter(*__container_); }
363 _LIBCPP_HIDE_FROM_ABI explicit __format_buffer(_OutIt __out_it)
365 … __output_(__storage_.__begin(), __storage_.__buffer_size, this), __writer_(std::move(__out_it)) {}
367 _LIBCPP_HIDE_FROM_ABI explicit __format_buffer(_OutIt __out_it)
[all …]
HDformat_context.h56 __format_context_create(_OutIt __out_it,
59 return std::basic_format_context(std::move(__out_it), __args, std::move(__loc));
64 __format_context_create(_OutIt __out_it, basic_format_args<basic_format_context<_OutIt, _CharT>> __… in __format_context_create() argument
65 return std::basic_format_context(std::move(__out_it), __args); in __format_context_create()
124 … _OutIt __out_it, basic_format_args<basic_format_context> __args, optional<std::locale>&& __loc) in _LIBCPP_PREFERRED_NAME()
125 : __out_it_(std::move(__out_it)), __args_(__args), __loc_(std::move(__loc)) {} in _LIBCPP_PREFERRED_NAME()
131 …_LIBCPP_HIDE_FROM_ABI explicit basic_format_context(_OutIt __out_it, basic_format_args<basic_forma… in _LIBCPP_PREFERRED_NAME()
132 : __out_it_(std::move(__out_it)), __args_(__args) {} in _LIBCPP_PREFERRED_NAME()
164 _LIBCPP_HIDE_FROM_ABI explicit basic_format_context(iterator __out_it, _Context& __ctx) in basic_format_context() argument
165 : __out_it_(std::move(__out_it)), in basic_format_context()
HDformatter_string.h89 auto __out_it = __ctx.out();
91 *__out_it++ = *__str++;
92 return __out_it;
/freebsd-14-stable/contrib/llvm-project/libcxx/include/__pstl/backends/
HDdefault.h399 _ForwardOutIterator __out_it,
405 …_Transform()(__policy, std::move(__first), std::move(__last), std::move(__out_it), [&](_Ref __elem…
421 _ForwardOutIterator __out_it,
430 std::move(__out_it),
444 …Policy&& __policy, _ForwardIterator __first, _ForwardIterator __last, _ForwardOutIterator __out_it)
447 …return _Transform()(__policy, std::move(__first), std::move(__last), std::move(__out_it), [&](auto…
458 …Policy&& __policy, _ForwardIterator __first, _ForwardIterator __last, _ForwardOutIterator __out_it)
461 …return _Transform()(__policy, std::move(__first), std::move(__last), std::move(__out_it), __identi…
469 …operator()(_Policy&& __policy, _ForwardIterator __first, _Size __n, _ForwardOutIterator __out_it) …
473 return _Copy()(__policy, std::move(__first), std::move(__last), std::move(__out_it));
[all …]
/freebsd-14-stable/contrib/llvm-project/libcxx/include/
HDprint117 _LIBCPP_HIDE_FROM_ABI constexpr void __encode(_OutIt& __out_it, char32_t __value) {
123 *__out_it++ = __value;
128 *__out_it++ = 0xd800 + (__value >> 10);
129 *__out_it++ = 0xdc00 + (__value & 0x3FF);
134 _LIBCPP_HIDE_FROM_ABI constexpr void __encode(_OutIt& __out_it, char32_t __value) {
138 *__out_it++ = __value;
143 _LIBCPP_HIDE_FROM_ABI constexpr _OutIt __transcode(_InIt __first, _InIt __last, _OutIt __out_it) {
161 __unicode::__encode(__out_it, __view.__consume().__code_point);
162 return __out_it;
/freebsd-14-stable/contrib/llvm-project/libcxx/include/__chrono/
HDformatter.h210 std::ostreambuf_iterator<_CharT> __out_it{__sstr}; in __format_zone_offset()
212 std::format_to(__out_it, _LIBCPP_STATICALLY_WIDEN(_CharT, "{:02}"), __hms.hours().count()); in __format_zone_offset()
215 std::format_to(__out_it, _LIBCPP_STATICALLY_WIDEN(_CharT, "{:02}"), __hms.minutes().count()); in __format_zone_offset()