Lines Matching refs:__format

147 #include <__format/buffer.h>
148 #include <__format/concepts.h>
149 #include <__format/enable_insertable.h>
150 #include <__format/format_arg.h>
151 #include <__format/format_arg_store.h>
152 #include <__format/format_args.h>
153 #include <__format/format_context.h>
154 #include <__format/format_error.h>
155 #include <__format/format_fwd.h>
156 #include <__format/format_parse_context.h>
157 #include <__format/format_string.h>
158 #include <__format/format_to_n_result.h>
159 #include <__format/formatter.h>
160 #include <__format/formatter_bool.h>
161 #include <__format/formatter_char.h>
162 #include <__format/formatter_floating_point.h>
163 #include <__format/formatter_integer.h>
164 #include <__format/formatter_pointer.h>
165 #include <__format/formatter_string.h>
166 #include <__format/parser_std_format_spec.h>
167 #include <__format/unicode.h>
213 namespace __format {
314 __format::__compile_time_validate_integral(__ctx.arg(__formatter.__width));
318 __format::__compile_time_validate_integral(__ctx.arg(__formatter.__precision));
321 __format::__compile_time_validate_integral(__ctx.arg(__formatter.__parser_.__width_));
325 __format::__compile_time_validate_integral(__ctx.arg(__formatter.__parser_.__precision_));
337 return __format::__compile_time_validate_argument<_CharT, bool>(__parse_ctx, __ctx);
339 return __format::__compile_time_validate_argument<_CharT, _CharT>(__parse_ctx, __ctx);
341 return __format::__compile_time_validate_argument<_CharT, int>(__parse_ctx, __ctx);
343 return __format::__compile_time_validate_argument<_CharT, long long>(__parse_ctx, __ctx);
346 return __format::__compile_time_validate_argument<_CharT, __int128_t>(__parse_ctx, __ctx);
352 return __format::__compile_time_validate_argument<_CharT, unsigned>(__parse_ctx, __ctx);
354 … return __format::__compile_time_validate_argument<_CharT, unsigned long long>(__parse_ctx, __ctx);
357 return __format::__compile_time_validate_argument<_CharT, __uint128_t>(__parse_ctx, __ctx);
363 return __format::__compile_time_validate_argument<_CharT, float, true>(__parse_ctx, __ctx);
365 return __format::__compile_time_validate_argument<_CharT, double, true>(__parse_ctx, __ctx);
367 … return __format::__compile_time_validate_argument<_CharT, long double, true>(__parse_ctx, __ctx);
369 …return __format::__compile_time_validate_argument<_CharT, const _CharT*, true>(__parse_ctx, __ctx);
371 …return __format::__compile_time_validate_argument<_CharT, basic_string_view<_CharT>, true>(__parse…
373 return __format::__compile_time_validate_argument<_CharT, const void*>(__parse_ctx, __ctx);
384 __format::__parse_number_result __r =
385 __format::__parse_arg_id(__begin, __end, __parse_ctx);
407 __format::__compile_time_visit_format_arg(__parse_ctx, __ctx, __type);
475 } // namespace __format
482 __format::__vformat_to(basic_format_parse_context<_CharT>{__str_, sizeof...(_Args)},
493 using _Context = __format::__compile_time_basic_format_context<_CharT>;
495 static constexpr array<__format::__arg_t, sizeof...(_Args)> __types_{
496 __format::__determine_arg_t<_Context, remove_cvref_t<_Args>>()...};
501 static constexpr __format::__compile_time_handle<_CharT> __get_handle() {
502 __format::__compile_time_handle<_CharT> __handle;
503 if (__format::__determine_arg_t<_Context, _Tp>() == __format::__arg_t::__handle)
509 static constexpr array<__format::__compile_time_handle<_CharT>, sizeof...(_Args)> __handles_{
512 static constexpr array<__format::__compile_time_handle<_CharT>, sizeof...(_Args)> __handles_{[] {
514 __format::__compile_time_handle<_CharT> __handle;
515 if (__format::__determine_arg_t<_Context, _Tp>() == __format::__arg_t::__handle)
537 return _VSTD::__format::__vformat_to(
541 __format::__format_buffer<_OutIt, _CharT> __buffer{_VSTD::move(__out_it)};
542 _VSTD::__format::__vformat_to(
617 __format::__format_to_n_buffer<_OutIt, _CharT> __buffer{_VSTD::move(__out_it), __n};
618 _VSTD::__format::__vformat_to(basic_format_parse_context{__fmt, __args.__size()},
640 __format::__formatted_size_buffer<_CharT> __buffer;
641 _VSTD::__format::__vformat_to(basic_format_parse_context{__fmt, __args.__size()},
668 return _VSTD::__format::__vformat_to(
673 __format::__format_buffer<_OutIt, _CharT> __buffer{_VSTD::move(__out_it)};
674 _VSTD::__format::__vformat_to(
753 __format::__format_to_n_buffer<_OutIt, _CharT> __buffer{_VSTD::move(__out_it), __n};
754 _VSTD::__format::__vformat_to(
780 __format::__formatted_size_buffer<_CharT> __buffer;
781 _VSTD::__format::__vformat_to(