/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | LocaleDataTest.java | 39 private ULocale[] availableLocales = null; field in LocaleDataTest 46 availableLocales = ICUResourceBundle.getAvailableULocales(); in init() 51 for(int i = 0; i < availableLocales.length; i++){ in TestPaperSize() 52 ULocale locale = availableLocales[i]; in TestPaperSize() 89 for(int i=0; i<availableLocales.length; i++){ in TestMeasurementSystem() 90 ULocale locale = availableLocales[i]; in TestMeasurementSystem() 207 for(int i=0; i<availableLocales.length; i++){ in TestExemplarSet() 208 ULocale locale = availableLocales[i]; in TestExemplarSet() 272 equalCount > 0 && equalCount < availableLocales.length); in TestExemplarSet() 278 for(int i=0; i<availableLocales.length; i++){ in TestExemplarSet2() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | LocaleDataTest.java | 36 private ULocale[] availableLocales = null; field in LocaleDataTest 43 availableLocales = ICUResourceBundle.getAvailableULocales(); in init() 48 for(int i = 0; i < availableLocales.length; i++){ in TestPaperSize() 49 ULocale locale = availableLocales[i]; in TestPaperSize() 86 for(int i=0; i<availableLocales.length; i++){ in TestMeasurementSystem() 87 ULocale locale = availableLocales[i]; in TestMeasurementSystem() 204 for(int i=0; i<availableLocales.length; i++){ in TestExemplarSet() 205 ULocale locale = availableLocales[i]; in TestExemplarSet() 269 equalCount > 0 && equalCount < availableLocales.length); in TestExemplarSet() 275 for(int i=0; i<availableLocales.length; i++){ in TestExemplarSet2() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
D | ResourceBasedPeriodFormatterDataService.java | 36 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/ |
D | ResourceBasedPeriodFormatterDataService.java | 38 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/ |
D | Calendar.java | 1291 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
|
D | ULocale.java | 728 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/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | StandardCodesTest.java | 57 Set<String> availableLocales = cldrFactory.getAvailable(); in TestGetLocaleCoverageLocales() local 66 if (!availableLocales.contains(loc)) { in TestGetLocaleCoverageLocales()
|
D | TestInheritance.java | 65 private static Set<String> availableLocales = testInfo.getFullCldrFactory().getAvailable(); field in TestInheritance 258 for (String localeID : availableLocales) { in TestLikelyAndDefaultConsistency() 261 if (!availableLocales.contains(base)) { in TestLikelyAndDefaultConsistency() 316 for (String loc : availableLocales) { in TestParentLocaleRelationships() 346 for (String loc : availableLocales) { in TestParentLocaleInvariants() 373 for (String loc : availableLocales) { in TestParentLocalesForCycles()
|
/external/v8/src/js/ |
D | intl.js | 305 function bestAvailableLocale(availableLocales, locale) { argument 307 if (!IS_UNDEFINED(availableLocales[locale])) { 325 function attemptSingleLookup(availableLocales, requestedLocale) { argument 330 availableLocales, requestedLocale); 356 var availableLocales = getAvailableLocalesOf(service); 359 var result = attemptSingleLookup(availableLocales, requestedLocales[i]); 369 var result = attemptSingleLookup(availableLocales, defLocale);
|
/external/icu/icu4c/source/common/unicode/ |
D | uloc.h | 995 UEnumeration* availableLocales, 1015 UEnumeration* availableLocales,
|
/external/icu/libandroidicu/include/unicode/ |
D | uloc.h | 995 UEnumeration* availableLocales, 1015 UEnumeration* availableLocales,
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | ULocale.java | 1866 public static ULocale acceptLanguage(String acceptLanguageList, ULocale[] availableLocales, in acceptLanguage() argument 1880 return acceptLanguage(acceptList, availableLocales, fallback); in acceptLanguage() 1899 availableLocales, boolean[] fallback) { in acceptLanguage() argument 1909 for(j=0;j<availableLocales.length;j++) { in acceptLanguage() 1910 if(availableLocales[j].equals(aLocale)) { in acceptLanguage() 1914 return availableLocales[j]; in acceptLanguage() 1919 && availableLocales[j].getScript().length() > 0 in acceptLanguage() 1920 && availableLocales[j].getLanguage().equals(aLocale.getLanguage()) in acceptLanguage() 1921 && availableLocales[j].getCountry().equals(aLocale.getCountry()) in acceptLanguage() 1922 && availableLocales[j].getVariant().equals(aLocale.getVariant())) { in acceptLanguage() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | ULocale.java | 1983 public static ULocale acceptLanguage(String acceptLanguageList, ULocale[] availableLocales, in acceptLanguage() argument 1997 return acceptLanguage(acceptList, availableLocales, fallback); in acceptLanguage() 2017 availableLocales, boolean[] fallback) { in acceptLanguage() argument 2027 for(j=0;j<availableLocales.length;j++) { in acceptLanguage() 2028 if(availableLocales[j].equals(aLocale)) { in acceptLanguage() 2032 return availableLocales[j]; in acceptLanguage() 2037 && availableLocales[j].getScript().length() > 0 in acceptLanguage() 2038 && availableLocales[j].getLanguage().equals(aLocale.getLanguage()) in acceptLanguage() 2039 && availableLocales[j].getCountry().equals(aLocale.getCountry()) in acceptLanguage() 2040 && availableLocales[j].getVariant().equals(aLocale.getVariant())) { in acceptLanguage() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | Factory.java | 125 Set<String> availableLocales = this.getAvailable(); in makeWithFallback() local 126 while (!availableLocales.contains(currentLocaleID) && currentLocaleID != "root") { in makeWithFallback()
|
D | TestUtilities.java | 615 Set<String> availableLocales = mainCldrFactory.getAvailable(); in checkLanguages() local 618 for (Iterator<String> it = availableLocales.iterator(); it.hasNext();) { in checkLanguages()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | VettingAdder.java | 275 Set<String> availableLocales = new TreeSet<String>(cldrFactory.getAvailable()); in showFiles() local 276 availableLocales.removeAll(vettedLocales); in showFiles() 278 for (Iterator<String> it = availableLocales.iterator(); it.hasNext();) { in showFiles()
|
/external/icu/icu4c/source/common/ |
D | uloc.cpp | 2364 UEnumeration* availableLocales, in uloc_acceptLanguageFromHTTP() argument 2463 strs.getAlias(), n, availableLocales, status); in uloc_acceptLanguageFromHTTP() 2472 UEnumeration* availableLocales, in uloc_acceptLanguage() argument 2493 while((l=uenum_next(availableLocales, NULL, status)) != NULL) { in uloc_acceptLanguage() 2518 uenum_reset(availableLocales, status); in uloc_acceptLanguage() 2533 while((l=uenum_next(availableLocales, NULL, status)) != NULL) { in uloc_acceptLanguage() 2555 uenum_reset(availableLocales, status); in uloc_acceptLanguage()
|
/external/cldr/tools/java/org/unicode/cldr/json/ |
D | Ldml2JsonConverter.java | 67 private class availableLocales { class in Ldml2JsonConverter 72 private availableLocales avl = new availableLocales();
|
/external/icu/icu4c/source/test/intltest/ |
D | reldatefmttest.cpp | 1305 const Locale *availableLocales = Locale::getAvailableLocales(numLocales); in TestLocales() local 1308 const Locale &loc = availableLocales[localeIdx]; in TestLocales()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | RelativeDateTimeFormatterTest.java | 979 ULocale[] availableLocales = ULocale.getAvailableLocales(); in TestLocales() local 980 for (ULocale loc: availableLocales) { in TestLocales()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | RelativeDateTimeFormatterTest.java | 982 ULocale[] availableLocales = ULocale.getAvailableLocales(); in TestLocales() local 983 for (ULocale loc: availableLocales) { in TestLocales()
|
/external/icu/libandroidicu/static_shim/ |
D | shim.cpp | 1738 …, const char ** acceptList, int32_t acceptListCount, UEnumeration * availableLocales, UErrorCode *… in uloc_acceptLanguage_android() argument 1739 …anguage(result, resultAvailable, outResult, acceptList, acceptListCount, availableLocales, status); in uloc_acceptLanguage_android() 1741 …Result * outResult, const char * httpAcceptLanguage, UEnumeration * availableLocales, UErrorCode *… in uloc_acceptLanguageFromHTTP_android() argument 1742 …LanguageFromHTTP(result, resultAvailable, outResult, httpAcceptLanguage, availableLocales, status); in uloc_acceptLanguageFromHTTP_android()
|