Searched refs:generator (Results 1 - 5 of 5) sorted by relevance

/PHP_5_5/Zend/
H A Dzend_generators.h31 /* The generator object zval has to be stored, because the iterator is
44 /* The separate stack used by generator */
66 ZEND_API void zend_generator_close(zend_generator *generator, zend_bool finished_execution TSRMLS_DC);
67 ZEND_API void zend_generator_resume(zend_generator *generator TSRMLS_DC);
H A Dzend_generators.c32 static void zend_generator_cleanup_unfinished_execution(zend_generator *generator TSRMLS_DC) /* {{{ */
34 zend_execute_data *execute_data = generator->execute_data;
37 if (generator->send_target) {
38 Z_DELREF_PP(generator->send_target);
39 generator->send_target = NULL;
80 void **ptr = generator->stack->top - 1;
99 ZEND_API void zend_generator_close(zend_generator *generator, zend_bool finished_execution TSRMLS_DC) /* {{{ */ argument
101 if (generator->value) {
102 zval_ptr_dtor(&generator->value);
103 generator
168 zend_generator_dtor_storage(zend_generator *generator, zend_object_handle handle TSRMLS_DC) argument
218 zend_generator *generator; local
255 zend_generator *generator; local
425 zend_generator *generator; local
441 zend_generator *generator; local
459 zend_generator *generator; local
479 zend_generator *generator; local
499 zend_generator *generator; local
518 zend_generator *generator; local
553 zend_generator *generator; local
616 zend_generator *generator = (zend_generator *) iterator->data; local
626 zend_generator *generator = (zend_generator *) iterator->data; local
640 zend_generator *generator = (zend_generator *) iterator->data; local
654 zend_generator *generator = (zend_generator *) iterator->data; local
664 zend_generator *generator = (zend_generator *) iterator->data; local
682 zend_generator *generator; local
[all...]
H A Dzend_vm_def.h2936 /* The generator object is stored in return_value_ptr_ptr */
2937 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); variable
2939 /* Close the generator to free up resources */
2940 zend_generator_close(generator, 1 TSRMLS_CC);
5228 /* The generator object is stored in return_value_ptr_ptr */
5229 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); variable
5231 if (generator->flags & ZEND_GENERATOR_FORCED_CLOSE) {
5232 zend_error_noreturn(E_ERROR, "Cannot yield from finally in a force-closed generator");
5236 if (generator->value) {
5237 zval_ptr_dtor(&generator
[all...]
H A Dzend_vm_execute.h690 /* The generator object is stored in return_value_ptr_ptr */
691 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
693 /* Close the generator to free up resources */
694 zend_generator_close(generator, 1 TSRMLS_CC);
4072 /* The generator object is stored in return_value_ptr_ptr */
4073 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
4075 if (generator->flags & ZEND_GENERATOR_FORCED_CLOSE) {
4076 zend_error_noreturn(E_ERROR, "Cannot yield from finally in a force-closed generator");
4080 if (generator->value) {
4081 zval_ptr_dtor(&generator
4766 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
5786 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
6519 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
7271 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
9302 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
9997 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
11019 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
11604 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
12296 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
16185 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
18274 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
20745 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
21902 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
24040 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
25544 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
26862 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
28180 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
28607 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
29922 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
33411 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
35362 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
37694 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
38703 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
40702 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
[all...]
/PHP_5_5/ext/interbase/
H A Dinterbase.c108 ZEND_ARG_INFO(0, generator)
1410 /* {{{ proto int ibase_gen_id(string generator [, int increment [, resource link_identifier ]])
1411 Increments the named generator and returns its new value */
1415 char query[128], *generator; local
1425 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lr", &generator, &gen_len,
1431 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid generator name");
1437 snprintf(query, sizeof(query), "SELECT GEN_ID(%s,%ld) FROM rdb$database", generator, inc);
1456 /* don't return the generator value as a string unless it doesn't fit in a long */

Completed in 54 milliseconds