Home
last modified time | relevance | path

Searched refs:getPluralOperand (Results 1 – 25 of 31) sorted by relevance

12

/external/icu/icu4c/source/test/intltest/
Ddcfmapts.cpp672 ASSERT_EQUAL(44, fd.getPluralOperand(PLURAL_OPERAND_N)); in TestFixedDecimal()
673 ASSERT_EQUAL(0, fd.getPluralOperand(PLURAL_OPERAND_V)); in TestFixedDecimal()
678 ASSERT_EQUAL(44, fd.getPluralOperand(PLURAL_OPERAND_N)); in TestFixedDecimal()
679 ASSERT_EQUAL(0, fd.getPluralOperand(PLURAL_OPERAND_V)); in TestFixedDecimal()
686 ASSERT_EQUAL(3, fd.getPluralOperand(PLURAL_OPERAND_V)); // v in TestFixedDecimal()
687 ASSERT_EQUAL(456, fd.getPluralOperand(PLURAL_OPERAND_F)); // f in TestFixedDecimal()
688 ASSERT_EQUAL(456, fd.getPluralOperand(PLURAL_OPERAND_T)); // t in TestFixedDecimal()
689 ASSERT_EQUAL(123, fd.getPluralOperand(PLURAL_OPERAND_I)); // i in TestFixedDecimal()
690 ASSERT_EQUAL(123.456, fd.getPluralOperand(PLURAL_OPERAND_N)); // n in TestFixedDecimal()
696 ASSERT_EQUAL(3, fd.getPluralOperand(PLURAL_OPERAND_V)); // v in TestFixedDecimal()
[all …]
Dnumbertest_decimalquantity.cpp572 double actualNOperand = dq.getPluralOperand(PLURAL_OPERAND_N); in testCompactDecimalSuppressedExponent()
573 double actualIOperand = dq.getPluralOperand(PLURAL_OPERAND_I); in testCompactDecimalSuppressedExponent()
574 double actualEOperand = dq.getPluralOperand(PLURAL_OPERAND_E); in testCompactDecimalSuppressedExponent()
619 double compactScaledEOperand = dqCompactScaled.getPluralOperand(PLURAL_OPERAND_E); in testSuppressedExponentUnchangedByInitialScaling()
625 double compactNOperand = dqCompact.getPluralOperand(PLURAL_OPERAND_N); in testSuppressedExponentUnchangedByInitialScaling()
626 double compactIOperand = dqCompact.getPluralOperand(PLURAL_OPERAND_I); in testSuppressedExponentUnchangedByInitialScaling()
627 double compactEOperand = dqCompact.getPluralOperand(PLURAL_OPERAND_E); in testSuppressedExponentUnchangedByInitialScaling()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestPluralRuleGeneration.java194 …ring vs fromDoubleAndExponent", fromString.getPluralOperand(Operand.e), fromDoubleAndExponent.getP… in TestEFixedDecimal()
212 result.put(op, fixedDecimal.getPluralOperand(op));
332 if (me.getPluralOperand(op) != other.getPluralOperand(op)) {
339 + "=").append(me.getPluralOperand(op))
342 + "=").append(other.getPluralOperand(op))
376 double opValue = formatted.getPluralOperand(op);
DTestSupplementalInfo.java155 if (me.getPluralOperand(Operand.e) != other.getPluralOperand(Operand.e)) { in compare()
156 return me.getPluralOperand(Operand.e) < other.getPluralOperand(Operand.e) ? -1 : 1; in compare()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DDecimalQuantityTest.java721 double actualNOperand = dq.getPluralOperand(Operand.n); in testCompactDecimalSuppressedExponent()
722 double actualIOperand = dq.getPluralOperand(Operand.i); in testCompactDecimalSuppressedExponent()
723 double actualEOperand = dq.getPluralOperand(Operand.e); in testCompactDecimalSuppressedExponent()
767 double actualNOperand = dq.getPluralOperand(Operand.n); in testCompactNotationFractionPluralOperands()
768 double actualIOperand = dq.getPluralOperand(Operand.i); in testCompactNotationFractionPluralOperands()
769 double actualFOperand = dq.getPluralOperand(Operand.f); in testCompactNotationFractionPluralOperands()
770 double actualTOperand = dq.getPluralOperand(Operand.t); in testCompactNotationFractionPluralOperands()
771 double actualVOperand = dq.getPluralOperand(Operand.v); in testCompactNotationFractionPluralOperands()
772 double actualWOperand = dq.getPluralOperand(Operand.w); in testCompactNotationFractionPluralOperands()
773 double actualEOperand = dq.getPluralOperand(Operand.e); in testCompactNotationFractionPluralOperands()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DDecimalQuantityTest.java718 double actualNOperand = dq.getPluralOperand(Operand.n); in testCompactDecimalSuppressedExponent()
719 double actualIOperand = dq.getPluralOperand(Operand.i); in testCompactDecimalSuppressedExponent()
720 double actualEOperand = dq.getPluralOperand(Operand.e); in testCompactDecimalSuppressedExponent()
764 double actualNOperand = dq.getPluralOperand(Operand.n); in testCompactNotationFractionPluralOperands()
765 double actualIOperand = dq.getPluralOperand(Operand.i); in testCompactNotationFractionPluralOperands()
766 double actualFOperand = dq.getPluralOperand(Operand.f); in testCompactNotationFractionPluralOperands()
767 double actualTOperand = dq.getPluralOperand(Operand.t); in testCompactNotationFractionPluralOperands()
768 double actualVOperand = dq.getPluralOperand(Operand.v); in testCompactNotationFractionPluralOperands()
769 double actualWOperand = dq.getPluralOperand(Operand.w); in testCompactNotationFractionPluralOperands()
770 double actualEOperand = dq.getPluralOperand(Operand.e); in testCompactNotationFractionPluralOperands()
[all …]
/external/cldr/tools/java/com/ibm/icu/text/
DFixedDecimal.java404 public double getPluralOperand(Operand operand) { in getPluralOperand() method in FixedDecimal
486 final double n = source.getPluralOperand(Operand.n); in toSampleString()
487 final int exponent = (int) source.getPluralOperand(Operand.e); in toSampleString()
488 final int visibleDecimalDigitCount = (int) source.getPluralOperand(Operand.v); in toSampleString()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java611 public double getPluralOperand(Operand operand) {
613 return new PluralRules.FixedDecimal(toDouble()).getPluralOperand(operand);
933 .setFractionDigits((int) getPluralOperand(Operand.v), (long) getPluralOperand(Operand.f));
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java608 public double getPluralOperand(Operand operand) {
610 return new PluralRules.FixedDecimal(toDouble()).getPluralOperand(operand);
930 .setFractionDigits((int) getPluralOperand(Operand.v), (long) getPluralOperand(Operand.f));
/external/icu/icu4c/source/i18n/
Dplurrule_impl.h260 virtual double getPluralOperand(PluralOperand operand) const = 0;
296 double getPluralOperand(PluralOperand operand) const U_OVERRIDE;
Dnumber_decimalquantity.h251 double getPluralOperand(PluralOperand operand) const U_OVERRIDE;
Dplurrule.cpp459 int32_t v = (int32_t) fixedLo.getPluralOperand(PluralOperand::PLURAL_OPERAND_V); in getSamplesFromString()
460 int32_t e = (int32_t) fixedLo.getPluralOperand(PluralOperand::PLURAL_OPERAND_E); in getSamplesFromString()
917 double n = number.getPluralOperand(operand); // pulls n | i | v | f value for the number. in isFulfilled()
1838 double FixedDecimal::getPluralOperand(PluralOperand operand) const { in getPluralOperand() function in FixedDecimal
Dnumber_decimalquantity.cpp257 double DecimalQuantity::getPluralOperand(PluralOperand operand) const { in getPluralOperand() function in DecimalQuantity
/external/icu/libicu/cts_headers/
Dplurrule_impl.h260 virtual double getPluralOperand(PluralOperand operand) const = 0;
296 double getPluralOperand(PluralOperand operand) const U_OVERRIDE;
Dnumber_decimalquantity.h251 double getPluralOperand(PluralOperand operand) const U_OVERRIDE;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_AbstractBCD.java249 public double getPluralOperand(Operand operand) { in getPluralOperand() method in DecimalQuantity_AbstractBCD
276 ((UFieldPosition) fp).setFractionDigits((int) getPluralOperand(Operand.v), in populateUFieldPosition()
277 (long) getPluralOperand(Operand.f)); in populateUFieldPosition()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity_AbstractBCD.java251 public double getPluralOperand(Operand operand) { in getPluralOperand() method in DecimalQuantity_AbstractBCD
278 ((UFieldPosition) fp).setFractionDigits((int) getPluralOperand(Operand.v), in populateUFieldPosition()
279 (long) getPluralOperand(Operand.f)); in populateUFieldPosition()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralRules.java525 public double getPluralOperand(Operand operand); in getPluralOperand() method
925 public double getPluralOperand(Operand operand) { in getPluralOperand() method in PluralRules.FixedDecimal
1729 double n = number.getPluralOperand(operand); in isFulfilled()
1731 || operand == Operand.j && number.getPluralOperand(Operand.v) != 0)) { in isFulfilled()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralRules.java525 public double getPluralOperand(Operand operand); in getPluralOperand() method
884 public double getPluralOperand(Operand operand) { in getPluralOperand() method in PluralRules.FixedDecimal
1660 double n = number.getPluralOperand(operand); in isFulfilled()
1662 || operand == Operand.j && number.getPluralOperand(Operand.v) != 0)) { in isFulfilled()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGeneratedPluralSamples.java298 if (ni.getPluralOperand(Operand.e) != 0) {
/external/icu/icu4j/
Dcoverage-exclusion.txt416 com/ibm/icu/impl/number/FormatQuantity1#getPluralOperand:(Lcom/ibm/icu/text/PluralRules$Operand;)D
/external/icu/icu4j/tools/build/
Dicu4j60.api3.gz
Dicu4j62.api3.gz12;ICU4J 62.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j61.api3.gz
Dicu4j59.api3.gz12;ICU4J 59.1;; 2ST@3.6;PB;NS;NF;NS; ...

12