Searched refs:max_fd (Results 1 - 9 of 9) sorted by relevance
| /PHP_TRUNK/sapi/fpm/fpm/ |
| H A D | fpm_events.h | 35 int (*init)(int max_fd);
|
| /PHP_TRUNK/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_TRUNK/main/ |
| H A D | php_network.h | 193 PHPAPI void _php_emit_fd_setsize_warning(int max_fd);
|
| H A D | network.c | 1103 PHPAPI void _php_emit_fd_setsize_warning(int max_fd) argument 1116 FD_SETSIZE, max_fd, (max_fd + 128) & ~127); 1124 FD_SETSIZE, max_fd, (max_fd + 1024) & ~1023); 1135 php_socket_t max_fd = SOCK_ERR; local 1142 if (ufds[i].fd > max_fd) 1143 max_fd = ufds[i].fd; 1146 PHP_SAFE_MAX_FD(max_fd, nfds + 1); 1174 n = select(max_fd [all...] |
| /PHP_TRUNK/sapi/cli/ |
| H A D | php_cli_server.c | 118 php_socket_t max_fd; member in struct:php_cli_server_poller 727 poller->max_fd = -1; 739 if (fd > poller->max_fd) { 740 poller->max_fd = fd; 753 if (fd == poller->max_fd) { 760 poller->max_fd = fd; 769 return php_select(poller->max_fd + 1, &poller->active.rfds, &poller->active.wfds, NULL, (struct timeval *)tv); 818 const php_socket_t max_fd = poller->max_fd; local 820 for (fd=0 ; fd<=max_fd ; f [all...] |
| /PHP_TRUNK/ext/sockets/ |
| H A D | sockets.c | 764 static int php_sock_array_to_fd_set(zval *sock_array, fd_set *fds, PHP_SOCKET *max_fd TSRMLS_DC) /* {{{ */ 780 if (php_sock->bsd_socket > *max_fd) { 781 *max_fd = php_sock->bsd_socket; 846 PHP_SOCKET max_fd = 0; local 858 if (r_array != NULL) sets += php_sock_array_to_fd_set(r_array, &rfds, &max_fd TSRMLS_CC); 859 if (w_array != NULL) sets += php_sock_array_to_fd_set(w_array, &wfds, &max_fd TSRMLS_CC); 860 if (e_array != NULL) sets += php_sock_array_to_fd_set(e_array, &efds, &max_fd TSRMLS_CC); 867 PHP_SAFE_MAX_FD(max_fd, 0); /* someone needs to make this look more like stream_socket_select */ 896 retval = select(max_fd+1, &rfds, &wfds, &efds, tv_p);
|
| /PHP_TRUNK/ext/mysqlnd/ |
| H A D | mysqlnd.c | 1261 static int mysqlnd_stream_array_to_fd_set(MYSQLND ** conn_array, fd_set * fds, php_socket_t * max_fd TSRMLS_DC) 1278 if (this_fd > *max_fd) { 1279 *max_fd = this_fd; 1334 php_socket_t max_fd = 0; local 1350 set_count = mysqlnd_stream_array_to_fd_set(r_array, &rfds, &max_fd TSRMLS_CC); 1358 set_count = mysqlnd_stream_array_to_fd_set(e_array, &efds, &max_fd TSRMLS_CC); 1371 PHP_SAFE_MAX_FD(max_fd, max_set_count); 1384 retval = php_select(max_fd + 1, &rfds, &wfds, &efds, tv_p); 1387 php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to select [%d]: %s (max_fd=%d)", 1388 errno, strerror(errno), max_fd); [all...] |
| /PHP_TRUNK/ext/standard/ |
| H A D | streamsfuncs.c | 600 static int stream_array_to_fd_set(zval *stream_array, fd_set *fds, php_socket_t *max_fd TSRMLS_DC) 633 if (this_fd > *max_fd) { 634 *max_fd = this_fd; 776 php_socket_t max_fd = 0; local 789 set_count = stream_array_to_fd_set(r_array, &rfds, &max_fd TSRMLS_CC); 796 set_count = stream_array_to_fd_set(w_array, &wfds, &max_fd TSRMLS_CC); 803 set_count = stream_array_to_fd_set(e_array, &efds, &max_fd TSRMLS_CC); 814 PHP_SAFE_MAX_FD(max_fd, max_set_count); 857 retval = php_select(max_fd+1, &rfds, &wfds, &efds, tv_p); 860 php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to select [%d]: %s (max_fd [all...] |
Completed in 33 milliseconds