/external/curl/tests/libtest/ |
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);
|
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);
|
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);
|
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);
|
lib1501.c | 80 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);
|
lib1502.c | 89 int maxfd = -99; local 97 multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); 99 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 101 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);
|
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);
|
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);
|
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);
|
lib1506.c | 93 int maxfd = -99; local 109 multi_fdset(m, &rd, &wr, &exc, &maxfd); 111 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 113 select_test(maxfd+1, &rd, &wr, &exc, &interval);
|
/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 | 70 int maxfd = -1; local 92 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 100 /* On success the value of maxfd is guaranteed to be >= -1. We call 101 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 106 if(maxfd == -1) { 119 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
imap-multi.c | 89 int maxfd = -1; local 114 mc = curl_multi_fdset(mcurl, &fdread, &fdwrite, &fdexcep, &maxfd); 122 /* On success the value of maxfd is guaranteed to be >= -1. We call 123 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 128 if(maxfd == -1) { 141 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
multi-app.c | 81 int maxfd = -1; local 103 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 111 /* On success the value of maxfd is guaranteed to be >= -1. We call 112 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 117 if(maxfd == -1) { 130 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
multi-debugcallback.c | 155 int maxfd = -1; local 177 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 185 /* On success the value of maxfd is guaranteed to be >= -1. We call 186 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 191 if(maxfd == -1) { 204 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
multi-post.c | 91 int maxfd = -1; local 113 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 121 /* On success the value of maxfd is guaranteed to be >= -1. We call 122 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 127 if(maxfd == -1) { 140 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
pop3-multi.c | 89 int maxfd = -1; local 114 mc = curl_multi_fdset(mcurl, &fdread, &fdwrite, &fdexcep, &maxfd); 122 /* On success the value of maxfd is guaranteed to be >= -1. We call 123 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 128 if(maxfd == -1) { 141 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
/external/bison/lib/ |
spawn_faction_adddup2.c | 40 int maxfd = __sysconf (_SC_OPEN_MAX); local 43 if (fd < 0 || newfd < 0 || fd >= maxfd || newfd >= maxfd)
|
/external/libnl/src/ |
nf-log.c | 123 int nffd, rtfd, maxfd, retval; local 127 maxfd = nffd = nl_socket_get_fd(nf_sock); 132 if (maxfd < rtfd) 133 maxfd = rtfd; 136 retval = select(maxfd+1, &rfds, NULL, NULL, NULL);
|
nf-queue.c | 148 int nffd, rtfd, maxfd, retval; local 152 maxfd = nffd = nl_socket_get_fd(nf_sock); 157 if (maxfd < rtfd) 158 maxfd = rtfd; 161 retval = select(maxfd+1, &rfds, NULL, NULL, NULL);
|