/external/webrtc/third_party/abseil-cpp/absl/strings/internal/str_format/ |
D | float_conversion.cc | 98 bool ConvertNonNumericFloats(char sign_char, Float v, in ConvertNonNumericFloats() argument 101 if (sign_char) *ptr++ = sign_char; in ConvertNonNumericFloats() 353 void WriteBufferToSink(char sign_char, string_view str, in WriteBufferToSink() argument 358 static_cast<int>(sign_char != 0), in WriteBufferToSink() 370 if (sign_char) sink->Append(1, sign_char); in WriteBufferToSink() 381 char sign_char = 0; in FloatToSink() local 383 sign_char = '-'; in FloatToSink() 386 sign_char = '+'; in FloatToSink() 388 sign_char = ' '; in FloatToSink() 392 if (ConvertNonNumericFloats(sign_char, abs_v, conv, sink)) { in FloatToSink() [all …]
|
/external/abseil-cpp/absl/strings/internal/str_format/ |
D | float_conversion.cc | 98 bool ConvertNonNumericFloats(char sign_char, Float v, in ConvertNonNumericFloats() argument 101 if (sign_char) *ptr++ = sign_char; in ConvertNonNumericFloats() 353 void WriteBufferToSink(char sign_char, string_view str, in WriteBufferToSink() argument 358 static_cast<int>(sign_char != 0), in WriteBufferToSink() 370 if (sign_char) sink->Append(1, sign_char); in WriteBufferToSink() 381 char sign_char = 0; in FloatToSink() local 383 sign_char = '-'; in FloatToSink() 386 sign_char = '+'; in FloatToSink() 388 sign_char = ' '; in FloatToSink() 392 if (ConvertNonNumericFloats(sign_char, abs_v, conv, sink)) { in FloatToSink() [all …]
|
/external/openscreen/third_party/abseil/src/absl/strings/internal/str_format/ |
D | float_conversion.cc | 442 char sign_char; member 478 if (state.sign_char != '\0') state.sink->Append(1, state.sign_char); in FinalPrint() 485 auto padding = ExtraWidthToPadding((state.sign_char != '\0' ? 1 : 0) + in FinalPrint() 491 if (state.sign_char != '\0') state.sink->Append(1, state.sign_char); in FinalPrint() 569 total_digits + (state.sign_char != '\0' ? 1 : 0), state); in FormatFPositiveExpSlow() 572 if (state.sign_char != '\0') state.sink->Append(1, state.sign_char); in FormatFPositiveExpSlow() 595 ExtraWidthToPadding(total_digits + (state.sign_char ? 1 : 0), state); in FormatFNegativeExpSlow() 598 if (state.sign_char != '\0') state.sink->Append(1, state.sign_char); in FormatFNegativeExpSlow() 1011 bool ConvertNonNumericFloats(char sign_char, Float v, in ConvertNonNumericFloats() argument 1015 if (sign_char != '\0') *ptr++ = sign_char; in ConvertNonNumericFloats() [all …]
|
/external/rust/crates/grpcio-sys/grpc/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 …]
|
/external/angle/third_party/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 …]
|
/external/libtextclassifier/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 …]
|
/external/python/cpython2/Objects/stringlib/ |
D | formatter.h | 439 STRINGLIB_CHAR sign_char, STRINGLIB_CHAR *number, in calc_number_widths() argument 481 spec->sign = (sign_char == '-' ? '-' : '+'); in calc_number_widths() 485 spec->sign = (sign_char == '-' ? '-' : ' '); in calc_number_widths() 489 if (sign_char == '-') { in calc_number_widths() 746 STRINGLIB_CHAR sign_char = '\0'; in format_int_or_long_internal() local 877 sign_char = pnumeric_chars[0]; in format_int_or_long_internal() 895 n_total = calc_number_widths(&spec, n_prefix, sign_char, pnumeric_chars, in format_int_or_long_internal() 947 STRINGLIB_CHAR sign_char = '\0'; in format_float_internal() local 1032 sign_char = *p; in format_float_internal() 1049 n_total = calc_number_widths(&spec, 0, sign_char, p, n_digits, in format_float_internal()
|
/external/python/cpython3/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() 853 Py_UCS4 sign_char = '\0'; in format_long_internal() local 971 sign_char = '-'; in format_long_internal() 988 n_total = calc_number_widths(&spec, n_prefix, sign_char, inumeric_chars, in format_long_internal() 1035 Py_UCS4 sign_char = '\0'; in format_float_internal() local 1120 sign_char = '-'; in format_float_internal() 1136 n_total = calc_number_widths(&spec, 0, sign_char, index, in format_float_internal()
|