Lines Matching refs:enumerator
602 ucnvsel_close_selector_iterator(UEnumeration *enumerator) { in ucnvsel_close_selector_iterator() argument
603 uprv_free(((Enumerator*)(enumerator->context))->index); in ucnvsel_close_selector_iterator()
604 uprv_free(enumerator->context); in ucnvsel_close_selector_iterator()
605 uprv_free(enumerator); in ucnvsel_close_selector_iterator()
610 ucnvsel_count_encodings(UEnumeration *enumerator, UErrorCode *status) { in ucnvsel_count_encodings() argument
615 return ((Enumerator*)(enumerator->context))->length; in ucnvsel_count_encodings()
619 static const char* U_CALLCONV ucnvsel_next_encoding(UEnumeration* enumerator, in ucnvsel_next_encoding() argument
627 int16_t cur = ((Enumerator*)(enumerator->context))->cur; in ucnvsel_next_encoding()
630 if (cur >= ((Enumerator*)(enumerator->context))->length) { in ucnvsel_next_encoding()
633 sel = ((Enumerator*)(enumerator->context))->sel; in ucnvsel_next_encoding()
634 result = sel->encodings[((Enumerator*)(enumerator->context))->index[cur] ]; in ucnvsel_next_encoding()
635 ((Enumerator*)(enumerator->context))->cur++; in ucnvsel_next_encoding()
642 static void U_CALLCONV ucnvsel_reset_iterator(UEnumeration* enumerator, in ucnvsel_reset_iterator() argument
648 ((Enumerator*)(enumerator->context))->cur = 0; in ucnvsel_reset_iterator()