/openbsd-current/gnu/llvm/libcxx/include/__format/ |
H A D | formatter.h | 44 _LIBCPP_HIDE_FROM_ABI constexpr void __set_debug_format(_Tp& __formatter) { argument 45 if constexpr (requires { __formatter.set_debug_format(); }) 46 __formatter.set_debug_format();
|
H A D | formatter_integral.h | 41 namespace __formatter { namespace 139 return __formatter::__write(_VSTD::addressof(__c), _VSTD::addressof(__c) + 1, _VSTD::move(__out_it), __specs); 211 char* __first = __formatter::__insert_sign(__begin, __negative, __specs.__std_.__sign_); 216 char* __last = __formatter::__to_buffer(__first, __end, __value, __base); 228 return __formatter::__write_using_decimal_separators( 233 __formatter::__determine_grouping(__size, __grouping), 247 __out_it = __formatter::__copy(__begin, __first, _VSTD::move(__out_it)); 256 return __formatter::__write(__first, __last, __ctx.out(), __specs); 258 return __formatter::__write_transformed(__first, __last, __ctx.out(), __specs, __formatter [all...] |
H A D | formatter_output.h | 42 namespace __formatter { namespace 118 return __formatter::__copy(basic_string_view{__first, __last}, _VSTD::move(__out_it)); 124 return __formatter::__copy(basic_string_view{__first, __n}, _VSTD::move(__out_it)); 175 __out_it = __formatter::__copy(__begin, __first, _VSTD::move(__out_it)); 180 __out_it = __formatter::__fill(_VSTD::move(__out_it), __specs.__width_ - __size, _CharT('0')); 185 __padding = __formatter::__padding_size(__size, __specs.__width_, __specs.__alignment_); 187 __out_it = __formatter::__fill(_VSTD::move(__out_it), __padding.__before_, __specs.__fill_); 190 __out_it = __formatter::__copy(__begin, __first, _VSTD::move(__out_it)); 211 __out_it = __formatter::__transform(__first, __last, _VSTD::move(__out_it), __hex_to_upper); 214 __out_it = __formatter [all...] |
H A D | formatter_floating_point.h | 48 namespace __formatter { namespace 164 __size_ = __formatter::__float_buffer_size<_Fp>(__precision_); 234 __result.__last = __formatter::__to_buffer(__integral, __buffer.end(), __value); 236 __result.__exponent = __formatter::__find_exponent(__result.__integral, __result.__last); 265 __result.__last = __formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::hex); 267 __result.__last = __formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::hex, __precision); 316 __formatter::__format_buffer_hexadecimal_lower_case(__buffer, __value, __precision, __integral); 329 __formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::scientific, __precision); 335 __result.__exponent = __formatter::__find_exponent(__first + 1, __result.__last); 355 __formatter [all...] |
H A D | formatter_char.h | 45 return __formatter::__format_char(__value, __ctx.out(), __parser_.__get_parsed_std_specifications(__ctx)); 49 return __formatter::__format_escaped_char(__value, __ctx.out(), __parser_.__get_parsed_std_specifications(__ctx)); 55 return __formatter::__format_integer( 60 return __formatter::__format_integer(__value, __ctx, __parser_.__get_parsed_std_specifications(__ctx));
|
H A D | formatter_bool.h | 52 return __formatter::__format_bool(__value, __ctx, __parser_.__get_parsed_std_specifications(__ctx)); 62 return __formatter::__format_integer(
|
H A D | range_formatter.h | 146 return __formatter::__write_string_no_precision(__buffer.__view(), __ctx.out(), __specs); 171 std::formatter<basic_string_view<_CharT>, _CharT> __formatter; local 173 __formatter.set_debug_format(); 174 return __formatter.format( 181 std::formatter<basic_string<_CharT>, _CharT> __formatter; local 183 __formatter.set_debug_format(); 190 return __formatter.format(__str, __ctx);
|
H A D | formatter_pointer.h | 48 return __formatter::__format_integer(reinterpret_cast<uintptr_t>(__ptr), __ctx, __specs);
|
H A D | formatter_string.h | 45 return __formatter::__format_escaped_string(__str, __ctx.out(), __parser_.__get_parsed_std_specifications(__ctx)); 48 return __formatter::__write_string(__str, __ctx.out(), __parser_.__get_parsed_std_specifications(__ctx)); 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 D | formatter_integer.h | 49 return __formatter::__format_char(__value, __ctx.out(), __specs); 55 return __formatter::__format_integer(static_cast<_Type>(__value), __ctx, __specs);
|
H A D | format_functions.h | 171 formatter<_Tp, _CharT> __formatter; local 172 __parse_ctx.advance_to(__formatter.parse(__parse_ctx)); 179 if (__formatter.__parser_.__width_as_arg_) 180 __format::__compile_time_validate_integral(__ctx.arg(__formatter.__parser_.__width_)); 183 if (__formatter.__parser_.__precision_as_arg_) 184 __format::__compile_time_validate_integral(__ctx.arg(__formatter.__parser_.__precision_)); 275 formatter<decltype(__arg), _CharT> __formatter; 277 __parse_ctx.advance_to(__formatter.parse(__parse_ctx)); 278 __ctx.advance_to(__formatter.format(__arg, __ctx));
|
H A D | formatter_tuple.h | 113 return __formatter::__write_string_no_precision(basic_string_view{__str}, __ctx.out(), __specs);
|
/openbsd-current/gnu/gcc/libstdc++-v3/src/ |
H A D | debug.cc | 278 _M_print_field(const _Error_formatter* __formatter, const char* __name) const argument 289 __formatter->_M_print_word(_M_variant._M_iterator._M_name); 293 __formatter->_M_format_word(__buf, __bufsize, "%p", 295 __formatter->_M_print_word(__buf); 301 __formatter->_M_print_word(_M_variant._M_iterator._M_type->name()); 311 __formatter->_M_print_word(__constness_names[_M_variant._M_iterator._M_constness]); 323 __formatter->_M_print_word(__state_names[_M_variant._M_iterator._M_state]); 328 __formatter->_M_format_word(__buf, __bufsize, "%p", 330 __formatter->_M_print_word(__buf); 336 __formatter [all...] |
/openbsd-current/gnu/llvm/libcxx/include/__chrono/ |
H A D | formatter.h | 55 namespace __formatter { namespace 170 __formatter::__format_century(__year, __sstr); 213 __formatter::__format_sub_seconds(__value, __sstr); 253 __formatter::__format_year(__year, __sstr); 261 __formatter::__format_year(__year, __sstr); 275 __formatter::__format_sub_seconds(__value, __sstr); 460 __formatter::__format_chrono_using_chrono_specs(chrono::abs(__value), __sstr, __chrono_specs); 466 if (__specs.__chrono_.__weekday_name_ && !__formatter::__weekday_name_ok(__value)) 469 if (__specs.__chrono_.__weekday_ && !__formatter::__weekday_ok(__value)) 472 if (__specs.__chrono_.__day_of_year_ && !__formatter [all...] |
/openbsd-current/gnu/gcc/libstdc++-v3/include/debug/ |
H A D | formatter.h | 302 _M_print_field(const _Error_formatter* __formatter, 306 _M_print_description(const _Error_formatter* __formatter) const;
|