Lines Matching refs:number
278 // Constructs a DecimalFormat instance with the specified number format
289 // Constructs a DecimalFormat instance with the specified number format
290 // pattern and the number format symbols in the default locale. The
314 // Constructs a DecimalFormat instance with the specified number format
315 // pattern and the number format symbols in the default locale. The
327 // Constructs a DecimalFormat instance with the specified number format
328 // pattern, the number format symbols, and the number format style.
390 // Constructs a DecimalFormat instance with the specified number format
391 // pattern and the number format symbols in the desired locale. The
434 // Uses the default locale's number format pattern if there isn't
483 // in which, the number is known and
998 DecimalFormat::format(int32_t number,
1002 return format((int64_t)number, appendTo, fieldPosition);
1006 DecimalFormat::format(int32_t number,
1011 return format((int64_t)number, appendTo, fieldPosition, status);
1015 DecimalFormat::format(int32_t number,
1020 return format((int64_t)number, appendTo, posIter, status);
1093 DecimalFormat::format(int64_t number,
1099 return _format(number, appendTo, handler, status);
1103 DecimalFormat::format(int64_t number,
1109 return _format(number, appendTo, handler, status);
1113 DecimalFormat::format(int64_t number,
1119 return _format(number, appendTo, handler, status);
1123 DecimalFormat::_format(int64_t number,
1142 printf("fastpath? [%d]\n", number);
1153 int64_t n = number;
1154 if (number < 1) {
1167 // Slide the number to the start of the output str
1170 /*int32_t prefixLen = */ appendAffix(appendTo, number, handler, number<0, TRUE);
1194 /*int32_t suffixLen =*/ appendAffix(appendTo, number, handler, number<0, FALSE);
1199 printf("Writing [%s] length [%d] max %d for [%d]\n", outputStr+destIdx, length, MAX_IDX, number);
1210 digits.set(number);
1217 DecimalFormat::format( double number,
1223 return _format(number, appendTo, handler, status);
1227 DecimalFormat::format( double number,
1233 return _format(number, appendTo, handler, status);
1237 DecimalFormat::format( double number,
1243 return _format(number, appendTo, handler, status);
1247 DecimalFormat::_format( double number,
1258 if (uprv_isNaN(number))
1270 digits.set(number);
1280 DecimalFormat::format(const StringPiece &number,
1287 int32_t len = number.length();
1290 const char *data = number.data();
1327 dnum.set(number, status);
1338 DecimalFormat::format(const DigitList &number,
1343 _format(number, appendTo, handler, status);
1350 DecimalFormat::format(const DigitList &number,
1355 _format(number, appendTo, handler, status);
1360 DecimalFormat::_round(const DigitList &number, DigitList &adjustedNum, UBool& isNegative, UErrorCode &status) const {
1364 adjustedNum = number;
1366 if (number.isNaN()) {
1437 // Fixed point format. Round to a set number of fraction digits.
1449 DecimalFormat::_format(const DigitList &number,
1460 if (number.isNaN())
1473 _round(number, adjustedNum, isNegative, status);
1508 * @param pos the number of integer digits to the right of
1529 * Complete the formatting of a finite number. On entry, the DigitList must
1624 // We now output a minimum number of digits, and more if there
1625 // are more digits, up to the maximum number of digits. We
1629 // The number of integer digits is handled specially if the number
1639 // totalDigits records total number of digits needs to be processed
1728 // number of integer digits we will display, including both
1730 // and actual digits present in the number.
1738 // than the real number of integer digits. If this is so, we
1830 // abs(number being formatted) < 1.0.
1844 // If we reach the maximum number of significant
1937 * Parses the given text as a number, optionally providing a currency amount.
1993 // status is used to record whether a number is infinite.
2178 * Parse the given text into a number. The text is parsed beginning at
2208 // The parsing process builds up the number as char string, in the neutral format that
2279 j=l+1;//=break - negative number.
3313 // Gets the positive prefix of the number pattern.
3323 // Sets the positive prefix of the number pattern.
3337 // Gets the negative prefix of the number pattern.
3347 // Gets the negative prefix of the number pattern.
3361 // Gets the positive suffix of the number pattern.
3371 // Sets the positive suffix of the number pattern.
3385 // Gets the negative suffix of the number pattern.
3395 // Sets the negative suffix of the number pattern.
3409 // Gets the multiplier of the number pattern.
3425 // Sets the multiplier of the number pattern.
3712 // Gets the grouping size of the number pattern. For example, thousand or 10
3722 // Gets the grouping size of the number pattern.
3847 * given a specific number (doFormat == true), for those rare cases in
3849 * name for INR). The number itself is taken from digitList.
3873 double number,
3967 if (number < 0) {
3968 number = -number;
3970 fCurrencyChoice->format(number, affix, pos);
4026 int32_t DecimalFormat::appendAffix(UnicodeString& buf, double number,
4040 expandAffix(*affixPat, affixBuf, number, handler, TRUE, NULL);
4049 UnicodeString pluralCount = fCurrencyPluralInfo->getPluralRules()->select(number);
4242 // formatted number's plural count.
4599 // number of left digits, zero (central) digits, and right
5164 * Sets the maximum number of digits allowed in the integer portion of a
5165 * number. This override limits the integer digit count to 309.
5176 * Sets the minimum number of digits allowed in the integer portion of a
5177 * number. This override limits the integer digit count to 309.
5188 * Sets the maximum number of digits allowed in the fraction portion of a
5189 * number. This override limits the fraction digit count to 340.
5200 * Sets the minimum number of digits allowed in the fraction portion of a
5201 * number. This override limits the fraction digit count to 340.
5336 * Return the number of fraction digits to display, or the total
5337 * number of digits for significant digit formats and exponential