Home
last modified time | relevance | path

Searched refs:CurrencyUnit (Results 1 – 22 of 22) sorted by relevance

/external/icu/icu4c/source/i18n/
Dcurrunit.cpp26 CurrencyUnit::CurrencyUnit(ConstChar16Ptr _isoCode, UErrorCode& ec) { in CurrencyUnit() function in CurrencyUnit
53 CurrencyUnit::CurrencyUnit(const CurrencyUnit& other) : MeasureUnit(other) { in CurrencyUnit() function in CurrencyUnit
57 CurrencyUnit::CurrencyUnit(const MeasureUnit& other, UErrorCode& ec) : MeasureUnit(other) { in CurrencyUnit() function in CurrencyUnit
70 CurrencyUnit::CurrencyUnit() : MeasureUnit() { in CurrencyUnit() function in CurrencyUnit
77 CurrencyUnit& CurrencyUnit::operator=(const CurrencyUnit& other) { in operator =()
86 UObject* CurrencyUnit::clone() const { in clone()
87 return new CurrencyUnit(*this); in clone()
90 CurrencyUnit::~CurrencyUnit() { in ~CurrencyUnit()
93 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CurrencyUnit)
Dnumber_currencysymbols.h24 CurrencySymbols(CurrencyUnit currency, const Locale& locale, UErrorCode& status);
27 … CurrencySymbols(CurrencyUnit currency, const Locale& locale, const DecimalFormatSymbols& symbols,
42 CurrencyUnit fCurrency;
56 CurrencyUnit
Dnumber_currencysymbols.cpp20 CurrencySymbols::CurrencySymbols(CurrencyUnit currency, const Locale& locale, UErrorCode& status) in CurrencySymbols()
26 CurrencySymbols::CurrencySymbols(CurrencyUnit currency, const Locale& locale, in CurrencySymbols()
104 CurrencyUnit
114 return CurrencyUnit(buf, status); in resolveCurrency()
117 return CurrencyUnit(); in resolveCurrency()
Dcurramt.cpp24 Measure(amount, new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount()
29 Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount()
Dnumber_rounding.cpp190 Precision Precision::withCurrency(const CurrencyUnit &currency, UErrorCode &status) const { in withCurrency()
205 Precision CurrencyPrecision::withCurrency(const CurrencyUnit &currency) const { in withCurrency()
275 const CurrencyUnit& currency, UErrorCode& status) in RoundingImpl()
Dnumber_longnames.h20 forCurrencyLongNames(const Locale &loc, const CurrencyUnit &currency, const PluralRules *rules,
Dnumber_roundingutils.h153 const CurrencyUnit& currency, UErrorCode& status);
Dnumber_decimfmtprops.h97 NullableValue<CurrencyUnit> currency;
Dnumber_longnames.cpp108 void getCurrencyLongNameData(const Locale &locale, const CurrencyUnit &currency, UnicodeString *out… in getCurrencyLongNameData()
228 LongNameHandler* LongNameHandler::forCurrencyLongNames(const Locale &loc, const CurrencyUnit &curre… in forCurrencyLongNames()
Dnumber_formatimpl.cpp181 CurrencyUnit currency(nullptr, status); in macrosToMicroGenerator()
183 currency = CurrencyUnit(macros.unit, status); // Restore CurrencyUnit from MeasureUnit in macrosToMicroGenerator()
Dnumber_skeletons.h220 void generateCurrencyOption(const CurrencyUnit& currency, UnicodeString& sb, UErrorCode& status);
Dnumparse_impl.cpp97 CurrencyUnit currency = resolveCurrency(properties, locale, status); in createParserFromProperties()
Dnumber_skeletons.cpp879 CurrencyUnit currency(currencyCode, localStatus); in parseCurrencyOption()
891 blueprint_helpers::generateCurrencyOption(const CurrencyUnit& currency, UnicodeString& sb, UErrorCo… in generateCurrencyOption()
1330 CurrencyUnit currency(macros.unit, status); in unit()
Dnumber_mapper.cpp85 CurrencyUnit currency = resolveCurrency(properties, locale, status); in oldToNew()
Ddecimfmt.cpp1079 CurrencyUnit currencyUnit(theCurrency, ec); in setCurrency()
/external/icu/icu4c/source/i18n/unicode/
Dcurrunit.h37 class U_I18N_API CurrencyUnit: public MeasureUnit {
43 CurrencyUnit();
54 CurrencyUnit(ConstChar16Ptr isoCode, UErrorCode &ec);
60 CurrencyUnit(const CurrencyUnit& other);
70 CurrencyUnit(const MeasureUnit& measureUnit, UErrorCode &ec);
76 CurrencyUnit& operator=(const CurrencyUnit& other);
89 virtual ~CurrencyUnit();
122 inline const char16_t* CurrencyUnit::getISOCurrency() const { in getISOCurrency()
Dcurramt.h112 inline const CurrencyUnit& getCurrency() const;
121 inline const CurrencyUnit& CurrencyAmount::getCurrency() const { in getCurrency()
122 return (const CurrencyUnit&) getUnit(); in getCurrency()
Dnumberformatter.h778 Precision withCurrency(const CurrencyUnit &currency, UErrorCode &status) const;
899 Precision withCurrency(const CurrencyUnit &currency) const;
/external/icu/icu4c/source/test/intltest/
Dnumbertest.h83 CurrencyUnit USD;
84 CurrencyUnit GBP;
85 CurrencyUnit CZK;
86 CurrencyUnit CAD;
87 CurrencyUnit ESP;
88 CurrencyUnit PTE;
266 CurrencyUnit USD;
267 CurrencyUnit GBP;
268 CurrencyUnit PTE;
Duobjtest.cpp380 TESTCLASSID_CTOR(CurrencyUnit, (SMALL_STR, status)); in testIDs()
Dnumfmtst.cpp2101 CurrencyUnit cu(USD, ec); in TestCurrencyUnit()
2107 CurrencyUnit cu2(cu); in TestCurrencyUnit()
2112 CurrencyUnit * cu3 = (CurrencyUnit *)cu.clone(); in TestCurrencyUnit()
2116 CurrencyUnit bad(BAD, ec); in TestCurrencyUnit()
2121 CurrencyUnit bad2(BAD2, ec); in TestCurrencyUnit()
2136 CurrencyUnit def; in TestCurrencyUnit()
2145 CurrencyUnit restored1(sliced1, ec); in TestCurrencyUnit()
2146 CurrencyUnit restored2(sliced2, ec); in TestCurrencyUnit()
2156 CurrencyUnit failure(*meter, ec); in TestCurrencyUnit()
Dmeasfmttest.cpp2010 CurrencyUnit USD_unit(USD, status); in TestCurrencies()