Lines Matching refs:ufds
1187 PHPAPI int php_poll2(php_pollfd *ufds, unsigned int nfds, int timeout) argument
1198 if (ufds[i].fd > max_fd)
1199 max_fd = ufds[i].fd;
1217 if (ufds[i].events & PHP_POLLREADABLE) {
1218 PHP_SAFE_FD_SET(ufds[i].fd, &rset);
1220 if (ufds[i].events & POLLOUT) {
1221 PHP_SAFE_FD_SET(ufds[i].fd, &wset);
1223 if (ufds[i].events & POLLPRI) {
1224 PHP_SAFE_FD_SET(ufds[i].fd, &eset);
1242 ufds[i].revents = 0;
1244 if (PHP_SAFE_FD_ISSET(ufds[i].fd, &rset)) {
1246 ufds[i].revents |= POLLIN;
1248 if (PHP_SAFE_FD_ISSET(ufds[i].fd, &wset)) {
1249 ufds[i].revents |= POLLOUT;
1251 if (PHP_SAFE_FD_ISSET(ufds[i].fd, &eset)) {
1252 ufds[i].revents |= POLLPRI;