Lines Matching defs:zero
1093 * Note: sign is important for zero as well as non-zero numbers.
1151 * the current position. Zero indicates the position after the
1180 // char zero = '0';
1251 digits.reduce(); // Removes trailing zero digits.
1271 // is zero, since then there may be no digits.
1319 // For zero values, we force the exponent to zero. We
1402 // Output a zero (leading or trailing)
1418 // before the zero was generated.
1429 // integer digits, then print a zero. Otherwise we won't print
1475 // zero if we don't. We don't want to output noise digits.
1652 // Negative zero special case:
1865 position += infLen; // infLen is non-zero when it does equal to infinity
1877 UChar32 zero = getConstSymbol(DecimalFormatSymbols::kZeroDigitSymbol).char32At(0);
1913 digit = ch - zero;
1919 // As a last resort, look through the localized digits if the zero digit
1921 if ( (digit < 0 || digit > 9) && u_charDigitValue(zero) != 0) {
1939 // output a regular non-zero digit.
1990 digit = ch - zero;
2228 * Skip over a run of zero or more isRuleWhiteSpace() characters at
2243 * Skip over a run of zero or more isUWhiteSpace() characters at pos
2699 * increment is greater than zero.
2711 * @return the format width, or zero if no padding is in effect
2726 * <code>format()</code>, or zero to disable padding. A negative
3412 UChar32 zero, sigDigit = kPatternSignificantDigit;
3424 zero = getConstSymbol(DecimalFormatSymbols::kZeroDigitSymbol).char32At(0);
3432 zero = (UChar32)kPatternZeroDigit;
3445 roundingDigits.append(zero+(fRoundingIncrement->getDigitValue(i))); // Convert to Unicode digit
3502 result.append((UChar) (roundingDigits.char32At(pos) - kPatternZeroDigit + zero));
3507 result.append(zero);
3526 result.append(zero);
3529 result.append((UChar)(roundingDigits.char32At(pos) - kPatternZeroDigit + zero));
3535 result.append(zero);
3558 result.append(zero);
3764 // number of left digits, zero (central) digits, and right
3768 // if any (should be in the zero digits). If there is no
4043 * of zero (got that?); although this seems like it might make it
4045 * for this condition and outputs a zero digit in this situation.
4046 * Having a zeroDigitCount of zero yields a minimum integer digits
4047 * of zero, which allows proper round-trip patterns. We don't want