/external/curl/docs/examples/ |
pop3-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);
|
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);
|
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);
|
http2-serverpush.c | 235 int maxfd = -1; local 257 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 264 /* On success the value of maxfd is guaranteed to be >= -1. We call 265 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 270 if(maxfd == -1) { 283 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
/external/curl/tests/libtest/ |
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);
|
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);
|
lib1531.c | 67 int maxfd = -1; local 89 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 96 /* On success the value of maxfd is guaranteed to be >= -1. We call 97 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 102 if(maxfd == -1) { 115 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
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);
|
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/examples/ |
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);
|
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_fileserver.c | 277 int maxfd = -1; local 325 maxfd = SPDY_get_fdset (daemon, 330 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout);
|
/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);
|
/external/curl/lib/ |
select.c | 160 curl_socket_t maxfd; 260 maxfd = (curl_socket_t)-1; 267 maxfd = readfd0; 273 if(readfd1 > maxfd) 274 maxfd = readfd1; 282 if(writefd > maxfd) 283 maxfd = writefd; 315 about the fact that maxfd is computed incorrectly with WinSock (since 320 r = select((int)maxfd + 1, 325 r = select((int)maxfd + 1, &fds_read, &fds_write, &fds_err, ptimeout) 394 curl_socket_t maxfd; local [all...] |
/hardware/ti/omap4-aah/domx/domx/omx_rpc/src/ |
omx_rpc.c | 288 OMX_S32 maxfd = 0, status = 0; local 296 maxfd = 306 status = select(maxfd, &readfds, NULL, NULL, NULL);
|
/hardware/ti/omap4xxx/domx/domx/omx_rpc/src/ |
omx_rpc.c | 288 OMX_S32 maxfd = 0, status = 0; local 295 maxfd = 305 status = select(maxfd, &readfds, NULL, NULL, NULL);
|
/art/runtime/jdwp/ |
jdwp_socket.cc | 386 int maxfd = -1; local 395 if (maxfd < fd) { 396 maxfd = fd; 402 if (maxfd < fd) { 403 maxfd = fd; 409 if (maxfd < fd) { 410 maxfd = fd; 416 if (maxfd < 0) { 433 selCount = select(maxfd + 1, &readfds, nullptr, nullptr, nullptr);
|
/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_request_response_with_callback.c | 173 int maxfd = -1; local 213 maxfd = SPDY_get_fdset (daemon, 218 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);
|