Searched refs:maxfd (Results 1 - 25 of 73) sorted by path

123

/macosx-10.9.5/BerkeleyDB-21/db/repmgr/
H A Drepmgr_posix.c539 int ret, flow_control, maxfd; local
562 maxfd = db_rep->listen_fd;
565 if (db_rep->read_pipe > maxfd)
566 maxfd = db_rep->read_pipe;
592 if (conn->fd > maxfd)
593 maxfd = conn->fd;
599 if (conn->fd > maxfd)
600 maxfd = conn->fd;
608 if (conn->fd > maxfd)
609 maxfd
[all...]
/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/DiskArbitration-266/autodiskmount/
H A Dautodiskmount.c439 int fd, maxfd = getdtablesize(); local
443 for (fd = 0; fd < maxfd; fd++)
/macosx-10.9.5/OpenSSH-186/openssh/openbsd-compat/
H A Dbsd-closefrom.c71 long fd, maxfd; local
97 maxfd = sysconf(_SC_OPEN_MAX);
99 maxfd = getdtablesize();
101 if (maxfd < 0)
102 maxfd = OPEN_MAX;
104 for (fd = lowfd; fd < maxfd; fd++)
H A Dbsd-poll.c43 int saved_errno, ret, fd, maxfd = 0; local
54 maxfd = MAX(maxfd, fd);
57 nmemb = howmany(maxfd + 1 , NFDBITS);
88 ret = select(maxfd + 1, readfds, writefds, exceptfds, tvp);
/macosx-10.9.5/OpenSSH-186/openssh/
H A Dssh-keyscan.c73 int maxfd; variable
74 #define MAXCON (maxfd - 10)
341 if (s >= maxfd)
367 if (s >= maxfd || fdcon[s].c_status == CS_UNUSED)
549 while (select(maxfd, r, NULL, e, &seltime) == -1 &&
553 for (i = 0; i < maxfd; i++) {
710 maxfd = fdlim_get(1);
711 if (maxfd < 0)
713 if (maxfd > MAXMAXFD)
714 maxfd
[all...]
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 DCurlDownload.cpp155 int maxfd = 0; local
166 curl_multi_fdset(downloadManager->getMultiHandle(), &fdread, &fdwrite, &fdexcep, &maxfd);
170 if (maxfd >= 0)
171 rc = ::select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
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/apache-786.1/httpd/srclib/apr/poll/unix/
H A Dselect.c38 int maxfd = -1; local
123 if ((int) fd > maxfd) {
124 maxfd = (int) fd;
130 rv = pipe_select(maxfd + 1, &readset, &writeset, &exceptset, tvptr);
135 rv = select(maxfd + 1, &readset, &writeset, &exceptset, tvptr);
188 int maxfd; member in struct:apr_pollset_private_t
216 pollset->p->maxfd = 0;
287 if ((int) fd > pollset->p->maxfd) {
288 pollset->p->maxfd = (int) fd;
329 if (((int) fd == pollset->p->maxfd)
[all...]
/macosx-10.9.5/apr-30/apr/apr/poll/unix/
H A Dselect.c38 int maxfd = -1; local
123 if ((int) fd > maxfd) {
124 maxfd = (int) fd;
130 rv = pipe_select(maxfd + 1, &readset, &writeset, &exceptset, tvptr);
135 rv = select(maxfd + 1, &readset, &writeset, &exceptset, tvptr);
188 int maxfd; member in struct:apr_pollset_private_t
216 pollset->p->maxfd = 0;
287 if ((int) fd > pollset->p->maxfd) {
288 pollset->p->maxfd = (int) fd;
329 if (((int) fd == pollset->p->maxfd)
[all...]
/macosx-10.9.5/bash-92/bash-3.2/
H A Dgeneral.c428 move_to_high_fd (fd, check_new, maxfd)
429 int fd, check_new, maxfd;
433 if (maxfd < 20)
442 nfds = maxfd;
/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/bind9-45.100/bind9/lib/isc/unix/
H A Dentropy.c392 int maxfd, fd; local
397 maxfd = -1;
406 maxfd = ISC_MAX(maxfd, fd);
419 maxfd = ISC_MAX(maxfd, fd);
424 maxfd = ISC_MAX(maxfd, fd);
433 if (maxfd < 0)
436 cc = select(maxfd
[all...]
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/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)
H A Dselect.c605 int maxfd; /* Maximum file descriptor */
613 maxfd = 1;
615 maxfd = fdptr->fd + 1;
629 nfds = select(maxfd, &cupsd_current_input, &cupsd_current_output, NULL,
633 nfds = select(maxfd, &cupsd_current_input, &cupsd_current_output, NULL,
/macosx-10.9.5/curl-78.94.1/curl/docs/examples/
H A Dfopen.c140 int maxfd = -1; local
161 curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd);
164 function calls. On success, the value of maxfd is guaranteed to be
165 greater or equal than -1. We call select(maxfd + 1, ...), specially
166 in case of (maxfd == -1), we call select(0, ...), which is basically
169 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
H A Dmulti-app.c80 int maxfd = -1; local
102 curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd);
105 function calls. On success, the value of maxfd is guaranteed to be
106 greater or equal than -1. We call select(maxfd + 1, ...), specially in
107 case of (maxfd == -1), we call select(0, ...), which is basically equal
110 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
H A Dmulti-debugcallback.c154 int maxfd = -1; local
176 curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd);
179 function calls. On success, the value of maxfd is guaranteed to be
180 greater or equal than -1. We call select(maxfd + 1, ...), specially in
181 case of (maxfd == -1), we call select(0, ...), which is basically equal
184 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
H A Dmulti-double.c69 int maxfd = -1; local
91 curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd);
94 function calls. On success, the value of maxfd is guaranteed to be
95 greater or equal than -1. We call select(maxfd + 1, ...), specially in
96 case of (maxfd == -1), we call select(0, ...), which is basically equal
99 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
H A Dmulti-post.c90 int maxfd = -1; local
112 curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd);
115 function calls. On success, the value of maxfd is guaranteed to be
116 greater or equal than -1. We call select(maxfd + 1, ...), specially in
117 case of (maxfd == -1), we call select(0, ...), which is basically equal
120 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
H A Dmulti-single.c67 int maxfd = -1; local
89 curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd);
92 function calls. On success, the value of maxfd is guaranteed to be
93 greater or equal than -1. We call select(maxfd + 1, ...), specially in
94 case of (maxfd == -1), we call select(0, ...), which is basically equal
97 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
H A Dsmtp-multi.c146 int maxfd = -1; local
168 curl_multi_fdset(mcurl, &fdread, &fdwrite, &fdexcep, &maxfd);
171 function calls. On success, the value of maxfd is guaranteed to be
172 greater or equal than -1. We call select(maxfd + 1, ...), specially in
173 case of (maxfd == -1), we call select(0, ...), which is basically equal
176 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
/macosx-10.9.5/curl-78.94.1/curl/lib/
H A Dselect.c154 curl_socket_t maxfd;
254 maxfd = (curl_socket_t)-1;
261 maxfd = readfd0;
267 if(readfd1 > maxfd)
268 maxfd = readfd1;
276 if(writefd > maxfd)
277 maxfd = writefd;
291 r = select((int)maxfd + 1, &fds_read, &fds_write, &fds_err, ptimeout);
358 curl_socket_t maxfd; local
429 maxfd
[all...]

Completed in 385 milliseconds

123