Lines Matching refs:generator
98 ZEND_API void zend_generator_close(zend_generator *generator, bool finished_execution);
99 ZEND_API void zend_generator_resume(zend_generator *generator);
101 ZEND_API void zend_generator_restore_call_stack(zend_generator *generator);
104 void zend_generator_yield_from(zend_generator *generator, zend_generator *from);
107 ZEND_API zend_generator *zend_generator_update_current(zend_generator *generator);
108 ZEND_API zend_generator *zend_generator_update_root(zend_generator *generator);
109 static zend_always_inline zend_generator *zend_generator_get_current(zend_generator *generator) in zend_generator_get_current() argument
111 if (EXPECTED(generator->node.parent == NULL)) { in zend_generator_get_current()
113 return generator; in zend_generator_get_current()
116 zend_generator *root = generator->node.ptr.root; in zend_generator_get_current()
118 root = zend_generator_update_root(generator); in zend_generator_get_current()
126 return zend_generator_update_current(generator); in zend_generator_get_current()
129 HashTable *zend_generator_frame_gc(zend_get_gc_buffer *gc_buffer, zend_generator *generator);