Searched refs:max_fd (Results 1 - 8 of 8) sorted by relevance
| /PHP_5_3/sapi/fpm/fpm/ |
| H A D | fpm_events.h | 35 int (*init)(int max_fd);
|
| /PHP_5_3/ext/sockets/ |
| H A D | sockets.c | 710 static int php_sock_array_to_fd_set(zval *sock_array, fd_set *fds, PHP_SOCKET *max_fd TSRMLS_DC) /* {{{ */ 726 if (php_sock->bsd_socket > *max_fd) { 727 *max_fd = php_sock->bsd_socket; 792 PHP_SOCKET max_fd = 0; local 804 if (r_array != NULL) sets += php_sock_array_to_fd_set(r_array, &rfds, &max_fd TSRMLS_CC); 805 if (w_array != NULL) sets += php_sock_array_to_fd_set(w_array, &wfds, &max_fd TSRMLS_CC); 806 if (e_array != NULL) sets += php_sock_array_to_fd_set(e_array, &efds, &max_fd TSRMLS_CC); 813 PHP_SAFE_MAX_FD(max_fd, 0); /* someone needs to make this look more like stream_socket_select */ 842 retval = select(max_fd+1, &rfds, &wfds, &efds, tv_p);
|
| /PHP_5_3/main/ |
| H A D | network.c | 1105 PHPAPI void _php_emit_fd_setsize_warning(int max_fd) argument 1118 FD_SETSIZE, max_fd, (max_fd + 128) & ~127); 1126 FD_SETSIZE, max_fd, (max_fd + 1024) & ~1023); 1137 php_socket_t max_fd = SOCK_ERR; local 1144 if (ufds[i].fd > max_fd) 1145 max_fd = ufds[i].fd; 1148 PHP_SAFE_MAX_FD(max_fd, nfds + 1); 1176 n = select(max_fd [all...] |
| H A D | php_network.h | 191 PHPAPI void _php_emit_fd_setsize_warning(int max_fd);
|
| /PHP_5_3/win32/ |
| H A D | select.c | 37 PHPAPI int php_select(int max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *tv) argument 64 for (i = 0; i < max_fd; i++) { 90 return select(max_fd, rfds, wfds, efds, tv);
|
| H A D | select.h | 21 PHPAPI int php_select(int max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *tv);
|
| /PHP_5_3/ext/mysqlnd/ |
| H A D | mysqlnd.c | 1137 static int mysqlnd_stream_array_to_fd_set(MYSQLND **conn_array, fd_set *fds, php_socket_t *max_fd TSRMLS_DC) 1154 if (this_fd > *max_fd) { 1155 *max_fd = this_fd; 1209 php_socket_t max_fd = 0; local 1226 set_count = mysqlnd_stream_array_to_fd_set(r_array, &rfds, &max_fd TSRMLS_CC); 1234 set_count = mysqlnd_stream_array_to_fd_set(e_array, &efds, &max_fd TSRMLS_CC); 1247 PHP_SAFE_MAX_FD(max_fd, max_set_count); 1260 retval = php_select(max_fd + 1, &rfds, &wfds, &efds, tv_p); 1263 php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to select [%d]: %s (max_fd=%d)", 1264 errno, strerror(errno), max_fd); [all...] |
| /PHP_5_3/ext/standard/ |
| H A D | streamsfuncs.c | 610 static int stream_array_to_fd_set(zval *stream_array, fd_set *fds, php_socket_t *max_fd TSRMLS_DC) 643 if (this_fd > *max_fd) { 644 *max_fd = this_fd; 769 php_socket_t max_fd = 0; local 782 set_count = stream_array_to_fd_set(r_array, &rfds, &max_fd TSRMLS_CC); 789 set_count = stream_array_to_fd_set(w_array, &wfds, &max_fd TSRMLS_CC); 796 set_count = stream_array_to_fd_set(e_array, &efds, &max_fd TSRMLS_CC); 807 PHP_SAFE_MAX_FD(max_fd, max_set_count); 850 retval = php_select(max_fd+1, &rfds, &wfds, &efds, tv_p); 853 php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to select [%d]: %s (max_fd [all...] |
Completed in 33 milliseconds