Home
last modified time | relevance | path

Searched refs:localeSet (Results 1 – 8 of 8) sorted by relevance

/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/
DICULocaleServiceProvider.java134 Set<Locale> localeSet = new HashSet<>(); in getLocales() local
142 addULocale(uloc, localeSet); in getLocales()
152 addULocale(ulocWithoutScript, localeSet); in getLocales()
160 addLocale(l, localeSet); in getLocales()
163 LOCALES = localeSet.toArray(new Locale[0]); in getLocales()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DLocaleDisplayNames.java264 …public List<UiListItem> getUiList(Set<ULocale> localeSet, boolean inSelf, Comparator<Object> colla… in getUiList() argument
265 return getUiListCompareWholeItems(localeSet, UiListItem.getComparator(collator, inSelf)); in getUiList()
276 …public abstract List<UiListItem> getUiListCompareWholeItems(Set<ULocale> localeSet, Comparator<UiL… in getUiListCompareWholeItems() argument
517 …public List<UiListItem> getUiListCompareWholeItems(Set<ULocale> localeSet, Comparator<UiListItem> … in getUiListCompareWholeItems() argument
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DLocaleDisplayNames.java285 …public List<UiListItem> getUiList(Set<ULocale> localeSet, boolean inSelf, Comparator<Object> colla… in getUiList() argument
286 return getUiListCompareWholeItems(localeSet, UiListItem.getComparator(collator, inSelf)); in getUiList()
298 …public abstract List<UiListItem> getUiListCompareWholeItems(Set<ULocale> localeSet, Comparator<UiL… in getUiListCompareWholeItems() argument
551 …public List<UiListItem> getUiListCompareWholeItems(Set<ULocale> localeSet, Comparator<UiListItem> … in getUiListCompareWholeItems() argument
/third_party/icu/icu4c/source/test/intltest/
Dplurults.cpp1210 …UHashtable *localeSet = uhash_open(uhash_hashUnicodeString, uhash_compareUnicodeString, uhash_comp… in testAvailableLocales() local
1211 uhash_setKeyDeleter(localeSet, uprv_deleteUObject); in testAvailableLocales()
1230 int32_t oldVal = uhash_puti(localeSet, new UnicodeString(locale), 1, &status); in testAvailableLocales()
1288 uhash_close(localeSet); in testAvailableLocales()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DPluralRulesTest.java583 Set localeSet = new HashSet();
584 localeSet.addAll(Arrays.asList(locales));
586 assertEquals("locales are unique in list", locales.length, localeSet.size());
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DLocaleDisplayNamesImpl.java556 …public List<UiListItem> getUiListCompareWholeItems(Set<ULocale> localeSet, Comparator<UiListItem> … in getUiListCompareWholeItems() argument
562 for (ULocale locOriginal : localeSet) { in getUiListCompareWholeItems()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DLocaleDisplayNamesImpl.java560 …public List<UiListItem> getUiListCompareWholeItems(Set<ULocale> localeSet, Comparator<UiListItem> … in getUiListCompareWholeItems() argument
566 for (ULocale locOriginal : localeSet) { in getUiListCompareWholeItems()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRulesTest.java645 Set localeSet = new HashSet();
646 localeSet.addAll(Arrays.asList(locales));
648 assertEquals("locales are unique in list", locales.length, localeSet.size());