Searched refs:sign_char (Results 1 – 4 of 4) sorted by relevance
/third_party/abseil-cpp/absl/strings/internal/str_format/ |
D | float_conversion.cc | 428 char sign_char; member 464 if (state.sign_char != '\0') state.sink->Append(1, state.sign_char); in FinalPrint() 471 auto padding = ExtraWidthToPadding((state.sign_char != '\0' ? 1 : 0) + in FinalPrint() 477 if (state.sign_char != '\0') state.sink->Append(1, state.sign_char); in FinalPrint() 555 total_digits + (state.sign_char != '\0' ? 1 : 0), state); in FormatFPositiveExpSlow() 558 if (state.sign_char != '\0') state.sink->Append(1, state.sign_char); in FormatFPositiveExpSlow() 581 ExtraWidthToPadding(total_digits + (state.sign_char ? 1 : 0), state); in FormatFNegativeExpSlow() 584 if (state.sign_char != '\0') state.sink->Append(1, state.sign_char); in FormatFNegativeExpSlow() 997 bool ConvertNonNumericFloats(char sign_char, Float v, in ConvertNonNumericFloats() argument 1001 if (sign_char != '\0') *ptr++ = sign_char; in ConvertNonNumericFloats() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
D | float_conversion.cc | 447 char sign_char; member 483 if (state.sign_char != '\0') state.sink->Append(1, state.sign_char); in FinalPrint() 490 auto padding = ExtraWidthToPadding((state.sign_char != '\0' ? 1 : 0) + in FinalPrint() 496 if (state.sign_char != '\0') state.sink->Append(1, state.sign_char); in FinalPrint() 574 total_digits + (state.sign_char != '\0' ? 1 : 0), state); in FormatFPositiveExpSlow() 577 if (state.sign_char != '\0') state.sink->Append(1, state.sign_char); in FormatFPositiveExpSlow() 600 ExtraWidthToPadding(total_digits + (state.sign_char ? 1 : 0), state); in FormatFNegativeExpSlow() 603 if (state.sign_char != '\0') state.sink->Append(1, state.sign_char); in FormatFNegativeExpSlow() 1016 bool ConvertNonNumericFloats(char sign_char, Float v, in ConvertNonNumericFloats() argument 1020 if (sign_char != '\0') *ptr++ = sign_char; in ConvertNonNumericFloats() [all …]
|
/third_party/libsnd/src/ |
D | common.c | 108 char c, *strptr, istr [5], lead_char, sign_char ; in psf_log_printf() local 124 sign_char = 0 ; in psf_log_printf() 130 sign_char = format [0] ; in psf_log_printf() 181 sign_char = '-' ; in psf_log_printf() 195 if (sign_char == ' ') in psf_log_printf() 201 { if (sign_char == '+') in psf_log_printf() 208 if (sign_char == '+' || sign_char == '-') in psf_log_printf() 209 { log_putchar (psf, sign_char) ; in psf_log_printf() 274 if (sign_char == ' ') in psf_log_printf() 280 { if (sign_char == '+') in psf_log_printf() [all …]
|
/third_party/python/Python/ |
D | formatter_unicode.c | 471 Py_UCS4 sign_char, Py_ssize_t n_start, in calc_number_widths() argument 513 spec->sign = (sign_char == '-' ? '-' : '+'); in calc_number_widths() 517 spec->sign = (sign_char == '-' ? '-' : ' '); in calc_number_widths() 521 if (sign_char == '-') { in calc_number_widths() 859 Py_UCS4 sign_char = '\0'; in format_long_internal() local 977 sign_char = '-'; in format_long_internal() 994 n_total = calc_number_widths(&spec, n_prefix, sign_char, inumeric_chars, in format_long_internal() 1041 Py_UCS4 sign_char = '\0'; in format_float_internal() local 1126 sign_char = '-'; in format_float_internal() 1142 n_total = calc_number_widths(&spec, 0, sign_char, index, in format_float_internal()
|