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.java122 private static Map<String,Region> regionIDMap = null; // Map from ID the regions field in Region
154 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.java119 private static Map<String,Region> regionIDMap = null; // Map from ID the regions field in Region
151 regionIDMap = new HashMap<String,Region>(); in loadRegionData()
220 regionIDMap.put(id, r); in loadRegionData()
238 …if ( regionIDMap.containsKey(aliasTo) && !regionIDMap.containsKey(aliasFrom) ) { // This is just a… in loadRegionData()
239 regionAliases.put(aliasFrom, regionIDMap.get(aliasTo)); in loadRegionData()
242 if ( regionIDMap.containsKey(aliasFrom) ) { // This is a deprecated region in loadRegionData()
243 r = regionIDMap.get(aliasFrom); in loadRegionData()
247 regionIDMap.put(aliasFrom, r); in loadRegionData()
260 if (regionIDMap.containsKey(s)) { in loadRegionData()
261 r.preferredValues.add(regionIDMap.get(s)); in loadRegionData()
[all …]
/external/icu/icu4c/source/i18n/
Dregion.cpp65 static UHashtable *regionIDMap = NULL; variable
392 regionIDMap = newRegionIDMap.orphan(); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
411 if (regionIDMap) { in cleanupRegionData()
412 uhash_close(regionIDMap); in cleanupRegionData()
420 regionAliases = numericCodeMap = regionIDMap = NULL; in cleanupRegionData()
481 Region *r = (Region *)uhash_get(regionIDMap,(void *)&regionCodeString); in getInstance()
496 r = (Region *)uhash_get(regionIDMap,(void *)ustr); in getInstance()
544 r = (Region *)uhash_get(regionIDMap,(void *)ustr); in getInstance()
665 Region *cr = (Region *) uhash_get(regionIDMap,(void *)crStr); in contains()