Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Duenumtst.c227 UEnumeration *emptyEnum = uprv_malloc(sizeof(UEnumeration)); in EmptyEnumerationTest() local
229 uprv_memcpy(emptyEnum, &emptyEnumerator, sizeof(UEnumeration)); in EmptyEnumerationTest()
230 if (uenum_count(emptyEnum, &status) != -1 || status != U_UNSUPPORTED_ERROR) { in EmptyEnumerationTest()
234 if (uenum_next(emptyEnum, NULL, &status) != NULL || status != U_UNSUPPORTED_ERROR) { in EmptyEnumerationTest()
238 if (uenum_unext(emptyEnum, NULL, &status) != NULL || status != U_UNSUPPORTED_ERROR) { in EmptyEnumerationTest()
242 uenum_reset(emptyEnum, &status); in EmptyEnumerationTest()
246 uenum_close(emptyEnum); in EmptyEnumerationTest()
262 emptyEnum = uprv_malloc(sizeof(UEnumeration)); in EmptyEnumerationTest()
263 uprv_memcpy(emptyEnum, &emptyPartialEnumerator, sizeof(UEnumeration)); in EmptyEnumerationTest()
265 if (uenum_unext(emptyEnum, NULL, &status) != NULL || status != U_UNSUPPORTED_ERROR) { in EmptyEnumerationTest()
[all …]