Home
last modified time | relevance | path

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

/external/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()
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_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_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()
Dnumber_skeletons.h254 void generateScaleOption(int32_t magnitude, const DecNum* arbitrary, UnicodeString& sb,
Dnumber_skeletons.cpp1258 LocalPointer<DecNum> decnum(new DecNum(), status); in parseScaleOption()
1271 void blueprint_helpers::generateScaleOption(int32_t magnitude, const DecNum* arbitrary, UnicodeStri… in generateScaleOption()
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h146 class DecNum; variable
1121 Scale(int32_t magnitude, impl::DecNum* arbitraryToAdopt);
1126 impl::DecNum* fArbitrary;
/external/icu/icu4c/source/test/intltest/
Dnumbertest_decimalquantity.cpp374 DecNum dn; in testMaxDigits()