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
348 zend_generator_ensure_initialized(zend_generator *generator) argument
357 zend_generator_rewind(zend_generator *generator) argument
371 zend_generator *generator; local
387 zend_generator *generator; local
405 zend_generator *generator; local
425 zend_generator *generator; local
445 zend_generator *generator; local
464 zend_generator *generator; local
498 zend_generator *generator; local
552 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); local
561 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); local
571 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); local
581 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); local
595 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); local
605 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); local
623 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.h3059 /* The generator object is stored in EX(return_value) */
3060 zend_generator *generator = (zend_generator *) EX(return_value); variable
3062 /* Close the generator to free up resources */
3063 zend_generator_close(generator, 1);
6005 /* The generator object is stored in EX(return_value) */
6006 zend_generator *generator = (zend_generator *) EX(return_value); variable
6008 if (generator->flags & ZEND_GENERATOR_FORCED_CLOSE) {
6009 zend_error_noreturn(E_ERROR, "Cannot yield from finally in a force-closed generator");
6013 zval_ptr_dtor(&generator->value);
6016 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);
4953 /* The generator object is stored in EX(return_value) */
4954 zend_generator *generator = (zend_generator *) EX(return_value); local
4956 if (generator->flags & ZEND_GENERATOR_FORCED_CLOSE) {
4957 zend_error_noreturn(E_ERROR, "Cannot yield from finally in a force-closed generator");
4961 zval_ptr_dtor(&generator->value);
4964 zval_ptr_dtor(&generator
5131 zend_generator *generator = (zend_generator *) EX(return_value); local
5639 zend_generator *generator = (zend_generator *) EX(return_value); local
6437 zend_generator *generator = (zend_generator *) EX(return_value); local
7589 zend_generator *generator = (zend_generator *) EX(return_value); local
9629 zend_generator *generator = (zend_generator *) EX(return_value); local
9791 zend_generator *generator = (zend_generator *) EX(return_value); local
9953 zend_generator *generator = (zend_generator *) EX(return_value); local
10256 zend_generator *generator = (zend_generator *) EX(return_value); local
10710 zend_generator *generator = (zend_generator *) EX(return_value); local
13822 zend_generator *generator = (zend_generator *) EX(return_value); local
14022 zend_generator *generator = (zend_generator *) EX(return_value); local
14273 zend_generator *generator = (zend_generator *) EX(return_value); local
15114 zend_generator *generator = (zend_generator *) EX(return_value); local
16658 zend_generator *generator = (zend_generator *) EX(return_value); local
19547 zend_generator *generator = (zend_generator *) EX(return_value); local
19678 zend_generator *generator = (zend_generator *) EX(return_value); local
19809 zend_generator *generator = (zend_generator *) EX(return_value); local
20270 zend_generator *generator = (zend_generator *) EX(return_value); local
21654 zend_generator *generator = (zend_generator *) EX(return_value); local
26762 zend_generator *generator = (zend_generator *) EX(return_value); local
27032 zend_generator *generator = (zend_generator *) EX(return_value); local
27670 zend_generator *generator = (zend_generator *) EX(return_value); local
28714 zend_generator *generator = (zend_generator *) EX(return_value); local
30757 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