Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Duregiontest.c394 UEnumeration *containedRegions; in TestGetContainedRegions() local
399 containedRegions = uregion_getContainedRegions(r, &status); in TestGetContainedRegions()
400 if (containedRegions != NULL) { in TestGetContainedRegions()
401 … while ((crID = uenum_next(containedRegions, NULL, &status)) != NULL && U_SUCCESS(status) ) { in TestGetContainedRegions()
409 uenum_close(containedRegions); in TestGetContainedRegions()
423 UEnumeration *containedRegions; in TestGetContainedRegionsWithType() local
428 containedRegions = uregion_getContainedRegionsOfType(r, URGN_TERRITORY, &status); in TestGetContainedRegionsWithType()
429 if (containedRegions != NULL) { in TestGetContainedRegionsWithType()
430 … while ((crID = uenum_next(containedRegions, NULL, &status)) != NULL && U_SUCCESS(status) ) { in TestGetContainedRegionsWithType()
438 uenum_close(containedRegions); in TestGetContainedRegionsWithType()
/external/icu/icu4c/source/test/intltest/
Dregiontst.cpp504 StringEnumeration *containedRegions = r->getContainedRegions(status); in TestGetContainedRegions() local
509 for ( int32_t i = 0 ; i < containedRegions->count(status); i++ ) { in TestGetContainedRegions()
510 const char *crID = containedRegions->next(NULL,status); in TestGetContainedRegions()
518 delete containedRegions; in TestGetContainedRegions()
535 StringEnumeration *containedRegions = r->getContainedRegions(URGN_TERRITORY, status); in TestGetContainedRegionsWithType() local
540 for ( int32_t j = 0 ; j < containedRegions->count(status); j++ ) { in TestGetContainedRegionsWithType()
541 const char *crID = containedRegions->next(NULL,status); in TestGetContainedRegionsWithType()
549 delete containedRegions; in TestGetContainedRegionsWithType()
722 StringEnumeration *containedRegions = region->getContainedRegions(status); in TestNoContainedRegions() local
727 const char *emptyStr = containedRegions->next(NULL, status); in TestNoContainedRegions()
[all …]
/external/icu/icu4c/source/i18n/
Dregion.cpp353 if (parentRegion->containedRegions == NULL) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
354 …parentRegion->containedRegions = new UVector(uprv_deleteUObject, uhash_compareUnicodeString, statu… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
362 parentRegion->containedRegions->addElement((void *)childStr.orphan(),status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
429 containedRegions(NULL), in Region()
435 if (containedRegions) { in ~Region()
436 delete containedRegions; in ~Region()
608 return new RegionNameEnumeration(containedRegions,status); in getContainedRegions()
657 if (!containedRegions) { in contains()
660 if (containedRegions->contains((void *)&other.idStr)) { in contains()
663 for ( int32_t i = 0 ; i < containedRegions->size() ; i++ ) { in contains()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DRegionTest.java448 Set<Region> containedRegions = r.getContainedRegions(); in TestGetContainedRegions() local
449 for (Region cr : containedRegions ) { in TestGetContainedRegions()
469 Set<Region> containedRegions = r.getContainedRegions(Region.RegionType.TERRITORY); in TestGetContainedRegionsWithType() local
470 for (Region cr : containedRegions ) { in TestGetContainedRegionsWithType()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DRegionTest.java451 Set<Region> containedRegions = r.getContainedRegions(); in TestGetContainedRegions() local
452 for (Region cr : containedRegions ) { in TestGetContainedRegions()
472 Set<Region> containedRegions = r.getContainedRegions(Region.RegionType.TERRITORY); in TestGetContainedRegionsWithType() local
473 for (Region cr : containedRegions ) { in TestGetContainedRegionsWithType()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DRegion.java117 private Set<Region> containedRegions = new TreeSet<Region>(); field in Region
339 parentRegion.containedRegions.add(childRegion); in loadRegionData()
499 return Collections.unmodifiableSet(containedRegions); in getContainedRegions()
556 if (containedRegions.contains(other)) { in contains()
559 for (Region cr : containedRegions) { in contains()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DRegion.java114 private Set<Region> containedRegions = new TreeSet<Region>(); field in Region
336 parentRegion.containedRegions.add(childRegion); in loadRegionData()
490 return Collections.unmodifiableSet(containedRegions); in getContainedRegions()
542 if (containedRegions.contains(other)) { in contains()
545 for (Region cr : containedRegions) { in contains()
/external/icu/icu4c/source/i18n/unicode/
Dregion.h197 UVector *containedRegions; variable