Home
last modified time | relevance | path

Searched refs:myEnum (Results 1 – 7 of 7) 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/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DEnumDeserializationTest.java509 EnumWithDefaultAnno myEnum = mapper.readValue("\"foo\"", EnumWithDefaultAnno.class); in testEnumWithDefaultAnnotation() local
510 assertSame(EnumWithDefaultAnno.OTHER, myEnum); in testEnumWithDefaultAnnotation()
517 EnumWithDefaultAnno myEnum = mapper.readValue("1", EnumWithDefaultAnno.class); in testEnumWithDefaultAnnotationUsingIndexInBound1() local
518 assertSame(EnumWithDefaultAnno.B, myEnum); in testEnumWithDefaultAnnotationUsingIndexInBound1()
525 EnumWithDefaultAnno myEnum = mapper.readValue("2", EnumWithDefaultAnno.class); in testEnumWithDefaultAnnotationUsingIndexInBound2() local
526 assertSame(EnumWithDefaultAnno.OTHER, myEnum); in testEnumWithDefaultAnnotationUsingIndexInBound2()
533 EnumWithDefaultAnno myEnum = mapper.readValue("3", EnumWithDefaultAnno.class); in testEnumWithDefaultAnnotationUsingIndexSameAsLength() local
534 assertSame(EnumWithDefaultAnno.OTHER, myEnum); in testEnumWithDefaultAnnotationUsingIndexSameAsLength()
541 EnumWithDefaultAnno myEnum = mapper.readValue("4", EnumWithDefaultAnno.class); in testEnumWithDefaultAnnotationUsingIndexOutOfBound() local
542 assertSame(EnumWithDefaultAnno.OTHER, myEnum); in testEnumWithDefaultAnnotationUsingIndexOutOfBound()
[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.cpp2244 UEnumeration *myEnum = NULL; in ucurr_openISOCurrencies() local
2247 myEnum = (UEnumeration*)uprv_malloc(sizeof(UEnumeration)); in ucurr_openISOCurrencies()
2248 if (myEnum == NULL) { in ucurr_openISOCurrencies()
2252 uprv_memcpy(myEnum, &gEnumCurrencyList, sizeof(UEnumeration)); in ucurr_openISOCurrencies()
2256 uprv_free(myEnum); in ucurr_openISOCurrencies()
2261 myEnum->context = myContext; in ucurr_openISOCurrencies()
2262 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.cpp847 enum myEnum { enum
856 EnumSet<myEnum, in TestEnumSet()
/external/llvm-project/clang/docs/
DClangFormatStyleOptions.rst451 enum { A, B } myEnum;
458 } myEnum;