Lines Matching refs:emptyEnum
225 UEnumeration *emptyEnum = uprv_malloc(sizeof(UEnumeration));
227 uprv_memcpy(emptyEnum, &emptyEnumerator, sizeof(UEnumeration));
228 if (uenum_count(emptyEnum, &status) != -1 || status != U_UNSUPPORTED_ERROR) {
232 if (uenum_next(emptyEnum, NULL, &status) != NULL || status != U_UNSUPPORTED_ERROR) {
236 if (uenum_unext(emptyEnum, NULL, &status) != NULL || status != U_UNSUPPORTED_ERROR) {
240 uenum_reset(emptyEnum, &status);
244 uenum_close(emptyEnum);
260 emptyEnum = uprv_malloc(sizeof(UEnumeration));
261 uprv_memcpy(emptyEnum, &emptyPartialEnumerator, sizeof(UEnumeration));
263 if (uenum_unext(emptyEnum, NULL, &status) != NULL || status != U_UNSUPPORTED_ERROR) {
266 uenum_close(emptyEnum);