Home
last modified time | relevance | path

Searched refs:preferredValues (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DRegion.java114 private List<Region> preferredValues = null; field in Region
227 r.preferredValues = new ArrayList<Region>(); in loadRegionData()
230 r.preferredValues.add(regionIDMap.get(s)); in loadRegionData()
357 if ( r.type == RegionType.DEPRECATED && r.preferredValues.size() == 1) { in getInstance()
358 r = r.preferredValues.get(0); in getInstance()
393 if ( r.type == RegionType.DEPRECATED && r.preferredValues.size() == 1) { in getInstance()
394 r = r.preferredValues.get(0); in getInstance()
505 return Collections.unmodifiableList(preferredValues); in getPreferredValues()
/external/icu/icu4c/source/i18n/
Dregion.cpp187 aliasFromRegion->preferredValues = newPreferredValues.orphan(); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
202 …aliasFromRegion->preferredValues->addElement((void *)preferredValue.orphan(),status); // may add … in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
362 preferredValues(NULL) { in Region()
370 if (preferredValues) { in ~Region()
371 delete preferredValues; in ~Region()
424 if ( r->type == URGN_DEPRECATED && r->preferredValues->size() == 1) { in getInstance()
473 if ( r->type == URGN_DEPRECATED && r->preferredValues->size() == 1) { in getInstance()
619 return new RegionNameEnumeration(preferredValues,status); in getPreferredValues()
/external/icu/icu4c/source/i18n/unicode/
Dregion.h202 UVector *preferredValues; variable
/external/icu/icu4c/source/test/intltest/
Dregiontst.cpp619 StringEnumeration *preferredValues = r->getPreferredValues(status); in TestGetPreferredValues() local
626 preferredValues->reset(status); in TestGetPreferredValues()
627 while ( const char *check = preferredValues->next(NULL,status) ) { in TestGetPreferredValues()
637 delete preferredValues; in TestGetPreferredValues()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DRegionTest.java532 List<Region> preferredValues = r.getPreferredValues(); in TestGetPreferredValues() local
536 if ( !preferredValues.contains(pvr)) { in TestGetPreferredValues()