/external/openssh/openbsd-compat/ |
bsd-poll.c | 44 int saved_errno, ret, fd, maxfd = 0; local 55 maxfd = MAX(maxfd, fd); 58 nmemb = howmany(maxfd + 1 , NFDBITS); 89 ret = select(maxfd + 1, readfds, writefds, exceptfds, tvp);
|
/external/libmicrohttpd/src/examples/ |
mhd2spdy.c | 74 int maxfd = -1; local 153 &maxfd)) 157 assert(-1 != maxfd); 164 if(maxfd_s > maxfd) 165 maxfd = maxfd_s; 171 ret = select(maxfd+1, &rs, &ws, &es, &timeout);
|
spdy_event_loop.c | 364 int maxfd = -1; local 389 maxfd = SPDY_get_fdset (daemon, 396 rc = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout); 449 maxfd = SPDY_get_fdset (daemon2, 454 rc = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout);
|
spdy_response_with_callback.c | 163 int maxfd = -1; local 208 maxfd = SPDY_get_fdset (daemon, 213 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &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);
|
lib1506.c | 95 int maxfd = -99; local 111 multi_fdset(m, &rd, &wr, &exc, &maxfd); 113 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 115 select_test(maxfd+1, &rd, &wr, &exc, &interval);
|
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);
|
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);
|
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);
|
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. */ 130 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &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);
|
lib1515.c | 81 int maxfd = -99; local 89 multi_fdset(m, &fdread, &fdwrite, &fdexcep, &maxfd); 90 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
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);
|
libntlmconnect.c | 141 int maxfd = -99; local 181 multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); 183 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 186 for(i = 0; i <= maxfd; ++i) { 230 if(maxfd != -1 && !found_new_socket) { 263 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &interval);
|
/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))
|
/art/runtime/jdwp/ |
jdwp_adb.cc | 355 int maxfd = -1; local 364 if (maxfd < fd) { 365 maxfd = fd; 371 if (maxfd < fd) { 372 maxfd = fd; 378 if (maxfd < fd) { 379 maxfd = fd; 385 if (maxfd < 0) { 402 selCount = select(maxfd + 1, &readfds, nullptr, nullptr, nullptr);
|
jdwp_socket.cc | 389 int maxfd = -1; local 398 if (maxfd < fd) { 399 maxfd = fd; 405 if (maxfd < fd) { 406 maxfd = fd; 412 if (maxfd < fd) { 413 maxfd = fd; 419 if (maxfd < 0) { 436 selCount = select(maxfd + 1, &readfds, nullptr, nullptr, nullptr);
|
/external/curl/docs/examples/ |
multi-app.c | 85 int maxfd = -1; local 107 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 114 /* On success the value of maxfd is guaranteed to be >= -1. We call 115 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 120 if(maxfd == -1) { 133 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
smtp-multi.c | 163 int maxfd = -1; local 188 mc = curl_multi_fdset(mcurl, &fdread, &fdwrite, &fdexcep, &maxfd); 195 /* On success the value of maxfd is guaranteed to be >= -1. We call 196 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 201 if(maxfd == -1) { 214 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
multi-debugcallback.c | 158 int maxfd = -1; local 180 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 187 /* On success the value of maxfd is guaranteed to be >= -1. We call 188 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 193 if(maxfd == -1) { 206 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
http2-download.c | 223 int maxfd = -1; local 245 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 252 /* On success the value of maxfd is guaranteed to be >= -1. We call 253 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 258 if(maxfd == -1) { 271 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
/external/curl/lib/ |
select.c | 159 curl_socket_t maxfd; 265 maxfd = (curl_socket_t)-1; 272 maxfd = readfd0; 278 if(readfd1 > maxfd) 279 maxfd = readfd1; 287 if(writefd > maxfd) 288 maxfd = writefd; 320 about the fact that maxfd is computed incorrectly with WinSock (since 325 r = select((int)maxfd + 1, 330 r = select((int)maxfd + 1, &fds_read, &fds_write, &fds_err, ptimeout) 399 curl_socket_t maxfd; local [all...] |
/external/libmicrohttpd/src/testspdy/ |
test_misc.c | 210 int maxfd = -1; local 250 maxfd = SPDY_get_fdset (daemon, 255 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout);
|
test_session_timeout.c | 130 int maxfd = -1; local 216 maxfd = SPDY_get_fdset (daemon, 221 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout);
|