Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Ddcfmapts.cpp653 ASSERT_EQUAL(44, fd.getPluralOperand(PLURAL_OPERAND_N)); in TestFixedDecimal()
654 ASSERT_EQUAL(0, fd.getPluralOperand(PLURAL_OPERAND_V)); in TestFixedDecimal()
659 ASSERT_EQUAL(44, fd.getPluralOperand(PLURAL_OPERAND_N)); in TestFixedDecimal()
660 ASSERT_EQUAL(0, fd.getPluralOperand(PLURAL_OPERAND_V)); in TestFixedDecimal()
667 ASSERT_EQUAL(3, fd.getPluralOperand(PLURAL_OPERAND_V)); // v in TestFixedDecimal()
668 ASSERT_EQUAL(456, fd.getPluralOperand(PLURAL_OPERAND_F)); // f in TestFixedDecimal()
669 ASSERT_EQUAL(456, fd.getPluralOperand(PLURAL_OPERAND_T)); // t in TestFixedDecimal()
670 ASSERT_EQUAL(123, fd.getPluralOperand(PLURAL_OPERAND_I)); // i in TestFixedDecimal()
671 ASSERT_EQUAL(123.456, fd.getPluralOperand(PLURAL_OPERAND_N)); // n in TestFixedDecimal()
677 ASSERT_EQUAL(3, fd.getPluralOperand(PLURAL_OPERAND_V)); // v in TestFixedDecimal()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java586 public double getPluralOperand(Operand operand) {
588 return new PluralRules.FixedDecimal(toDouble()).getPluralOperand(operand);
900 .setFractionDigits((int) getPluralOperand(Operand.v), (long) getPluralOperand(Operand.f));
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java583 public double getPluralOperand(Operand operand) {
585 return new PluralRules.FixedDecimal(toDouble()).getPluralOperand(operand);
897 .setFractionDigits((int) getPluralOperand(Operand.v), (long) getPluralOperand(Operand.f));
/external/icu/icu4c/source/i18n/
Dplurrule_impl.h247 virtual double getPluralOperand(PluralOperand operand) const = 0;
279 double getPluralOperand(PluralOperand operand) const U_OVERRIDE;
Dnumber_decimalquantity.h197 double getPluralOperand(PluralOperand operand) const U_OVERRIDE;
Dplurrule.cpp800 double n = number.getPluralOperand(operand); // pulls n | i | v | f value for the number. in isFulfilled()
1679 double FixedDecimal::getPluralOperand(PluralOperand operand) const { in getPluralOperand() function in FixedDecimal
Dnumber_decimalquantity.cpp241 double DecimalQuantity::getPluralOperand(PluralOperand operand) const { in getPluralOperand() function in DecimalQuantity
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity_AbstractBCD.java239 public double getPluralOperand(Operand operand) { in getPluralOperand() method in DecimalQuantity_AbstractBCD
264 ((UFieldPosition) fp).setFractionDigits((int) getPluralOperand(Operand.v), in populateUFieldPosition()
265 (long) getPluralOperand(Operand.f)); in populateUFieldPosition()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_AbstractBCD.java237 public double getPluralOperand(Operand operand) { in getPluralOperand() method in DecimalQuantity_AbstractBCD
262 ((UFieldPosition) fp).setFractionDigits((int) getPluralOperand(Operand.v), in populateUFieldPosition()
263 (long) getPluralOperand(Operand.f)); in populateUFieldPosition()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralRules.java506 public double getPluralOperand(Operand operand); in getPluralOperand() method
840 public double getPluralOperand(Operand operand) { in getPluralOperand() method in PluralRules.FixedDecimal
1630 double n = number.getPluralOperand(operand); in isFulfilled()
1632 || operand == Operand.j && number.getPluralOperand(Operand.v) != 0)) { in isFulfilled()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralRules.java507 public double getPluralOperand(Operand operand); in getPluralOperand() method
800 public double getPluralOperand(Operand operand) { in getPluralOperand() method in PluralRules.FixedDecimal
1562 double n = number.getPluralOperand(operand); in isFulfilled()
1564 || operand == Operand.j && number.getPluralOperand(Operand.v) != 0)) { in isFulfilled()
/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/
Dicu4j59.api3.gz
Dicu4j61.api3.gz12;ICU4J 61.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j60.api3.gz
Dicu4j62.api3.gz
Dicu4j63.api3.gz