Home
last modified time | relevance | path

Searched refs:currencySymbols (Results 1 – 15 of 15) sorted by relevance

/external/icu/icu4c/source/i18n/
Dnumparse_currency.cpp23 CombinedCurrencyMatcher::CombinedCurrencyMatcher(const CurrencySymbols& currencySymbols, const Deci… in CombinedCurrencyMatcher() argument
25 : fCurrency1(currencySymbols.getCurrencySymbol(status)), in CombinedCurrencyMatcher()
26 fCurrency2(currencySymbols.getIntlCurrencySymbol(status)), in CombinedCurrencyMatcher()
31 utils::copyCurrencyCode(fCurrencyCode, currencySymbols.getIsoCode()); in CombinedCurrencyMatcher()
38 fLocalLongNames[i] = currencySymbols.getPluralName(plural, status); in CombinedCurrencyMatcher()
Dnumparse_impl.cpp48 CurrencySymbols currencySymbols({u"ICU", status}, locale, dfs, status); in createSimpleParser() local
55 currencySymbols, symbols, ignorables, locale, parseFlags}; in createSimpleParser()
74 …parser->addMatcher(parser->fLocalMatchers.currency = {currencySymbols, symbols, parseFlags, status… in createSimpleParser()
98 CurrencySymbols currencySymbols(currency, locale, symbols, status); in createParserFromProperties() local
142 currencySymbols, symbols, ignorables, locale, parseFlags}; in createParserFromProperties()
153 …parser->addMatcher(parser->fLocalMatchers.currency = {currencySymbols, symbols, parseFlags, status… in createParserFromProperties()
Dnumber_formatimpl.cpp185 const CurrencySymbols* currencySymbols; in macrosToMicroGenerator() local
186 if (macros.currencySymbols != nullptr) { in macrosToMicroGenerator()
188 currencySymbols = macros.currencySymbols; in macrosToMicroGenerator()
191 currencySymbols = &fWarehouse.fCurrencySymbols; in macrosToMicroGenerator()
352 currencySymbols, in macrosToMicroGenerator()
356 patternModifier->setSymbols(fMicros.symbols, currencySymbols, unitWidth, nullptr); in macrosToMicroGenerator()
Dnumparse_currency.h37 CombinedCurrencyMatcher(const CurrencySymbols& currencySymbols, const DecimalFormatSymbols& dfs,
Dnumber_mapper.cpp91 warehouse.currencySymbols = {currency, locale, symbols, status}; in oldToNew()
92 macros.currencySymbols = &warehouse.currencySymbols; in oldToNew()
Dnumber_patternmodifier.cpp36 const CurrencySymbols* currencySymbols, in setSymbols() argument
40 fCurrencySymbols = currencySymbols; in setSymbols()
Dnumber_patternmodifier.h126 void setSymbols(const DecimalFormatSymbols* symbols, const CurrencySymbols* currencySymbols,
Dnumber_mapper.h119 CurrencySymbols currencySymbols; member
Dnumparse_affixes.h95 const CurrencySymbols& currencySymbols; member
Dnumparse_affixes.cpp193 … return fCurrency = {fSetupData->currencySymbols, fSetupData->dfs, fSetupData->parseFlags, status}; in currency()
Dnumber_skeletons.cpp812 if (macros.currencySymbols != nullptr) { in generateSkeleton()
/external/icu/icu4c/source/common/
Ducurr.cpp978 CurrencyNameStruct** currencySymbols, in collectCurrencyNames() argument
997 *currencySymbols = (CurrencyNameStruct*)uprv_malloc in collectCurrencyNames()
1000 if(currencyNames == NULL || currencySymbols == NULL) { in collectCurrencyNames()
1041 (*currencySymbols)[*total_currency_symbol_count].IsoCode = iso; in collectCurrencyNames()
1042 (*currencySymbols)[*total_currency_symbol_count].currencyName = (UChar*)s; in collectCurrencyNames()
1043 (*currencySymbols)[*total_currency_symbol_count].flag = 0; in collectCurrencyNames()
1044 (*currencySymbols)[(*total_currency_symbol_count)++].currencyNameLen = len; in collectCurrencyNames()
1051 (*currencySymbols)[*total_currency_symbol_count].IsoCode = iso; in collectCurrencyNames()
1052 (*currencySymbols)[*total_currency_symbol_count].currencyName = in collectCurrencyNames()
1054 (*currencySymbols)[*total_currency_symbol_count].flag = 0; in collectCurrencyNames()
[all …]
/external/icu/icu4c/source/test/intltest/
Dnumbertest_patternmodifier.cpp32 CurrencySymbols currencySymbols({u"USD", status}, "en", status); in testBasic() local
36 mod.setSymbols(&symbols, &currencySymbols, UNUM_UNIT_WIDTH_SHORT, nullptr); in testBasic()
94 CurrencySymbols currencySymbols({u"USD", status}, "en", status); in testPatternWithNoPlaceholder() local
98 mod.setSymbols(&symbols, &currencySymbols, UNUM_UNIT_WIDTH_SHORT, nullptr); in testPatternWithNoPlaceholder()
137 CurrencySymbols currencySymbols({u"USD", status}, "en", status); in testMutableEqualsImmutable() local
140 mod.setSymbols(&symbols, &currencySymbols, UNUM_UNIT_WIDTH_SHORT, nullptr); in testMutableEqualsImmutable()
Dnumbertest_parse.cpp250 CurrencySymbols currencySymbols({u"ICU", status}, locale, dfs, status); in testCombinedCurrencyMatcher() local
253 currencySymbols, {"en", status}, ignorables, "en", 0}; in testCombinedCurrencyMatcher()
313 CurrencySymbols currencySymbols({u"ICU", status}, locale, dfs, status); in testAffixPatternMatcher() local
316 currencySymbols, {"en", status}, ignorables, "en", 0}; in testAffixPatternMatcher()
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h1459 const CurrencySymbols* currencySymbols = nullptr; // no ownership member