Lines Matching refs:generator
100 ZEND_API void zend_generator_close(zend_generator *generator, zend_bool finished_execution);
101 ZEND_API void zend_generator_resume(zend_generator *generator);
103 ZEND_API void zend_generator_restore_call_stack(zend_generator *generator);
106 void zend_generator_yield_from(zend_generator *generator, zend_generator *from);
109 ZEND_API zend_generator *zend_generator_update_current(zend_generator *generator);
110 ZEND_API zend_generator *zend_generator_update_root(zend_generator *generator);
111 static zend_always_inline zend_generator *zend_generator_get_current(zend_generator *generator) in zend_generator_get_current() argument
113 if (EXPECTED(generator->node.parent == NULL)) { in zend_generator_get_current()
115 return generator; in zend_generator_get_current()
118 zend_generator *root = generator->node.ptr.root; in zend_generator_get_current()
120 root = zend_generator_update_root(generator); in zend_generator_get_current()
128 return zend_generator_update_current(generator); in zend_generator_get_current()