Lines Matching refs:zend_generator

37 ZEND_API void zend_generator_restore_call_stack(zend_generator *generator) /* {{{ */  in zend_generator_restore_call_stack()
115 zend_generator *generator, zend_execute_data *execute_data, uint32_t catch_op_num) /* {{{ */ in zend_generator_cleanup_unfinished_execution()
134 ZEND_API void zend_generator_close(zend_generator *generator, bool finished_execution) /* {{{ */ in zend_generator_close()
175 static void zend_generator_remove_child(zend_generator_node *node, zend_generator *child) in zend_generator_remove_child()
184 zend_generator *other_child; in zend_generator_remove_child()
196 static zend_always_inline zend_generator *clear_link_to_leaf(zend_generator *generator) { in clear_link_to_leaf()
198 zend_generator *leaf = generator->node.ptr.leaf; in clear_link_to_leaf()
207 static zend_always_inline void clear_link_to_root(zend_generator *generator) { in clear_link_to_root()
216 static inline bool check_node_running_in_fiber(zend_generator *generator) { in check_node_running_in_fiber()
231 zend_generator *child; in check_node_running_in_fiber()
243 zend_generator *generator = (zend_generator*) object; in zend_generator_dtor_storage()
244 zend_generator *current_generator = zend_generator_get_current(generator); in zend_generator_dtor_storage()
272 zend_generator *parent = generator->node.parent; in zend_generator_dtor_storage()
360 zend_generator *generator = (zend_generator*) object; in zend_generator_free_storage()
385 HashTable *zend_generator_frame_gc(zend_get_gc_buffer *gc_buffer, zend_generator *generator) in zend_generator_frame_gc()
415 zend_generator *generator = (zend_generator*)object; in zend_generator_get_gc()
455 zend_generator *generator = emalloc(sizeof(zend_generator)); in zend_generator_create()
456 memset(generator, 0, sizeof(zend_generator)); in zend_generator_create()
486 zend_generator *generator = (zend_generator *) Z_OBJ(ptr->This); in zend_generator_check_placeholder_frame()
501 static void zend_generator_throw_exception(zend_generator *generator, zval *exception) in zend_generator_throw_exception()
525 static void zend_generator_add_child(zend_generator *generator, zend_generator *child) in zend_generator_add_child()
546 void zend_generator_yield_from(zend_generator *generator, zend_generator *from) in zend_generator_yield_from()
549 zend_generator *leaf = clear_link_to_leaf(generator); in zend_generator_yield_from()
559 ZEND_API zend_generator *zend_generator_update_root(zend_generator *generator) in zend_generator_update_root()
561 zend_generator *root = generator->node.parent; in zend_generator_update_root()
572 static zend_generator *get_new_root(zend_generator *generator, zend_generator *root) in get_new_root()
591 ZEND_API zend_generator *zend_generator_update_current(zend_generator *generator) in zend_generator_update_current()
593 zend_generator *old_root = generator->node.ptr.root; in zend_generator_update_current()
596 zend_generator *new_root = get_new_root(generator, old_root); in zend_generator_update_current()
603 zend_generator *new_root_parent = new_root->node.parent; in zend_generator_update_current()
647 static zend_result zend_generator_get_next_delegated_value(zend_generator *generator) /* {{{ */ in zend_generator_get_next_delegated_value()
740 ZEND_API void zend_generator_resume(zend_generator *orig_generator) /* {{{ */ in zend_generator_resume()
742 zend_generator *generator = zend_generator_get_current(orig_generator); in zend_generator_resume()
875 static inline void zend_generator_ensure_initialized(zend_generator *generator) /* {{{ */ in zend_generator_ensure_initialized()
884 static inline void zend_generator_rewind(zend_generator *generator) /* {{{ */ in zend_generator_rewind()
897 zend_generator *generator; in ZEND_METHOD()
901 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
910 zend_generator *generator; in ZEND_METHOD()
914 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
927 zend_generator *generator, *root; in ZEND_METHOD()
931 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
945 zend_generator *generator, *root; in ZEND_METHOD()
949 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
963 zend_generator *generator; in ZEND_METHOD()
967 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
979 zend_generator *generator, *root; in ZEND_METHOD()
985 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
1013 zend_generator *generator; in ZEND_METHOD()
1021 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
1026 zend_generator *root = zend_generator_get_current(generator); in ZEND_METHOD()
1047 zend_generator *generator; in ZEND_METHOD()
1051 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
1071 zend_generator *generator; in ZEND_METHOD()
1075 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
1108 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); in zend_generator_iterator_valid()
1120 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data), *root; in zend_generator_iterator_get_data()
1132 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data), *root; in zend_generator_iterator_get_key()
1150 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); in zend_generator_iterator_move_forward()
1160 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); in zend_generator_iterator_rewind()
1189 zend_generator *generator = (zend_generator*)Z_OBJ_P(object); in zend_generator_get_iterator()