Lines Matching refs:number_format

231   icu::DecimalFormat* number_format = NULL;
260 number_format = static_cast<icu::DecimalFormat*>(
263 number_format = static_cast<icu::DecimalFormat*>(
266 delete number_format;
270 number_format->setMinimumFractionDigits(1);
273 number_format = static_cast<icu::DecimalFormat*>(
279 delete number_format;
285 number_format->setCurrency(currency.getBuffer(), status);
291 number_format->setMinimumIntegerDigits(digits);
296 number_format->setMinimumFractionDigits(digits);
301 number_format->setMaximumFractionDigits(digits);
307 number_format->setMinimumSignificantDigits(digits);
313 number_format->setMaximumSignificantDigits(digits);
317 number_format->setSignificantDigitsUsed(significant_digits_used);
321 number_format->setGroupingUsed(grouping);
325 number_format->setRoundingMode(icu::DecimalFormat::kRoundHalfUp);
327 return number_format;
333 icu::DecimalFormat* number_format,
337 number_format->toPattern(pattern);
347 icu::UnicodeString currency(number_format->getCurrency());
378 factory->ToBoolean(number_format->isGroupingUsed()), SLOPPY).Assert();
382 factory->NewNumberFromInt(number_format->getMinimumIntegerDigits()),
387 factory->NewNumberFromInt(number_format->getMinimumFractionDigits()),
392 factory->NewNumberFromInt(number_format->getMaximumFractionDigits()),
402 factory->NewNumberFromInt(number_format->getMinimumSignificantDigits()),
412 factory->NewNumberFromInt(number_format->getMaximumSignificantDigits()),
773 icu::DecimalFormat* number_format =
775 if (!number_format) {
778 number_format = CreateICUNumberFormat(
783 isolate, no_extension_locale, number_format, resolved);
785 SetResolvedNumberSettings(isolate, icu_locale, number_format, resolved);
788 return number_format;