Home | History | Annotate | Download | only in src

Lines Matching refs:number_format

277   icu::DecimalFormat* number_format = NULL;
306 number_format = static_cast<icu::DecimalFormat*>(
309 number_format = static_cast<icu::DecimalFormat*>(
312 delete number_format;
316 number_format->setMinimumFractionDigits(1);
319 number_format = static_cast<icu::DecimalFormat*>(
325 delete number_format;
331 number_format->setCurrency(currency.getBuffer(), status);
337 number_format->setMinimumIntegerDigits(digits);
342 number_format->setMinimumFractionDigits(digits);
347 number_format->setMaximumFractionDigits(digits);
353 number_format->setMinimumSignificantDigits(digits);
359 number_format->setMaximumSignificantDigits(digits);
363 number_format->setSignificantDigitsUsed(significant_digits_used);
367 number_format->setGroupingUsed(grouping);
371 number_format->setRoundingMode(icu::DecimalFormat::kRoundHalfUp);
373 return number_format;
379 icu::DecimalFormat* number_format,
382 number_format->toPattern(pattern);
394 icu::UnicodeString currency(number_format->getCurrency());
434 isolate->factory()->ToBoolean(number_format->isGroupingUsed()),
443 number_format->getMinimumIntegerDigits()),
452 number_format->getMinimumFractionDigits()),
461 number_format->getMaximumFractionDigits()),
473 number_format->getMinimumSignificantDigits()),
486 number_format->getMaximumSignificantDigits()),
899 icu::DecimalFormat* number_format =
901 if (!number_format) {
904 number_format = CreateICUNumberFormat(
909 isolate, no_extension_locale, number_format, resolved);
911 SetResolvedNumberSettings(isolate, icu_locale, number_format, resolved);
914 return number_format;