/macosx-10.10.1/curl-83.1.2/curl/tests/libtest/ |
H A D | lib591.c | 97 int maxfd = -99; local 110 multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); 112 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 128 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &interval);
|
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 | 108 int maxfd = -1; local 130 curl_multi_fdset(mcurl, &fdread, &fdwrite, &fdexcep, &maxfd); 133 function calls. On success, the value of maxfd is guaranteed to be 134 greater or equal than -1. We call select(maxfd + 1, ...), specially in 135 case of (maxfd == -1), we call select(0, ...), which is basically equal 138 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
H A D | lib1515.c | 83 int maxfd = -99; local 91 multi_fdset(m, &fdread, &fdwrite, &fdexcep, &maxfd); 92 select_test(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 | 172 int maxfd = -99; local 219 curl_multi_fdset(m, &rd, &wr, &exc, &maxfd); 221 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 234 select_test(maxfd+1, &rd, &wr, &exc, &interval);
|
/macosx-10.10.1/xnu-2782.1.97/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.10.1/apr-32/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.10.1/curl-83.1.2/curl/lib/ |
H A D | select.c | 154 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; 309 about the fact that maxfd is computed incorrectly with WinSock (since 313 r = select((int)maxfd + 1, 388 curl_socket_t maxfd; local [all...] |
/macosx-10.10.1/curl-83.1.2/curl/docs/examples/ |
H A D | smtp-multi.c | 156 int maxfd = -1; local 180 curl_multi_fdset(mcurl, &fdread, &fdwrite, &fdexcep, &maxfd); 183 function calls. On success, the value of maxfd is guaranteed to be 184 greater or equal than -1. We call select(maxfd + 1, ...), specially in 185 case of (maxfd == -1), we call select(0, ...), which is basically equal 187 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
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 | 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.10.1/sudo-73/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.10.1/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.10.1/bind9-45.101/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.10.1/ntp-92/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.10.1/OpenSSH-189/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.10.1/remote_cmds-47/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.10.1/cups-408/cups/scheduler/ |
H A D | select.c | 589 int maxfd; /* Maximum file descriptor */ 597 maxfd = 1; 599 maxfd = fdptr->fd + 1; 613 nfds = select(maxfd, &cupsd_current_input, &cupsd_current_output, NULL, 617 nfds = select(maxfd, &cupsd_current_input, &cupsd_current_output, NULL,
|
/macosx-10.10.1/rsync-45/rsync/ |
H A D | io.c | 477 int maxfd = fd; local 485 if (msg_fd_out > maxfd) 486 maxfd = msg_fd_out; 502 if (new_fd > maxfd) 503 maxfd = new_fd; 511 count = select(maxfd + 1, &r_fds, &w_fds, NULL, &tv); 1046 int maxfd, count, cnt, using_r_fds; local 1057 maxfd = fd; 1062 if (msg_fd_in > maxfd) 1063 maxfd [all...] |
/macosx-10.10.1/bash-94.1.2/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.10.1/passwordserver_sasl-193/cyrus_sasl/sample/ |
H A D | server.c | 336 int *l, maxfd=0; local 383 if (l[i] > maxfd) 384 maxfd = l[i]; 404 nfds = select(maxfd + 1, &readfds, 0, 0, 0);
|