Lines Matching refs:generator
106 ZEND_API void zend_generator_close(zend_generator *generator, bool finished_execution);
107 ZEND_API void zend_generator_resume(zend_generator *generator);
109 ZEND_API void zend_generator_restore_call_stack(zend_generator *generator);
112 void zend_generator_yield_from(zend_generator *generator, zend_generator *from);
115 ZEND_API zend_generator *zend_generator_update_current(zend_generator *generator);
116 ZEND_API zend_generator *zend_generator_update_root(zend_generator *generator);
117 static zend_always_inline zend_generator *zend_generator_get_current(zend_generator *generator) in zend_generator_get_current() argument
119 if (EXPECTED(generator->node.parent == NULL)) { in zend_generator_get_current()
121 return generator; in zend_generator_get_current()
124 zend_generator *root = generator->node.ptr.root; in zend_generator_get_current()
126 root = zend_generator_update_root(generator); in zend_generator_get_current()
134 return zend_generator_update_current(generator); in zend_generator_get_current()
137 HashTable *zend_generator_frame_gc(zend_get_gc_buffer *gc_buffer, zend_generator *generator);