Lines Matching refs:decimal_point

962       int decimal_point;  in DoubleToCString()  local
970 &sign, &length, &decimal_point); in DoubleToCString()
974 if (length <= decimal_point && decimal_point <= 21) { in DoubleToCString()
977 builder.AddPadding('0', decimal_point - length); in DoubleToCString()
979 } else if (0 < decimal_point && decimal_point <= 21) { in DoubleToCString()
981 builder.AddSubstring(decimal_rep, decimal_point); in DoubleToCString()
983 builder.AddString(decimal_rep + decimal_point); in DoubleToCString()
985 } else if (decimal_point <= 0 && decimal_point > -6) { in DoubleToCString()
988 builder.AddPadding('0', -decimal_point); in DoubleToCString()
999 builder.AddCharacter((decimal_point >= 0) ? '+' : '-'); in DoubleToCString()
1000 int exponent = decimal_point - 1; in DoubleToCString()
1052 int decimal_point; in DoubleToFixedCString() local
1061 &sign, &decimal_rep_length, &decimal_point); in DoubleToFixedCString()
1067 if (decimal_point <= 0) { in DoubleToFixedCString()
1068 zero_prefix_length = -decimal_point + 1; in DoubleToFixedCString()
1069 decimal_point = 1; in DoubleToFixedCString()
1072 if (zero_prefix_length + decimal_rep_length < decimal_point + f) { in DoubleToFixedCString()
1073 zero_postfix_length = decimal_point + f - decimal_rep_length - in DoubleToFixedCString()
1087 unsigned result_size = decimal_point + f + 2; in DoubleToFixedCString()
1090 builder.AddSubstring(rep, decimal_point); in DoubleToFixedCString()
1093 builder.AddSubstring(rep + decimal_point, f); in DoubleToFixedCString()
1143 int decimal_point; in DoubleToExponentialCString() local
1158 &sign, &decimal_rep_length, &decimal_point); in DoubleToExponentialCString()
1163 &sign, &decimal_rep_length, &decimal_point); in DoubleToExponentialCString()
1168 int exponent = decimal_point - 1; in DoubleToExponentialCString()
1188 int decimal_point; in DoubleToPrecisionCString() local
1197 &sign, &decimal_rep_length, &decimal_point); in DoubleToPrecisionCString()
1200 int exponent = decimal_point - 1; in DoubleToPrecisionCString()
1213 unsigned result_size = (decimal_point <= 0) in DoubleToPrecisionCString()
1214 ? -decimal_point + p + 3 in DoubleToPrecisionCString()
1218 if (decimal_point <= 0) { in DoubleToPrecisionCString()
1220 builder.AddPadding('0', -decimal_point); in DoubleToPrecisionCString()
1224 const int m = Min(decimal_rep_length, decimal_point); in DoubleToPrecisionCString()
1226 builder.AddPadding('0', decimal_point - decimal_rep_length); in DoubleToPrecisionCString()
1227 if (decimal_point < p) { in DoubleToPrecisionCString()
1230 if (decimal_rep_length > decimal_point) { in DoubleToPrecisionCString()
1231 const int len = StrLength(decimal_rep + decimal_point); in DoubleToPrecisionCString()
1233 builder.AddSubstring(decimal_rep + decimal_point, n); in DoubleToPrecisionCString()