Lines Matching refs:timeout
313 struct timeval *timeout, argument
357 if ((n = php_pollfd_for(sockfd, POLLOUT|POLLPRI, timeout)) == 0) {
359 if ((n = php_pollfd_for(sockfd, PHP_POLLREADABLE|POLLOUT, timeout)) == 0) {
734 struct timeval *timeout, argument
745 n = php_pollfd_for(srvsock, PHP_POLLREADABLE, timeout);
791 int socktype, int asynchronous, struct timeval *timeout, zend_string **error_string, argument
811 if (timeout) {
812 memcpy(&working_timeout, timeout, sizeof(working_timeout));
930 timeout ? &working_timeout : NULL,
939 if (timeout) {
959 if (timeout) {
960 memcpy(&working_timeout, timeout, sizeof(working_timeout));
1128 sock->timeout.tv_sec = FG(default_socket_timeout);
1129 sock->timeout.tv_usec = 0;
1144 int socktype, struct timeval *timeout, const char *persistent_id STREAMS_DC) argument
1153 STREAM_XPORT_CLIENT | STREAM_XPORT_CONNECT, persistent_id, timeout, NULL, NULL, NULL);
1221 PHPAPI int php_poll2(php_pollfd *ufds, unsigned int nfds, int timeout) argument
1253 if (timeout >= 0) {
1254 tv.tv_sec = timeout / 1000;
1255 tv.tv_usec = (timeout - (tv.tv_sec * 1000)) * 1000;
1263 n = select(max_fd + 1, &rset, &wset, &eset, timeout >= 0 ? &tv : NULL);