HomeSort by relevance Sort by last modified time
    Searched refs:FixedDecimal (Results 1 - 25 of 39) sorted by null

1 2

  /external/icu/android_icu4j/src/main/java/android/icu/text/
PluralSamples.java 24 import android.icu.text.PluralRules.FixedDecimal;
48 private final Map<String, Set<FixedDecimal>> _keyFractionSamplesMap;
49 private final Set<FixedDecimal> _fractionSamples;
85 Map<String, Set<FixedDecimal>> sampleFractionMap = new HashMap<String, Set<FixedDecimal>>();
86 Set<FixedDecimal> mentioned = new TreeSet<FixedDecimal>();
88 Map<String, Set<FixedDecimal>> foundKeywords = new HashMap<String, Set<FixedDecimal>>();
89 for (FixedDecimal s : mentioned)
    [all...]
QuantityFormatter.java 16 import android.icu.text.PluralRules.FixedDecimal;
114 FixedDecimal fd = new FixedDecimal(
PluralRules.java 488 * An interface to FixedDecimal, allowing for other implementations.
526 public static class FixedDecimal extends Number implements Comparable<FixedDecimal>, IFixedDecimal {
673 public FixedDecimal(double n, int v, long f) {
717 public FixedDecimal(double n, int v) {
740 public FixedDecimal(double n) {
750 public FixedDecimal(long n) {
813 public FixedDecimal (String n) {
866 public int compareTo(FixedDecimal other) {
897 if (!(arg0 instanceof FixedDecimal)) {
    [all...]
PluralFormat.java 21 import android.icu.text.PluralRules.FixedDecimal;
608 dec = new FixedDecimal(numberMinusOffset);
    [all...]
CurrencyPluralInfo.java 246 String select(PluralRules.FixedDecimal numberInfo) {
MeasureFormat.java 402 String keywordLow = rules.select(new PluralRules.FixedDecimal(lowDouble,
406 String keywordHigh = rules.select(new PluralRules.FixedDecimal(highDouble,
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
PluralSamples.java 23 import com.ibm.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...]
QuantityFormatter.java 15 import com.ibm.icu.text.PluralRules.FixedDecimal;
113 FixedDecimal fd = new FixedDecimal(
PluralRules.java 492 * An interface to FixedDecimal, allowing for other implementations.
529 public static class FixedDecimal extends Number implements Comparable<FixedDecimal>, IFixedDecimal {
642 public FixedDecimal(double n, int v, long f) {
685 public FixedDecimal(double n, int v) {
707 public FixedDecimal(double n) {
716 public FixedDecimal(long n) {
777 public FixedDecimal (String n) {
828 public int compareTo(FixedDecimal other) {
858 if (!(arg0 instanceof FixedDecimal)) {
    [all...]
PluralFormat.java 20 import com.ibm.icu.text.PluralRules.FixedDecimal;
625 dec = new FixedDecimal(numberMinusOffset);
    [all...]
CurrencyPluralInfo.java 263 String select(PluralRules.FixedDecimal numberInfo) {
  /external/icu/icu4c/source/i18n/
plurrule_impl.h 231 * An interface to FixedDecimal, allowing for other implementations.
250 * class FixedDecimal serves to communicate the properties
256 class U_I18N_API FixedDecimal: public IFixedDecimal, public UObject {
263 FixedDecimal(double n, int32_t v, int64_t f);
264 FixedDecimal(double n, int32_t);
265 explicit FixedDecimal(double n);
266 explicit FixedDecimal(const VisibleDigits &n);
267 FixedDecimal();
268 ~FixedDecimal() U_OVERRIDE;
269 FixedDecimal(const UnicodeString &s, UErrorCode &ec)
    [all...]
plurrule.cpp 242 return select(FixedDecimal(number));
247 return select(FixedDecimal(number));
285 return select(FixedDecimal(number.getMantissa()));
344 FixedDecimal fixed(sampleRange, status);
351 FixedDecimal fixedLo(sampleRange.tempSubStringBetween(0, tildeIndex), status);
352 FixedDecimal fixedHi(sampleRange.tempSubStringBetween(tildeIndex+1), status);
    [all...]
valueformatter.h 32 class FixedDecimal;
decimfmtimpl.h 34 class FixedDecimal;
324 FixedDecimal &getFixedDecimal(double value, FixedDecimal &result, UErrorCode &status) const;
325 FixedDecimal &getFixedDecimal(DigitList &number, FixedDecimal &result, UErrorCode &status) const;
decimfmtimpl.cpp 520 static FixedDecimal &initFixedDecimal(
521 const VisibleDigits &digits, FixedDecimal &result) {
533 FixedDecimal &
534 DecimalFormatImpl::getFixedDecimal(double number, FixedDecimal &result, UErrorCode &status) const {
543 FixedDecimal &
545 DigitList &number, FixedDecimal &result, UErrorCode &status) const {
    [all...]
decimfmt.cpp 673 FixedDecimal
678 return FixedDecimal();
680 return FixedDecimal(digits.getMantissa());
691 FixedDecimal
696 return FixedDecimal();
698 return FixedDecimal(digits.getMantissa());
734 FixedDecimal
739 return FixedDecimal();
741 return FixedDecimal(digits.getMantissa());
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
PluralRulesTest.java 47 import android.icu.text.PluralRules.FixedDecimal;
79 FixedDecimal fd = new FixedDecimal(testDouble[0]);
176 new FixedDecimal(3));
178 new FixedDecimal(3.5, 2));
184 false, new FixedDecimal(99d, 1));
199 String samplesString, boolean isBounded, FixedDecimal firstInRange) {
351 Map<FixedDecimal, String> collisionTest = new TreeMap();
359 FixedDecimal item = i == 0 ? sample.start : sample.end;
623 // FixedDecimal values
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
PluralRulesTest.java 46 import com.ibm.icu.text.PluralRules.FixedDecimal;
76 FixedDecimal fd = new FixedDecimal(testDouble[0]);
173 new FixedDecimal(3));
175 new FixedDecimal(3.5, 2));
181 false, new FixedDecimal(99d, 1));
196 String samplesString, boolean isBounded, FixedDecimal firstInRange) {
348 Map<FixedDecimal, String> collisionTest = new TreeMap();
356 FixedDecimal item = i == 0 ? sample.start : sample.end;
620 // FixedDecimal values
    [all...]
  /external/icu/icu4c/source/i18n/unicode/
decimfmt.h 64 class FixedDecimal;
    [all...]
  /external/icu/icu4c/source/test/intltest/
plurults.cpp 647 FixedDecimal ni(numDbl, fractionDigitCount, fractionDigits);
    [all...]
  /prebuilts/go/darwin-x86/src/strconv/
extfloat.go 375 // FixedDecimal stores in d the first n significant digits
378 func (f *extFloat) FixedDecimal(d *decimalSlice, n int) bool {
386 panic("strconv: internal error: extFloat.FixedDecimal called with n == 0")
  /prebuilts/go/linux-x86/src/strconv/
extfloat.go 375 // FixedDecimal stores in d the first n significant digits
378 func (f *extFloat) FixedDecimal(d *decimalSlice, n int) bool {
386 panic("strconv: internal error: extFloat.FixedDecimal called with n == 0")
  /external/icu/android_icu4j/src/main/tests/android/icu/impl/number/
DecimalQuantity_SimpleStorage.java 577 return new PluralRules.FixedDecimal(toDouble()).getPluralOperand(operand);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/impl/number/
DecimalQuantity_SimpleStorage.java 574 return new PluralRules.FixedDecimal(toDouble()).getPluralOperand(operand);

Completed in 1343 milliseconds

1 2