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()
135 ZEND_API void zend_generator_close(zend_generator *generator, bool finished_execution) /* {{{ */ in zend_generator_close()
181 static void zend_generator_remove_child(zend_generator_node *node, zend_generator *child) in zend_generator_remove_child()
190 zend_generator *other_child; in zend_generator_remove_child()
202 static zend_always_inline zend_generator *clear_link_to_leaf(zend_generator *generator) { in clear_link_to_leaf()
204 zend_generator *leaf = generator->node.ptr.leaf; in clear_link_to_leaf()
213 static zend_always_inline void clear_link_to_root(zend_generator *generator) { in clear_link_to_root()
222 static inline bool check_node_running_in_fiber(zend_generator *generator) { in check_node_running_in_fiber()
237 zend_generator *child; in check_node_running_in_fiber()
249 zend_generator *generator = (zend_generator*) object; in zend_generator_dtor_storage()
250 zend_generator *current_generator = zend_generator_get_current(generator); in zend_generator_dtor_storage()
278 zend_generator *parent = generator->node.parent; in zend_generator_dtor_storage()
367 zend_generator *generator = (zend_generator*) object; in zend_generator_free_storage()
388 HashTable *zend_generator_frame_gc(zend_get_gc_buffer *gc_buffer, zend_generator *generator) in zend_generator_frame_gc()
418 zend_generator *generator = (zend_generator*)object; in zend_generator_get_gc()
449 zend_generator *generator; in zend_generator_create()
451 generator = emalloc(sizeof(zend_generator)); in zend_generator_create()
452 memset(generator, 0, sizeof(zend_generator)); in zend_generator_create()
484 zend_generator *generator = (zend_generator *) Z_OBJ(ptr->This); in zend_generator_check_placeholder_frame()
499 static void zend_generator_throw_exception(zend_generator *generator, zval *exception) in zend_generator_throw_exception()
528 static void zend_generator_add_child(zend_generator *generator, zend_generator *child) in zend_generator_add_child()
549 void zend_generator_yield_from(zend_generator *generator, zend_generator *from) in zend_generator_yield_from()
552 zend_generator *leaf = clear_link_to_leaf(generator); in zend_generator_yield_from()
562 ZEND_API zend_generator *zend_generator_update_root(zend_generator *generator) in zend_generator_update_root()
564 zend_generator *root = generator->node.parent; in zend_generator_update_root()
575 static zend_generator *get_new_root(zend_generator *generator, zend_generator *root) in get_new_root()
594 ZEND_API zend_generator *zend_generator_update_current(zend_generator *generator) in zend_generator_update_current()
596 zend_generator *old_root = generator->node.ptr.root; in zend_generator_update_current()
599 zend_generator *new_root = get_new_root(generator, old_root); in zend_generator_update_current()
606 zend_generator *new_root_parent = new_root->node.parent; in zend_generator_update_current()
652 static zend_result zend_generator_get_next_delegated_value(zend_generator *generator) /* {{{ */ in zend_generator_get_next_delegated_value()
745 ZEND_API void zend_generator_resume(zend_generator *orig_generator) /* {{{ */ in zend_generator_resume()
747 zend_generator *generator = zend_generator_get_current(orig_generator); in zend_generator_resume()
879 static inline void zend_generator_ensure_initialized(zend_generator *generator) /* {{{ */ in zend_generator_ensure_initialized()
888 static inline void zend_generator_rewind(zend_generator *generator) /* {{{ */ in zend_generator_rewind()
901 zend_generator *generator; in ZEND_METHOD()
905 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
914 zend_generator *generator; in ZEND_METHOD()
918 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
931 zend_generator *generator, *root; in ZEND_METHOD()
935 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
949 zend_generator *generator, *root; in ZEND_METHOD()
953 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
967 zend_generator *generator; in ZEND_METHOD()
971 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
983 zend_generator *generator, *root; in ZEND_METHOD()
989 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
1017 zend_generator *generator; in ZEND_METHOD()
1025 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
1030 zend_generator *root = zend_generator_get_current(generator); in ZEND_METHOD()
1051 zend_generator *generator; in ZEND_METHOD()
1055 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD()
1083 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); in zend_generator_iterator_valid()
1095 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data), *root; in zend_generator_iterator_get_data()
1107 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data), *root; in zend_generator_iterator_get_key()
1125 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); in zend_generator_iterator_move_forward()
1135 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); in zend_generator_iterator_rewind()
1164 zend_generator *generator = (zend_generator*)Z_OBJ_P(object); in zend_generator_get_iterator()