Lines Matching refs:zend_generator
34 ZEND_API void zend_generator_restore_call_stack(zend_generator *generator) /* {{{ */ in zend_generator_restore_call_stack()
100 zend_generator *generator, zend_execute_data *execute_data, uint32_t catch_op_num) /* {{{ */ in zend_generator_cleanup_unfinished_execution()
118 ZEND_API void zend_generator_close(zend_generator *generator, zend_bool finished_execution) /* {{{ … in zend_generator_close()
167 static zend_generator *zend_generator_get_child(zend_generator_node *node, zend_generator *leaf);
171 zend_generator *generator = (zend_generator*) object; in zend_generator_dtor_storage()
183 zend_generator *root = generator->node.ptr.root, *next; in zend_generator_dtor_storage()
239 zend_generator *generator = (zend_generator*) object; in zend_generator_free_storage()
263 static uint32_t calc_gc_buffer_size(zend_generator *generator) /* {{{ */ in calc_gc_buffer_size()
302 zend_generator *root = generator->node.ptr.root; in calc_gc_buffer_size()
315 zend_generator *generator = (zend_generator*) Z_OBJ_P(object); in zend_generator_get_gc()
384 zend_generator *root = generator->node.ptr.root; in zend_generator_get_gc()
401 zend_generator *generator; in zend_generator_create()
403 generator = emalloc(sizeof(zend_generator)); in zend_generator_create()
404 memset(generator, 0, sizeof(zend_generator)); in zend_generator_create()
436 zend_generator *generator = (zend_generator *) Z_OBJ(ptr->This); in zend_generator_check_placeholder_frame()
437 …zend_generator *root = (generator->node.children < 1 ? generator : generator->node.ptr.leaf)->node… in zend_generator_check_placeholder_frame()
453 static void zend_generator_throw_exception(zend_generator *generator, zval *exception) in zend_generator_throw_exception()
476 static zend_generator *zend_generator_get_child(zend_generator_node *node, zend_generator *leaf) in zend_generator_get_child()
509 …end_generator_add_single_child(zend_generator_node *node, zend_generator *child, zend_generator *l… in zend_generator_add_single_child()
518 zend_generator *leaf; in zend_generator_add_single_child()
519 zend_generator *child; in zend_generator_add_single_child()
534 …rator_merge_child_nodes(zend_generator_node *dest, zend_generator_node *src, zend_generator *child) in zend_generator_merge_child_nodes()
544 zend_generator_add_single_child(dest, child, (zend_generator *) leaf); in zend_generator_merge_child_nodes()
550 static void zend_generator_add_child(zend_generator *generator, zend_generator *child) in zend_generator_add_child()
552 zend_generator *leaf = child->node.children ? child->node.ptr.leaf : child; in zend_generator_add_child()
557 zend_generator *next = generator->node.parent; in zend_generator_add_child()
565 zend_generator *child = zend_hash_index_find_ptr(&next->node.child.ht, (zend_ulong) generator); in zend_generator_add_child()
607 zend_generator *parent = generator->node.parent, *cur = generator; in zend_generator_add_child()
631 void zend_generator_yield_from(zend_generator *generator, zend_generator *from) in zend_generator_yield_from()
640 ZEND_API zend_generator *zend_generator_update_current(zend_generator *generator, zend_generator *l… in zend_generator_update_current()
642 zend_generator *old_root, *root = leaf->node.ptr.root; in zend_generator_update_current()
716 static int zend_generator_get_next_delegated_value(zend_generator *generator) /* {{{ */ in zend_generator_get_next_delegated_value()
797 ZEND_API void zend_generator_resume(zend_generator *orig_generator) /* {{{ */ in zend_generator_resume()
799 zend_generator *generator = zend_generator_get_current(orig_generator); in zend_generator_resume()
895 static inline void zend_generator_ensure_initialized(zend_generator *generator) /* {{{ */ in zend_generator_ensure_initialized()
906 static inline void zend_generator_rewind(zend_generator *generator) /* {{{ */ in zend_generator_rewind()
920 zend_generator *generator; in ZEND_METHOD()
926 generator = (zend_generator *) Z_OBJ_P(getThis()); in ZEND_METHOD()
936 zend_generator *generator; in ZEND_METHOD()
942 generator = (zend_generator *) Z_OBJ_P(getThis()); in ZEND_METHOD()
956 zend_generator *generator, *root; in ZEND_METHOD()
962 generator = (zend_generator *) Z_OBJ_P(getThis()); in ZEND_METHOD()
980 zend_generator *generator, *root; in ZEND_METHOD()
986 generator = (zend_generator *) Z_OBJ_P(getThis()); in ZEND_METHOD()
1004 zend_generator *generator; in ZEND_METHOD()
1010 generator = (zend_generator *) Z_OBJ_P(getThis()); in ZEND_METHOD()
1023 zend_generator *generator, *root; in ZEND_METHOD()
1029 generator = (zend_generator *) Z_OBJ_P(getThis()); in ZEND_METHOD()
1061 zend_generator *generator; in ZEND_METHOD()
1069 generator = (zend_generator *) Z_OBJ_P(getThis()); in ZEND_METHOD()
1074 zend_generator *root = zend_generator_get_current(generator); in ZEND_METHOD()
1099 zend_generator *generator; in ZEND_METHOD()
1105 generator = (zend_generator *) Z_OBJ_P(getThis()); in ZEND_METHOD()
1143 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); in zend_generator_iterator_dtor()
1152 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); in zend_generator_iterator_valid()
1164 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data), *root; in zend_generator_iterator_get_data()
1176 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data), *root; in zend_generator_iterator_get_key()
1195 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); in zend_generator_iterator_move_forward()
1205 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); in zend_generator_iterator_rewind()
1224 zend_generator *generator = (zend_generator*)Z_OBJ_P(object); in zend_generator_get_iterator()