Lines Matching refs:leaf
202 zend_generator *leaf = generator->node.ptr.leaf; in clear_link_to_leaf() local
203 if (leaf) { in clear_link_to_leaf()
204 leaf->node.ptr.root = NULL; in clear_link_to_leaf()
205 generator->node.ptr.leaf = NULL; in clear_link_to_leaf()
206 return leaf; in clear_link_to_leaf()
214 generator->node.ptr.root->node.ptr.leaf = NULL; in clear_link_to_root()
527 zend_generator *leaf = clear_link_to_leaf(generator); in zend_generator_yield_from() local
528 if (leaf && !from->node.parent && !from->node.ptr.leaf) { in zend_generator_yield_from()
529 from->node.ptr.leaf = leaf; in zend_generator_yield_from()
530 leaf->node.ptr.root = from; in zend_generator_yield_from()
545 root->node.ptr.leaf = generator; in zend_generator_update_root()
576 ZEND_ASSERT(old_root->node.ptr.leaf == generator); in zend_generator_update_current()
578 new_root->node.ptr.leaf = generator; in zend_generator_update_current()
579 old_root->node.ptr.leaf = NULL; in zend_generator_update_current()