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

/PHP_TRUNK/Zend/
H A Dzend_generators.c32 static void zend_generator_cleanup_unfinished_execution(zend_generator *generator) /* {{{ */ argument
34 zend_execute_data *execute_data = generator->execute_data;
37 if (generator->send_target) {
38 if (Z_REFCOUNTED_P(generator->send_target)) Z_DELREF_P(generator->send_target);
39 generator->send_target = NULL;
85 ZEND_API void zend_generator_close(zend_generator *generator, zend_bool finished_execution) /* {{{ */ argument
87 if (Z_TYPE(generator->value) != IS_UNDEF) {
88 zval_ptr_dtor(&generator->value);
89 ZVAL_UNDEF(&generator
140 zend_generator *generator = (zend_generator*) object; local
185 zend_generator *generator = (zend_generator*) object; local
200 zend_generator *generator; local
231 zend_generator *generator; local
298 zend_generator_resume(zend_generator *generator) argument
359 zend_generator_ensure_initialized(zend_generator *generator) argument
368 zend_generator_rewind(zend_generator *generator) argument
382 zend_generator *generator; local
398 zend_generator *generator; local
416 zend_generator *generator; local
436 zend_generator *generator; local
456 zend_generator *generator; local
475 zend_generator *generator; local
509 zend_generator *generator; local
547 zend_generator *generator; local
591 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); local
600 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); local
610 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); local
620 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); local
634 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); local
644 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); local
662 zend_generator *generator = (zend_generator*)Z_OBJ_P(object); local
[all...]
H A Dzend_generators.h36 /* The separate stack used by generator */
60 ZEND_API void zend_generator_close(zend_generator *generator, zend_bool finished_execution);
61 ZEND_API void zend_generator_resume(zend_generator *generator);
H A Dzend_vm_def.h3779 /* The generator object is stored in EX(return_value) */
3780 zend_generator *generator = (zend_generator *) EX(return_value); variable
3785 /* Copy return value into generator->retval */
3787 ZVAL_COPY_VALUE(&generator->retval, retval);
3789 if (UNEXPECTED(Z_OPT_COPYABLE(generator->retval))) {
3790 zval_copy_ctor_func(&generator->retval);
3794 ZVAL_COPY(&generator->retval, Z_REFVAL_P(retval));
3797 ZVAL_COPY_VALUE(&generator->retval, retval);
3803 /* Close the generator to free up resources */
3804 zend_generator_close(generator,
6897 zend_generator *generator = (zend_generator *) EX(return_value); variable
6931 zend_generator *generator = (zend_generator *) EX(return_value); variable
7028 zend_generator *generator = (zend_generator *) EX(return_value); variable
7224 zend_generator *generator = (zend_generator *) EX(return_value); variable
[all...]
H A Dzend_vm_execute.h1646 /* The generator object is stored in EX(return_value) */
1647 zend_generator *generator = (zend_generator *) EX(return_value); local
1648 zend_generator_close(generator, 1);
1680 /* The generator object is stored in EX(return_value) */
1681 zend_generator *generator = (zend_generator *) EX(return_value); local
1682 zend_generator_close(generator, 1);
1759 /* The generator object is stored in EX(return_value) */
1760 zend_generator *generator = (zend_generator *) EX(return_value); local
1761 zend_generator_close(generator, 1);
2917 /* The generator objec
2918 zend_generator *generator = (zend_generator *) EX(return_value); local
5810 zend_generator *generator = (zend_generator *) EX(return_value); local
5994 zend_generator *generator = (zend_generator *) EX(return_value); local
6513 zend_generator *generator = (zend_generator *) EX(return_value); local
7371 zend_generator *generator = (zend_generator *) EX(return_value); local
8934 zend_generator *generator = (zend_generator *) EX(return_value); local
10546 zend_generator *generator = (zend_generator *) EX(return_value); local
11545 zend_generator *generator = (zend_generator *) EX(return_value); local
11714 zend_generator *generator = (zend_generator *) EX(return_value); local
11883 zend_generator *generator = (zend_generator *) EX(return_value); local
12236 zend_generator *generator = (zend_generator *) EX(return_value); local
12734 zend_generator *generator = (zend_generator *) EX(return_value); local
13477 zend_generator *generator = (zend_generator *) EX(return_value); local
16244 zend_generator *generator = (zend_generator *) EX(return_value); local
16451 zend_generator *generator = (zend_generator *) EX(return_value); local
16718 zend_generator *generator = (zend_generator *) EX(return_value); local
17660 zend_generator *generator = (zend_generator *) EX(return_value); local
19335 zend_generator *generator = (zend_generator *) EX(return_value); local
22372 zend_generator *generator = (zend_generator *) EX(return_value); local
22510 zend_generator *generator = (zend_generator *) EX(return_value); local
22648 zend_generator *generator = (zend_generator *) EX(return_value); local
23155 zend_generator *generator = (zend_generator *) EX(return_value); local
24559 zend_generator *generator = (zend_generator *) EX(return_value); local
26479 zend_generator *generator = (zend_generator *) EX(return_value); local
30290 zend_generator *generator = (zend_generator *) EX(return_value); local
30567 zend_generator *generator = (zend_generator *) EX(return_value); local
31225 zend_generator *generator = (zend_generator *) EX(return_value); local
32366 zend_generator *generator = (zend_generator *) EX(return_value); local
34880 zend_generator *generator = (zend_generator *) EX(return_value); local
[all...]
/PHP_TRUNK/ext/interbase/
H A Dinterbase.c108 ZEND_ARG_INFO(0, generator)
1417 /* {{{ proto int ibase_gen_id(string generator [, int increment [, resource link_identifier ]])
1418 Increments the named generator and returns its new value */
1422 char query[128], *generator; local
1432 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "s|lr", &generator, &gen_len,
1438 php_error_docref(NULL, E_WARNING, "Invalid generator name");
1444 snprintf(query, sizeof(query), "SELECT GEN_ID(%s,%ld) FROM rdb$database", generator, inc);
1463 /* don't return the generator value as a string unless it doesn't fit in a long */

Completed in 69 milliseconds