Searched refs:__specs (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/libcxx/include/__format/ |
| H A D | formatter_output.h | 102 if (__specs.__width_ > __size) { in __write_using_decimal_separators() 104 __padding.__before_ = __specs.__width_ - __size; in __write_using_decimal_separators() 108 if (__specs.__width_ > __size) { in __write_using_decimal_separators() 110 __padding = __padding_size(__size, __specs.__width_, __specs.__alignment_); in __write_using_decimal_separators() 185 if (__size >= __specs.__width_) 188 …__padding_size_result __padding = __formatter::__padding_size(__size, __specs.__width_, __specs.__… 212 if (__size >= __specs.__width_) 215 __padding_size_result __padding = __padding_size(__size, __specs.__width_, __specs.__alignment_); 242 __padding_size(__size + __num_trailing_zeros, __specs.__width_, __specs.__alignment_); 264 if (!__specs.__has_width()) [all …]
|
| H A D | formatter_integral.h | 204 __format_spec::__parsed_specifications<_CharT> __specs, 211 if (__specs.__std_.__alternate_form_ && __prefix) 218 if (__specs.__std_.__locale_specific_form_) { 234 __specs); 247 __specs.__alignment_ = __format_spec::__alignment::__right; 248 __specs.__fill_ = _CharT('0'); 251 __specs.__width_ -= _VSTD::min(__size, __specs.__width_); 255 return __formatter::__write(__first, __last, __ctx.out(), __specs); 264 switch (__specs.__std_.__type_) { 314 return __formatter::__format_integer(__r, __ctx, __specs, __negative); [all …]
|
| H A D | formatter_floating_point.h | 496 __format_spec::__parsed_specifications<_CharT> __specs) { 519 if (__size < __specs.__width_) { 522 __specs.__fill_ = _CharT('0'); 525 __padding = __formatter::__padding_size(__size, __specs.__width_, __specs.__alignment_); 597 __specs.__alignment_ = __format_spec::__alignment::__right; 624 __float_buffer<_Fp> __buffer(__specs.__precision_); 626 …__buffer, __value, __negative, (__specs.__has_precision()), __specs.__std_.__sign_, __specs.__std_… 645 if (__specs.__std_.__locale_specific_form_) 651 if (__size + __num_trailing_zeros >= __specs.__width_) { 674 __specs.__alignment_ = __format_spec::__alignment::__right; [all …]
|
| H A D | formatter_pointer.h | 45 …__format_spec::__parsed_specifications<_CharT> __specs = __parser_.__get_parsed_std_specifications… 46 __specs.__std_.__alternate_form_ = true; 47 …__specs.__std_.__type_ = __format_spec::__type::__hexadecimal_lowe… 48 return __formatter::__format_integer(reinterpret_cast<uintptr_t>(__ptr), __ctx, __specs);
|
| H A D | formatter_integer.h | 46 …__format_spec::__parsed_specifications<_CharT> __specs = __parser_.__get_parsed_std_specifications… 48 if (__specs.__std_.__type_ == __format_spec::__type::__char) 49 return __formatter::__format_char(__value, __ctx.out(), __specs); 55 return __formatter::__format_integer(static_cast<_Type>(__value), __ctx, __specs);
|
| H A D | formatter_string.h | 70 …__format_spec::__parsed_specifications<_CharT> __specs = _Base::__parser_.__get_parsed_std_specifi… 71 if (__specs.__has_width() || __specs.__has_precision()) 72 return __formatter::__write_string(basic_string_view<_CharT>{__str}, __ctx.out(), __specs);
|