Lines Matching refs:iter
31 zend_object_iterator iter; member
42 static void com_iter_dtor(zend_object_iterator *iter) in com_iter_dtor() argument
44 struct php_com_iterator *I = (struct php_com_iterator*)Z_PTR(iter->data); in com_iter_dtor()
54 static int com_iter_valid(zend_object_iterator *iter) in com_iter_valid() argument
56 struct php_com_iterator *I = (struct php_com_iterator*)Z_PTR(iter->data); in com_iter_valid()
65 static zval* com_iter_get_data(zend_object_iterator *iter) in com_iter_get_data() argument
67 struct php_com_iterator *I = (struct php_com_iterator*)Z_PTR(iter->data); in com_iter_get_data()
72 static void com_iter_get_key(zend_object_iterator *iter, zval *key) in com_iter_get_key() argument
74 struct php_com_iterator *I = (struct php_com_iterator*)Z_PTR(iter->data); in com_iter_get_key()
83 static void com_iter_move_forwards(zend_object_iterator *iter) in com_iter_move_forwards() argument
85 struct php_com_iterator *I = (struct php_com_iterator*)Z_PTR(iter->data); in com_iter_move_forwards()
161 zend_iterator_init(&I->iter); in php_com_iter_get()
162 I->iter.funcs = &com_iter_funcs; in php_com_iter_get()
163 Z_PTR(I->iter.data) = I; in php_com_iter_get()
235 return &I->iter; in php_com_iter_get()