Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__format/
H A Dformatter_integral.h49 namespace __formatter {
148 …return __formatter::__write(std::addressof(__c), std::addressof(__c) + 1, std::move(__out_it), __s…
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()
239 __padding = __formatter::__padding_size(__size, __specs.__width_, __specs.__alignment_); 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()
279 return __formatter::__fill(std::move(__out_it), __padding.__after_, __specs.__fill_); in __write_using_decimal_separators()
[all …]
H A Dformatter_floating_point.h56 namespace __formatter {
171 __size_ = __formatter::__float_buffer_size<_Fp>(__precision_);
241 __result.__last = __formatter::__to_buffer(__integral, __buffer.end(), __value);
243 __result.__exponent = __formatter::__find_exponent(__result.__integral, __result.__last);
271 …__result.__last = __formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::hex);
273 …__result.__last = __formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::hex,…
321__formatter::__format_buffer_hexadecimal_lower_case(__buffer, __value, __precision, __integral);
333__formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::scientific, __precisio…
339 __result.__exponent = __formatter::__find_exponent(__first + 1, __result.__last);
358__formatter::__format_buffer_scientific_lower_case(__buffer, __value, __precision, __integral);
[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()
100 __formatter::__write_escaped_code_unit(__str, __value, _LIBCPP_STATICALLY_WIDEN(_CharT, "\\x{")); in __write_escape_ill_formed_code_unit()
126 __formatter::__write_well_formed_escaped_code_unit(__str, __value); in __is_escaped_sequence_written()
182 …return __formatter::__is_escaped_sequence_written(__str, __last_escaped, __formatter::__to_char32(… in __is_escaped_sequence_written()
197 …__escape = __formatter::__is_escaped_sequence_written(__str, __result.__code_point, __escape, __ma… in __escape()
204 __formatter::__write_escape_ill_formed_code_unit(__str, __formatter::__to_char32(__value)); in __escape()
[all …]
H A Dformatter_output.h45 namespace __formatter {
121 return __formatter::__copy(basic_string_view{__first, __last}, std::move(__out_it));
129 return __formatter::__copy(basic_string_view{std::to_address(__first), __n}, std::move(__out_it));
177 return __formatter::__fill(std::move(__out_it), __n, __value.__data[0]); in requires()
180 __out_it = __formatter::__copy( in requires()
190 return __formatter::__fill(std::move(__out_it), __n, __value.__data[0]); in __fill()
193 __out_it = __formatter::__copy( in __fill()
201 return __formatter::__fill(std::move(__out_it), __n, __value.__data[0]); in __fill()
207 return __formatter::__fill(std::move(__out_it), __n, __value.__data[0]); in __fill()
239 return __formatter::__copy(__str, std::move(__out_it));
[all …]
H A Dformatter.h43 _LIBCPP_HIDE_FROM_ABI constexpr void __set_debug_format(_Tp& __formatter) { in __set_debug_format() argument
44 if constexpr (requires { __formatter.set_debug_format(); }) in __set_debug_format()
45 __formatter.set_debug_format(); in __set_debug_format()
H A Dformatter_char.h46 …return __formatter::__format_char(__value, __ctx.out(), __parser_.__get_parsed_std_specifications(… in format()
50 …return __formatter::__format_escaped_char(__value, __ctx.out(), __parser_.__get_parsed_std_specifi… in format()
54 return __formatter::__format_integer( in format()
59 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()
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()
187 __formatter.set_debug_format(); in __format_as_string()
188 return __formatter.format(basic_string<_CharT>{from_range, __range}, __ctx); in __format_as_string()
174 std::formatter<basic_string_view<_CharT>, _CharT> __formatter; __format_as_string() local
184 std::formatter<basic_string<_CharT>, _CharT> __formatter; __format_as_string() local
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.h46 …return __formatter::__format_escaped_string(__str, __ctx.out(), __parser_.__get_parsed_std_specifi… in format()
49 …return __formatter::__write_string(__str, __ctx.out(), __parser_.__get_parsed_std_specifications(_… in format()
71 …return __formatter::__format_escaped_string(basic_string_view<_CharT>{__str}, __ctx.out(), __specs…
86 return __formatter::__write_string(basic_string_view<_CharT>{__str}, __ctx.out(), __specs);
H A Dformatter_bool.h50 …return __formatter::__format_bool(__value, __ctx, __parser_.__get_parsed_std_specifications(__ctx)…
60 return __formatter::__format_integer(
H A Dformat_functions.h181 formatter<_Tp, _CharT> __formatter; in __compile_time_validate_argument() local
182 __parse_ctx.advance_to(__formatter.parse(__parse_ctx)); in __compile_time_validate_argument()
183 if (__formatter.__parser_.__width_as_arg_) in __compile_time_validate_argument()
184 __validate_type(__ctx.arg(__formatter.__parser_.__width_)); in __compile_time_validate_argument()
187 if (__formatter.__parser_.__precision_as_arg_) in __compile_time_validate_argument()
188 __validate_type(__ctx.arg(__formatter.__parser_.__precision_)); in __compile_time_validate_argument()
283 formatter<decltype(__arg), _CharT> __formatter; in __handle_replacement_field()
285 __parse_ctx.advance_to(__formatter.parse(__parse_ctx)); in __handle_replacement_field()
286 __ctx.advance_to(__formatter.format(__arg, __ctx)); in __handle_replacement_field()
H A Dformatter_integer.h47 return __formatter::__format_char(__value, __ctx.out(), __specs); in format()
53 return __formatter::__format_integer(static_cast<_Type>(__value), __ctx, __specs); in format()
H A Dformatter_pointer.h50 return __formatter::__format_integer(reinterpret_cast<uintptr_t>(__ptr), __ctx, __specs); in format()
/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dformatter.h63 namespace __formatter {
123 __formatter::__format_sub_seconds(__sstr, __value.time_since_epoch()); in __format_sub_seconds()
147 __formatter::__format_sub_seconds(__sstr, __value.get_local_time().time_since_epoch()); in __format_sub_seconds()
234 return __formatter::__convert_to_time_zone(__value.get_info()); in __convert_to_time_zone()
245 __time_zone __z = __formatter::__convert_to_time_zone(__value); in __format_chrono_using_chrono_specs()
268 __formatter::__format_century(__sstr, __year); in __format_chrono_using_chrono_specs()
314 __formatter::__format_sub_seconds(__sstr, __value); in __format_chrono_using_chrono_specs()
355 __formatter::__format_year(__sstr, __t.tm_year + 1900); in __format_chrono_using_chrono_specs()
362 __formatter::__format_year(__sstr, __t.tm_year + 1900); in __format_chrono_using_chrono_specs()
367 __formatter::__format_zone_offset(__sstr, __z.__offset, false); in __format_chrono_using_chrono_specs()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__thread/
H A Dformatter.h68 …return __formatter::__format_integer(reinterpret_cast<_Cp>(__get_underlying_id(__id)), __ctx, __sp…