Home
last modified time | relevance | path

Searched refs:ERoundingMode (Results 1 – 12 of 12) sorted by relevance

/external/icu/icu4c/source/i18n/unicode/
Drbnf.h1017 virtual ERoundingMode getRoundingMode(void) const;
1024 virtual void setRoundingMode(ERoundingMode roundingMode);
1106 ERoundingMode fRoundingMode;
Dnumfmt.h184 enum ERoundingMode { enum
1032 virtual ERoundingMode getRoundingMode(void) const;
1039 virtual void setRoundingMode(ERoundingMode roundingMode);
Ddecimfmt.h1408 virtual ERoundingMode getRoundingMode(void) const U_OVERRIDE;
1418 virtual void setRoundingMode(ERoundingMode roundingMode) U_OVERRIDE;
/external/icu/icu4c/source/test/intltest/
Dnumberformattesttuple.cpp200 *static_cast<DecimalFormat::ERoundingMode *>(roundPtr) = (DecimalFormat::ERoundingMode) val; in strToERounding()
205 DecimalFormat::ERoundingMode rounding = in eRoundingToStr()
206 *static_cast<const DecimalFormat::ERoundingMode *>(roundPtr); in eRoundingToStr()
Dnumberformattesttuple.h111 DecimalFormat::ERoundingMode roundingMode;
Dnumfmtst.h401 const DecimalFormat::ERoundingMode *roundingModes,
Ddcfmapts.cpp515 pat.setRoundingMode((DecimalFormat::ERoundingMode)mode); in testRounding()
516 if(pat.getRoundingMode() != (DecimalFormat::ERoundingMode)mode){ in testRounding()
576 pat.setRoundingMode((DecimalFormat::ERoundingMode)0); in testRoundingInc()
Dnumfmtst.cpp3119 df->setRoundingMode((DecimalFormat::ERoundingMode)mode); in TestRounding()
7621 DecimalFormat::ERoundingMode mode;
7682 DecimalFormat::ERoundingMode roundingModes[] = { in TestRoundingScientific10542()
7859 const DecimalFormat::ERoundingMode *roundingModes, in verifyRounding()
8872 …static const NumberFormat::ERoundingMode newRoundingMode = NumberFormat::ERoundingMode::kRoundCeil… in Test11645_ApplyPatternEquality()
/external/icu/icu4c/source/i18n/
Drbnf.cpp692 , fRoundingMode(DecimalFormat::ERoundingMode::kRoundUnnecessary) in RuleBasedNumberFormat()
717 , fRoundingMode(DecimalFormat::ERoundingMode::kRoundUnnecessary) in RuleBasedNumberFormat()
742 , fRoundingMode(DecimalFormat::ERoundingMode::kRoundUnnecessary) in RuleBasedNumberFormat()
766 , fRoundingMode(DecimalFormat::ERoundingMode::kRoundUnnecessary) in RuleBasedNumberFormat()
791 , fRoundingMode(DecimalFormat::ERoundingMode::kRoundUnnecessary) in RuleBasedNumberFormat()
813 , fRoundingMode(DecimalFormat::ERoundingMode::kRoundUnnecessary) in RuleBasedNumberFormat()
880 , fRoundingMode(DecimalFormat::ERoundingMode::kRoundUnnecessary) in RuleBasedNumberFormat()
1286 …if (getRoundingMode() != DecimalFormat::ERoundingMode::kRoundUnnecessary && !uprv_isNaN(number) &&… in format()
2008 DecimalFormat::ERoundingMode RuleBasedNumberFormat::getRoundingMode() const { in getRoundingMode()
2017 void RuleBasedNumberFormat::setRoundingMode(DecimalFormat::ERoundingMode roundingMode) { in setRoundingMode()
Ddecimfmt.cpp31 using ERoundingMode = icu::DecimalFormat::ERoundingMode; typedef
198 setRoundingMode((DecimalFormat::ERoundingMode) newValue); in setAttribute()
745 ERoundingMode DecimalFormat::getRoundingMode(void) const { in getRoundingMode()
747 return static_cast<ERoundingMode>(fields->exportedProperties->roundingMode.getNoError()); in getRoundingMode()
750 void DecimalFormat::setRoundingMode(ERoundingMode roundingMode) { in setRoundingMode()
Dnumfmt.cpp1504 NumberFormat::ERoundingMode NumberFormat::getRoundingMode() const { in getRoundingMode()
1506 return NumberFormat::ERoundingMode::kRoundUnnecessary; in getRoundingMode()
1514 void NumberFormat::setRoundingMode(NumberFormat::ERoundingMode /*roundingMode*/) { in setRoundingMode() argument
Dunum.cpp581 return nf->setRoundingMode((NumberFormat::ERoundingMode)newValue); in unum_setAttribute()