event 45 ext/interbase/ibase_events.c event->state = DEAD; event 47 ext/interbase/ibase_events.c if (event->link != NULL) { event 50 ext/interbase/ibase_events.c if (event->link->handle != NULL && event 51 ext/interbase/ibase_events.c isc_cancel_events(IB_STATUS, &event->link->handle, &event->event_id)) { event 56 ext/interbase/ibase_events.c for (node = &event->link->event_head; *node != event; node = &(*node)->event_next); event 57 ext/interbase/ibase_events.c *node = event->event_next; event 60 ext/interbase/ibase_events.c if (event->callback) { event 61 ext/interbase/ibase_events.c zval_dtor(event->callback); event 62 ext/interbase/ibase_events.c FREE_ZVAL(event->callback); event 63 ext/interbase/ibase_events.c event->callback = NULL; event 65 ext/interbase/ibase_events.c _php_ibase_event_free(event->event_buffer,event->result_buffer); event 67 ext/interbase/ibase_events.c for (i = 0; i < event->event_count; ++i) { event 68 ext/interbase/ibase_events.c efree(event->events[i]); event 70 ext/interbase/ibase_events.c efree(event->events); event 203 ext/interbase/ibase_events.c TSRMLS_FETCH_FROM_CTX(event->thread_ctx); event 210 ext/interbase/ibase_events.c switch (event->state) { event 222 ext/interbase/ibase_events.c memcpy(event->result_buffer, result_buf, buffer_size); event 226 ext/interbase/ibase_events.c ZVAL_RESOURCE(&link_id, event->link_res_id); event 229 ext/interbase/ibase_events.c isc_event_counts(occurred_event, buffer_size, event->event_buffer, event->result_buffer); event 230 ext/interbase/ibase_events.c for (i = 0; i < event->event_count; ++i) { event 232 ext/interbase/ibase_events.c ZVAL_STRING(&event_name,event->events[i],0); event 239 ext/interbase/ibase_events.c event->callback, &return_value, 2, args TSRMLS_CC)) { event 240 ext/interbase/ibase_events.c _php_ibase_module_error("Error calling callback %s" TSRMLS_CC, Z_STRVAL_P(event->callback)); event 245 ext/interbase/ibase_events.c event->state = DEAD; event 250 ext/interbase/ibase_events.c if (isc_que_events(IB_STATUS, &event->link->handle, &event->event_id, buffer_size, event 251 ext/interbase/ibase_events.c event->event_buffer,(isc_callback)_php_ibase_callback, (void *)event)) { event 255 ext/interbase/ibase_events.c event->state = ACTIVE; event 273 ext/interbase/ibase_events.c ibase_event *event; event 337 ext/interbase/ibase_events.c event = (ibase_event *) safe_emalloc(sizeof(ibase_event), 1, 0); event 338 ext/interbase/ibase_events.c TSRMLS_SET_CTX(event->thread_ctx); event 339 ext/interbase/ibase_events.c event->link_res_id = link_res_id; event 340 ext/interbase/ibase_events.c event->link = ib_link; event 341 ext/interbase/ibase_events.c event->event_count = 0; event 342 ext/interbase/ibase_events.c event->state = NEW; event 343 ext/interbase/ibase_events.c event->events = (char **) safe_emalloc(sizeof(char *),ZEND_NUM_ARGS()-i,0); event 345 ext/interbase/ibase_events.c ALLOC_ZVAL(event->callback); event 346 ext/interbase/ibase_events.c *event->callback = **cb_arg; event 347 ext/interbase/ibase_events.c INIT_PZVAL(event->callback); event 348 ext/interbase/ibase_events.c zval_copy_ctor(event->callback); event 352 ext/interbase/ibase_events.c event->events[event->event_count++] = estrdup(Z_STRVAL_PP(args[i])); event 356 ext/interbase/ibase_events.c _php_ibase_event_block(ib_link, event->event_count, event->events, event 357 ext/interbase/ibase_events.c &buffer_size, &event->event_buffer, &event->result_buffer); event 360 ext/interbase/ibase_events.c if (isc_que_events(IB_STATUS, &ib_link->handle, &event->event_id, buffer_size, event 361 ext/interbase/ibase_events.c event->event_buffer,(isc_callback)_php_ibase_callback, (void *)event)) { event 364 ext/interbase/ibase_events.c efree(event); event 369 ext/interbase/ibase_events.c event->event_next = ib_link->event_head; event 370 ext/interbase/ibase_events.c ib_link->event_head = event; event 372 ext/interbase/ibase_events.c ZEND_REGISTER_RESOURCE(return_value, event, le_event); event 387 ext/interbase/ibase_events.c ibase_event *event; event 389 ext/interbase/ibase_events.c ZEND_FETCH_RESOURCE(event, ibase_event *, &event_arg, -1, "Interbase event", le_event); event 391 ext/interbase/ibase_events.c event->state = DEAD; event 77 ext/interbase/php_ibase_includes.h struct event *event_head; event 107 ext/interbase/php_ibase_includes.h struct event *event_next; event 2549 ext/session/session.c retval = php_session_rfc1867_orig_callback(event, event_data, extra TSRMLS_CC); event 2557 ext/session/session.c switch(event) { event 54 main/rfc1867.c PHPAPI int (*php_rfc1867_callback)(unsigned int event, void *event_data, void **extra TSRMLS_DC) = NULL; event 81 main/rfc1867.h extern PHPAPI int (*php_rfc1867_callback)(unsigned int event, void *event_data, void **extra TSRMLS_DC); event 2447 sapi/cli/php_cli_server.c if (event & POLLIN) { event 2450 sapi/cli/php_cli_server.c if (event & POLLOUT) { event 93 sapi/fpm/fpm/fpm_stdio.c struct fpm_event_s *event; event 105 sapi/fpm/fpm/fpm_stdio.c event = &child->ev_stdout; event 107 sapi/fpm/fpm/fpm_stdio.c event = &child->ev_stderr; event 123 sapi/fpm/fpm/fpm_stdio.c fpm_event_del(event); event 390 sapi/tux/php_tux.c if (req->event == PHP_TUX_BACKGROUND_CONN) { event 430 sapi/tux/php_tux.c TG(req)->event = PHP_TUX_BACKGROUND_CONN;