Home
last modified time | relevance | path

Searched refs:__formatter (Results 1 – 15 of 15) sorted by relevance

/freebsd-14.2/contrib/llvm-project/libcxx/include/__format/
H A Dformatter_integral.h49 namespace __formatter {
229 __out_it = __formatter::__copy(__begin, __first, std::move(__out_it)); in __write_using_decimal_separators()
268 __out_it = __formatter::__copy(__first, *__r, std::move(__out_it)); in __write_using_decimal_separators()
310 return __formatter::__write_using_decimal_separators( in __format_integer()
315 __formatter::__determine_grouping(__size, __grouping), in __format_integer()
338 return __formatter::__write(__first, __last, __ctx.out(), __specs); in __format_integer()
340 …return __formatter::__write_transformed(__first, __last, __ctx.out(), __specs, __formatter::__hex_… in __format_integer()
361 return __formatter::__format_integer(
367 return __formatter::__format_integer(
398 return __formatter::__format_integer(__r, __ctx, __specs, __negative); in __format_integer()
[all …]
H A Dformatter_floating_point.h55 namespace __formatter {
170 __size_ = __formatter::__float_buffer_size<_Fp>(__precision_);
464 return __formatter::__format_buffer_hexadecimal_lower_case(
468 return __formatter::__format_buffer_hexadecimal_upper_case(
521 __formatter::__padding_size_result __padding = {0, 0};
553 __out_it = __formatter::__copy(__first, *__r, std::move(__out_it));
657 __float_result __result = __formatter::__format_buffer(
717 return __formatter::__copy(
720 … __formatter::__fill(__formatter::__copy(__buffer.begin(), __result.__exponent, __ctx.out()),
724 return __formatter::__fill(
[all …]
H A Dwrite_escaped.h38 namespace __formatter {
52 return __formatter::__write_string_no_precision(__str, std::move(__out_it), __specs);
54 int __size = __formatter::__truncate(__str, __specs.__precision_);
56 return __formatter::__write(__str.begin(), __str.end(), std::move(__out_it), __specs, __size);
90 __formatter::__write_escaped_code_unit(__str, __value, _LIBCPP_STATICALLY_WIDEN(_CharT, "\\u{")); in __write_well_formed_escaped_code_unit()
114 __formatter::__write_well_formed_escaped_code_unit(__str, __value); in __is_escaped_sequence_written()
170 return __formatter::__is_escaped_sequence_written(__str, __formatter::__to_char32(__value)); in __is_escaped_sequence_written()
182 if (!__formatter::__is_escaped_sequence_written(__str, __result.__code_point, __mark)) in __escape()
188 __formatter::__write_escape_ill_formed_code_unit(__str, __formatter::__to_char32(__value)); in __escape()
213 __formatter::__escape(__str, __values, __escape_quotation_mark::__double_quote);
[all …]
H A Dformatter_output.h45 namespace __formatter {
175 return __formatter::__fill(std::move(__out_it), __n, __value.__data[0]); in requires()
178 __out_it = __formatter::__copy( in requires()
188 return __formatter::__fill(std::move(__out_it), __n, __value.__data[0]); in __fill()
191 __out_it = __formatter::__copy( in __fill()
199 return __formatter::__fill(std::move(__out_it), __n, __value.__data[0]); in __fill()
205 return __formatter::__fill(std::move(__out_it), __n, __value.__data[0]); in __fill()
237 return __formatter::__copy(__str, std::move(__out_it));
283 return __formatter::__transform(__first, __last, std::move(__out_it), __op);
306 return __formatter::__copy(__str, std::move(__out_it));
[all …]
H A Dformatter.h44 _LIBCPP_HIDE_FROM_ABI constexpr void __set_debug_format(_Tp& __formatter) { in __set_debug_format() argument
45 if constexpr (requires { __formatter.set_debug_format(); }) in __set_debug_format()
46 __formatter.set_debug_format(); in __set_debug_format()
H A Dformatter_char.h47 …return __formatter::__format_char(__value, __ctx.out(), __parser_.__get_parsed_std_specifications(… in format()
51 …return __formatter::__format_escaped_char(__value, __ctx.out(), __parser_.__get_parsed_std_specifi… in format()
55 return __formatter::__format_integer( in format()
60 return __formatter::__format_integer( in format()
H A Drange_formatter.h150 return __formatter::__write_string_no_precision(__buffer.__view(), __ctx.out(), __specs); in format()
175 std::formatter<basic_string_view<_CharT>, _CharT> __formatter; in __format_as_string() local
177 __formatter.set_debug_format(); in __format_as_string()
178 return __formatter.format( in __format_as_string()
185 std::formatter<basic_string<_CharT>, _CharT> __formatter; in __format_as_string() local
187 __formatter.set_debug_format(); in __format_as_string()
188 return __formatter.format(basic_string<_CharT>{from_range, __range}, __ctx); in __format_as_string()
H A Dformatter_tuple.h75 auto& __formatter = std::get<_Index>(__underlying_); in parse()
76 __formatter.parse(__ctx); in parse()
80 std::__set_debug_format(__formatter); in parse()
113 …return __formatter::__write_string_no_precision(basic_string_view{__buffer.__view()}, __ctx.out(),… in format()
H A Dformatter_string.h47 …return __formatter::__format_escaped_string(__str, __ctx.out(), __parser_.__get_parsed_std_specifi… in format()
50 …return __formatter::__write_string(__str, __ctx.out(), __parser_.__get_parsed_std_specifications(_… in format()
72 …return __formatter::__format_escaped_string(basic_string_view<_CharT>{__str}, __ctx.out(), __specs…
87 return __formatter::__write_string(basic_string_view<_CharT>{__str}, __ctx.out(), __specs);
H A Dformatter_bool.h51 …return __formatter::__format_bool(__value, __ctx, __parser_.__get_parsed_std_specifications(__ctx)…
61 return __formatter::__format_integer(
H A Dformat_functions.h182 formatter<_Tp, _CharT> __formatter; in __compile_time_validate_argument() local
183 __parse_ctx.advance_to(__formatter.parse(__parse_ctx)); in __compile_time_validate_argument()
184 if (__formatter.__parser_.__width_as_arg_) in __compile_time_validate_argument()
185 __validate_type(__ctx.arg(__formatter.__parser_.__width_)); in __compile_time_validate_argument()
188 if (__formatter.__parser_.__precision_as_arg_) in __compile_time_validate_argument()
189 __validate_type(__ctx.arg(__formatter.__parser_.__precision_)); in __compile_time_validate_argument()
284 formatter<decltype(__arg), _CharT> __formatter; in __handle_replacement_field()
286 __parse_ctx.advance_to(__formatter.parse(__parse_ctx)); in __handle_replacement_field()
287 __ctx.advance_to(__formatter.format(__arg, __ctx)); in __handle_replacement_field()
H A Dformatter_integer.h48 return __formatter::__format_char(__value, __ctx.out(), __specs); in format()
54 return __formatter::__format_integer(static_cast<_Type>(__value), __ctx, __specs); in format()
H A Dformatter_pointer.h51 return __formatter::__format_integer(reinterpret_cast<uintptr_t>(__ptr), __ctx, __specs); in format()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__chrono/
H A Dformatter.h57 namespace __formatter {
114 __formatter::__format_sub_seconds(__value.time_since_epoch(), __sstr); in __format_sub_seconds()
199 __formatter::__format_century(__year, __sstr); in __format_chrono_using_chrono_specs()
245 __formatter::__format_sub_seconds(__value, __sstr); in __format_chrono_using_chrono_specs()
286 __formatter::__format_year(__t.tm_year + 1900, __sstr); in __format_chrono_using_chrono_specs()
292 __formatter::__format_year(__year, __sstr); in __format_chrono_using_chrono_specs()
313 __formatter::__format_sub_seconds(__value, __sstr); in __format_chrono_using_chrono_specs()
524 if (__specs.__chrono_.__weekday_ && !__formatter::__weekday_ok(__value)) in __format_chrono()
527 if (__specs.__chrono_.__day_of_year_ && !__formatter::__date_ok(__value)) in __format_chrono()
563 return __formatter::__write_string(__sstr.view(), __ctx.out(), __specs); in __format_chrono()
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__thread/
H A Dformatter.h68 …return __formatter::__format_integer(reinterpret_cast<_Cp>(__get_underlying_id(__id)), __ctx, __sp…