Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/util/
DRegion.java110 private static Map<String,Region> regionIDMap = null; // Map from ID the regions field in Region
142 regionIDMap = new HashMap<String,Region>(); in loadRegionData()
212 regionIDMap.put(id, r); in loadRegionData()
230 …if ( regionIDMap.containsKey(aliasTo) && !regionIDMap.containsKey(aliasFrom) ) { // This is just a… in loadRegionData()
231 regionAliases.put(aliasFrom, regionIDMap.get(aliasTo)); in loadRegionData()
234 if ( regionIDMap.containsKey(aliasFrom) ) { // This is a deprecated region in loadRegionData()
235 r = regionIDMap.get(aliasFrom); in loadRegionData()
239 regionIDMap.put(aliasFrom, r); in loadRegionData()
252 if (regionIDMap.containsKey(s)) { in loadRegionData()
253 r.preferredValues.add(regionIDMap.get(s)); in loadRegionData()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DRegion.java118 private static Map<String,Region> regionIDMap = null; // Map from ID the regions field in Region
150 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.cpp63 static UHashtable *regionIDMap = NULL; variable
383 regionIDMap = newRegionIDMap.orphan(); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
402 if (regionIDMap) { in cleanupRegionData()
403 uhash_close(regionIDMap); in cleanupRegionData()
411 regionAliases = numericCodeMap = regionIDMap = NULL; in cleanupRegionData()
472 Region *r = (Region *)uhash_get(regionIDMap,(void *)&regionCodeString); in getInstance()
487 r = (Region *)uhash_get(regionIDMap,(void *)ustr); in getInstance()
535 r = (Region *)uhash_get(regionIDMap,(void *)ustr); in getInstance()
656 Region *cr = (Region *) uhash_get(regionIDMap,(void *)crStr); in contains()