Lines Matching refs:enumerator
600 ucnvsel_close_selector_iterator(UEnumeration *enumerator) { in ucnvsel_close_selector_iterator() argument
601 uprv_free(((Enumerator*)(enumerator->context))->index); in ucnvsel_close_selector_iterator()
602 uprv_free(enumerator->context); in ucnvsel_close_selector_iterator()
603 uprv_free(enumerator); in ucnvsel_close_selector_iterator()
608 ucnvsel_count_encodings(UEnumeration *enumerator, UErrorCode *status) { in ucnvsel_count_encodings() argument
613 return ((Enumerator*)(enumerator->context))->length; in ucnvsel_count_encodings()
617 static const char* U_CALLCONV ucnvsel_next_encoding(UEnumeration* enumerator, in ucnvsel_next_encoding() argument
625 int16_t cur = ((Enumerator*)(enumerator->context))->cur; in ucnvsel_next_encoding()
628 if (cur >= ((Enumerator*)(enumerator->context))->length) { in ucnvsel_next_encoding()
631 sel = ((Enumerator*)(enumerator->context))->sel; in ucnvsel_next_encoding()
632 result = sel->encodings[((Enumerator*)(enumerator->context))->index[cur] ]; in ucnvsel_next_encoding()
633 ((Enumerator*)(enumerator->context))->cur++; in ucnvsel_next_encoding()
640 static void U_CALLCONV ucnvsel_reset_iterator(UEnumeration* enumerator, in ucnvsel_reset_iterator() argument
646 ((Enumerator*)(enumerator->context))->cur = 0; in ucnvsel_reset_iterator()