Home
last modified time | relevance | path

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

/external/icu/icu4c/source/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/icu/icu4c/source/common/
Ducnv_io.cpp833 UEnumeration *myEnum = NULL; in ucnv_openStandardNames() local
843 myEnum = static_cast<UEnumeration *>(uprv_malloc(sizeof(UEnumeration))); in ucnv_openStandardNames()
844 if (myEnum == NULL) { in ucnv_openStandardNames()
848 uprv_memcpy(myEnum, &gEnumAliases, sizeof(UEnumeration)); in ucnv_openStandardNames()
852 uprv_free(myEnum); in ucnv_openStandardNames()
857 myEnum->context = myContext; in ucnv_openStandardNames()
861 return myEnum; in ucnv_openStandardNames()
1056 UEnumeration *myEnum = NULL; in ucnv_openAllNames() local
1060 myEnum = static_cast<UEnumeration *>(uprv_malloc(sizeof(UEnumeration))); in ucnv_openAllNames()
1061 if (myEnum == NULL) { in ucnv_openAllNames()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue311/
DBooleanEnumTest.java69 BooleanEnum myEnum = (BooleanEnum) data; in representData() local
71 switch (myEnum) { in representData()
/external/icu/icu4c/source/i18n/
Ducurr.cpp2249 UEnumeration *myEnum = NULL; in ucurr_openISOCurrencies() local
2252 myEnum = (UEnumeration*)uprv_malloc(sizeof(UEnumeration)); in ucurr_openISOCurrencies()
2253 if (myEnum == NULL) { in ucurr_openISOCurrencies()
2257 uprv_memcpy(myEnum, &gEnumCurrencyList, sizeof(UEnumeration)); in ucurr_openISOCurrencies()
2261 uprv_free(myEnum); in ucurr_openISOCurrencies()
2266 myEnum->context = myContext; in ucurr_openISOCurrencies()
2267 return myEnum; in ucurr_openISOCurrencies()
/external/icu/icu4c/source/test/intltest/
Ditutil.cpp748 enum myEnum { enum
757 EnumSet<myEnum, in TestEnumSet()