Lines Matching refs:zend_generator

35 ZEND_API void zend_generator_restore_call_stack(zend_generator *generator) /* {{{ */  in zend_generator_restore_call_stack()
113 zend_generator *generator, zend_execute_data *execute_data, uint32_t catch_op_num) /* {{{ */ in zend_generator_cleanup_unfinished_execution()
133 ZEND_API void zend_generator_close(zend_generator *generator, bool finished_execution) /* {{{ */ in zend_generator_close()
179 static void zend_generator_remove_child(zend_generator_node *node, zend_generator *child) in zend_generator_remove_child()
188 zend_generator *other_child; in zend_generator_remove_child()
200 static zend_always_inline zend_generator *clear_link_to_leaf(zend_generator *generator) { in clear_link_to_leaf()
202 zend_generator *leaf = generator->node.ptr.leaf; in clear_link_to_leaf()
211 static zend_always_inline void clear_link_to_root(zend_generator *generator) { in clear_link_to_root()
221 zend_generator *generator = (zend_generator*) object; in zend_generator_dtor_storage()
240 zend_generator *parent = generator->node.parent; in zend_generator_dtor_storage()
329 zend_generator *generator = (zend_generator*) object; in zend_generator_free_storage()
352 zend_generator *generator = (zend_generator*)object; in zend_generator_get_gc()
407 zend_generator *generator; in zend_generator_create()
409 generator = emalloc(sizeof(zend_generator)); in zend_generator_create()
410 memset(generator, 0, sizeof(zend_generator)); in zend_generator_create()
442 zend_generator *generator = (zend_generator *) Z_OBJ(ptr->This); in zend_generator_check_placeholder_frame()
457 static void zend_generator_throw_exception(zend_generator *generator, zval *exception) in zend_generator_throw_exception()
482 static void zend_generator_add_child(zend_generator *generator, zend_generator *child) in zend_generator_add_child()
503 void zend_generator_yield_from(zend_generator *generator, zend_generator *from) in zend_generator_yield_from()
506 zend_generator *leaf = clear_link_to_leaf(generator); in zend_generator_yield_from()
516 ZEND_API zend_generator *zend_generator_update_root(zend_generator *generator) in zend_generator_update_root()
518 zend_generator *root = generator->node.parent; in zend_generator_update_root()
529 static zend_generator *get_new_root(zend_generator *generator, zend_generator *root) in get_new_root()
548 ZEND_API zend_generator *zend_generator_update_current(zend_generator *generator) in zend_generator_update_current()
550 zend_generator *old_root = generator->node.ptr.root; in zend_generator_update_current()
553 zend_generator *new_root = get_new_root(generator, old_root); in zend_generator_update_current()
560 zend_generator *new_root_parent = new_root->node.parent; in zend_generator_update_current()
606 static zend_result zend_generator_get_next_delegated_value(zend_generator *generator) /* {{{ */ in zend_generator_get_next_delegated_value()
685 ZEND_API void zend_generator_resume(zend_generator *orig_generator) /* {{{ */ in zend_generator_resume()
687 zend_generator *generator = zend_generator_get_current(orig_generator); in zend_generator_resume()
805 static inline void zend_generator_ensure_initialized(zend_generator *generator) /* {{{ */ in zend_generator_ensure_initialized()
814 static inline void zend_generator_rewind(zend_generator *generator) /* {{{ */ in zend_generator_rewind()
827 zend_generator *generator; in ZEND_METHOD()
831 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
840 zend_generator *generator; in ZEND_METHOD()
844 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
857 zend_generator *generator, *root; in ZEND_METHOD()
861 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
875 zend_generator *generator, *root; in ZEND_METHOD()
879 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
893 zend_generator *generator; in ZEND_METHOD()
897 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
909 zend_generator *generator, *root; in ZEND_METHOD()
915 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
943 zend_generator *generator; in ZEND_METHOD()
951 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
956 zend_generator *root = zend_generator_get_current(generator); in ZEND_METHOD()
977 zend_generator *generator; in ZEND_METHOD()
981 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
1009 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); in zend_generator_iterator_valid()
1021 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data), *root; in zend_generator_iterator_get_data()
1033 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data), *root; in zend_generator_iterator_get_key()
1051 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); in zend_generator_iterator_move_forward()
1061 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); in zend_generator_iterator_rewind()
1090 zend_generator *generator = (zend_generator*)Z_OBJ_P(object); in zend_generator_get_iterator()