Home | History | Annotate | Download | only in i18n

Lines Matching refs:URegion

12 #include "unicode/uregion.h"
19 U_CAPI const URegion* U_EXPORT2
22 return (URegion*)Region::getInstance(regionCode, *status);
26 U_CAPI const URegion* U_EXPORT2
29 return (URegion*)Region::getInstance(code, *status);
41 uregion_areEqual(const URegion* uregion, const URegion* otherRegion)
43 return ( (void*)uregion == (void*)otherRegion );
47 U_CAPI const URegion* U_EXPORT2
48 uregion_getContainingRegion(const URegion* uregion)
50 return (URegion*)((Region*)uregion)->getContainingRegion();
54 U_CAPI const URegion* U_EXPORT2
55 uregion_getContainingRegionOfType(const URegion* uregion, URegionType type)
57 return (URegion*)((Region*)uregion)->getContainingRegion(type);
62 uregion_getContainedRegions(const URegion* uregion, UErrorCode *status)
64 return uenum_openFromStringEnumeration( ((Region*)uregion)->getContainedRegions(), status);
69 uregion_getContainedRegionsOfType(const URegion* uregion, URegionType type, UErrorCode *status)
71 return uenum_openFromStringEnumeration( ((Region*)uregion)->getContainedRegions(type), status);
76 uregion_contains(const URegion* uregion, const URegion* otherRegion)
78 return ((Region*)uregion)->contains(*((Region*)otherRegion));
83 uregion_getPreferredValues(const URegion* uregion, UErrorCode *status)
85 return uenum_openFromStringEnumeration( ((Region*)uregion)->getPreferredValues(), status);
90 uregion_getRegionCode(const URegion* uregion)
92 return ((Region*)uregion)->getRegionCode();
97 uregion_getNumericCode(const URegion* uregion)
99 return ((Region*)uregion)->getNumericCode();
104 uregion_getType(const URegion* uregion)
106 return ((Region*)uregion)->getType();