Lines Matching refs:iterator
226 ii->iterator = (zend_object_iterator*)emalloc(sizeof(zoi_break_iter_parts)); in IntlIterator_from_BreakIterator_parts()
227 zend_iterator_init(ii->iterator); in IntlIterator_from_BreakIterator_parts()
229 ZVAL_COPY(&ii->iterator->data, break_iter_zv); in IntlIterator_from_BreakIterator_parts()
230 ii->iterator->funcs = &breakiterator_parts_it_funcs; in IntlIterator_from_BreakIterator_parts()
231 ii->iterator->index = 0; in IntlIterator_from_BreakIterator_parts()
233 ((zoi_with_current*)ii->iterator)->destroy_it = _breakiterator_parts_destroy_it; in IntlIterator_from_BreakIterator_parts()
234 ZVAL_OBJ(&((zoi_with_current*)ii->iterator)->wrapping_obj, Z_OBJ_P(object)); in IntlIterator_from_BreakIterator_parts()
235 ZVAL_UNDEF(&((zoi_with_current*)ii->iterator)->current); in IntlIterator_from_BreakIterator_parts()
237 ((zoi_break_iter_parts*)ii->iterator)->bio = Z_INTL_BREAKITERATOR_P(break_iter_zv); in IntlIterator_from_BreakIterator_parts()
239 assert(((zoi_break_iter_parts*)ii->iterator)->bio->biter != NULL); in IntlIterator_from_BreakIterator_parts()
241 ((zoi_break_iter_parts*)ii->iterator)->key_type = key_type; in IntlIterator_from_BreakIterator_parts()
242 ((zoi_break_iter_parts*)ii->iterator)->index_right = 0; in IntlIterator_from_BreakIterator_parts()
255 RETURN_COPY_DEREF(&ii->iterator->data); in PHP_METHOD()
268 zval *iter = &ii->iterator->data; in PHP_METHOD()