Lines Matching refs:timeout
304 struct timeval *timeout, argument
348 if ((n = php_pollfd_for(sockfd, POLLOUT|POLLPRI, timeout)) == 0) {
350 if ((n = php_pollfd_for(sockfd, PHP_POLLREADABLE|POLLOUT, timeout)) == 0) {
709 struct timeval *timeout, argument
719 n = php_pollfd_for(srvsock, PHP_POLLREADABLE, timeout);
761 int socktype, int asynchronous, struct timeval *timeout, char **error_string, argument
781 if (timeout) {
782 memcpy(&working_timeout, timeout, sizeof(working_timeout));
879 timeout ? &working_timeout : NULL,
888 if (timeout) {
908 if (timeout) {
909 memcpy(&working_timeout, timeout, sizeof(working_timeout));
1037 sock->timeout.tv_sec = FG(default_socket_timeout);
1038 sock->timeout.tv_usec = 0;
1053 int socktype, struct timeval *timeout, const char *persistent_id STREAMS_DC TSRMLS_DC) argument
1062 STREAM_XPORT_CLIENT | STREAM_XPORT_CONNECT, persistent_id, timeout, NULL, NULL, NULL);
1134 PHPAPI int php_poll2(php_pollfd *ufds, unsigned int nfds, int timeout) argument
1166 if (timeout >= 0) {
1167 tv.tv_sec = timeout / 1000;
1168 tv.tv_usec = (timeout - (tv.tv_sec * 1000)) * 1000;
1176 n = select(max_fd + 1, &rset, &wset, &eset, timeout >= 0 ? &tv : NULL);