Searched refs:decfmt (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/third_party/icu/source/i18n/
H A Dsmpdtfmt.cpp772 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(fNumberFormat); local
773 if (decfmt != NULL) {
774 decfmt->setDecimalSeparatorAlwaysShown(FALSE);
1125 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(nf); local
1126 if (decfmt != NULL) {
1127 decfmt->setDecimalSeparatorAlwaysShown(FALSE);
3407 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(fNumberFormat); local
3408 if (decfmt != NULL) {
3410 suf = decfmt->getNegativeSuffix(suf);
3413 suf = decfmt
[all...]
H A Dcompactdecimalformat.cpp182 LocalPointer<DecimalFormat> decfmt((DecimalFormat*) NumberFormat::makeInstance(inLocale, UNUM_DECIMAL, TRUE, status));
195 new CompactDecimalFormat(*decfmt, data->unitsByVariant, data->divisors, pluralRules.getAlias());
H A Dmsgfmt.cpp1707 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(fmt); local
1708 if (decfmt != NULL) {
1709 decfmt->applyPattern(style,parseError,ec);
/external/icu/icu4c/source/i18n/
H A Dmeasfmt.cpp344 DecimalFormat *decfmt = dynamic_cast<DecimalFormat *>(inf); local
345 if (decfmt != NULL) {
346 decfmt->setRoundingMode(DecimalFormat::kRoundDown);
H A Dsmpdtfmt.cpp783 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(fNumberFormat); local
784 if (decfmt != NULL) {
785 decfmt->setDecimalSeparatorAlwaysShown(FALSE);
1152 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(nf); local
1153 if (decfmt != NULL) {
1154 decfmt->setDecimalSeparatorAlwaysShown(FALSE);
3452 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(fNumberFormat); local
3453 if (decfmt != NULL) {
3455 suf = decfmt->getNegativeSuffix(suf);
3458 suf = decfmt
[all...]
H A Dcompactdecimalformat.cpp182 LocalPointer<DecimalFormat> decfmt((DecimalFormat*) NumberFormat::makeInstance(inLocale, UNUM_DECIMAL, TRUE, status));
195 new CompactDecimalFormat(*decfmt, data->unitsByVariant, data->divisors, pluralRules.getAlias());
H A Dmsgfmt.cpp1707 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(fmt); local
1708 if (decfmt != NULL) {
1709 decfmt->applyPattern(style,parseError,ec);
/external/icu/icu4c/source/test/intltest/
H A Dnumfmtst.cpp7335 LocalPointer<DecimalFormat> decfmt((DecimalFormat *) NumberFormat::createInstance(Locale("en_US"), status));
7341 decfmt->setRoundingMode(items[i].mode);
7342 decfmt->setMaximumFractionDigits(0);
7344 if (items[i].expected != decfmt->format(items[i].value, actual)) {

Completed in 1165 milliseconds