Home
last modified time | relevance | path

Searched refs:POLLIN (Results 1 – 10 of 10) sorted by relevance

/PHP-8.0/sapi/fpm/fpm/events/
H A Dpoll.c157 if (active_pollfds[q->ev->index].revents & POLLIN) { in fpm_event_poll_wait()
187 pollfds[next_free_slot].events = POLLIN; in fpm_event_poll_add()
206 pollfds[i].events = POLLIN; in fpm_event_poll_add()
H A Ddevpoll.c201 pollfd.events = POLLIN; in fpm_event_devpoll_add()
226 pollfd.events = POLLIN | POLLREMOVE; in fpm_event_devpoll_remove()
H A Dport.c177 if (port_associate(pfd, PORT_SOURCE_FD, ev->fd, POLLIN, (void *)ev) < 0) { in fpm_event_port_add()
/PHP-8.0/main/
H A Dphp_network.h135 #ifndef POLLIN
136 # define POLLIN 0x0001 /* There is data to read */ macro
149 #define PHP_POLLREADABLE (POLLIN|POLLERR|POLLHUP)
H A Dfastcgi.c1436 fds.events = POLLIN;
1442 if (ret > 0 && (fds.revents & POLLIN)) {
H A Dnetwork.c1242 ufds[i].revents |= POLLIN;
/PHP-8.0/sapi/cli/
H A Dphp_cli_server.c781 if (mode & POLLIN) { in php_cli_server_poller_add()
794 if (mode & POLLIN) { in php_cli_server_poller_remove()
832 n->events = POLLIN; in php_cli_server_poller_iter_on_active()
869 if (SUCCESS != callback(opaque, fd, POLLIN)) { in php_cli_server_poller_iter_on_active()
2313 php_cli_server_poller_remove(&p->server->poller, POLLIN | POLLOUT, p->sock); in php_cli_server_client_dtor_wrapper()
2461 php_cli_server_poller_add(&server->poller, POLLIN, server_sock); in php_cli_server_ctor()
2536 php_cli_server_poller_remove(&server->poller, POLLIN, client->sock); in php_cli_server_recv_event_read_request()
2539 php_cli_server_poller_add(&server->poller, POLLIN, client->sock); in php_cli_server_recv_event_read_request()
2619 php_cli_server_poller_add(&server->poller, POLLIN, client->sock); in php_cli_server_do_event_for_each_fd_callback()
2623 if (event & POLLIN) { in php_cli_server_do_event_for_each_fd_callback()
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_io.c104 pfd.events = POLLIN;
/PHP-8.0/ext/openssl/
H A Dxp_ssl.c1912 (POLLIN|POLLPRI) : POLLOUT, has_timeout ? &left_time : NULL); in php_openssl_enable_crypto()
2088 (POLLOUT|POLLPRI) : (POLLIN|POLLPRI), has_timeout ? &left_time : NULL); in php_openssl_sockop_io()
2091 (POLLIN|POLLPRI) : (POLLOUT|POLLPRI), has_timeout ? &left_time : NULL); in php_openssl_sockop_io()
2107 (POLLOUT|POLLPRI) : (POLLIN|POLLPRI), has_timeout ? &left_time : NULL); in php_openssl_sockop_io()
2110 (POLLIN|POLLPRI) : (POLLOUT|POLLPRI), has_timeout ? &left_time : NULL); in php_openssl_sockop_io()
/PHP-8.0/ext/ftp/
H A Dftp.c316 p.events = (err == SSL_ERROR_WANT_READ) ? (POLLIN|POLLPRI) : POLLOUT; in ftp_login()
1519 p.events = POLLIN|POLLPRI; in my_recv()
1830 p.events = (err == SSL_ERROR_WANT_READ) ? (POLLIN|POLLPRI) : POLLOUT; in data_accept()

Completed in 37 milliseconds