Lines Matching refs:zoi_iter
59 zoi_with_current *zoi_iter = (zoi_with_current*)iter; in _breakiterator_move_forward() local
69 ZVAL_LONG(&zoi_iter->current, (zend_long)pos); in _breakiterator_move_forward()
76 zoi_with_current *zoi_iter = (zoi_with_current*)iter; in _breakiterator_rewind() local
79 ZVAL_LONG(&zoi_iter->current, (zend_long)pos); in _breakiterator_rewind()
112 zoi_with_current *zoi_iter = static_cast<zoi_with_current*>(emalloc(sizeof *zoi_iter)); in _breakiterator_get_iterator() local
113 zend_iterator_init(&zoi_iter->zoi); in _breakiterator_get_iterator()
114 ZVAL_OBJ_COPY(&zoi_iter->zoi.data, Z_OBJ_P(object)); in _breakiterator_get_iterator()
115 zoi_iter->zoi.funcs = &breakiterator_iterator_funcs; in _breakiterator_get_iterator()
116 zoi_iter->zoi.index = 0; in _breakiterator_get_iterator()
117 zoi_iter->destroy_it = _breakiterator_destroy_it; in _breakiterator_get_iterator()
118 ZVAL_UNDEF(&zoi_iter->wrapping_obj); /* not used; object is in zoi.data */ in _breakiterator_get_iterator()
119 ZVAL_UNDEF(&zoi_iter->current); in _breakiterator_get_iterator()
121 return reinterpret_cast<zend_object_iterator *>(zoi_iter); in _breakiterator_get_iterator()