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;
79 ZEND_API void zend_generator_close(zend_generator *generator, zend_bool finished_execution) /* {{{ */ argument
81 if (Z_TYPE(generator->value) != IS_UNDEF) {
82 zval_ptr_dtor(&generator->value);
83 ZVAL_UNDEF(&generator
134 zend_generator *generator = (zend_generator*) object; local
179 zend_generator *generator = (zend_generator*) object; local
193 zend_generator *generator; local
222 zend_generator *generator; local
287 zend_generator_resume(zend_generator *generator) argument
347 zend_generator_ensure_initialized(zend_generator *generator) argument
356 zend_generator_rewind(zend_generator *generator) argument
370 zend_generator *generator; local
386 zend_generator *generator; local
404 zend_generator *generator; local
424 zend_generator *generator; local
444 zend_generator *generator; local
463 zend_generator *generator; local
497 zend_generator *generator; local
551 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); local
560 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); local
570 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); local
580 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); local
594 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); local
604 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); local
622 zend_generator *generator = (zend_generator*)Z_OBJ_P(object); local
[all...]
H A Dzend_generators.h36 /* The separate stack used by generator */
58 ZEND_API void zend_generator_close(zend_generator *generator, zend_bool finished_execution);
59 ZEND_API void zend_generator_resume(zend_generator *generator);
H A Dzend_vm_def.h3020 /* The generator object is stored in EX(return_value) */
3021 zend_generator *generator = (zend_generator *) EX(return_value); variable
3023 /* Close the generator to free up resources */
3024 zend_generator_close(generator, 1);
5936 /* The generator object is stored in EX(return_value) */
5937 zend_generator *generator = (zend_generator *) EX(return_value); variable
5939 if (generator->flags & ZEND_GENERATOR_FORCED_CLOSE) {
5940 zend_error_noreturn(E_ERROR, "Cannot yield from finally in a force-closed generator");
5944 zval_ptr_dtor(&generator->value);
5947 zval_ptr_dtor(&generator
[all...]
H A Dzend_vm_execute.h674 /* The generator object is stored in EX(return_value) */
675 zend_generator *generator = (zend_generator *) EX(return_value); local
677 /* Close the generator to free up resources */
678 zend_generator_close(generator, 1);
4896 /* The generator object is stored in EX(return_value) */
4897 zend_generator *generator = (zend_generator *) EX(return_value); local
4899 if (generator->flags & ZEND_GENERATOR_FORCED_CLOSE) {
4900 zend_error_noreturn(E_ERROR, "Cannot yield from finally in a force-closed generator");
4904 zval_ptr_dtor(&generator->value);
4907 zval_ptr_dtor(&generator
5074 zend_generator *generator = (zend_generator *) EX(return_value); local
5530 zend_generator *generator = (zend_generator *) EX(return_value); local
6258 zend_generator *generator = (zend_generator *) EX(return_value); local
7407 zend_generator *generator = (zend_generator *) EX(return_value); local
9443 zend_generator *generator = (zend_generator *) EX(return_value); local
9605 zend_generator *generator = (zend_generator *) EX(return_value); local
9767 zend_generator *generator = (zend_generator *) EX(return_value); local
10052 zend_generator *generator = (zend_generator *) EX(return_value); local
10505 zend_generator *generator = (zend_generator *) EX(return_value); local
13614 zend_generator *generator = (zend_generator *) EX(return_value); local
13814 zend_generator *generator = (zend_generator *) EX(return_value); local
14075 zend_generator *generator = (zend_generator *) EX(return_value); local
14898 zend_generator *generator = (zend_generator *) EX(return_value); local
16451 zend_generator *generator = (zend_generator *) EX(return_value); local
19336 zend_generator *generator = (zend_generator *) EX(return_value); local
19467 zend_generator *generator = (zend_generator *) EX(return_value); local
19598 zend_generator *generator = (zend_generator *) EX(return_value); local
20041 zend_generator *generator = (zend_generator *) EX(return_value); local
21422 zend_generator *generator = (zend_generator *) EX(return_value); local
26468 zend_generator *generator = (zend_generator *) EX(return_value); local
26738 zend_generator *generator = (zend_generator *) EX(return_value); local
27334 zend_generator *generator = (zend_generator *) EX(return_value); local
28308 zend_generator *generator = (zend_generator *) EX(return_value); local
30358 zend_generator *generator = (zend_generator *) EX(return_value); local
[all...]
/PHP_TRUNK/ext/interbase/
H A Dinterbase.c108 ZEND_ARG_INFO(0, generator)
1421 /* {{{ proto int ibase_gen_id(string generator [, int increment [, resource link_identifier ]])
1422 Increments the named generator and returns its new value */
1426 char query[128], *generator; local
1436 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "s|lr", &generator, &gen_len,
1442 php_error_docref(NULL, E_WARNING, "Invalid generator name");
1448 snprintf(query, sizeof(query), "SELECT GEN_ID(%s,%ld) FROM rdb$database", generator, inc);
1467 /* don't return the generator value as a string unless it doesn't fit in a long */

Completed in 33 milliseconds