Home
last modified time | relevance | path

Searched refs:currencies (Results 1 – 25 of 55) sorted by relevance

123

/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DCurrencyNameTest.java32 Set<Currency> currencies = null;
36 currencies = (Set<Currency>)mGetAvailableCurrencies.invoke(null, (Object[]) null);
41 if (currencies == null) {
43 currencies = new HashSet<Currency>();
51 currencies.add(currency);
59 AVAILABLE_CURRENCIES = Collections.unmodifiableSet(currencies);
/external/cldr/tools/java/org/unicode/cldr/tool/
Dmodify_config.txt130 locale=ia; action=add; new_path=//ldml/numbers/currencies/currency[@type="ALL"]/displayName[@count=…
131 locale=ia; action=add; new_path=//ldml/numbers/currencies/currency[@type="ANG"]/displayName[@count=…
132 locale=ia; action=add; new_path=//ldml/numbers/currencies/currency[@type="AOA"]/displayName[@count=…
133 locale=ia; action=add; new_path=//ldml/numbers/currencies/currency[@type="ARS"]/displayName[@count=…
134 locale=ia; action=add; new_path=//ldml/numbers/currencies/currency[@type="AUD"]/displayName[@count=…
135 locale=ia; action=add; new_path=//ldml/numbers/currencies/currency[@type="AWG"]/displayName[@count=…
136 locale=ia; action=add; new_path=//ldml/numbers/currencies/currency[@type="BAM"]/displayName[@count=…
137 locale=ia; action=add; new_path=//ldml/numbers/currencies/currency[@type="BBD"]/displayName[@count=…
138 locale=ia; action=add; new_path=//ldml/numbers/currencies/currency[@type="BGN"]/displayName[@count=…
139 locale=ia; action=add; new_path=//ldml/numbers/currencies/currency[@type="BIF"]/displayName[@count=…
[all …]
DdataModifiers.txt22 xpath ; //ldml/numbers/currencies/currency[@type="UAH"]/symbol[@alt="variant"] ; //ldml/numbers/cur…
31 # value ; ₹ ; Rs. ; xpath=//ldml/numbers/currencies/currency[@type="INR"]/symbol
DxmbSkip.txt39 ^//ldml/numbers/currencies/currency\[@type="([^"]*)"]/symbol ; VALUE
42 ^//ldml/numbers/currencies/currency\[@type="([^"]*)"]/displayName\[@count="([^"]*)"] ; SKIP
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCurrency.java218 List<String> list = info.currencies(CurrencyFilter.all()); in getAvailableCurrencies()
264 List<String> list = info.currencies(CurrencyFilter.onRegion(region)); in loadCurrency()
948 new HashSet<>(info.currencies(CurrencyFilter.all()))); in getAllCurrenciesAsSet()
991 List<String> allActive = info.currencies( in isAvailable()
1003 return info.currencies(filter.withTender()); in getTenderCurrencies()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCurrency.java231 List<String> list = info.currencies(CurrencyFilter.all()); in getAvailableCurrencies()
277 List<String> list = info.currencies(CurrencyFilter.onRegion(region)); in loadCurrency()
982 new HashSet<>(info.currencies(CurrencyFilter.all()))); in getAllCurrenciesAsSet()
1027 List<String> allActive = info.currencies( in isAvailable()
1039 return info.currencies(filter.withTender()); in getTenderCurrencies()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckForExemplars.java587 Set<String> currencies = getCurrenciesForScript(script); in asciiNotAllowed() local
588 return currencies != null && currencies.contains(currency); in asciiNotAllowed()
612 Set<String> currencies = new HashSet<String>(); in getCurrenciesForScript() local
617 currencies.add(info.getCurrency()); in getCurrenciesForScript()
621 scriptToCurrencies.putAll(curScript, currencies); in getCurrenciesForScript()
DCLDRTest.java784 Set<String> currencies = new TreeSet<String>(); in TestMinimalLocalization() local
792 currencies.addAll(countryCurrencies); in TestMinimalLocalization()
795 checkForItems(item, currencies, CLDRFile.CURRENCY_NAME, missing, failureCount, null); in TestMinimalLocalization()
796 … checkForItems(item, currencies, CLDRFile.CURRENCY_SYMBOL, missing, failureCount, exemplars); in TestMinimalLocalization()
1006 Set<String> currencies = new TreeSet<String>(); in TestSupplementalData() local
1008 currencies.addAll(it.next()); in TestSupplementalData()
1018 if (!legalCurrencies.containsAll(currencies)) { in TestSupplementalData()
1019 TreeSet<String> extras = new TreeSet<String>(currencies); in TestSupplementalData()
1024 if (!currencies.containsAll(legalCurrencies)) { in TestSupplementalData()
1026 extras.removeAll(currencies); in TestSupplementalData()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestExamples.txt25 //ldml/numbers/currencies/currency[@type="%A"]/displayName[@count="%A"] ; example
26 //ldml/numbers/currencies/currency[@type="%A"]/symbol ; example
DTestCoverageLevel.txt21 ^//ldml/numbers/currencies/currency\[@type=".*"]/symbol\[@alt=".*"] ; 40
/external/icu/icu4c/source/test/cintltst/
Dcldrtest.c1390 …UResourceBundle *currencies = ures_openDirect(loadTestData(&errorCode), "structLocale", &errorCode… in TestCurrencyList() local
1395 currencies = ures_getByKey(currencies, "Currencies", currencies, &errorCode); in TestCurrencyList()
1397 structLocaleCount = ures_getSize(currencies); in TestCurrencyList()
1401 ures_resetIterator(currencies); in TestCurrencyList()
1402 while ((isoCode = uenum_next(en, NULL, &errorCode)) != NULL && ures_hasNext(currencies)) { in TestCurrencyList()
1403 subBundle = ures_getNextResource(currencies, NULL, &errorCode); in TestCurrencyList()
1413 ures_close(currencies); in TestCurrencyList()
Dcnmdptst.c809 static const char * const currencies[] = { in TestCurrencyKeywords() local
858 for(j = 0; j < UPRV_LENGTHOF(currencies); j++) { in TestCurrencyKeywords()
861 strcat(locale, currencies[j]); in TestCurrencyKeywords()
863 u_charsToUChars(currencies[j], currBuffer, 3); in TestCurrencyKeywords()
/external/cldr/tools/java/org/unicode/cldr/json/
DJSON_config.txt32 section=currencies ; path=//cldr/main/[^/]++/numbers/currencies/.* ; package=numbers
/external/cldr/tools/java/org/unicode/cldr/util/data/
DprettyPath.txt153 '/numbers/currencies/currency[@type="' ($avalue) '"]/displayName[@type="' ($avalue) '"]' > '0-names…
154 '/numbers/currencies/currency[@type="' ($avalue) '"]/displayName' > '0-names|currency|' $1 ':name';
155 '/numbers/currencies/currency[@type="' ($avalue) '"]/' ($element) '[@type="' ($avalue) '"]' > '0-na…
156 '/numbers/currencies/currency[@type="' ($avalue) '"]/' ($element) > '0-names|currency|' $1 ':' $2;
DPathHeader.txt139 …matting Patterns ; Currency Unit Patterns &numberingSystem($1) ; &count(currencies-$2) ; LTR_ALWAYS
154 //ldml/numbers/currencies/currency[@type="%A"]/displayName$ ; Currencies ; &contine…
155 //ldml/numbers/currencies/currency[@type="%A"]/displayName[@count="%A"] ; Currencies ; &contine…
156 //ldml/numbers/currencies/currency[@type="%A"]/symbol$ ; Currencies ; &contine…
157 //ldml/numbers/currencies/currency[@type="%A"]/symbol[@alt="narrow"] ; Currencies ; &contine…
158 //ldml/numbers/currencies/currency[@type="%A"]/symbol[@alt="variant"] ; Currencies ; &contin…
160 //ldml/numbers/currencies/currency[@type="%A"]/decimal ; Currencies ; &continentFromCurrency($1)…
161 //ldml/numbers/currencies/currency[@type="%A"]/group ; Currencies ; &continentFromCurrency($1) ;…
162 //ldml/numbers/currencies/currency[@type="%A"]/pattern[@type="%A"] ; Currencies ; &continentFromCur…
293 …[@count="%A"] ; Special ; Deprecated ; latn ; currencies-count=$1 ; HIDE
DtestLdml2Icu.txt53 #//ldml/numbers/currencies/currency[@type="%A"]/symbol[@alt="variant"] ; unconverted
/external/cldr/tools/java/org/unicode/cldr/icu/
Dldml2icu_locale.txt199 //ldml/numbers/currencies/currency[@type="(%A)"]/displayName[@count="(%A)"] ; /CurrencyPlurals/$1/$2
201 //ldml/numbers/currencies/currency[@type="(%W)"]/symbol[@alt="(%A)"] ; /Currencies%$2/$1
202 //ldml/numbers/currencies/currency[@type="(%W)"]/pattern[@type="standard"]; /Currencies/$1/ ; fallb…
203 //ldml/numbers/currencies/currency[@type="(%W)"]/decimal ; /Currencies/$1/ ; fallback=//ldml/number…
204 //ldml/numbers/currencies/currency[@type="(%W)"]/group ; /Currencies/$1/ ; fallback=//ldml/numbers/…
205 //ldml/numbers/currencies/currency[@type="(%W)"]/symbol ; /Currencies/$1 ; fallback=$1
206 //ldml/numbers/currencies/currency[@type="(%W)"]/displayName ; /Currencies/$1 ; fallback=$1
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DPropertiesTest.java242 Object[] currencies = Currency.getAvailableCurrencies().toArray(); in getSampleValueForType()
243 return currencies[seed % currencies.length]; in getSampleValueForType()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DPropertiesTest.java239 Object[] currencies = Currency.getAvailableCurrencies().toArray(); in getSampleValueForType()
240 return currencies[seed % currencies.length]; in getSampleValueForType()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCurrencyTest.java516 List<String> currencies = metainfo.currencies(filter); in TestWithTender() local
517 assertTrue("More than one currency for switzerland", currencies.size() > 1); in TestWithTender()
521 metainfo.currencies(filter.withTender())); in TestWithTender()
888 assertEquals("Empty list expected", 0, tcurrMetaInfo.currencies(usFilter).size()); in TestCurrMetaInfoBaseClass()
DDisplayNameTest.java70 String[] currencies = addUnknown(getCodes(new ULocale("en","",""), "Currencies"),3); field in DisplayNameTest
125 check("Currencies", locale, currencies, currencyFormats, new DisplayNameGetter() { in checkLocale()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DCurrencyTest.java519 List<String> currencies = metainfo.currencies(filter); in TestWithTender() local
520 assertTrue("More than one currency for switzerland", currencies.size() > 1); in TestWithTender()
524 metainfo.currencies(filter.withTender())); in TestWithTender()
891 assertEquals("Empty list expected", 0, tcurrMetaInfo.currencies(usFilter).size()); in TestCurrMetaInfoBaseClass()
DDisplayNameTest.java73 String[] currencies = addUnknown(getCodes(new ULocale("en","",""), "Currencies"),3); field in DisplayNameTest
128 check("Currencies", locale, currencies, currencyFormats, new DisplayNameGetter() { in checkLocale()
/external/cldr/tools/java/org/unicode/cldr/util/data/paths/
DmissingOk.txt7 //ldml/numbers/currencies/currency[@type="%A"]/symbol ; ok
/external/icu/icu4c/source/common/
Dlocdispnames.cpp837 UResourceBundle *currencies = ures_getByKey(bundle, _kCurrencies, NULL, status); in uloc_getDisplayKeywordValue() local
838 … UResourceBundle *currency = ures_getByKeyWithFallback(currencies, keywordValue, NULL, status); in uloc_getDisplayKeywordValue()
844 ures_close(currencies); in uloc_getDisplayKeywordValue()

123