Home
last modified time | relevance | path

Searched refs:availableLocales (Results 1 – 13 of 13) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleDataTest.java34 private ULocale[] availableLocales = null; field in LocaleDataTest
41 availableLocales = ICUResourceBundle.getAvailableULocales(); in init()
46 for(int i = 0; i < availableLocales.length; i++){ in TestPaperSize()
47 ULocale locale = availableLocales[i]; in TestPaperSize()
84 for(int i=0; i<availableLocales.length; i++){ in TestMeasurementSystem()
85 ULocale locale = availableLocales[i]; in TestMeasurementSystem()
200 for(int i=0; i<availableLocales.length; i++){ in TestExemplarSet()
201 ULocale locale = availableLocales[i]; in TestExemplarSet()
265 equalCount > 0 && equalCount < availableLocales.length); in TestExemplarSet()
271 for(int i=0; i<availableLocales.length; i++){ in TestExemplarSet2()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleDataTest.java33 private ULocale[] availableLocales = null; field in LocaleDataTest
40 availableLocales = ICUResourceBundle.getAvailableULocales(); in init()
45 for(int i = 0; i < availableLocales.length; i++){ in TestPaperSize()
46 ULocale locale = availableLocales[i]; in TestPaperSize()
83 for(int i=0; i<availableLocales.length; i++){ in TestMeasurementSystem()
84 ULocale locale = availableLocales[i]; in TestMeasurementSystem()
199 for(int i=0; i<availableLocales.length; i++){ in TestExemplarSet()
200 ULocale locale = availableLocales[i]; in TestExemplarSet()
264 equalCount > 0 && equalCount < availableLocales.length); in TestExemplarSet()
270 for(int i=0; i<availableLocales.length; i++){ in TestExemplarSet2()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
DResourceBasedPeriodFormatterDataService.java36 private Collection<String> availableLocales; // of String field in ResourceBasedPeriodFormatterDataService
82 availableLocales = Collections.unmodifiableList(localeNames); in ResourceBasedPeriodFormatterDataService()
101 while (!availableLocales.contains(ln)) { in get()
158 return availableLocales; in getAvailableLocales()
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/
DResourceBasedPeriodFormatterDataService.java38 private Collection<String> availableLocales; // of String field in ResourceBasedPeriodFormatterDataService
84 availableLocales = Collections.unmodifiableList(localeNames); in ResourceBasedPeriodFormatterDataService()
103 while (!availableLocales.contains(ln)) { in get()
160 return availableLocales; in getAvailableLocales()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DCalendar.java1291 if (availableLocales == null) { in getAvailableULocales()
1293 if (availableLocales == null) { in getAvailableULocales()
1295 availableLocales = new ULocale[locales.length]; in getAvailableULocales()
1297 availableLocales[i] = ULocale.forLocale(locales[i]); in getAvailableULocales()
1302 return availableLocales.clone(); in getAvailableULocales()
1304 private static volatile ULocale[] availableLocales; field in Calendar
DULocale.java728 if (availableLocales == null) { in getAvailableLocales()
730 if (availableLocales == null) { in getAvailableLocales()
732 availableLocales = new ULocale[locales.length]; in getAvailableLocales()
734 availableLocales[i] = ULocale.forLocale(locales[i]); in getAvailableLocales()
739 return availableLocales.clone(); in getAvailableLocales()
741 private static volatile ULocale[] availableLocales = null; field in ULocale
1761 public static ULocale acceptLanguage(String acceptLanguageList, ULocale[] availableLocales, in acceptLanguage() argument
1775 return acceptLanguage(acceptList, availableLocales, fallback); in acceptLanguage()
1795 availableLocales, boolean[] fallback) { in acceptLanguage() argument
1805 for(j=0;j<availableLocales.length;j++) { in acceptLanguage()
[all …]
/external/icu/icu4c/source/common/unicode/
Duloc.h982 UEnumeration* availableLocales,
1002 UEnumeration* availableLocales,
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java2048 public static ULocale acceptLanguage(String acceptLanguageList, ULocale[] availableLocales, in acceptLanguage() argument
2062 return acceptLanguage(acceptList, availableLocales, fallback); in acceptLanguage()
2082 availableLocales, boolean[] fallback) { in acceptLanguage() argument
2092 for(j=0;j<availableLocales.length;j++) { in acceptLanguage()
2093 if(availableLocales[j].equals(aLocale)) { in acceptLanguage()
2097 return availableLocales[j]; in acceptLanguage()
2102 && availableLocales[j].getScript().length() > 0 in acceptLanguage()
2103 && availableLocales[j].getLanguage().equals(aLocale.getLanguage()) in acceptLanguage()
2104 && availableLocales[j].getCountry().equals(aLocale.getCountry()) in acceptLanguage()
2105 && availableLocales[j].getVariant().equals(aLocale.getVariant())) { in acceptLanguage()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DULocale.java1915 public static ULocale acceptLanguage(String acceptLanguageList, ULocale[] availableLocales, in acceptLanguage() argument
1929 return acceptLanguage(acceptList, availableLocales, fallback); in acceptLanguage()
1948 availableLocales, boolean[] fallback) { in acceptLanguage() argument
1958 for(j=0;j<availableLocales.length;j++) { in acceptLanguage()
1959 if(availableLocales[j].equals(aLocale)) { in acceptLanguage()
1963 return availableLocales[j]; in acceptLanguage()
1968 && availableLocales[j].getScript().length() > 0 in acceptLanguage()
1969 && availableLocales[j].getLanguage().equals(aLocale.getLanguage()) in acceptLanguage()
1970 && availableLocales[j].getCountry().equals(aLocale.getCountry()) in acceptLanguage()
1971 && availableLocales[j].getVariant().equals(aLocale.getVariant())) { in acceptLanguage()
[all …]
/external/icu/icu4c/source/common/
Duloc.cpp2297 UEnumeration* availableLocales, in uloc_acceptLanguageFromHTTP() argument
2396 strs.getAlias(), n, availableLocales, status); in uloc_acceptLanguageFromHTTP()
2405 UEnumeration* availableLocales, in uloc_acceptLanguage() argument
2426 while((l=uenum_next(availableLocales, NULL, status))) { in uloc_acceptLanguage()
2451 uenum_reset(availableLocales, status); in uloc_acceptLanguage()
2466 while((l=uenum_next(availableLocales, NULL, status))) { in uloc_acceptLanguage()
2488 uenum_reset(availableLocales, status); in uloc_acceptLanguage()
/external/v8/src/js/
Di18n.js292 function lookupSupportedLocalesOf(requestedLocales, availableLocales) { argument
299 if (!IS_UNDEFINED(availableLocales[locale])) {
323 function bestFitSupportedLocalesOf(requestedLocales, availableLocales) { argument
325 return lookupSupportedLocalesOf(requestedLocales, availableLocales);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.help.base_3.5.2.v201011171123.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...