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

/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 */
/PHP_5_5/Zend/
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_generators.h31 /* The generator object handle has to be stored, because the
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_vm_def.h2944 /* The generator object is stored in return_value_ptr_ptr */
2945 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); variable
2947 /* Close the generator to free up resources */
2948 zend_generator_close(generator, 1 TSRMLS_CC);
5240 /* The generator object is stored in return_value_ptr_ptr */
5241 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); variable
5243 if (generator->flags & ZEND_GENERATOR_FORCED_CLOSE) {
5244 zend_error_noreturn(E_ERROR, "Cannot yield from finally in a force-closed generator");
5248 if (generator->value) {
5249 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);
4076 /* The generator object is stored in return_value_ptr_ptr */
4077 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
4079 if (generator->flags & ZEND_GENERATOR_FORCED_CLOSE) {
4080 zend_error_noreturn(E_ERROR, "Cannot yield from finally in a force-closed generator");
4084 if (generator->value) {
4085 zval_ptr_dtor(&generator
4770 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
5790 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
6523 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
7275 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
9306 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
10001 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
11023 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
11608 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
12300 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
16197 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
18294 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
20773 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
21932 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
24078 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
25590 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
26916 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
28242 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
28671 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
29994 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
33491 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
35450 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
37790 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
38801 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
40808 zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); local
[all...]

Completed in 40 milliseconds