/macosx-10.9.5/curl-78.94.1/curl/tests/libtest/ |
H A D | lib597.c | 98 int maxfd = -99; local 111 multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); 113 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 129 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &interval);
|
H A D | lib1507.c | 110 int maxfd = -1; local 132 curl_multi_fdset(mcurl, &fdread, &fdwrite, &fdexcep, &maxfd); 135 function calls. On success, the value of maxfd is guaranteed to be 136 greater or equal than -1. We call select(maxfd + 1, ...), specially in 137 case of (maxfd == -1), we call select(0, ...), which is basically equal 140 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
H A D | lib555.c | 119 int maxfd = -99; local 139 multi_fdset(m, &fdread, &fdwrite, &fdexcep, &maxfd); 141 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 143 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
H A D | libntlmconnect.c | 140 int maxfd = -99; local 179 multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); 181 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 184 for (i = 0; i <= maxfd; ++i) { 228 if(maxfd != -1 && !found_new_socket) { 261 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &interval);
|
H A D | lib1900.c | 178 int maxfd = -99; local 225 curl_multi_fdset(m, &rd, &wr, &exc, &maxfd); 227 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 240 select_test(maxfd+1, &rd, &wr, &exc, &interval);
|
/macosx-10.9.5/xnu-2422.115.4/tools/tests/libMicro/ |
H A D | select.c | 52 static int maxfd = 0; variable 71 (void) sprintf(lm_header, "%8s %5s", "maxfd", "flags"); 118 (void) printf("ERROR: -r and -w values must be <= maxfd\n"); 145 maxfd = fds[i+1] + 1; 147 if (maxfd > FD_SETSIZE) { 191 if (select(maxfd, my_iset, my_oset, NULL, &tv) != target) {
|
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/poll/unix/ |
H A D | select.c | 38 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 D | select.c | 38 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/sudo-72/src/ |
H A D | exec_pty.c | 397 fork_pty(path, argv, envp, sv, rbac_enabled, bgmode, maxfd, omask) 404 int *maxfd; 559 /* Adjust maxfd. */ 560 if (iob->rfd > *maxfd) 561 *maxfd = iob->rfd; 562 if (iob->wfd > *maxfd) 563 *maxfd = iob->wfd; 778 int errpipe[2], maxfd, n; local 916 maxfd = MAX(MAX(errpipe[0], signal_pipe[0]), backchannel); 917 fdsr = ecalloc(howmany(maxfd 1016 int nready, nwriters, maxfd = -1; local 1091 int maxfd = def_closefrom; local [all...] |
H A D | sudo_exec.h | 37 int rbac_enabled, int bgmode, int *maxfd, sigset_t *omask));
|
H A D | exec.c | 174 int maxfd = def_closefrom; local 175 dup2(sv[1], maxfd); 176 (void)fcntl(maxfd, F_SETFD, FD_CLOEXEC); 177 sv[1] = maxfd++; 178 closefrom(maxfd); 253 int maxfd, n, nready, sv[2]; local 360 maxfd = MAX(sv[0], signal_pipe[0]); 364 * to and from pty. Adjusts maxfd as needed. 368 child = fork_pty(path, argv, envp, sv, rbac_enabled, bgmode, &maxfd, &omask); 386 fdsr = emalloc2(howmany(maxfd [all...] |
/macosx-10.9.5/BerkeleyDB-21/db/repmgr/ |
H A D | repmgr_posix.c | 539 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/bind9-45.100/bind9/lib/isc/unix/ |
H A D | entropy.c | 392 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...] |
/macosx-10.9.5/ntp-88/lib/isc/unix/ |
H A D | entropy.c | 392 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...] |
/macosx-10.9.5/OpenSSH-186/openssh/ |
H A D | ssh-keyscan.c | 73 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...] |
/macosx-10.9.5/curl-78.94.1/curl/docs/examples/ |
H A D | multi-debugcallback.c | 154 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 D | smtp-multi.c | 146 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);
|
H A D | fopen.c | 140 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);
|
/macosx-10.9.5/remote_cmds-41.90.1/telnet.tproj/ |
H A D | sys_bsd.c | 928 int maxfd = -1; 931 if ((netout || netin || netex) && net > maxfd) 932 maxfd = net; 934 if (ttyout && tout > maxfd) 935 maxfd = tout; 936 if (ttyin && tin > maxfd) 937 maxfd = tin; 938 tmp = howmany(maxfd+1, NFDBITS) * sizeof(fd_mask); 969 if ((c = select(maxfd + 1, ibitsp, obitsp, xbitsp, 926 int maxfd = -1; local
|
/macosx-10.9.5/WebCore-7537.78.1/platform/network/curl/ |
H A D | CurlDownload.cpp | 155 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);
|
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/sample/ |
H A D | server.c | 284 int *l, maxfd=0; local 318 if (l[i] > maxfd) 319 maxfd = l[i]; 338 nfds = select(maxfd + 1, &readfds, 0, 0, 0);
|
/macosx-10.9.5/cups-372.4/cups/scheduler/ |
H A D | select.c | 605 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/rsync-42/rsync/ |
H A D | io.c | 476 int maxfd = fd; local 484 if (msg_fd_out > maxfd) 485 maxfd = msg_fd_out; 501 if (new_fd > maxfd) 502 maxfd = new_fd; 510 count = select(maxfd + 1, &r_fds, &w_fds, NULL, &tv); 1045 int maxfd, count, cnt, using_r_fds; local 1056 maxfd = fd; 1061 if (msg_fd_in > maxfd) 1062 maxfd [all...] |
/macosx-10.9.5/bash-92/bash-3.2/ |
H A D | general.c | 428 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/curl-78.94.1/curl/tests/server/ |
H A D | sws.c | 1418 curl_socket_t maxfd = (curl_socket_t)-1; local 1431 maxfd = rootfd; 1441 if(clientfd[i] > maxfd) 1442 maxfd = clientfd[i]; 1448 if(clientfd[i] > maxfd) 1449 maxfd = clientfd[i]; 1457 if(serverfd[i] > maxfd) 1458 maxfd = serverfd[i]; 1464 if(serverfd[i] > maxfd) 1465 maxfd 2099 curl_socket_t maxfd = (curl_socket_t)-1; local [all...] |