Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dstdnmtst.c173 UEnumeration *myEnum = ucnv_openStandardNames(name, standard, &err); in doTestNames() local
175 int32_t enumCount = uenum_count(myEnum, &err); in doTestNames()
186 if (size < 0 && myEnum) { in doTestNames()
193 enumName = uenum_next(myEnum, &len, &err); in doTestNames()
206 enumName = uenum_next(myEnum, &len, &err); in doTestNames()
212 uenum_reset(myEnum, &err); in doTestNames()
219 uenum_close(myEnum); in doTestNames()
225 UEnumeration *myEnum = ucnv_openStandardNames(name, standard, &err); in doTestUCharNames() local
226 int32_t enumCount = uenum_count(myEnum, &err); in doTestUCharNames()
238 if (size < 0 && myEnum) { in doTestUCharNames()
[all …]
/external/icu/icu4c/source/common/
Ducnv_io.cpp839 UEnumeration *myEnum = NULL; in ucnv_openStandardNames() local
849 myEnum = static_cast<UEnumeration *>(uprv_malloc(sizeof(UEnumeration))); in ucnv_openStandardNames()
850 if (myEnum == NULL) { in ucnv_openStandardNames()
854 uprv_memcpy(myEnum, &gEnumAliases, sizeof(UEnumeration)); in ucnv_openStandardNames()
858 uprv_free(myEnum); in ucnv_openStandardNames()
863 myEnum->context = myContext; in ucnv_openStandardNames()
867 return myEnum; in ucnv_openStandardNames()
1065 UEnumeration *myEnum = NULL; in ucnv_openAllNames() local
1069 myEnum = static_cast<UEnumeration *>(uprv_malloc(sizeof(UEnumeration))); in ucnv_openAllNames()
1070 if (myEnum == NULL) { in ucnv_openAllNames()
[all …]
Ducurr.cpp2272 UEnumeration *myEnum = NULL; in ucurr_openISOCurrencies() local
2275 myEnum = (UEnumeration*)uprv_malloc(sizeof(UEnumeration)); in ucurr_openISOCurrencies()
2276 if (myEnum == NULL) { in ucurr_openISOCurrencies()
2280 uprv_memcpy(myEnum, &gEnumCurrencyList, sizeof(UEnumeration)); in ucurr_openISOCurrencies()
2284 uprv_free(myEnum); in ucurr_openISOCurrencies()
2289 myEnum->context = myContext; in ucurr_openISOCurrencies()
2290 return myEnum; in ucurr_openISOCurrencies()
/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/test/intltest/
Ditutil.cpp860 enum myEnum { enum
869 EnumSet<myEnum, in TestEnumSet()