/external/icu/icu4c/source/i18n/ |
D | number_decimalquantity.cpp | 75 DecimalQuantity::DecimalQuantity() { in DecimalQuantity() function in DecimalQuantity 80 DecimalQuantity::~DecimalQuantity() { in ~DecimalQuantity() 88 DecimalQuantity::DecimalQuantity(const DecimalQuantity &other) { in DecimalQuantity() function in DecimalQuantity 92 DecimalQuantity::DecimalQuantity(DecimalQuantity&& src) U_NOEXCEPT { in DecimalQuantity() function in DecimalQuantity 96 DecimalQuantity &DecimalQuantity::operator=(const DecimalQuantity &other) { in operator =() 105 DecimalQuantity& DecimalQuantity::operator=(DecimalQuantity&& src) U_NOEXCEPT { in operator =() 114 void DecimalQuantity::copyFieldsFrom(const DecimalQuantity& other) { in copyFieldsFrom() 127 void DecimalQuantity::clear() { in clear() 134 void DecimalQuantity::setMinInteger(int32_t minInt) { in setMinInteger() 148 void DecimalQuantity::setMinFraction(int32_t minFrac) { in setMinFraction() [all …]
|
D | number_decimalquantity.h | 33 class U_I18N_API DecimalQuantity : public IFixedDecimal, public UMemory { 36 DecimalQuantity(const DecimalQuantity &other); 39 DecimalQuantity(DecimalQuantity &&src) U_NOEXCEPT; 41 DecimalQuantity(); 43 ~DecimalQuantity() override; 50 DecimalQuantity &operator=(const DecimalQuantity &other); 53 DecimalQuantity &operator=(DecimalQuantity&& src) U_NOEXCEPT; 214 DecimalQuantity &setToInt(int32_t n); 216 DecimalQuantity &setToLong(int64_t n); 218 DecimalQuantity &setToDouble(double n); [all …]
|
D | number_formatimpl.h | 60 void preProcess(DecimalQuantity& inValue, MicroProps& microsOut, UErrorCode& status) const; 76 static int32_t writeNumber(const MicroProps& micros, DecimalQuantity& quantity, 120 MicroProps& preProcessUnsafe(DecimalQuantity &inValue, UErrorCode &status); 149 …writeIntegerDigits(const MicroProps µs, DecimalQuantity &quantity, FormattedStringBuilder &st… 153 …writeFractionDigits(const MicroProps µs, DecimalQuantity &quantity, FormattedStringBuilder &s…
|
/external/icu/libicu/cts_headers/ |
D | number_decimalquantity.h | 33 class U_I18N_API DecimalQuantity : public IFixedDecimal, public UMemory { 36 DecimalQuantity(const DecimalQuantity &other); 39 DecimalQuantity(DecimalQuantity &&src) U_NOEXCEPT; 41 DecimalQuantity(); 43 ~DecimalQuantity() override; 50 DecimalQuantity &operator=(const DecimalQuantity &other); 53 DecimalQuantity &operator=(DecimalQuantity&& src) U_NOEXCEPT; 214 DecimalQuantity &setToInt(int32_t n); 216 DecimalQuantity &setToLong(int64_t n); 218 DecimalQuantity &setToDouble(double n); [all …]
|
D | number_formatimpl.h | 60 void preProcess(DecimalQuantity& inValue, MicroProps& microsOut, UErrorCode& status) const; 76 static int32_t writeNumber(const MicroProps& micros, DecimalQuantity& quantity, 120 MicroProps& preProcessUnsafe(DecimalQuantity &inValue, UErrorCode &status); 149 …writeIntegerDigits(const MicroProps µs, DecimalQuantity &quantity, FormattedStringBuilder &st… 153 …writeFractionDigits(const MicroProps µs, DecimalQuantity &quantity, FormattedStringBuilder &s…
|
D | number_roundingutils.h | 182 chooseMultiplierAndApply(impl::DecimalQuantity &input, const impl::MultiplierProducer &producer, 185 void apply(impl::DecimalQuantity &value, UErrorCode &status) const; 188 void apply(impl::DecimalQuantity &value, int32_t minInt, UErrorCode status);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | LocalizedNumberRangeFormatter.java | 5 import com.ibm.icu.impl.number.DecimalQuantity; 38 DecimalQuantity dq1 = new DecimalQuantity_DualStorageBCD(first); in formatRange() 39 DecimalQuantity dq2 = new DecimalQuantity_DualStorageBCD(second); in formatRange() 56 DecimalQuantity dq1 = new DecimalQuantity_DualStorageBCD(first); in formatRange() 57 DecimalQuantity dq2 = new DecimalQuantity_DualStorageBCD(second); in formatRange() 80 DecimalQuantity dq1 = new DecimalQuantity_DualStorageBCD(first); in formatRange() 81 DecimalQuantity dq2 = new DecimalQuantity_DualStorageBCD(second); in formatRange() 85 …FormattedNumberRange formatImpl(DecimalQuantity first, DecimalQuantity second, boolean equalBefore… in formatImpl()
|
D | Precision.java | 9 import com.ibm.icu.impl.number.DecimalQuantity; 362 public abstract void apply(DecimalQuantity value); in apply() 514 int chooseMultiplierAndApply(DecimalQuantity input, MultiplierProducer producer) { in chooseMultiplierAndApply() 578 public void apply(DecimalQuantity value) { in apply() 609 public void apply(DecimalQuantity value) { in apply() 632 public void apply(DecimalQuantity value) { in apply() 655 public void apply(DecimalQuantity value) { in apply() 668 public void apply(DecimalQuantity quantity, int minInt) { in apply() 695 public void apply(DecimalQuantity value) { in apply() 730 public void apply(DecimalQuantity value) { in apply() [all …]
|
D | FormattedNumberRange.java | 12 import com.ibm.icu.impl.number.DecimalQuantity; 31 final DecimalQuantity quantity1; 32 final DecimalQuantity quantity2; 35 …FormattedNumberRange(FormattedStringBuilder string, DecimalQuantity quantity1, DecimalQuantity qua… in FormattedNumberRange()
|
D | LocalizedNumberFormatter.java | 12 import com.ibm.icu.impl.number.DecimalQuantity; 101 DecimalQuantity fq = new DecimalQuantity_DualStorageBCD(input.getNumber()); in format() 127 private FormattedNumber format(DecimalQuantity fq) { in format() 150 public MicroProps formatImpl(DecimalQuantity fq, FormattedStringBuilder string) { in formatImpl() 164 …public MicroProps formatImpl(DecimalQuantity fq, MeasureUnit unit, FormattedStringBuilder string) { in formatImpl()
|
D | NumberRangeFormatterImpl.java | 14 import com.ibm.icu.impl.number.DecimalQuantity; 154 …public FormattedNumberRange format(DecimalQuantity quantity1, DecimalQuantity quantity2, boolean e… in format() 218 …private void formatSingleValue(DecimalQuantity quantity1, DecimalQuantity quantity2, FormattedStri… in formatSingleValue() 229 …private void formatApproximately(DecimalQuantity quantity1, DecimalQuantity quantity2, FormattedSt… in formatApproximately() 243 …private void formatRange(DecimalQuantity quantity1, DecimalQuantity quantity2, FormattedStringBuil… in formatRange()
|
D | FormattedNumber.java | 11 import com.ibm.icu.impl.number.DecimalQuantity; 28 final DecimalQuantity fq; 31 FormattedNumber(FormattedStringBuilder nsb, DecimalQuantity fq, MeasureUnit outputUnit) { in FormattedNumber()
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | LocalizedNumberRangeFormatter.java | 6 import android.icu.impl.number.DecimalQuantity; 37 DecimalQuantity dq1 = new DecimalQuantity_DualStorageBCD(first); in formatRange() 38 DecimalQuantity dq2 = new DecimalQuantity_DualStorageBCD(second); in formatRange() 54 DecimalQuantity dq1 = new DecimalQuantity_DualStorageBCD(first); in formatRange() 55 DecimalQuantity dq2 = new DecimalQuantity_DualStorageBCD(second); in formatRange() 77 DecimalQuantity dq1 = new DecimalQuantity_DualStorageBCD(first); in formatRange() 78 DecimalQuantity dq2 = new DecimalQuantity_DualStorageBCD(second); in formatRange() 82 …FormattedNumberRange formatImpl(DecimalQuantity first, DecimalQuantity second, boolean equalBefore… in formatImpl()
|
D | Precision.java | 10 import android.icu.impl.number.DecimalQuantity; 350 public abstract void apply(DecimalQuantity value); in apply() 502 int chooseMultiplierAndApply(DecimalQuantity input, MultiplierProducer producer) { in chooseMultiplierAndApply() 567 public void apply(DecimalQuantity value) { in apply() 598 public void apply(DecimalQuantity value) { in apply() 621 public void apply(DecimalQuantity value) { in apply() 644 public void apply(DecimalQuantity value) { in apply() 657 public void apply(DecimalQuantity quantity, int minInt) { in apply() 684 public void apply(DecimalQuantity value) { in apply() 719 public void apply(DecimalQuantity value) { in apply() [all …]
|
D | FormattedNumberRange.java | 13 import android.icu.impl.number.DecimalQuantity; 31 final DecimalQuantity quantity1; 32 final DecimalQuantity quantity2; 35 …FormattedNumberRange(FormattedStringBuilder string, DecimalQuantity quantity1, DecimalQuantity qua… in FormattedNumberRange()
|
D | LocalizedNumberFormatter.java | 13 import android.icu.impl.number.DecimalQuantity; 97 DecimalQuantity fq = new DecimalQuantity_DualStorageBCD(input.getNumber()); in format() 122 private FormattedNumber format(DecimalQuantity fq) { in format() 145 public MicroProps formatImpl(DecimalQuantity fq, FormattedStringBuilder string) { in formatImpl() 159 …public MicroProps formatImpl(DecimalQuantity fq, MeasureUnit unit, FormattedStringBuilder string) { in formatImpl()
|
D | NumberRangeFormatterImpl.java | 15 import android.icu.impl.number.DecimalQuantity; 155 …public FormattedNumberRange format(DecimalQuantity quantity1, DecimalQuantity quantity2, boolean e… in format() 219 …private void formatSingleValue(DecimalQuantity quantity1, DecimalQuantity quantity2, FormattedStri… in formatSingleValue() 230 …private void formatApproximately(DecimalQuantity quantity1, DecimalQuantity quantity2, FormattedSt… in formatApproximately() 244 …private void formatRange(DecimalQuantity quantity1, DecimalQuantity quantity2, FormattedStringBuil… in formatRange()
|
D | FormattedNumber.java | 12 import android.icu.impl.number.DecimalQuantity; 28 final DecimalQuantity fq; 31 FormattedNumber(FormattedStringBuilder nsb, DecimalQuantity fq, MeasureUnit outputUnit) { in FormattedNumber()
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_decimalquantity.cpp | 51 void DecimalQuantityTest::assertHealth(const DecimalQuantity &fq) { in assertHealth() 59 DecimalQuantityTest::assertToStringAndHealth(const DecimalQuantity &fq, const UnicodeString &expect… in assertToStringAndHealth() 66 DecimalQuantity fq; in checkDoubleBehavior() 84 DecimalQuantity fq; in testDecimalQuantityBehaviorStandalone() 113 DecimalQuantity fq; in testSwitchStorage() 144 DecimalQuantity a; in testCopyMove() 146 DecimalQuantity b = a; // copy constructor in testCopyMove() 149 DecimalQuantity c(std::move(a)); // move constructor in testCopyMove() 167 DecimalQuantity a; in testCopyMove() 169 DecimalQuantity b = a; // copy constructor in testCopyMove() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | DecimalQuantityTest.java | 25 import android.icu.impl.number.DecimalQuantity; 133 List<DecimalQuantity> qs = new ArrayList<>(); in testDecimalQuantity() 166 DecimalQuantity q0 = qs.get(0); in testDecimalQuantity() 167 DecimalQuantity q1 = qs.get(i); in testDecimalQuantity() 176 private static void testDecimalQuantityExpectedOutput(DecimalQuantity rq, String expected) { in testDecimalQuantityExpectedOutput() 177 DecimalQuantity q0 = rq.createCopy(); in testDecimalQuantityExpectedOutput() 192 private static void testDecimalQuantityRounding(DecimalQuantity rq0, DecimalQuantity rq1) { in testDecimalQuantityRounding() 193 DecimalQuantity q0 = rq0.createCopy(); in testDecimalQuantityRounding() 194 DecimalQuantity q1 = rq1.createCopy(); in testDecimalQuantityRounding() 212 …private static void testDecimalQuantityRoundingInterval(DecimalQuantity rq0, DecimalQuantity rq1) { in testDecimalQuantityRoundingInterval() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | DecimalQuantityTest.java | 24 import com.ibm.icu.impl.number.DecimalQuantity; 130 List<DecimalQuantity> qs = new ArrayList<>(); in testDecimalQuantity() 163 DecimalQuantity q0 = qs.get(0); in testDecimalQuantity() 164 DecimalQuantity q1 = qs.get(i); in testDecimalQuantity() 173 private static void testDecimalQuantityExpectedOutput(DecimalQuantity rq, String expected) { in testDecimalQuantityExpectedOutput() 174 DecimalQuantity q0 = rq.createCopy(); in testDecimalQuantityExpectedOutput() 189 private static void testDecimalQuantityRounding(DecimalQuantity rq0, DecimalQuantity rq1) { in testDecimalQuantityRounding() 190 DecimalQuantity q0 = rq0.createCopy(); in testDecimalQuantityRounding() 191 DecimalQuantity q1 = rq1.createCopy(); in testDecimalQuantityRounding() 209 …private static void testDecimalQuantityRoundingInterval(DecimalQuantity rq0, DecimalQuantity rq1) { in testDecimalQuantityRoundingInterval() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalQuantity.java | 31 public interface DecimalQuantity extends PluralRules.IFixedDecimal { interface 223 public DecimalQuantity createCopy(); in createCopy() 231 public void copyFrom(DecimalQuantity other); in copyFrom()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalQuantity.java | 29 public interface DecimalQuantity extends PluralRules.IFixedDecimal { interface 221 public DecimalQuantity createCopy(); in createCopy() 229 public void copyFrom(DecimalQuantity other); in copyFrom()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | fmtable.h | 40 class DecimalQuantity; variable 652 number::impl::DecimalQuantity *getDecimalQuantity() const { return fDecimalQuantity;} in getDecimalQuantity() 658 void populateDecimalQuantity(number::impl::DecimalQuantity& output, UErrorCode& status) const; 666 void adoptDecimalQuantity(number::impl::DecimalQuantity *dq); 706 number::impl::DecimalQuantity *fDecimalQuantity;
|
/external/icu/libicu/cts_headers/unicode/ |
D | fmtable.h | 40 class DecimalQuantity; variable 652 number::impl::DecimalQuantity *getDecimalQuantity() const { return fDecimalQuantity;} in getDecimalQuantity() 658 void populateDecimalQuantity(number::impl::DecimalQuantity& output, UErrorCode& status) const; 666 void adoptDecimalQuantity(number::impl::DecimalQuantity *dq); 706 number::impl::DecimalQuantity *fDecimalQuantity;
|