Home
last modified time | relevance | path

Searched refs:uenum (Results 1 – 12 of 12) sorted by relevance

/external/icu/icu4c/source/common/
Dustrenum.cpp150 uenum(_uenum) { in UStringEnumeration()
155 uenum_close(uenum); in ~UStringEnumeration()
159 return uenum_count(uenum, &status); in count()
163 return uenum_next(uenum, resultLength, &status); in next()
168 const UChar* str = uenum_unext(uenum, &length, &status); in snext()
176 uenum_reset(uenum, &status); in reset()
283 UEnumeration uenum; member
306 const UChar* result = ((const UChar**)e->uenum.context)[e->index++]; in ucharstrenum_unext()
322 const char* result = ((const char**)e->uenum.context)[e->index++]; in ucharstrenum_next()
366 U_ASSERT((char*)result==(char*)(&result->uenum)); in uenum_openCharStringsEnumeration()
[all …]
Dustrenum.h35 UStringEnumeration(UEnumeration* uenum);
79 UEnumeration *uenum; // owned
Dlocutil.cpp230 UEnumeration *uenum = ures_openAvailableLocales(path, &status); in getAvailableLocaleNames() local
232 const UChar* id = uenum_unext(uenum, NULL, &status); in getAvailableLocaleNames()
238 uenum_close(uenum); in getAvailableLocaleNames()
DAndroid.mk47 udataswp.c uenum.c \
DMakefile.in83 uhash.o uhash_us.o uenum.o ustrenum.o uvector.o ustack.o uvectr32.o uvectr64.o \
/external/icu/icu4c/source/i18n/
Dutrans.cpp306 UEnumeration uenum; member
312 utrans_enum_count(UEnumeration *uenum, UErrorCode *pErrorCode) { in utrans_enum_count() argument
316 return ((UTransEnumeration *)uenum)->count; in utrans_enum_count()
320 utrans_enum_unext(UEnumeration *uenum, in utrans_enum_unext() argument
327 UTransEnumeration *ute=(UTransEnumeration *)uenum; in utrans_enum_unext()
346 utrans_enum_reset(UEnumeration *uenum, UErrorCode *pErrorCode) { in utrans_enum_reset() argument
351 UTransEnumeration *ute=(UTransEnumeration *)uenum; in utrans_enum_reset()
357 utrans_enum_close(UEnumeration *uenum) { in utrans_enum_close() argument
358 uprv_free(uenum); in utrans_enum_close()
386 ute->uenum=utransEnumeration; in utrans_openIDs()
Dmeasunit.cpp1096 UEnumeration *uenum = uenum_openCharStringsEnumeration( in getAvailableTypes() local
1099 uenum_close(uenum); in getAvailableTypes()
1102 StringEnumeration *result = new UStringEnumeration(uenum); in getAvailableTypes()
1105 uenum_close(uenum); in getAvailableTypes()
Dcalendar.cpp1081 UEnumeration *uenum = ucal_getKeywordValuesForLocale(key, locale.getName(), in getKeywordValuesForLocale() local
1084 uenum_close(uenum); in getKeywordValuesForLocale()
1087 return new UStringEnumeration(uenum); in getKeywordValuesForLocale()
/external/icu/icu4c/source/test/cintltst/
Dutransts.c182 UEnumeration *uenum; in TestUnicodeIDs() local
190 uenum=utrans_openIDs(&errorCode); in TestUnicodeIDs()
196 count=uenum_count(uenum, &errorCode); in TestUnicodeIDs()
203 id=uenum_unext(uenum, &idLength, &errorCode); in TestUnicodeIDs()
231 uenum_reset(uenum, &errorCode); in TestUnicodeIDs()
235 count2=uenum_count(uenum, &errorCode); in TestUnicodeIDs()
243 uenum_close(uenum); in TestUnicodeIDs()
Dccaltst.c97 UEnumeration* uenum = NULL; in TestCalendar() local
146 uenum = ucal_openTimeZones(&status); in TestCalendar()
150 uenum = ucal_openCountryTimeZones("US", &status); in TestCalendar()
154 uenum = ucal_openTimeZoneIDEnumeration(UCAL_ZONE_TYPE_CANONICAL, NULL, NULL, &status); in TestCalendar()
158uenum = ucal_openTimeZoneIDEnumeration(UCAL_ZONE_TYPE_CANONICAL_LOCATION, "CA", NULL, &status); in TestCalendar()
162uenum = ucal_openTimeZoneIDEnumeration(UCAL_ZONE_TYPE_ANY, NULL, &offsetMinus5, &status); in TestCalendar()
166uenum = ucal_openTimeZoneIDEnumeration(UCAL_ZONE_TYPE_ANY, "US", &offsetMinus5, &status); in TestCalendar()
175 count = uenum_count(uenum, &status); in TestCalendar()
180 uenum_reset(uenum, &status); in TestCalendar()
186 id = uenum_next(uenum, &len, &status); in TestCalendar()
[all …]
Dcnumtst.c2332 UEnumeration * uenum; in TestUNumberingSystem() local
2360 uenum = unumsys_openAvailableNames(&status); in TestUNumberingSystem()
2366 while ( (numsys = uenum_next(uenum, NULL, &status)) != NULL && U_SUCCESS(status) ) { in TestUNumberingSystem()
2379 uenum_close(uenum); in TestUNumberingSystem()
/external/icu/icu4c/source/test/depstest/
Ddependencies.txt314 ustrenum.o uenum.o