/external/bison/lib/ |
spawn_faction_addclose.c | 40 int maxfd = __sysconf (_SC_OPEN_MAX); local 43 if (fd < 0 || fd >= maxfd)
|
spawn_faction_adddup2.c | 40 int maxfd = __sysconf (_SC_OPEN_MAX); local 43 if (fd < 0 || newfd < 0 || fd >= maxfd || newfd >= maxfd)
|
spawn_faction_addopen.c | 41 int maxfd = __sysconf (_SC_OPEN_MAX); local 44 if (fd < 0 || fd >= maxfd)
|
/external/dhcpcd-6.8.2/compat/ |
pselect.c | 44 int maxfd, r; local 47 maxfd = 0; 51 if (fds[n].fd > maxfd) 52 maxfd = fds[n].fd; 56 r = pselect(maxfd + 1, &read_fds, NULL, NULL, ts, sigmask);
|
/external/curl/docs/examples/ |
multi-double.c | 74 int maxfd = -1; local 96 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 103 /* On success the value of maxfd is guaranteed to be >= -1. We call 104 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 109 if(maxfd == -1) { 122 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
multi-post.c | 94 int maxfd = -1; local 116 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 123 /* On success the value of maxfd is guaranteed to be >= -1. We call 124 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 129 if(maxfd == -1) { 142 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
imap-multi.c | 96 int maxfd = -1; local 121 mc = curl_multi_fdset(mcurl, &fdread, &fdwrite, &fdexcep, &maxfd); 128 /* On success the value of maxfd is guaranteed to be >= -1. We call 129 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 134 if(maxfd == -1) { 147 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
/external/curl/tests/libtest/ |
lib1502.c | 90 int maxfd = -99; local 98 multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); 100 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 102 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
lib502.c | 56 int maxfd = -99; local 72 multi_fdset(m, &fdread, &fdwrite, &fdexcep, &maxfd); 74 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 76 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
lib503.c | 66 int maxfd = -99; local 82 multi_fdset(m, &rd, &wr, &exc, &maxfd); 84 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 86 select_test(maxfd+1, &rd, &wr, &exc, &interval);
|
lib504.c | 64 int maxfd = -99; local 94 multi_fdset(m, &rd, &wr, &exc, &maxfd); 96 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 98 select_test(maxfd+1, &rd, &wr, &exc, &interval);
|
lib507.c | 61 int maxfd = -99; local 69 multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); 71 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 73 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
lib525.c | 118 int maxfd = -99; local 134 multi_fdset(m, &rd, &wr, &exc, &maxfd); 136 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 138 select_test(maxfd+1, &rd, &wr, &exc, &interval);
|
lib526.c | 87 int maxfd = -99; local 132 multi_fdset(m, &rd, &wr, &exc, &maxfd); 134 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 136 select_test(maxfd+1, &rd, &wr, &exc, &interval);
|
lib530.c | 77 int maxfd = -99; local 100 multi_fdset(m, &rd, &wr, &exc, &maxfd); 102 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 104 select_test(maxfd+1, &rd, &wr, &exc, &interval);
|
lib533.c | 61 int maxfd = -99; local 94 multi_fdset(m, &rd, &wr, &exc, &maxfd); 96 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 98 select_test(maxfd+1, &rd, &wr, &exc, &interval);
|
lib536.c | 40 int maxfd = -99; local 60 res_multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); 64 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 66 res_select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &interval);
|
lib555.c | 120 int maxfd = -99; local 140 multi_fdset(m, &fdread, &fdwrite, &fdexcep, &maxfd); 142 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 144 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
lib560.c | 79 int maxfd = -99; local 90 multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 92 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 94 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
lib564.c | 59 int maxfd = -99; local 75 multi_fdset(m, &rd, &wr, &exc, &maxfd); 77 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 79 select_test(maxfd+1, &rd, &wr, &exc, &interval);
|
lib573.c | 71 int maxfd = -99; local 87 multi_fdset(m, &fdread, &fdwrite, &fdexcep, &maxfd); 89 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 91 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
lib575.c | 83 int maxfd = -99; local 92 multi_fdset(mhandle, &fdread, &fdwrite, &fdexcep, &maxfd); 94 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 96 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
/external/libmicrohttpd/src/microhttpd/ |
test_daemon.c | 93 MHD_socket maxfd; local 105 maxfd = 0; 107 if (MHD_YES != MHD_get_fdset (d, &rs, &rs, &rs, &maxfd))
|
/external/openssh/openbsd-compat/ |
bsd-closefrom.c | 71 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++)
|
bsd-poll.c | 46 int saved_errno, ret, fd, maxfd = 0; local 57 maxfd = MAX(maxfd, fd); 60 nmemb = howmany(maxfd + 1 , NFDBITS); 91 ret = select(maxfd + 1, readfds, writefds, exceptfds, tvp);
|