Home
last modified time | relevance | path

Searched refs:DecimalQuantity (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/third_party/node/deps/icu-small/source/i18n/
Dnumber_decimalquantity.cpp75 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 …]
Dnumber_decimalquantity.h33 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;
219 DecimalQuantity &setToInt(int32_t n);
221 DecimalQuantity &setToLong(int64_t n);
223 DecimalQuantity &setToDouble(double n);
[all …]
Dnumber_formatimpl.h66 void preProcess(DecimalQuantity& inValue, MicroProps& microsOut, UErrorCode& status) const;
82 static int32_t writeNumber(const MicroProps& micros, DecimalQuantity& quantity,
120 MicroProps& preProcessUnsafe(DecimalQuantity &inValue, UErrorCode &status);
149 …writeIntegerDigits(const MicroProps &micros, DecimalQuantity &quantity, FormattedStringBuilder &st…
153 …writeFractionDigits(const MicroProps &micros, DecimalQuantity &quantity, FormattedStringBuilder &s…
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_decimalquantity.cpp74 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 …]
Dnumber_decimalquantity.h33 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 …]
Dnumber_formatimpl.h38 formatStatic(const MacroProps &macros, 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 &micros, DecimalQuantity &quantity, NumberStringBuilder &strin…
139 …writeFractionDigits(const MicroProps &micros, DecimalQuantity &quantity, NumberStringBuilder &stri…
/third_party/icu/icu4c/source/i18n/
Dnumber_decimalquantity.cpp75 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 …]
Dnumber_decimalquantity.h33 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 …]
Dnumber_formatimpl.h60 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 &micros, DecimalQuantity &quantity, FormattedStringBuilder &st…
153 …writeFractionDigits(const MicroProps &micros, DecimalQuantity &quantity, FormattedStringBuilder &s…
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_decimalquantity.cpp75 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 …]
Dnumber_decimalquantity.h33 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 …]
Dnumber_formatimpl.h60 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 &micros, DecimalQuantity &quantity, FormattedStringBuilder &st…
153 …writeFractionDigits(const MicroProps &micros, DecimalQuantity &quantity, FormattedStringBuilder &s…
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DLocalizedNumberRangeFormatter.java5 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()
DPrecision.java9 import com.ibm.icu.impl.number.DecimalQuantity;
379 public abstract void apply(DecimalQuantity value); in apply()
533 int chooseMultiplierAndApply(DecimalQuantity input, MultiplierProducer producer) { in chooseMultiplierAndApply()
597 public void apply(DecimalQuantity value) { in apply()
628 public void apply(DecimalQuantity value) { in apply()
651 public void apply(DecimalQuantity value) { in apply()
674 public void apply(DecimalQuantity value) { in apply()
687 public void apply(DecimalQuantity quantity, int minInt) { in apply()
716 public void apply(DecimalQuantity value) { in apply()
752 public void apply(DecimalQuantity value) { in apply()
[all …]
DFormattedNumberRange.java12 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()
DLocalizedNumberFormatter.java12 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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
DLocalizedNumberRangeFormatter.java6 import ohos.global.icu.impl.number.DecimalQuantity;
38 DecimalQuantity dq1 = new DecimalQuantity_DualStorageBCD(first); in formatRange()
39 DecimalQuantity dq2 = new DecimalQuantity_DualStorageBCD(second); in formatRange()
55 DecimalQuantity dq1 = new DecimalQuantity_DualStorageBCD(first); in formatRange()
56 DecimalQuantity dq2 = new DecimalQuantity_DualStorageBCD(second); in formatRange()
78 DecimalQuantity dq1 = new DecimalQuantity_DualStorageBCD(first); in formatRange()
79 DecimalQuantity dq2 = new DecimalQuantity_DualStorageBCD(second); in formatRange()
83 …FormattedNumberRange formatImpl(DecimalQuantity first, DecimalQuantity second, boolean equalBefore… in formatImpl()
DPrecision.java10 import ohos.global.icu.impl.number.DecimalQuantity;
351 public abstract void apply(DecimalQuantity value); in apply()
496 int chooseMultiplierAndApply(DecimalQuantity input, MultiplierProducer producer) { in chooseMultiplierAndApply()
542 public void apply(DecimalQuantity value) { in apply()
565 public void apply(DecimalQuantity value) { in apply()
588 public void apply(DecimalQuantity value) { in apply()
601 public void apply(DecimalQuantity quantity, int minInt) { in apply()
628 public void apply(DecimalQuantity value) { in apply()
663 public void apply(DecimalQuantity value) { in apply()
692 public void apply(DecimalQuantity value) { in apply()
[all …]
DFormattedNumberRange.java13 import ohos.global.icu.impl.number.DecimalQuantity;
31 final DecimalQuantity quantity1;
32 final DecimalQuantity quantity2;
35 …FormattedNumberRange(FormattedStringBuilder string, DecimalQuantity quantity1, DecimalQuantity qua… in FormattedNumberRange()
DLocalizedNumberFormatter.java13 import ohos.global.icu.impl.number.DecimalQuantity;
96 DecimalQuantity fq = new DecimalQuantity_DualStorageBCD(input.getNumber()); in format()
119 private FormattedNumber format(DecimalQuantity fq) { in format()
142 public void formatImpl(DecimalQuantity fq, FormattedStringBuilder string) { in formatImpl()
157 public void formatImpl(DecimalQuantity fq, MeasureUnit unit, FormattedStringBuilder string) { in formatImpl()
DNumberRangeFormatterImpl.java15 import ohos.global.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()
/third_party/icu/icu4c/source/test/intltest/
Dnumbertest_decimalquantity.cpp52 void DecimalQuantityTest::assertHealth(const DecimalQuantity &fq) { in assertHealth()
60 DecimalQuantityTest::assertToStringAndHealth(const DecimalQuantity &fq, const UnicodeString &expect… in assertToStringAndHealth()
67 DecimalQuantity fq; in checkDoubleBehavior()
85 DecimalQuantity fq; in testDecimalQuantityBehaviorStandalone()
114 DecimalQuantity fq; in testSwitchStorage()
145 DecimalQuantity a; in testCopyMove()
147 DecimalQuantity b = a; // copy constructor in testCopyMove()
150 DecimalQuantity c(std::move(a)); // move constructor in testCopyMove()
168 DecimalQuantity a; in testCopyMove()
170 DecimalQuantity b = a; // copy constructor in testCopyMove()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
DDecimalQuantityTest.java25 import ohos.global.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 …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DDecimalQuantityTest.java24 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 …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dfmtable.h38 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;

12345678910>>...12