Searched refs:numFractionDigits (Results 1 – 5 of 5) sorted by relevance
/external/icu/icu4c/source/i18n/ |
D | plurrule.cpp | 1463 int32_t numFractionDigits = decimals(n); in init() local 1464 init(n, numFractionDigits, getFractionalDigits(n, numFractionDigits)); in init() 1504 int32_t numFractionDigits; in quickInit() local 1505 for (numFractionDigits = 0; numFractionDigits <= 3; numFractionDigits++) { in quickInit() 1506 double scaledN = n * p10[numFractionDigits]; in quickInit() 1513 init(n, numFractionDigits, getFractionalDigits(n, numFractionDigits)); in quickInit() 1536 int numFractionDigits = 15; in decimals() local 1541 --numFractionDigits; in decimals() 1543 numFractionDigits -= exponent; // Fraction part of fixed point representation. in decimals() 1544 return numFractionDigits; in decimals()
|
/external/icu/icu4c/source/test/intltest/ |
D | plurults.cpp | 990 int32_t numFractionDigits = FixedDecimal::decimals(tc.n); in testFixedDecimal() local 991 if (numFractionDigits != tc.fractionDigitCount) { in testFixedDecimal() 993 __FILE__, __LINE__, tc.n, tc.fractionDigitCount, numFractionDigits); in testFixedDecimal() 996 int64_t actualFractionDigits = FixedDecimal::getFractionalDigits(tc.n, numFractionDigits); in testFixedDecimal() 999 … __FILE__, __LINE__, tc.n, numFractionDigits, tc.fractionDigits, actualFractionDigits); in testFixedDecimal()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | PluralRules.java | 710 int numFractionDigits = ePos - 2 - exponent; in decimals() local 711 if (numFractionDigits < 0) { in decimals() 714 for (int i=ePos-1; numFractionDigits > 0; --i) { in decimals() 718 --numFractionDigits; in decimals() 720 return numFractionDigits; in decimals()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | PluralRules.java | 691 int numFractionDigits = ePos - 2 - exponent; in decimals() local 692 if (numFractionDigits < 0) { in decimals() 695 for (int i=ePos-1; numFractionDigits > 0; --i) { in decimals() 699 --numFractionDigits; in decimals() 701 return numFractionDigits; in decimals()
|
/external/messageformat/java/com/ibm/icu/simple/ |
D | PluralRules.java | 671 int numFractionDigits = ePos - 2 - exponent; in decimals() local 672 if (numFractionDigits < 0) { in decimals() 675 for (int i=ePos-1; numFractionDigits > 0; --i) { in decimals() 679 --numFractionDigits; in decimals() 681 return numFractionDigits; in decimals()
|