/external/icu/icu4c/source/i18n/ |
D | number_decimalquantity.cpp | 74 DecimalQuantity::DecimalQuantity() { in DecimalQuantity() function in DecimalQuantity 79 DecimalQuantity::~DecimalQuantity() { in ~DecimalQuantity() 87 DecimalQuantity::DecimalQuantity(const DecimalQuantity &other) { in DecimalQuantity() function in DecimalQuantity 91 DecimalQuantity::DecimalQuantity(DecimalQuantity&& src) U_NOEXCEPT { in DecimalQuantity() function in DecimalQuantity 95 DecimalQuantity &DecimalQuantity::operator=(const DecimalQuantity &other) { in operator =() 104 DecimalQuantity& DecimalQuantity::operator=(DecimalQuantity&& src) U_NOEXCEPT { in operator =() 113 void DecimalQuantity::copyFieldsFrom(const DecimalQuantity& other) { in copyFieldsFrom() 127 void DecimalQuantity::clear() { in clear() 136 void DecimalQuantity::setIntegerLength(int32_t minInt, int32_t maxInt) { in setIntegerLength() 153 void DecimalQuantity::setFractionLength(int32_t minFrac, int32_t maxFrac) { in setFractionLength() [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; 166 DecimalQuantity &setToInt(int32_t n); 168 DecimalQuantity &setToLong(int64_t n); 170 DecimalQuantity &setToDouble(double n); [all …]
|
D | number_formatimpl.h | 38 formatStatic(const MacroProps ¯os, DecimalQuantity &inValue, NumberStringBuilder &outString, 54 …int32_t format(DecimalQuantity& inValue, NumberStringBuilder& outString, UErrorCode& status) const; 59 void preProcess(DecimalQuantity& inValue, MicroProps& microsOut, UErrorCode& status) const; 71 static int32_t writeNumber(const MicroProps& micros, DecimalQuantity& quantity, 106 MicroProps& preProcessUnsafe(DecimalQuantity &inValue, UErrorCode &status); 135 …writeIntegerDigits(const MicroProps µs, DecimalQuantity &quantity, NumberStringBuilder &strin… 139 …writeFractionDigits(const MicroProps µs, DecimalQuantity &quantity, NumberStringBuilder &stri…
|
D | number_roundingutils.h | 175 chooseMultiplierAndApply(impl::DecimalQuantity &input, const impl::MultiplierProducer &producer, 178 void apply(impl::DecimalQuantity &value, UErrorCode &status) const; 181 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() 57 DecimalQuantity dq1 = new DecimalQuantity_DualStorageBCD(first); in formatRange() 58 DecimalQuantity dq2 = new DecimalQuantity_DualStorageBCD(second); in formatRange() 81 DecimalQuantity dq1 = new DecimalQuantity_DualStorageBCD(first); in formatRange() 82 DecimalQuantity dq2 = new DecimalQuantity_DualStorageBCD(second); in formatRange() 86 …FormattedNumberRange formatImpl(DecimalQuantity first, DecimalQuantity second, boolean equalBefore… in formatImpl()
|
D | Precision.java | 9 import com.ibm.icu.impl.number.DecimalQuantity; 430 public abstract void apply(DecimalQuantity value); in apply() 564 int chooseMultiplierAndApply(DecimalQuantity input, MultiplierProducer producer) { in chooseMultiplierAndApply() 610 public void apply(DecimalQuantity value) { in apply() 626 public void apply(DecimalQuantity value) { in apply() 643 public void apply(DecimalQuantity value) { in apply() 657 public void apply(DecimalQuantity quantity, int minInt) { in apply() 677 public void apply(DecimalQuantity value) { in apply() 702 public void apply(DecimalQuantity value) { in apply() 716 public void apply(DecimalQuantity value) { in apply() [all …]
|
D | FormattedNumberRange.java | 11 import com.ibm.icu.impl.number.DecimalQuantity; 27 final DecimalQuantity quantity1; 28 final DecimalQuantity quantity2; 31 …FormattedNumberRange(NumberStringBuilder string, DecimalQuantity quantity1, DecimalQuantity quanti… in FormattedNumberRange()
|
D | NumberRangeFormatterImpl.java | 11 import com.ibm.icu.impl.number.DecimalQuantity; 132 …public FormattedNumberRange format(DecimalQuantity quantity1, DecimalQuantity quantity2, boolean e… in format() 196 …private void formatSingleValue(DecimalQuantity quantity1, DecimalQuantity quantity2, NumberStringB… in formatSingleValue() 207 …private void formatApproximately(DecimalQuantity quantity1, DecimalQuantity quantity2, NumberStrin… in formatApproximately() 221 …private void formatRange(DecimalQuantity quantity1, DecimalQuantity quantity2, NumberStringBuilder… in formatRange()
|
D | FormattedNumber.java | 11 import com.ibm.icu.impl.number.DecimalQuantity; 26 final DecimalQuantity fq; 28 FormattedNumber(NumberStringBuilder nsb, DecimalQuantity fq) { in FormattedNumber()
|
D | Scale.java | 9 import com.ibm.icu.impl.number.DecimalQuantity; 184 public void applyTo(DecimalQuantity quantity) { in applyTo() 196 public void applyReciprocalTo(DecimalQuantity quantity) { in applyReciprocalTo()
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | LocalizedNumberRangeFormatter.java | 6 import android.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() 79 DecimalQuantity dq1 = new DecimalQuantity_DualStorageBCD(first); in formatRange() 80 DecimalQuantity dq2 = new DecimalQuantity_DualStorageBCD(second); in formatRange() 84 …FormattedNumberRange formatImpl(DecimalQuantity first, DecimalQuantity second, boolean equalBefore… in formatImpl()
|
D | Precision.java | 10 import android.icu.impl.number.DecimalQuantity; 418 public abstract void apply(DecimalQuantity value); in apply() 552 int chooseMultiplierAndApply(DecimalQuantity input, MultiplierProducer producer) { in chooseMultiplierAndApply() 598 public void apply(DecimalQuantity value) { in apply() 614 public void apply(DecimalQuantity value) { in apply() 631 public void apply(DecimalQuantity value) { in apply() 645 public void apply(DecimalQuantity quantity, int minInt) { in apply() 665 public void apply(DecimalQuantity value) { in apply() 690 public void apply(DecimalQuantity value) { in apply() 704 public void apply(DecimalQuantity value) { in apply() [all …]
|
D | FormattedNumberRange.java | 12 import android.icu.impl.number.DecimalQuantity; 28 final DecimalQuantity quantity1; 29 final DecimalQuantity quantity2; 32 …FormattedNumberRange(NumberStringBuilder string, DecimalQuantity quantity1, DecimalQuantity quanti… in FormattedNumberRange()
|
D | NumberRangeFormatterImpl.java | 12 import android.icu.impl.number.DecimalQuantity; 133 …public FormattedNumberRange format(DecimalQuantity quantity1, DecimalQuantity quantity2, boolean e… in format() 197 …private void formatSingleValue(DecimalQuantity quantity1, DecimalQuantity quantity2, NumberStringB… in formatSingleValue() 208 …private void formatApproximately(DecimalQuantity quantity1, DecimalQuantity quantity2, NumberStrin… in formatApproximately() 222 …private void formatRange(DecimalQuantity quantity1, DecimalQuantity quantity2, NumberStringBuilder… in formatRange()
|
D | FormattedNumber.java | 12 import android.icu.impl.number.DecimalQuantity; 27 final DecimalQuantity fq; 29 FormattedNumber(NumberStringBuilder nsb, DecimalQuantity fq) { in FormattedNumber()
|
D | NumberFormatterImpl.java | 11 import android.icu.impl.number.DecimalQuantity; 55 DecimalQuantity inValue, in formatStatic() 89 public int format(DecimalQuantity inValue, NumberStringBuilder outString) { in format() 99 public MicroProps preProcess(DecimalQuantity inValue) { in preProcess() 110 private static MicroProps preProcessUnsafe(MacroProps macros, DecimalQuantity inValue) { in preProcessUnsafe() 409 DecimalQuantity quantity, in writeNumber() 441 DecimalQuantity quantity, in writeIntegerDigits() 472 DecimalQuantity quantity, in writeFractionDigits()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | DecimalQuantityTest.java | 24 import android.icu.impl.number.DecimalQuantity; 126 List<DecimalQuantity> qs = new ArrayList<DecimalQuantity>(); in testDecimalQuantity() 159 DecimalQuantity q0 = qs.get(0); in testDecimalQuantity() 160 DecimalQuantity q1 = qs.get(i); in testDecimalQuantity() 169 private static void testDecimalQuantityExpectedOutput(DecimalQuantity rq, String expected) { in testDecimalQuantityExpectedOutput() 170 DecimalQuantity q0 = rq.createCopy(); in testDecimalQuantityExpectedOutput() 185 private static void testDecimalQuantityRounding(DecimalQuantity rq0, DecimalQuantity rq1) { in testDecimalQuantityRounding() 186 DecimalQuantity q0 = rq0.createCopy(); in testDecimalQuantityRounding() 187 DecimalQuantity q1 = rq1.createCopy(); in testDecimalQuantityRounding() 205 …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 | 23 import com.ibm.icu.impl.number.DecimalQuantity; 123 List<DecimalQuantity> qs = new ArrayList<DecimalQuantity>(); in testDecimalQuantity() 156 DecimalQuantity q0 = qs.get(0); in testDecimalQuantity() 157 DecimalQuantity q1 = qs.get(i); in testDecimalQuantity() 166 private static void testDecimalQuantityExpectedOutput(DecimalQuantity rq, String expected) { in testDecimalQuantityExpectedOutput() 167 DecimalQuantity q0 = rq.createCopy(); in testDecimalQuantityExpectedOutput() 182 private static void testDecimalQuantityRounding(DecimalQuantity rq0, DecimalQuantity rq1) { in testDecimalQuantityRounding() 183 DecimalQuantity q0 = rq0.createCopy(); in testDecimalQuantityRounding() 184 DecimalQuantity q1 = rq1.createCopy(); in testDecimalQuantityRounding() 202 …private static void testDecimalQuantityRoundingInterval(DecimalQuantity rq0, DecimalQuantity rq1) { in testDecimalQuantityRoundingInterval() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_decimalquantity.cpp | 45 void DecimalQuantityTest::assertHealth(const DecimalQuantity &fq) { in assertHealth() 53 DecimalQuantityTest::assertToStringAndHealth(const DecimalQuantity &fq, const UnicodeString &expect… in assertToStringAndHealth() 60 DecimalQuantity fq; in checkDoubleBehavior() 78 DecimalQuantity fq; in testDecimalQuantityBehaviorStandalone() 104 DecimalQuantity fq; in testSwitchStorage() 126 DecimalQuantity a; in testCopyMove() 128 DecimalQuantity b = a; // copy constructor in testCopyMove() 131 DecimalQuantity c(std::move(a)); // move constructor in testCopyMove() 149 DecimalQuantity a; in testCopyMove() 151 DecimalQuantity b = a; // copy constructor in testCopyMove() [all …]
|
D | numfmtdatadriventest.cpp | 14 using icu::number::impl::DecimalQuantity; 26 static DecimalQuantity& 27 strToDigitList(const UnicodeString& str, DecimalQuantity& digitList, UErrorCode& status) { in strToDigitList() 50 format(const DecimalFormat& fmt, const DecimalQuantity& digitList, UnicodeString& appendTo, in format() 241 DecimalQuantity digitList; in isFormatPass() 257 DecimalQuantity doubleCheck; in isFormatPass() 378 DecimalQuantity expectedQuantity; in isParsePass() 431 DecimalQuantity expectedQuantity; in isParseCurrencyPass()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalQuantity.java | 30 public interface DecimalQuantity extends PluralRules.IFixedDecimal { interface 183 public DecimalQuantity createCopy(); in createCopy() 191 public void copyFrom(DecimalQuantity other); in copyFrom()
|
D | MutablePatternModifier.java | 236 public MicroProps processQuantity(DecimalQuantity quantity) { in processQuantity() 242 public void applyToMicros(MicroProps micros, DecimalQuantity quantity) { in applyToMicros() 247 DecimalQuantity copy = quantity.createCopy(); in applyToMicros() 273 public MicroProps processQuantity(DecimalQuantity fq) { in processQuantity() 277 DecimalQuantity copy = fq.createCopy(); in processQuantity()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalQuantity.java | 28 public interface DecimalQuantity extends PluralRules.IFixedDecimal { interface 181 public DecimalQuantity createCopy(); in createCopy() 189 public void copyFrom(DecimalQuantity other); in copyFrom()
|
D | MutablePatternModifier.java | 231 public MicroProps processQuantity(DecimalQuantity quantity) { in processQuantity() 237 public void applyToMicros(MicroProps micros, DecimalQuantity quantity) { in applyToMicros() 242 DecimalQuantity copy = quantity.createCopy(); in applyToMicros() 268 public MicroProps processQuantity(DecimalQuantity fq) { in processQuantity() 272 DecimalQuantity copy = fq.createCopy(); in processQuantity()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | fmtable.h | 38 class DecimalQuantity; variable 650 number::impl::DecimalQuantity *getDecimalQuantity() const { return fDecimalQuantity;} in getDecimalQuantity() 656 void populateDecimalQuantity(number::impl::DecimalQuantity& output, UErrorCode& status) const; 664 void adoptDecimalQuantity(number::impl::DecimalQuantity *dq); 704 number::impl::DecimalQuantity *fDecimalQuantity;
|