Home
last modified time | relevance | path

Searched refs:regionAliases (Results 1 – 18 of 18) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DXLikelySubtags.java32 public final Map<String, String> regionAliases; field in XLikelySubtags.Data
36 public Data(Map<String, String> languageAliases, Map<String, String> regionAliases, in Data() argument
39 this.regionAliases = regionAliases; in Data()
72 Map<String, String> regionAliases; in load() local
75 regionAliases = new HashMap<>(pairs.length / 2); in load()
77 regionAliases.put(pairs[i], pairs[i + 1]); in load()
80 regionAliases = Collections.emptyMap(); in load()
94 return new Data(languageAliases, regionAliases, trie, lsrs); in load()
104 regionAliases.equals(od.regionAliases) && in equals()
119 private final Map<String, String> regionAliases; field in XLikelySubtags
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DXLikelySubtags.java39 public final Map<String, String> regionAliases; field in XLikelySubtags.Data
43 public Data(Map<String, String> languageAliases, Map<String, String> regionAliases, in Data() argument
46 this.regionAliases = regionAliases; in Data()
79 Map<String, String> regionAliases; in load() local
82 regionAliases = new HashMap<>(pairs.length / 2); in load()
84 regionAliases.put(pairs[i], pairs[i + 1]); in load()
87 regionAliases = Collections.emptyMap(); in load()
101 return new Data(languageAliases, regionAliases, trie, lsrs); in load()
111 regionAliases.equals(od.regionAliases) && in equals()
126 private final Map<String, String> regionAliases; field in XLikelySubtags
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DRegion.java121 private static Map<String,Region> regionAliases = null; // Aliases field in Region
150 regionAliases = new HashMap<String,Region>(); in loadRegionData()
239 regionAliases.put(aliasFrom, regionIDMap.get(aliasTo)); in loadRegionData()
280 regionAliases.put(codeMapping3Letter, r); in loadRegionData()
382 r = regionAliases.get(id); in getInstance()
417 r = regionAliases.get(id); in getInstance()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DRegion.java124 private static Map<String,Region> regionAliases = null; // Aliases field in Region
153 regionAliases = new HashMap<String,Region>(); in loadRegionData()
242 regionAliases.put(aliasFrom, regionIDMap.get(aliasTo)); in loadRegionData()
283 regionAliases.put(codeMapping3Letter, r); in loadRegionData()
386 r = regionAliases.get(id); in getInstance()
422 r = regionAliases.get(id); in getInstance()
/external/cldr/tools/java/org/unicode/cldr/tool/
DChartSubdivisions.java115 Set<String> regionAliases = inverseAliases.get(region); in writeContents() local
119 .addCell(regionAliases == null ? "«none»" : "=" + Joiner.on(", ") in writeContents()
120 .join(regionAliases)) in writeContents()
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DLikelySubtagsBuilder.java155 Aliases regionAliases = Aliases.getAliases(supplementalData, AliasType.TERRITORY); in build() local
157 makeTable(languageAliases, regionAliases, supplementalData); in build()
185 regionAliases.getCanonicalMap(), in build()
245 Aliases languageAliases, Aliases regionAliases, CldrData supplementalData) { in makeTable() argument
261 for (String regionAlias : regionAliases.getAliases(source.region)) { in makeTable()
DLocaleDistanceMapper.java134 icuData.add(LIKELY_REGIONS, ofMapEntries(likelyData.regionAliases)); in process()
/external/icu/icu4c/source/common/
Dloclikelysubtags.cpp57 CharStringMap regionAliases; member
173 regionAliases = CharStringMap(regionsLength / 2, errorCode); in load()
175 regionAliases.put(strings.get(regionIndexes[i]), in load()
283 regionAliases(std::move(data.regionAliases)), in XLikelySubtags()
379 region = getCanonical(regionAliases, region); in makeMaximizedLsr()
Dloclikelysubtags.h100 CharStringMap regionAliases; variable
/external/icu/icu4c/source/i18n/
Dregion.cpp64 static UHashtable *regionAliases = NULL; variable
388 regionAliases = newRegionAliases.orphan(); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
398 if (regionAliases) { in cleanupRegionData()
399 uhash_close(regionAliases); in cleanupRegionData()
415 regionAliases = numericCodeMap = regionIDMap = NULL; in cleanupRegionData()
479 r = (Region *)uhash_get(regionAliases,(void *)&regionCodeString); in getInstance()
516 r = (Region *)uhash_get(regionAliases,&id); in getInstance()
/external/icu/libicu/cts_headers/
Dloclikelysubtags.h100 CharStringMap regionAliases; variable
/external/cldr/tools/java/org/unicode/cldr/draft/
DXLikelySubtags.java181 Collection<String> regionAliases = canonicalToAliasRegion.get(region); in init() local
182 if (regionAliases.isEmpty()) { in init()
183 regionAliases = Collections.singleton(region); in init()
186 for (String regionAlias : regionAliases) { in init()
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DLikelySubtagsBuilderTest.java58 assertThat(subtags.regionAliases).containsExactly("CS", "RS", "UK", "GB"); in testTerritoryAliases()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/tool/locale/
DLikelySubtagsBuilder.java247 Collection<String> regionAliases = regionAliasesBuilder.getAliases(region); in makeTable() local
249 for (String regionAlias : regionAliases) { in makeTable()
DLocaleDistanceBuilder.java909 out.println(" regionAliases{ // " + likelyData.regionAliases.size()); in main()
911 new TreeMap<>(likelyData.regionAliases).entrySet()) { in main()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/locale/
DLikelySubtagsBuilder.java244 Collection<String> regionAliases = regionAliasesBuilder.getAliases(region); in makeTable() local
246 for (String regionAlias : regionAliases) { in makeTable()
DLocaleDistanceBuilder.java906 out.println(" regionAliases{ // " + likelyData.regionAliases.size()); in main()
908 new TreeMap<>(likelyData.regionAliases).entrySet()) { in main()
/external/icu/icu4c/source/data/misc/
DlangInfo.txt233 regionAliases{ // 38
272 } // regionAliases