Home
last modified time | relevance | path

Searched refs:containedRegions (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Duregiontest.c392 UEnumeration *containedRegions; in TestGetContainedRegions() local
397 containedRegions = uregion_getContainedRegions(r, &status); in TestGetContainedRegions()
398 if (containedRegions != NULL) { in TestGetContainedRegions()
399 … while ((crID = uenum_next(containedRegions, NULL, &status)) != NULL && U_SUCCESS(status) ) { in TestGetContainedRegions()
407 uenum_close(containedRegions); in TestGetContainedRegions()
421 UEnumeration *containedRegions; in TestGetContainedRegionsWithType() local
426 containedRegions = uregion_getContainedRegionsOfType(r, URGN_TERRITORY, &status); in TestGetContainedRegionsWithType()
427 if (containedRegions != NULL) { in TestGetContainedRegionsWithType()
428 … while ((crID = uenum_next(containedRegions, NULL, &status)) != NULL && U_SUCCESS(status) ) { in TestGetContainedRegionsWithType()
436 uenum_close(containedRegions); in TestGetContainedRegionsWithType()
/external/icu/icu4c/source/test/intltest/
Dregiontst.cpp502 StringEnumeration *containedRegions = r->getContainedRegions(status); in TestGetContainedRegions() local
507 for ( int32_t i = 0 ; i < containedRegions->count(status); i++ ) { in TestGetContainedRegions()
508 const char *crID = containedRegions->next(NULL,status); in TestGetContainedRegions()
516 delete containedRegions; in TestGetContainedRegions()
533 StringEnumeration *containedRegions = r->getContainedRegions(URGN_TERRITORY, status); in TestGetContainedRegionsWithType() local
538 for ( int32_t j = 0 ; j < containedRegions->count(status); j++ ) { in TestGetContainedRegionsWithType()
539 const char *crID = containedRegions->next(NULL,status); in TestGetContainedRegionsWithType()
547 delete containedRegions; in TestGetContainedRegionsWithType()
720 StringEnumeration *containedRegions = region->getContainedRegions(status); in TestNoContainedRegions() local
725 const char *emptyStr = containedRegions->next(NULL, status); in TestNoContainedRegions()
[all …]
/external/icu/icu4c/source/i18n/
Dregion.cpp291 if (parentRegion->containedRegions == NULL) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
292 …parentRegion->containedRegions = new UVector(uprv_deleteUObject, uhash_compareUnicodeString, statu… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
300 parentRegion->containedRegions->addElement((void *)childStr.orphan(),status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
361 containedRegions(NULL), in Region()
367 if (containedRegions) { in ~Region()
368 delete containedRegions; in ~Region()
541 return new RegionNameEnumeration(containedRegions,status); in getContainedRegions()
590 if (!containedRegions) { in contains()
593 if (containedRegions->contains((void *)&other.idStr)) { in contains()
596 for ( int32_t i = 0 ; i < containedRegions->size() ; i++ ) { in contains()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DRegion.java113 private Set<Region> containedRegions = new TreeSet<Region>(); field in Region
303 parentRegion.containedRegions.add(childRegion); in loadRegionData()
463 return Collections.unmodifiableSet(containedRegions); in getContainedRegions()
520 if (containedRegions.contains(other)) { in contains()
523 for (Region cr : containedRegions) { in contains()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DRegionTest.java442 Set<Region> containedRegions = r.getContainedRegions(); in TestGetContainedRegions() local
443 for (Region cr : containedRegions ) { in TestGetContainedRegions()
462 Set<Region> containedRegions = r.getContainedRegions(Region.RegionType.TERRITORY); in TestGetContainedRegionsWithType() local
463 for (Region cr : containedRegions ) { in TestGetContainedRegionsWithType()
/external/icu/icu4c/source/i18n/unicode/
Dregion.h201 UVector *containedRegions; variable