Home
last modified time | relevance | path

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

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleDataTest.java36 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 …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DLocaleDataTest.java39 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()
276 equalCount > 0 && equalCount < availableLocales.length); in TestExemplarSet()
282 for(int i=0; i<availableLocales.length; i++){ in TestExemplarSet2()
[all …]
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/
DShCompile_test.cpp145 const std::string availableLocales[] = { in TEST_F() local
196 for (const std::string &locale : availableLocales) in TEST_F()
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DShCompile_test.cpp145 const std::string availableLocales[] = { in TEST_F() local
196 for (const std::string &locale : availableLocales) in TEST_F()
/third_party/skia/third_party/externals/icu/source/common/
Dlocalematcher.cpp812 UEnumeration *availableLocales, in uloc_acceptLanguage() argument
817 availableLocales == nullptr) { in uloc_acceptLanguage()
824 return acceptLanguage(*availableLocales, desiredLocales, in uloc_acceptLanguage()
832 UEnumeration *availableLocales, in uloc_acceptLanguageFromHTTP() argument
836 httpAcceptLanguage == nullptr || availableLocales == nullptr) { in uloc_acceptLanguageFromHTTP()
842 return acceptLanguage(*availableLocales, desiredLocales, in uloc_acceptLanguageFromHTTP()
/third_party/node/deps/icu-small/source/common/
Dlocalematcher.cpp812 UEnumeration *availableLocales, in uloc_acceptLanguage() argument
817 availableLocales == nullptr) { in uloc_acceptLanguage()
824 return acceptLanguage(*availableLocales, desiredLocales, in uloc_acceptLanguage()
832 UEnumeration *availableLocales, in uloc_acceptLanguageFromHTTP() argument
836 httpAcceptLanguage == nullptr || availableLocales == nullptr) { in uloc_acceptLanguageFromHTTP()
842 return acceptLanguage(*availableLocales, desiredLocales, in uloc_acceptLanguageFromHTTP()
/third_party/icu/icu4c/source/common/
Dlocalematcher.cpp812 UEnumeration *availableLocales, in uloc_acceptLanguage() argument
817 availableLocales == nullptr) { in uloc_acceptLanguage()
824 return acceptLanguage(*availableLocales, desiredLocales, in uloc_acceptLanguage()
832 UEnumeration *availableLocales, in uloc_acceptLanguageFromHTTP() argument
836 httpAcceptLanguage == nullptr || availableLocales == nullptr) { in uloc_acceptLanguageFromHTTP()
842 return acceptLanguage(*availableLocales, desiredLocales, in uloc_acceptLanguageFromHTTP()
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Duloc.h995 UEnumeration* availableLocales,
1015 UEnumeration* availableLocales,
/third_party/icu/icu4c/source/common/unicode/
Duloc.h1107 UEnumeration* availableLocales,
1132 UEnumeration* availableLocales,
/third_party/node/deps/icu-small/source/common/unicode/
Duloc.h1107 UEnumeration* availableLocales,
1132 UEnumeration* availableLocales,
/third_party/skia/third_party/externals/icu/source/common/unicode/
Duloc.h1107 UEnumeration* availableLocales,
1132 UEnumeration* availableLocales,
/third_party/flutter/skia/third_party/externals/icu/source/common/
Duloc.cpp2364 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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DULocale.java2025 public static ULocale acceptLanguage(String acceptLanguageList, ULocale[] availableLocales, in acceptLanguage() argument
2037 for (ULocale locale : availableLocales) { in acceptLanguage()
2070 public static ULocale acceptLanguage(ULocale[] acceptLanguageList, ULocale[] availableLocales, in acceptLanguage() argument
2076 for (ULocale locale : availableLocales) { in acceptLanguage()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java2527 public static ULocale acceptLanguage(String acceptLanguageList, ULocale[] availableLocales, in acceptLanguage() argument
2539 for (ULocale locale : availableLocales) { in acceptLanguage()
2573 public static ULocale acceptLanguage(ULocale[] acceptLanguageList, ULocale[] availableLocales, in acceptLanguage() argument
2579 for (ULocale locale : availableLocales) { in acceptLanguage()
/third_party/icu/icu4c/source/test/intltest/
Dreldatefmttest.cpp1344 const Locale *availableLocales = Locale::getAvailableLocales(numLocales); in TestLocales() local
1347 const Locale &loc = availableLocales[localeIdx]; in TestLocales()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java1035 ULocale[] availableLocales = ULocale.getAvailableLocales(); in TestLocales() local
1036 for (ULocale loc: availableLocales) { in TestLocales()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java1038 ULocale[] availableLocales = ULocale.getAvailableLocales(); in TestLocales() local
1039 for (ULocale loc: availableLocales) { in TestLocales()
/third_party/icu/docs/userguide/locale/
Dindex.md569 ULocale[] availableLocales = ULocale.getAvailableLocales();
571 ULocale result = ULocale.acceptLanguage(availableLocales, fallback);