Searched refs:maxfd (Results 51 - 73 of 73) sorted by relevance

123

/macosx-10.9.5/curl-78.94.1/curl/tests/server/
H A Dsockfilt.c757 int maxfd = -99; local
800 maxfd = (int)sockfd;
809 maxfd = 0; /* stdin */
817 maxfd = (int)sockfd;
830 maxfd = (int)sockfd;
834 maxfd = 0;
841 maxfd = 0;
852 rc = select(maxfd + 1, &fds_read, &fds_write, &fds_err, &timeout);
/macosx-10.9.5/network_cmds-433/rtsol.tproj/
H A Drtsold.c113 int s, rtsock, maxfd, ch; local
226 maxfd = s;
231 if (rtsock > maxfd)
232 maxfd = rtsock;
300 e = select(maxfd + 1, &select_fd, NULL, NULL, timeout);
/macosx-10.9.5/rsync-42/rsync/
H A Dsocket.c468 int *sp, maxfd, i; local
481 for (i = 0, maxfd = -1; sp[i] >= 0; i++) {
493 if (maxfd < sp[i])
494 maxfd = sp[i];
517 if (select(maxfd + 1, &fds, NULL, NULL, NULL) != 1)
/macosx-10.9.5/efax-36/efax/
H A Defaxos.c207 int maxfd; local
225 maxfd = f->fd;
232 if (sysEventPipes[0] > maxfd)
233 maxfd = sysEventPipes[0];
240 if (clientEventFd > maxfd)
241 maxfd = clientEventFd;
247 n = select ( maxfd + 1, &fds, 0, 0, t<0 ? 0 : &timeout ) ;
/macosx-10.9.5/network_cmds-433/rarpd.tproj/
H A Drarpd.c405 int bufsize, maxfd = 0; local
428 if (ii->ii_fd > maxfd)
429 maxfd = ii->ii_fd;
433 if (select(maxfd + 1, &listeners, (struct fd_set *) 0,
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/unix/
H A Dsocket.c124 int maxfd; member in struct:isc_socketwait
401 int maxfd; member in struct:isc__socketmgr
1962 * update manager->maxfd here (XXX: this should be implemented more
1967 if (manager->maxfd == fd) {
1970 manager->maxfd = 0;
1976 manager->maxfd = i;
1983 if (manager->maxfd < manager->pipe_fds[0])
1984 manager->maxfd = manager->pipe_fds[0];
2592 if (manager->maxfd < sock->fd)
2593 manager->maxfd
3668 process_fds(isc__socketmgr_t *manager, int maxfd, fd_set *readfds, fd_set *writefds) argument
3748 int maxfd; local
[all...]
/macosx-10.9.5/ntp-88/lib/isc/unix/
H A Dsocket.c110 int maxfd; member in struct:isc_socketwait
382 int maxfd; member in struct:isc_socketmgr
1761 * update manager->maxfd here (XXX: this should be implemented more
1766 if (manager->maxfd == fd) {
1769 manager->maxfd = 0;
1775 manager->maxfd = i;
1782 if (manager->maxfd < manager->pipe_fds[0])
1783 manager->maxfd = manager->pipe_fds[0];
2344 if (manager->maxfd < sock->fd)
2345 manager->maxfd
3369 process_fds(isc_socketmgr_t *manager, int maxfd, fd_set *readfds, fd_set *writefds) argument
3450 int maxfd; local
[all...]
/macosx-10.9.5/bind9-45.100/bind9/contrib/queryperf/
H A Dqueryperf.c1642 int maxfd = -1; local
1648 maxfd = socket4;
1652 if (maxfd == -1 || maxfd < socket6)
1653 maxfd = socket6;
1664 retval = select(maxfd + 1, &read_fds, NULL, NULL, &tv);
/macosx-10.9.5/OpenSSH-186/openssh/
H A Dsshd.c1129 int i, j, ret, maxfd; local
1138 maxfd = 0;
1140 if (listen_socks[i] > maxfd)
1141 maxfd = listen_socks[i];
1156 fdset = (fd_set *)xcalloc(howmany(maxfd + 1, NFDBITS),
1166 ret = select(maxfd+1, fdset, NULL, NULL, NULL);
1239 if (maxfd < startup_p[0])
1240 maxfd = startup_p[0];
/macosx-10.9.5/WebCore-7537.78.1/platform/network/curl/
H A DResourceHandleManager.cpp432 int maxfd = 0; local
444 curl_multi_fdset(m_curlMultiHandle, &fdread, &fdwrite, &fdexcep, &maxfd);
448 if (maxfd >= 0)
449 rc = ::select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
/macosx-10.9.5/network_cmds-433/rtadvd.tproj/
H A Drtadvd.c153 int maxfd = 0; local
250 maxfd = sock;
254 maxfd = rtsock;
258 fdmasks = howmany(maxfd + 1, NFDBITS) * sizeof(fd_mask);
303 if ((i = select(maxfd + 1, selectfdp, NULL, NULL,
/macosx-10.9.5/ntp-88/ntpdate/
H A Dntpdate.c129 SOCKET maxfd; variable
570 nfound = select(maxfd, &rdfdes, (fd_set *)0,
1764 if (maxfd < fd[nbsock]+1) {
1765 maxfd = fd[nbsock]+1;
1900 n = select(maxfd, &fds, (fd_set *)0, (fd_set *)0, &tvzero);
/macosx-10.9.5/ruby-104/ruby/
H A Dthread.c3126 fds->maxfd = 0;
3138 dst->maxfd = src->maxfd;
3147 fds->maxfd = 0;
3155 MEMZERO(fds->fdset, fd_mask, howmany(fds->maxfd, NFDBITS));
3162 size_t o = howmany(fds->maxfd, NFDBITS) * sizeof(fd_mask);
3171 if (n >= fds->maxfd) fds->maxfd = n + 1;
3184 if (n >= fds->maxfd) return;
3191 if (n >= fds->maxfd) retur
[all...]
/macosx-10.9.5/vim-53/src/
H A Dos_unix.c5001 int maxfd; local
5038 maxfd = fd;
5045 if (maxfd < fd_from_sniff)
5046 maxfd = fd_from_sniff;
5053 if (maxfd < ConnectionNumber(xterm_dpy))
5054 maxfd = ConnectionNumber(xterm_dpy);
5062 if (maxfd < gpm_fd)
5063 maxfd = gpm_fd;
5071 if (maxfd < xsmp_icefd)
5072 maxfd
[all...]
/macosx-10.9.5/ppp-727.90.1/Drivers/L2TP/L2TP-plugin/
H A Dl2tp.c1457 int maxfd; local
1463 maxfd = fd + 1;
1466 if ((result = select(maxfd, &rset, 0, 0, timeout != -1 ? &tv : 0)) == 0) {
/macosx-10.9.5/ppp-727.90.1/Drivers/PPPSerial/PPPSerial-plugin/
H A Dmain.c833 int sacc = 0, nready, maxfd; local
841 maxfd = fd;
861 nready = select(maxfd + 1, &rset, NULL, NULL, &timeout);
/macosx-10.9.5/CF-855.17/
H A DCFSocket.c219 int maxfd = 0;
221 int ret0 = sysctl(mib, 2, &maxfd, &len, NULL, 0);
222 if (0 == ret0 && 0 == ret1 && lim1.rlim_max < maxfd) maxfd = lim1.rlim_max;
223 if (0 == ret1 && lim1.rlim_cur < maxfd) {
226 if (maxfd < lim2.rlim_cur) lim2.rlim_cur = maxfd;
2275 int maxfd = 0; local
2277 int ret0 = sysctl(mib, 2, &maxfd, &len, NULL, 0);
2278 if (0 == ret0 && 0 == ret1 && lim1.rlim_max < maxfd) maxf
[all...]
/macosx-10.9.5/modemccl-25.1/CCLEngine/
H A DCCLEngine.c223 int maxfd; variable
306 maxfd = 1;
314 maxfd = 0;
828 nready = select(maxfd, &rset, NULL, NULL, timeleft(&timo));
/macosx-10.9.5/DiskArbitration-266/autodiskmount/
H A Dautodiskmount.c439 int fd, maxfd = getdtablesize(); local
443 for (fd = 0; fd < maxfd; fd++)
/macosx-10.9.5/ruby-104/ruby/include/ruby/
H A Dintern.h284 int maxfd; member in struct:__anon12361
299 #define rb_fd_max(f) ((f)->maxfd)
/macosx-10.9.5/curl-78.94.1/curl/lib/
H A Durldata.h649 curl_socket_t maxfd; member in struct:SingleRequest
H A Durl.c5541 conn->data->req.maxfd = (conn->sockfd>conn->writesockfd?
/macosx-10.9.5/cups-372.4/cups/scheduler/
H A Dipp.c4424 int maxfd; /* Max file descriptor for select() */ local
4489 maxfd = temppipe[0] + 1;
4491 maxfd = CGIPipes[0] + 1;
4506 if ((i = select(maxfd, &input, NULL, NULL, &timeout)) < 0)

Completed in 297 milliseconds

123