Home
last modified time | relevance | path

Searched refs:DecNum (Results 1 – 25 of 43) sorted by relevance

12

/third_party/node/deps/icu-small/source/i18n/
Dnumber_utils.cpp95 DecNum::DecNum() { in DecNum() function in DecNum
101 DecNum::DecNum(const DecNum& other, UErrorCode& status) in DecNum() function in DecNum
120 void DecNum::setTo(StringPiece str, UErrorCode& status) { in setTo()
127 void DecNum::setTo(const char* str, UErrorCode& status) { in setTo()
131 void DecNum::setTo(double d, UErrorCode& status) { in setTo()
163 void DecNum::_setTo(const char* str, int32_t maxDigits, UErrorCode& status) { in _setTo()
186 DecNum::setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& statu… in setTo()
221 void DecNum::normalize() { in normalize()
225 void DecNum::multiplyBy(const DecNum& rhs, UErrorCode& status) { in multiplyBy()
232 void DecNum::divideBy(const DecNum& rhs, UErrorCode& status) { in divideBy()
[all …]
Dnumber_multiplier.cpp25 Scale::Scale(int32_t magnitude, DecNum* arbitraryToAdopt) in Scale()
44 fArbitrary = new DecNum(*other.fArbitrary, localStatus); in Scale()
53 fArbitrary = new DecNum(*other.fArbitrary, localStatus); in operator =()
94 LocalPointer<DecNum> decnum(new DecNum(), localError); in byDecimal()
107 LocalPointer<DecNum> decnum(new DecNum(), localError); in byDouble()
120 LocalPointer<DecNum> decnum(new DecNum(), localError); in byDoubleAndPowerOfTen()
Dnumber_decnum.h30 class U_I18N_API DecNum : public UMemory {
32 DecNum(); // leaves object in valid but undefined state
35 DecNum(const DecNum& other, UErrorCode& status);
51 void multiplyBy(const DecNum& rhs, UErrorCode& status);
53 void divideBy(const DecNum& rhs, UErrorCode& status);
Dnumber_decimalquantity.h20 class DecNum; variable
122 void multiplyBy(const DecNum& multiplicand, UErrorCode& status);
129 void divideBy(const DecNum& divisor, UErrorCode& status);
217 DecNum& toDecNum(DecNum& output, UErrorCode& status) const;
235 DecimalQuantity &setToDecNum(const DecNum& n, UErrorCode& status);
493 void readDecNumberToBcd(const DecNum& dn);
519 void _setToDecNum(const DecNum& dn, UErrorCode& status);
Dnumber_output.cpp26 impl::DecNum decnum; in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
62 impl::DecNum decnum1; in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
63 impl::DecNum decnum2; in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
Dnumber_decimalquantity.cpp196 DecNum incrementDN; in roundToIncrement()
209 void DecimalQuantity::multiplyBy(const DecNum& multiplicand, UErrorCode& status) { in multiplyBy()
214 DecNum decnum; in multiplyBy()
222 void DecimalQuantity::divideBy(const DecNum& divisor, UErrorCode& status) { in divideBy()
227 DecNum decnum; in divideBy()
410 DecNum decnum; in _setToLong()
522 DecNum decnum; in setToDecNumber()
529 DecimalQuantity& DecimalQuantity::setToDecNum(const DecNum& decnum, UErrorCode& status) { in setToDecNum()
537 void DecimalQuantity::_setToDecNum(const DecNum& decnum, UErrorCode& status) { in _setToDecNum()
642 DecNum& DecimalQuantity::toDecNum(DecNum& output, UErrorCode& status) const { in toDecNum()
[all …]
/third_party/icu/icu4c/source/i18n/
Dnumber_utils.cpp95 DecNum::DecNum() { in DecNum() function in DecNum
101 DecNum::DecNum(const DecNum& other, UErrorCode& status) in DecNum() function in DecNum
120 void DecNum::setTo(StringPiece str, UErrorCode& status) { in setTo()
127 void DecNum::setTo(const char* str, UErrorCode& status) { in setTo()
131 void DecNum::setTo(double d, UErrorCode& status) { in setTo()
163 void DecNum::_setTo(const char* str, int32_t maxDigits, UErrorCode& status) { in _setTo()
192 DecNum::setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& statu… in setTo()
227 void DecNum::normalize() { in normalize()
231 void DecNum::multiplyBy(const DecNum& rhs, UErrorCode& status) { in multiplyBy()
238 void DecNum::divideBy(const DecNum& rhs, UErrorCode& status) { in divideBy()
[all …]
Dnumber_multiplier.cpp25 Scale::Scale(int32_t magnitude, DecNum* arbitraryToAdopt) in Scale()
44 fArbitrary = new DecNum(*other.fArbitrary, localStatus); in Scale()
53 fArbitrary = new DecNum(*other.fArbitrary, localStatus); in operator =()
94 LocalPointer<DecNum> decnum(new DecNum(), localError); in byDecimal()
107 LocalPointer<DecNum> decnum(new DecNum(), localError); in byDouble()
120 LocalPointer<DecNum> decnum(new DecNum(), localError); in byDoubleAndPowerOfTen()
Dnumber_decnum.h30 class U_I18N_API DecNum : public UMemory {
32 DecNum(); // leaves object in valid but undefined state
35 DecNum(const DecNum& other, UErrorCode& status);
51 void multiplyBy(const DecNum& rhs, UErrorCode& status);
53 void divideBy(const DecNum& rhs, UErrorCode& status);
Dnumber_decimalquantity.h20 class DecNum; variable
122 void multiplyBy(const DecNum& multiplicand, UErrorCode& status);
129 void divideBy(const DecNum& divisor, UErrorCode& status);
212 DecNum& toDecNum(DecNum& output, UErrorCode& status) const;
230 DecimalQuantity &setToDecNum(const DecNum& n, UErrorCode& status);
486 void readDecNumberToBcd(const DecNum& dn);
512 void _setToDecNum(const DecNum& dn, UErrorCode& status);
Dnumber_output.cpp26 impl::DecNum decnum; in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
62 impl::DecNum decnum1; in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
63 impl::DecNum decnum2; in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
Dnumber_decimalquantity.cpp196 DecNum incrementDN; in roundToIncrement()
209 void DecimalQuantity::multiplyBy(const DecNum& multiplicand, UErrorCode& status) { in multiplyBy()
214 DecNum decnum; in multiplyBy()
222 void DecimalQuantity::divideBy(const DecNum& divisor, UErrorCode& status) { in divideBy()
227 DecNum decnum; in divideBy()
405 DecNum decnum; in _setToLong()
517 DecNum decnum; in setToDecNumber()
524 DecimalQuantity& DecimalQuantity::setToDecNum(const DecNum& decnum, UErrorCode& status) { in setToDecNum()
532 void DecimalQuantity::_setToDecNum(const DecNum& decnum, UErrorCode& status) { in _setToDecNum()
633 DecNum& DecimalQuantity::toDecNum(DecNum& output, UErrorCode& status) const { in toDecNum()
[all …]
Dnumrange_capi.cpp162 DecNum decnum; in unumrf_resultGetFirstDecimalNumber()
178 DecNum decnum; in unumrf_resultGetSecondDecimalNumber()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_utils.cpp95 DecNum::DecNum() { in DecNum() function in DecNum
101 DecNum::DecNum(const DecNum& other, UErrorCode& status) in DecNum() function in DecNum
120 void DecNum::setTo(StringPiece str, UErrorCode& status) { in setTo()
127 void DecNum::setTo(const char* str, UErrorCode& status) { in setTo()
131 void DecNum::setTo(double d, UErrorCode& status) { in setTo()
163 void DecNum::_setTo(const char* str, int32_t maxDigits, UErrorCode& status) { in _setTo()
192 DecNum::setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& statu… in setTo()
227 void DecNum::normalize() { in normalize()
231 void DecNum::multiplyBy(const DecNum& rhs, UErrorCode& status) { in multiplyBy()
238 void DecNum::divideBy(const DecNum& rhs, UErrorCode& status) { in divideBy()
[all …]
Dnumber_multiplier.cpp25 Scale::Scale(int32_t magnitude, DecNum* arbitraryToAdopt) in Scale()
44 fArbitrary = new DecNum(*other.fArbitrary, localStatus); in Scale()
53 fArbitrary = new DecNum(*other.fArbitrary, localStatus); in operator =()
94 LocalPointer<DecNum> decnum(new DecNum(), localError); in byDecimal()
107 LocalPointer<DecNum> decnum(new DecNum(), localError); in byDouble()
120 LocalPointer<DecNum> decnum(new DecNum(), localError); in byDoubleAndPowerOfTen()
Dnumber_decnum.h30 class U_I18N_API DecNum : public UMemory {
32 DecNum(); // leaves object in valid but undefined state
35 DecNum(const DecNum& other, UErrorCode& status);
51 void multiplyBy(const DecNum& rhs, UErrorCode& status);
53 void divideBy(const DecNum& rhs, UErrorCode& status);
Dnumber_decimalquantity.h20 class DecNum; variable
122 void multiplyBy(const DecNum& multiplicand, UErrorCode& status);
129 void divideBy(const DecNum& divisor, UErrorCode& status);
212 DecNum& toDecNum(DecNum& output, UErrorCode& status) const;
230 DecimalQuantity &setToDecNum(const DecNum& n, UErrorCode& status);
486 void readDecNumberToBcd(const DecNum& dn);
512 void _setToDecNum(const DecNum& dn, UErrorCode& status);
Dnumber_output.cpp26 impl::DecNum decnum; in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
62 impl::DecNum decnum1; in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
63 impl::DecNum decnum2; in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
Dnumber_decimalquantity.cpp196 DecNum incrementDN; in roundToIncrement()
209 void DecimalQuantity::multiplyBy(const DecNum& multiplicand, UErrorCode& status) { in multiplyBy()
214 DecNum decnum; in multiplyBy()
222 void DecimalQuantity::divideBy(const DecNum& divisor, UErrorCode& status) { in divideBy()
227 DecNum decnum; in divideBy()
405 DecNum decnum; in _setToLong()
517 DecNum decnum; in setToDecNumber()
524 DecimalQuantity& DecimalQuantity::setToDecNum(const DecNum& decnum, UErrorCode& status) { in setToDecNum()
532 void DecimalQuantity::_setToDecNum(const DecNum& decnum, UErrorCode& status) { in _setToDecNum()
633 DecNum& DecimalQuantity::toDecNum(DecNum& output, UErrorCode& status) const { in toDecNum()
[all …]
Dnumrange_capi.cpp162 DecNum decnum; in unumrf_resultGetFirstDecimalNumber()
178 DecNum decnum; in unumrf_resultGetSecondDecimalNumber()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_utils.cpp95 DecNum::DecNum() { in DecNum() function in DecNum
101 DecNum::DecNum(const DecNum& other, UErrorCode& status) in DecNum() function in DecNum
120 void DecNum::setTo(StringPiece str, UErrorCode& status) { in setTo()
127 void DecNum::setTo(const char* str, UErrorCode& status) { in setTo()
131 void DecNum::setTo(double d, UErrorCode& status) { in setTo()
163 void DecNum::_setTo(const char* str, int32_t maxDigits, UErrorCode& status) { in _setTo()
192 DecNum::setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& statu… in setTo()
227 void DecNum::normalize() { in normalize()
231 void DecNum::multiplyBy(const DecNum& rhs, UErrorCode& status) { in multiplyBy()
238 void DecNum::divideBy(const DecNum& rhs, UErrorCode& status) { in divideBy()
[all …]
Dnumber_decnum.h29 class U_I18N_API DecNum : public UMemory {
31 DecNum(); // leaves object in valid but undefined state
34 DecNum(const DecNum& other, UErrorCode& status);
50 void multiplyBy(const DecNum& rhs, UErrorCode& status);
52 void divideBy(const DecNum& rhs, UErrorCode& status);
Dnumber_multiplier.cpp25 Scale::Scale(int32_t magnitude, DecNum* arbitraryToAdopt) in Scale()
44 fArbitrary = new DecNum(*other.fArbitrary, localStatus); in Scale()
52 fArbitrary = new DecNum(*other.fArbitrary, localStatus); in operator =()
90 LocalPointer<DecNum> decnum(new DecNum(), localError); in byDecimal()
103 LocalPointer<DecNum> decnum(new DecNum(), localError); in byDouble()
116 LocalPointer<DecNum> decnum(new DecNum(), localError); in byDoubleAndPowerOfTen()
Dnumber_decimalquantity.h20 class DecNum; variable
107 void multiplyBy(const DecNum& multiplicand, UErrorCode& status);
114 void divideBy(const DecNum& divisor, UErrorCode& status);
164 void toDecNum(DecNum& output, UErrorCode& status) const;
176 DecimalQuantity &setToDecNum(const DecNum& n, UErrorCode& status);
437 void readDecNumberToBcd(const DecNum& dn);
463 void _setToDecNum(const DecNum& dn, UErrorCode& status);
Dnumber_decimalquantity.cpp193 void DecimalQuantity::multiplyBy(const DecNum& multiplicand, UErrorCode& status) { in multiplyBy()
198 DecNum decnum; in multiplyBy()
206 void DecimalQuantity::divideBy(const DecNum& divisor, UErrorCode& status) { in divideBy()
211 DecNum decnum; in divideBy()
364 DecNum decnum; in _setToLong()
473 DecNum decnum; in setToDecNumber()
480 DecimalQuantity& DecimalQuantity::setToDecNum(const DecNum& decnum, UErrorCode& status) { in setToDecNum()
488 void DecimalQuantity::_setToDecNum(const DecNum& decnum, UErrorCode& status) { in _setToDecNum()
586 void DecimalQuantity::toDecNum(DecNum& output, UErrorCode& status) const { in toDecNum()
963 void DecimalQuantity::readDecNumberToBcd(const DecNum& decnum) { in readDecNumberToBcd()

12