Home
last modified time | relevance | path

Searched refs:aliasFrom (Results 1 – 13 of 13) sorted by relevance

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DRegion.java238 String aliasFrom = res.getKey(); in loadRegionData() local
241 …if ( regionIDMap.containsKey(aliasTo) && !regionIDMap.containsKey(aliasFrom) ) { // This is just a… in loadRegionData()
242 regionAliases.put(aliasFrom, regionIDMap.get(aliasTo)); in loadRegionData()
245 if ( regionIDMap.containsKey(aliasFrom) ) { // This is a deprecated region in loadRegionData()
246 r = regionIDMap.get(aliasFrom); in loadRegionData()
249 r.id = aliasFrom; in loadRegionData()
250 regionIDMap.put(aliasFrom, r); in loadRegionData()
251 if ( aliasFrom.matches("[0-9]{3}")) { in loadRegionData()
252 r.code = Integer.valueOf(aliasFrom).intValue(); in loadRegionData()
DULocale.java1342 String aliasFrom = res.getKey(); in loadAliasData() local
1344 Locale testLocale = new Locale(aliasFrom); in loadAliasData()
1348 (aliasFrom.startsWith("und") && ! testLocale.getCountry().isEmpty())) { in loadAliasData()
1350 "key [" + aliasFrom + in loadAliasData()
1353 languageAliasMap.put(aliasFrom, aliasTo); in loadAliasData()
1357 String aliasFrom = res.getKey(); in loadAliasData() local
1359 if (aliasFrom.length() != 4) { in loadAliasData()
1361 "Incorrect key [" + aliasFrom + "] in alias:script."); in loadAliasData()
1363 scriptAliasMap.put(aliasFrom, aliasTo); in loadAliasData()
1367 String aliasFrom = res.getKey(); in loadAliasData() local
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DRegion.java232 String aliasFrom = res.getKey(); in loadRegionData() local
235 …if ( regionIDMap.containsKey(aliasTo) && !regionIDMap.containsKey(aliasFrom) ) { // This is just a… in loadRegionData()
236 regionAliases.put(aliasFrom, regionIDMap.get(aliasTo)); in loadRegionData()
239 if ( regionIDMap.containsKey(aliasFrom) ) { // This is a deprecated region in loadRegionData()
240 r = regionIDMap.get(aliasFrom); in loadRegionData()
243 r.id = aliasFrom; in loadRegionData()
244 regionIDMap.put(aliasFrom, r); in loadRegionData()
245 if ( aliasFrom.matches("[0-9]{3}")) { in loadRegionData()
246 r.code = Integer.valueOf(aliasFrom).intValue(); in loadRegionData()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/tool/locale/
DLikelySubtagsBuilder.java53 String aliasFrom = key.toString(); in AliasesBuilder() local
54 if (aliasFrom.contains("_") || aliasFrom.contains("-")) { in AliasesBuilder()
70 toCanonical.put(aliasFrom, aliasFirst); in AliasesBuilder()
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/locale/
DLikelySubtagsBuilder.java53 String aliasFrom = key.toString(); in AliasesBuilder() local
54 if (aliasFrom.contains("_") || aliasFrom.contains("-")) { in AliasesBuilder()
70 toCanonical.put(aliasFrom, aliasFirst); in AliasesBuilder()
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DLikelySubtagsBuilder.java109 String aliasFrom = v.get(type.typeKey); in getAliases()
110 if (isSimpleAlias(aliasFrom) && !v.get(type.reasonKey).equals("overlong")) { in getAliases()
115 canonicalMap.put(aliasFrom, aliasTo); in getAliases()
/third_party/skia/third_party/externals/icu/source/i18n/
Dregion.cpp209 const char *aliasFrom = ures_getKey(res.getAlias()); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() local
210 LocalPointer<UnicodeString> aliasFromStr(new UnicodeString(aliasFrom, -1, US_INV), status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
/third_party/icu/icu4c/source/i18n/
Dregion.cpp209 const char *aliasFrom = ures_getKey(res.getAlias()); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() local
210 LocalPointer<UnicodeString> aliasFromStr(new UnicodeString(aliasFrom, -1, US_INV), status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dregion.cpp212 const char *aliasFrom = ures_getKey(res.getAlias()); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() local
213 LocalPointer<UnicodeString> aliasFromStr(new UnicodeString(aliasFrom, -1, US_INV), status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
/third_party/node/deps/icu-small/source/i18n/
Dregion.cpp219 const char *aliasFrom = ures_getKey(res.getAlias()); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() local
220 LocalPointer<UnicodeString> aliasFromStr(new UnicodeString(aliasFrom, -1, US_INV), status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
/third_party/node/deps/icu-small/source/common/
Dlocid.cpp723 const char* aliasFrom = ures_getKey(res.getAlias()); in readAlias() local
727 checkType(aliasFrom); in readAlias()
730 rawTypes[i] = aliasFrom; in readAlias()
/third_party/skia/third_party/externals/icu/source/common/
Dlocid.cpp743 const char* aliasFrom = ures_getKey(res.getAlias()); in readAlias() local
747 checkType(aliasFrom); in readAlias()
750 rawTypes[i] = aliasFrom; in readAlias()
/third_party/icu/icu4c/source/common/
Dlocid.cpp739 const char* aliasFrom = ures_getKey(res.getAlias()); in readAlias() local
743 checkType(aliasFrom); in readAlias()
746 rawTypes[i] = aliasFrom; in readAlias()