Home
last modified time | relevance | path

Searched refs:myEnum (Results 1 – 3 of 3) sorted by relevance

/external/icu4c/test/cintltst/
Dstdnmtst.c172 UEnumeration *myEnum = ucnv_openStandardNames(name, standard, &err); in doTestNames() local
174 int32_t enumCount = uenum_count(myEnum, &err); in doTestNames()
185 if (size < 0 && myEnum) { in doTestNames()
192 enumName = uenum_next(myEnum, &len, &err); in doTestNames()
205 enumName = uenum_next(myEnum, &len, &err); in doTestNames()
211 uenum_reset(myEnum, &err); in doTestNames()
218 uenum_close(myEnum); in doTestNames()
224 UEnumeration *myEnum = ucnv_openStandardNames(name, standard, &err); in doTestUCharNames() local
225 int32_t enumCount = uenum_count(myEnum, &err); in doTestUCharNames()
237 if (size < 0 && myEnum) { in doTestUCharNames()
[all …]
/external/icu4c/common/
Ducnv_io.c828 UEnumeration *myEnum = NULL; in ucnv_openStandardNames() local
838 myEnum = uprv_malloc(sizeof(UEnumeration)); in ucnv_openStandardNames()
839 if (myEnum == NULL) { in ucnv_openStandardNames()
843 uprv_memcpy(myEnum, &gEnumAliases, sizeof(UEnumeration)); in ucnv_openStandardNames()
847 uprv_free(myEnum); in ucnv_openStandardNames()
852 myEnum->context = myContext; in ucnv_openStandardNames()
856 return myEnum; in ucnv_openStandardNames()
1051 UEnumeration *myEnum = NULL; in ucnv_openAllNames() local
1055 myEnum = uprv_malloc(sizeof(UEnumeration)); in ucnv_openAllNames()
1056 if (myEnum == NULL) { in ucnv_openAllNames()
[all …]
/external/icu4c/i18n/
Ducurr.cpp1977 UEnumeration *myEnum = NULL; in ucurr_openISOCurrencies() local
1980 myEnum = (UEnumeration*)uprv_malloc(sizeof(UEnumeration)); in ucurr_openISOCurrencies()
1981 if (myEnum == NULL) { in ucurr_openISOCurrencies()
1985 uprv_memcpy(myEnum, &gEnumCurrencyList, sizeof(UEnumeration)); in ucurr_openISOCurrencies()
1989 uprv_free(myEnum); in ucurr_openISOCurrencies()
1994 myEnum->context = myContext; in ucurr_openISOCurrencies()
1995 return myEnum; in ucurr_openISOCurrencies()