Home
last modified time | relevance | path

Searched refs:RoundingPriority (Results 1 – 11 of 11) sorted by relevance

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DFractionPrecision.java39 NumberFormatter.RoundingPriority priority) { in withSignificantDigits()
77 this, 1, minSignificantDigits, NumberFormatter.RoundingPriority.RELAXED, true); in withMinDigits()
110 this, 1, maxSignificantDigits, NumberFormatter.RoundingPriority.STRICT, true); in withMaxDigits()
DPrecision.java12 import com.ibm.icu.number.NumberFormatter.RoundingPriority;
412 … FracSigRounderImpl COMPACT_STRATEGY = new FracSigRounderImpl(0, 0, 1, 2, RoundingPriority.RELAXED,
450 RoundingPriority priority, boolean retain) { in constructFractionSignificant()
454 …rac == 0 && base.maxFrac == 0 && minSig == 1 && maxSig == 2 && priority == RoundingPriority.RELAXED in constructFractionSignificant()
716 final RoundingPriority priority;
719 …lic FracSigRounderImpl(int minFrac, int maxFrac, int minSig, int maxSig, RoundingPriority priority, in FracSigRounderImpl()
734 if (priority == RoundingPriority.RELAXED) { in apply()
754 } else if (priority == RoundingPriority.RELAXED) { in apply()
761 assert(priority == RoundingPriority.STRICT); in apply()
DNumberFormatter.java115 public static enum RoundingPriority { enum in NumberFormatter
DNumberSkeletonImpl.java17 import com.ibm.icu.number.NumberFormatter.RoundingPriority;
1340 RoundingPriority priority; in parseFracSigOption()
1346 priority = RoundingPriority.RELAXED; in parseFracSigOption()
1349 priority = RoundingPriority.STRICT; in parseFracSigOption()
1353 … priority = RoundingPriority.RELAXED; // make compiler happy (uninitialized variable) in parseFracSigOption()
1579 if (impl.priority == RoundingPriority.RELAXED) {
1586 if (impl.priority == RoundingPriority.RELAXED) {
/third_party/node/deps/v8/src/objects/
Dintl-objects.h151 enum class RoundingPriority { enum
171 RoundingPriority rounding_priority;
Dintl-objects.cc1557 digit_options.rounding_priority = RoundingPriority::kAuto; in SetNumberFormatDigitOptions()
1568 Maybe<RoundingPriority> maybe_rounding_priority = in SetNumberFormatDigitOptions()
1569 GetStringOption<RoundingPriority>( in SetNumberFormatDigitOptions()
1572 {RoundingPriority::kAuto, RoundingPriority::kMorePrecision, in SetNumberFormatDigitOptions()
1573 RoundingPriority::kLessPrecision}, in SetNumberFormatDigitOptions()
1574 RoundingPriority::kAuto); in SetNumberFormatDigitOptions()
1596 has_sd || (RoundingPriority::kAuto != digit_options.rounding_priority); in SetNumberFormatDigitOptions()
1603 (RoundingPriority::kAuto != digit_options.rounding_priority); in SetNumberFormatDigitOptions()
1684 if (digit_options.rounding_priority == RoundingPriority::kMorePrecision) { in SetNumberFormatDigitOptions()
1689 RoundingPriority::kLessPrecision) { in SetNumberFormatDigitOptions()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberFormatterApiTest.java41 import com.ibm.icu.number.NumberFormatter.RoundingPriority;
3611 .withSignificantDigits(1, 2, RoundingPriority.RELAXED)), in roundingFractionFigures()
3628 .withSignificantDigits(1, 2, RoundingPriority.STRICT)), in roundingFractionFigures()
3645 .withSignificantDigits(3, 3, RoundingPriority.RELAXED)), in roundingFractionFigures()
3656 .withSignificantDigits(3, 3, RoundingPriority.STRICT)), in roundingFractionFigures()
3666 .withSignificantDigits(3, 3, RoundingPriority.STRICT)), in roundingFractionFigures()
4107 .withSignificantDigits(1, 3, RoundingPriority.RELAXED); in roundingPriorityCoverageTest()
4109 .withSignificantDigits(1, 3, RoundingPriority.STRICT); in roundingPriorityCoverageTest()
4111 .withSignificantDigits(3, 3, RoundingPriority.RELAXED); in roundingPriorityCoverageTest()
4113 .withSignificantDigits(3, 3, RoundingPriority.STRICT); in roundingPriorityCoverageTest()
/third_party/icu/icu4j/tools/build/
Dicu4j69.api3.gz12;ICU4J 69.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j72.api3.gz12;ICU4J 72.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j70.api3.gz12;ICU4J 70.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j71.api3.gz12;ICU4J 71.1;; 2ST@3.6;PB;NS;NF;NS; ...