Home
last modified time | relevance | path

Searched refs:regionIDMap (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DRegion.java121 private static Map<String,Region> regionIDMap = null; // Map from ID the regions field in Region
153 regionIDMap = new HashMap<String,Region>(); in loadRegionData()
223 regionIDMap.put(id, r); in loadRegionData()
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()
250 regionIDMap.put(aliasFrom, r); in loadRegionData()
263 if (regionIDMap.containsKey(s)) { in loadRegionData()
264 r.preferredValues.add(regionIDMap.get(s)); in loadRegionData()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DRegion.java113 private static Map<String,Region> regionIDMap = null; // Map from ID the regions field in Region
145 regionIDMap = new HashMap<String,Region>(); in loadRegionData()
215 regionIDMap.put(id, r); in loadRegionData()
233 …if ( regionIDMap.containsKey(aliasTo) && !regionIDMap.containsKey(aliasFrom) ) { // This is just a… in loadRegionData()
234 regionAliases.put(aliasFrom, regionIDMap.get(aliasTo)); in loadRegionData()
237 if ( regionIDMap.containsKey(aliasFrom) ) { // This is a deprecated region in loadRegionData()
238 r = regionIDMap.get(aliasFrom); in loadRegionData()
242 regionIDMap.put(aliasFrom, r); in loadRegionData()
255 if (regionIDMap.containsKey(s)) { in loadRegionData()
256 r.preferredValues.add(regionIDMap.get(s)); in loadRegionData()
[all …]
/external/icu/icu4c/source/i18n/
Dregion.cpp65 static UHashtable *regionIDMap = NULL; variable
384 regionIDMap = newRegionIDMap.orphan(); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
403 if (regionIDMap) { in cleanupRegionData()
404 uhash_close(regionIDMap); in cleanupRegionData()
412 regionAliases = numericCodeMap = regionIDMap = NULL; in cleanupRegionData()
473 Region *r = (Region *)uhash_get(regionIDMap,(void *)&regionCodeString); in getInstance()
488 r = (Region *)uhash_get(regionIDMap,(void *)ustr); in getInstance()
536 r = (Region *)uhash_get(regionIDMap,(void *)ustr); in getInstance()
657 Region *cr = (Region *) uhash_get(regionIDMap,(void *)crStr); in contains()