/external/icu/android_icu4j/src/main/java/android/icu/text/ |
PluralSamples.java | 22 import android.icu.text.PluralRules.FixedDecimal; 46 private final Map<String, Set<FixedDecimal>> _keyFractionSamplesMap; 47 private final Set<FixedDecimal> _fractionSamples; 83 Map<String, Set<FixedDecimal>> sampleFractionMap = new HashMap<String, Set<FixedDecimal>>(); 84 Set<FixedDecimal> mentioned = new TreeSet<FixedDecimal>(); 86 Map<String, Set<FixedDecimal>> foundKeywords = new HashMap<String, Set<FixedDecimal>>(); 87 for (FixedDecimal s : mentioned) [all...] |
PluralRules.java | 355 public boolean isFulfilled(FixedDecimal n) { 423 public static class FixedDecimal extends Number implements Comparable<FixedDecimal> { 585 public FixedDecimal(double n, int v, long f) { 629 public FixedDecimal(double n, int v) { 652 public FixedDecimal(double n) { 662 public FixedDecimal(long n) { 725 public FixedDecimal (String n) { 774 public int compareTo(FixedDecimal other) { 805 if (!(arg0 instanceof FixedDecimal)) { [all...] |
QuantityFormatter.java | 14 import android.icu.text.PluralRules.FixedDecimal; 112 FixedDecimal fd = new FixedDecimal(
|
PluralFormat.java | 19 import android.icu.text.PluralRules.FixedDecimal; 539 FixedDecimal dec = (FixedDecimal) context; 600 FixedDecimal dec; 604 dec = new FixedDecimal(numberMinusOffset); [all...] |
CompactDecimalFormat.java | 28 import android.icu.text.PluralRules.FixedDecimal; 414 private String getPluralForm(FixedDecimal fixedDecimal) { 418 return pluralRules.select(fixedDecimal);
|
CurrencyPluralInfo.java | 236 String select(PluralRules.FixedDecimal numberInfo) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
PluralSamples.java | 21 import com.ibm.icu.text.PluralRules.FixedDecimal; 44 private final Map<String, Set<FixedDecimal>> _keyFractionSamplesMap; 45 private final Set<FixedDecimal> _fractionSamples; 81 Map<String, Set<FixedDecimal>> sampleFractionMap = new HashMap<String, Set<FixedDecimal>>(); 82 Set<FixedDecimal> mentioned = new TreeSet<FixedDecimal>(); 84 Map<String, Set<FixedDecimal>> foundKeywords = new HashMap<String, Set<FixedDecimal>>(); 85 for (FixedDecimal s : mentioned) [all...] |
PluralRules.java | 356 public boolean isFulfilled(FixedDecimal n) { 426 public static class FixedDecimal extends Number implements Comparable<FixedDecimal> { 570 public FixedDecimal(double n, int v, long f) { 613 public FixedDecimal(double n, int v) { 635 public FixedDecimal(double n) { 644 public FixedDecimal(long n) { 705 public FixedDecimal (String n) { 751 public int compareTo(FixedDecimal other) { 781 if (!(arg0 instanceof FixedDecimal)) { [all...] |
QuantityFormatter.java | 13 import com.ibm.icu.text.PluralRules.FixedDecimal; 111 FixedDecimal fd = new FixedDecimal(
|
PluralFormat.java | 18 import com.ibm.icu.text.PluralRules.FixedDecimal; 554 FixedDecimal dec = (FixedDecimal) context; 617 FixedDecimal dec; 621 dec = new FixedDecimal(numberMinusOffset); [all...] |
CompactDecimalFormat.java | 27 import com.ibm.icu.text.PluralRules.FixedDecimal; 427 private String getPluralForm(FixedDecimal fixedDecimal) { 431 return pluralRules.select(fixedDecimal);
|
CurrencyPluralInfo.java | 253 String select(PluralRules.FixedDecimal numberInfo) {
|
/external/icu/icu4c/source/i18n/ |
plurrule_impl.h | 177 * class FixedDecimal serves to communicate the properties 183 class U_I18N_API FixedDecimal: public UMemory { 190 FixedDecimal(double n, int32_t v, int64_t f); 191 FixedDecimal(double n, int32_t); 192 explicit FixedDecimal(double n); 193 explicit FixedDecimal(const VisibleDigits &n); 194 FixedDecimal(); 195 FixedDecimal(const UnicodeString &s, UErrorCode &ec); 196 FixedDecimal(const FixedDecimal &other) [all...] |
plurrule.cpp | 241 return select(FixedDecimal(number)); 246 return select(FixedDecimal(number)); 250 PluralRules::select(const FixedDecimal &number) const { 264 return select(FixedDecimal(number.getMantissa())); 323 FixedDecimal fixed(sampleRange, status); 330 FixedDecimal fixedLo(sampleRange.tempSubStringBetween(0, tildeIndex), status); 331 FixedDecimal fixedHi(sampleRange.tempSubStringBetween(tildeIndex+1), status); 764 AndConstraint::isFulfilled(const FixedDecimal &number) { 854 OrConstraint::isFulfilled(const FixedDecimal &number) { 895 RuleChain::select(const FixedDecimal &number) const [all...] |
valueformatter.h | 30 class FixedDecimal;
|
decimfmtimpl.h | 32 class FixedDecimal; 322 FixedDecimal &getFixedDecimal(double value, FixedDecimal &result, UErrorCode &status) const; 323 FixedDecimal &getFixedDecimal(DigitList &number, FixedDecimal &result, UErrorCode &status) const;
|
decimfmtimpl.cpp | 518 static FixedDecimal &initFixedDecimal( 519 const VisibleDigits &digits, FixedDecimal &result) { 530 FixedDecimal & 531 DecimalFormatImpl::getFixedDecimal(double number, FixedDecimal &result, UErrorCode &status) const { 540 FixedDecimal & 542 DigitList &number, FixedDecimal &result, UErrorCode &status) const { [all...] |
decimfmt.cpp | 658 FixedDecimal 663 return FixedDecimal(); 665 return FixedDecimal(digits.getMantissa()); 676 FixedDecimal 681 return FixedDecimal(); 683 return FixedDecimal(digits.getMantissa()); 719 FixedDecimal 724 return FixedDecimal(); 726 return FixedDecimal(digits.getMantissa()); [all...] |
/external/messageformat/java/com/ibm/icu/simple/ |
PluralRules.java | 344 public boolean isFulfilled(FixedDecimal n) { 414 public static class FixedDecimal extends Number implements Comparable<FixedDecimal> { 558 public FixedDecimal(double n, int v, long f) { 601 public FixedDecimal(double n, int v) { 623 public FixedDecimal(double n) { 632 public FixedDecimal(long n) { 690 public FixedDecimal (String n) { 736 public int compareTo(FixedDecimal other) { 766 if (!(arg0 instanceof FixedDecimal)) { [all...] |
PluralFormat.java | 17 import com.ibm.icu.simple.PluralRules.FixedDecimal; 396 FixedDecimal dec = (FixedDecimal) context;
|
/external/icu/icu4c/source/i18n/unicode/ |
plurrule.h | 41 class FixedDecimal; 349 UnicodeString select(const FixedDecimal &number) const;
|
decimfmt.h | 63 class FixedDecimal; [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
PluralRulesTest.java | 41 import android.icu.text.PluralRules.FixedDecimal; 76 FixedDecimal fd = new FixedDecimal(testDouble[0]); 171 new FixedDecimal(3)); 173 new FixedDecimal(3.5, 2)); 179 false, new FixedDecimal(99d, 1)); 194 String samplesString, boolean isBounded, FixedDecimal firstInRange) { 342 Map<FixedDecimal, String> collisionTest = new TreeMap(); 350 FixedDecimal item = i == 0 ? sample.start : sample.end; 603 // FixedDecimal values [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
PluralRulesTest.java | 40 import com.ibm.icu.text.PluralRules.FixedDecimal; 72 FixedDecimal fd = new FixedDecimal(testDouble[0]); 167 new FixedDecimal(3)); 169 new FixedDecimal(3.5, 2)); 175 false, new FixedDecimal(99d, 1)); 190 String samplesString, boolean isBounded, FixedDecimal firstInRange) { 338 Map<FixedDecimal, String> collisionTest = new TreeMap(); 346 FixedDecimal item = i == 0 ? sample.start : sample.end; 599 // FixedDecimal values [all...] |
/external/icu/icu4c/source/test/intltest/ |
plurults.cpp | 645 FixedDecimal ni(numDbl, fractionDigitCount, fractionDigits); [all...] |