Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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 …]
/third_party/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 …]
/third_party/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()
403 r = regionAliases.get(id); in getInstance()
439 r = regionAliases.get(id); in getInstance()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DRegion.java118 private static Map<String,Region> regionAliases = null; // Aliases field in Region
147 regionAliases = new HashMap<String,Region>(); in loadRegionData()
236 regionAliases.put(aliasFrom, regionIDMap.get(aliasTo)); in loadRegionData()
277 regionAliases.put(codeMapping3Letter, r); in loadRegionData()
379 r = regionAliases.get(id); in getInstance()
414 r = regionAliases.get(id); in getInstance()
/third_party/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()
/third_party/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()
380 region = getCanonical(regionAliases, region); in makeMaximizedLsr()
Dloclikelysubtags.h100 CharStringMap regionAliases; variable
/third_party/skia/third_party/externals/icu/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()
380 region = getCanonical(regionAliases, region); in makeMaximizedLsr()
Dloclikelysubtags.h100 CharStringMap regionAliases; variable
/third_party/skia/third_party/externals/icu/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()
/third_party/node/deps/icu-small/source/i18n/
Dregion.cpp59 static UHashtable *regionAliases = nullptr; variable
416 regionAliases = newRegionAliases.orphan(); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
427 if (regionAliases) { in cleanupRegionData()
428 uhash_close(regionAliases); in cleanupRegionData()
443 regionAliases = numericCodeMap = regionIDMap = nullptr; in cleanupRegionData()
507 r = (Region *)uhash_get(regionAliases,(void *)&regionCodeString); in getInstance()
544 r = (Region *)uhash_get(regionAliases,&id); in getInstance()
/third_party/icu/icu4c/source/i18n/
Dregion.cpp59 static UHashtable *regionAliases = NULL; variable
416 regionAliases = newRegionAliases.orphan(); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
427 if (regionAliases) { in cleanupRegionData()
428 uhash_close(regionAliases); in cleanupRegionData()
443 regionAliases = numericCodeMap = regionIDMap = NULL; in cleanupRegionData()
507 r = (Region *)uhash_get(regionAliases,(void *)&regionCodeString); in getInstance()
544 r = (Region *)uhash_get(regionAliases,&id); in getInstance()
/third_party/node/deps/icu-small/source/common/
Dloclikelysubtags.cpp59 CharStringMap regionAliases; member
182 regionAliases = CharStringMap(regionsLength / 2, errorCode); in load()
184 regionAliases.put(strings.get(regionIndexes[i]), in load()
419 regionAliases(std::move(data.regionAliases)), in XLikelySubtags()
535 region = getCanonical(regionAliases, region); in makeMaximizedLsr()
Dloclikelysubtags.h108 CharStringMap regionAliases; variable
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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()
/third_party/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()
/third_party/skia/third_party/externals/icu/source/data/misc/
DlangInfo.txt1833 regionAliases{
/third_party/icu/icu4c/source/data/misc/
DlangInfo.txt1859 regionAliases{