Home
last modified time | relevance | path

Searched refs:currencies (Results 1 – 25 of 57) 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/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/
DCldrDataProcessorTest.java66 ImmutableMap<String, CurrencyData> currencies = ImmutableMap.of(); field in CldrDataProcessorTest.State
73 currencies = ImmutableMap.copyOf(map); in setCurrencies()
143 assertThat(state.currencies) in testThreeLevelProcessing()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCurrency.java254 List<String> list = info.currencies(CurrencyFilter.all()); in getAvailableCurrencies()
283 List<String> list = info.currencies(CurrencyFilter.onRegion(region)); in loadCurrency()
1017 new HashSet<>(info.currencies(CurrencyFilter.all()))); in getAllCurrenciesAsSet()
1062 List<String> allActive = info.currencies( in isAvailable()
1074 return info.currencies(filter.withTender()); in getTenderCurrencies()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCurrency.java238 List<String> list = info.currencies(CurrencyFilter.all()); in getAvailableCurrencies()
267 List<String> list = info.currencies(CurrencyFilter.onRegion(region)); in loadCurrency()
980 new HashSet<>(info.currencies(CurrencyFilter.all()))); in getAllCurrenciesAsSet()
1023 List<String> allActive = info.currencies( in isAvailable()
1035 return info.currencies(filter.withTender()); in getTenderCurrencies()
/external/icu/tools/cldr/cldr-to-icu/src/main/resources/
Dldml2icu_readme.txt154 //ldml/numbers/currencies/currency[@type="(%W)"]/symbol
156 //ldml/numbers/currencies/currency[@type="(%W)"]/displayName
162 //ldml/numbers/currencies/currency[@type="USD"]/symbol ==> "$"
163 //ldml/numbers/currencies/currency[@type="USD"]/displayName ==> "US Dollar"
372 //ldml/numbers/currencies/currency[@type="(%W)"]/symbol ; /Currencies/$1
373 //ldml/numbers/currencies/currency[@type="(%W)"]/displayName ; /Currencies/$1
374 //ldml/numbers/currencies/currency[@type="(%W)"]/pattern ; /Currencies/$1 ; group
375 //ldml/numbers/currencies/currency[@type="(%W)"]/decimal ; /Currencies/$1 ; group
376 //ldml/numbers/currencies/currency[@type="(%W)"]/group ; /Currencies/$1 ; group
Dldml2icu_locale.txt258 //ldml/numbers/currencies/currency[@type="(%A)"]/displayName[@count="(%A)"] ; /CurrencyPlurals/$1/$2
260 //ldml/numbers/currencies/currency[@type="(%W)"]/symbol[@alt="(%A)"] ; /Currencies%$2/$1
273 //ldml/numbers/currencies/currency[@type="(%W)"]/symbol
275 //ldml/numbers/currencies/currency[@type="(%W)"]/displayName
277 //ldml/numbers/currencies/currency[@type="(%W)"]/pattern[@type="standard"]
279 //ldml/numbers/currencies/currency[@type="(%W)"]/decimal
281 //ldml/numbers/currencies/currency[@type="(%W)"]/group
/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/cldr/tools/java/org/unicode/cldr/test/
DCheckForExemplars.java594 Set<String> currencies = getCurrenciesForScript(script); in asciiNotAllowed() local
595 return currencies != null && currencies.contains(currency); in asciiNotAllowed()
619 Set<String> currencies = new HashSet<>(); in getCurrenciesForScript() local
624 currencies.add(info.getCurrency()); in getCurrenciesForScript()
628 scriptToCurrencies.putAll(curScript, currencies); in getCurrenciesForScript()
DCLDRTest.java792 Set<String> currencies = new TreeSet<>(); in TestMinimalLocalization() local
800 currencies.addAll(countryCurrencies); in TestMinimalLocalization()
803 checkForItems(item, currencies, CLDRFile.CURRENCY_NAME, missing, failureCount, null); in TestMinimalLocalization()
804 … checkForItems(item, currencies, CLDRFile.CURRENCY_SYMBOL, missing, failureCount, exemplars); in TestMinimalLocalization()
1016 Set<String> currencies = new TreeSet<>(); in TestSupplementalData() local
1018 currencies.addAll(it.next()); in TestSupplementalData()
1028 if (!legalCurrencies.containsAll(currencies)) { in TestSupplementalData()
1029 TreeSet<String> extras = new TreeSet<>(currencies); in TestSupplementalData()
1034 if (!currencies.containsAll(legalCurrencies)) { in TestSupplementalData()
1036 extras.removeAll(currencies); in TestSupplementalData()
/external/icu/icu4c/source/test/cintltst/
Dcldrtest.c1438 …UResourceBundle *currencies = ures_openDirect(loadTestData(&errorCode), "structLocale", &errorCode… in TestCurrencyList() local
1443 currencies = ures_getByKey(currencies, "Currencies", currencies, &errorCode); in TestCurrencyList()
1445 structLocaleCount = ures_getSize(currencies); in TestCurrencyList()
1449 ures_resetIterator(currencies); in TestCurrencyList()
1450 while ((isoCode = uenum_next(en, NULL, &errorCode)) != NULL && ures_hasNext(currencies)) { in TestCurrencyList()
1451 subBundle = ures_getNextResource(currencies, NULL, &errorCode); in TestCurrencyList()
1461 ures_close(currencies); in TestCurrencyList()
Dcnmdptst.c742 static const char * const currencies[] = { in TestCurrencyKeywords() local
791 for(j = 0; j < UPRV_LENGTHOF(currencies); j++) { in TestCurrencyKeywords()
794 strcat(locale, currencies[j]); in TestCurrencyKeywords()
796 u_charsToUChars(currencies[j], currBuffer, 3); in TestCurrencyKeywords()
/external/cldr/tools/java/org/unicode/cldr/tool/
DdataModifiers.txt19 # 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/cldr/tools/java/org/unicode/cldr/json/
DJSON_config.txt34 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;
DtestLdml2Icu.txt53 #//ldml/numbers/currencies/currency[@type="%A"]/symbol[@alt="variant"] ; unconverted
DPathHeader.txt151 …matting Patterns ; Currency Unit Patterns &numberingSystem($1) ; &count(currencies-$2) ; LTR_ALWAYS
163 //ldml/numbers/currencies/currency[@type="%A"]/displayName[@count="%A"] ; Currencies ; &contine…
164 //ldml/numbers/currencies/currency[@type="%A"]/displayName$ ; Currencies ; &contine…
165 //ldml/numbers/currencies/currency[@type="%A"]/symbol$ ; Currencies ; &contine…
166 //ldml/numbers/currencies/currency[@type="%A"]/symbol[@alt="narrow"] ; Currencies ; &contine…
167 //ldml/numbers/currencies/currency[@type="%A"]/symbol[@alt="variant"] ; Currencies ; &contin…
169 //ldml/numbers/currencies/currency[@type="%A"]/decimal ; Currencies ; &continentFromCurrency($1)…
170 //ldml/numbers/currencies/currency[@type="%A"]/group ; Currencies ; &continentFromCurrency($1) ;…
171 //ldml/numbers/currencies/currency[@type="%A"]/pattern[@type="%A"] ; Currencies ; &continentFromCur…
337 …[@count="%A"] ; Special ; Deprecated ; latn ; currencies-count=$1 ; HIDE
/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.java565 List<String> currencies = metainfo.currencies(filter); in TestWithTender() local
566 assertTrue("More than one currency for switzerland", currencies.size() > 1); in TestWithTender()
570 metainfo.currencies(filter.withTender())); in TestWithTender()
936 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.java568 List<String> currencies = metainfo.currencies(filter); in TestWithTender() local
569 assertTrue("More than one currency for switzerland", currencies.size() > 1); in TestWithTender()
573 metainfo.currencies(filter.withTender())); in TestWithTender()
939 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

123