Searched refs:events (Results 1 - 14 of 14) sorted by relevance

/PHP_TRUNK/sapi/fpm/fpm/events/
H A Ddevpoll.c91 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max);
105 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max);
146 * wait for events or timeout
171 /* iterate throught triggered events */
207 pollfd.events = POLLIN;
232 pollfd.events = POLLIN | POLLREMOVE;
H A Dpoll.c83 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max);
97 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max);
131 * wait for events or timeout
154 /* events have been triggered */
157 /* trigger POLLIN events */
194 pollfds[next_free_slot].events = POLLIN;
213 pollfds[i].events = POLLIN;
242 pollfds[ev->index].events = 0;
263 pollfds[i].events = 0;
H A Dport.c48 port_event_t *events = NULL; variable
83 events = malloc(sizeof(port_event_t) * max);
84 if (!events) {
85 zlog(ZLOG_ERROR, "port: Unable to allocate %d events", max);
104 if (events) {
105 free(events);
106 events = NULL;
115 * wait for events or timeout
128 ret = port_getn(pfd, events, nevents, &nget, &t);
141 if (!events[
[all...]
H A Depoll.c84 zlog(ZLOG_ERROR, "epoll: unable to allocate %d events", max);
118 * wait for events or timeout
138 /* events have been triggered, let's fire them */
171 e.events = EPOLLIN;
176 e.events = e.events | EPOLLET;
199 e.events = EPOLLIN;
204 e.events = e.events | EPOLLET;
/PHP_TRUNK/main/
H A Dphp_network.h123 short events; member in struct:_php_pollfd
162 static inline int php_pollfd_for(php_socket_t fd, int events, struct timeval *timeouttv) argument
168 p.events = events;
180 static inline int php_pollfd_for_ms(php_socket_t fd, int events, int timeout) argument
186 p.events = events;
H A Dfastcgi.c1427 fds.events = POLLIN;
H A Dnetwork.c1213 if (ufds[i].events & PHP_POLLREADABLE) {
1216 if (ufds[i].events & POLLOUT) {
1219 if (ufds[i].events & POLLPRI) {
/PHP_TRUNK/ext/ftp/
H A Dftp.c324 p.events = (err == SSL_ERROR_WANT_READ) ? (POLLIN|POLLPRI) : POLLOUT;
1319 p.events = POLLOUT;
1408 p.events = POLLIN|POLLPRI;
1706 p.events = (err == SSL_ERROR_WANT_READ) ? (POLLIN|POLLPRI) : POLLOUT;
/PHP_TRUNK/ext/interbase/
H A Dibase_events.c65 efree(event->events[i]);
67 efree(event->events);
90 char **events, unsigned short *l, char **event_buf, char **result_buf)
105 *l = (unsigned short) isc_event_block(event_buf, result_buf, count, events[0],
106 events[1], events[2], events[3], events[4], events[5], events[
89 _php_ibase_event_block(ibase_db_link *ib_link, unsigned short count, char **events, unsigned short *l, char **event_buf, char **result_buf) argument
129 char *event_buffer, *result_buffer, *events[15]; local
[all...]
H A Dphp_ibase_includes.h101 char **events; member in struct:event
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c782 static int php_cli_server_poller_iter_on_active(php_cli_server_poller *poller, void *opaque, int(*callback)(void *, php_socket_t fd, int events)) /* {{{ */ argument
788 int events; member in struct:socket_entry
794 n->events = POLLIN;
805 e->events |= POLLOUT;
810 n->events = POLLOUT;
819 if (SUCCESS != callback(opaque, e->fd, e->events)) {
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_io.c106 pfd.events = POLLIN;
/PHP_TRUNK/ext/oci8/
H A Doci8.c1064 STD_PHP_INI_BOOLEAN("oci8.events", "0", PHP_INI_SYSTEM, OnUpdateBool, events, zend_oci_globals, oci_globals)
3091 PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIEnvNlsCreate, (&retenv, OCI_G(events) ? PHP_OCI_INIT_MODE | OCI_EVENTS : PHP_OCI_INIT_MODE, 0, NULL, NULL, NULL, 0, NULL, charsetid, charsetid));
H A Dphp_oci8_int.h531 zend_bool events; variable

Completed in 25 milliseconds