Lines Matching refs:i
138 int i; in php_gai_strerror() local
140 for (i = 0; values[i].msg != NULL; i++) { in php_gai_strerror()
141 if (values[i].code == code) { in php_gai_strerror()
142 return (char *)values[i].msg; in php_gai_strerror()
1143 unsigned int i; local
1148 for (i = 0; i < nfds; i++) {
1149 if (ufds[i].fd > max_fd)
1150 max_fd = ufds[i].fd;
1159 for (i = 0; i < nfds; i++) {
1160 if (ufds[i].events & PHP_POLLREADABLE) {
1161 PHP_SAFE_FD_SET(ufds[i].fd, &rset);
1163 if (ufds[i].events & POLLOUT) {
1164 PHP_SAFE_FD_SET(ufds[i].fd, &wset);
1166 if (ufds[i].events & POLLPRI) {
1167 PHP_SAFE_FD_SET(ufds[i].fd, &eset);
1184 for (i = 0; i < nfds; i++) {
1185 ufds[i].revents = 0;
1187 if (PHP_SAFE_FD_ISSET(ufds[i].fd, &rset)) {
1189 ufds[i].revents |= POLLIN;
1191 if (PHP_SAFE_FD_ISSET(ufds[i].fd, &wset)) {
1192 ufds[i].revents |= POLLOUT;
1194 if (PHP_SAFE_FD_ISSET(ufds[i].fd, &eset)) {
1195 ufds[i].revents |= POLLPRI;