/external/curl/tests/libtest/ |
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);
|
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);
|
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. */ 129 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &interval);
|
lib582.c | 189 curl_socket_t *maxFd) 194 if (*maxFd < sockets->sockets[i] + 1) { 195 *maxFd = sockets->sockets[i] + 1; 306 curl_socket_t maxFd = 0; 311 updateFdSet(&sockets.read, &readSet, &maxFd); 312 updateFdSet(&sockets.write, &writeSet, &maxFd); 320 else if (maxFd <= 0) 326 select_test(maxFd, &readSet, &writeSet, NULL, &tv);
|
lib1515.c | 80 int maxfd = -99; local 88 multi_fdset(m, &fdread, &fdwrite, &fdexcep, &maxfd); 89 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
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);
|
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);
|
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);
|
/external/bison/lib/ |
spawn_faction_addclose.c | 40 int maxfd = __sysconf (_SC_OPEN_MAX); local 43 if (fd < 0 || fd >= maxfd)
|
spawn_faction_addopen.c | 41 int maxfd = __sysconf (_SC_OPEN_MAX); local 44 if (fd < 0 || fd >= maxfd)
|
/external/xmlrpcpp/src/ |
XmlRpcDispatch.cpp | 89 int maxFd = -1; // Not used on windows 96 if (it->getMask() && fd > maxFd) maxFd = fd; 102 nEvents = select(maxFd+1, &inFd, &outFd, &excFd, NULL); 108 nEvents = select(maxFd+1, &inFd, &outFd, &excFd, &tv); 125 if (fd <= maxFd) {
|
/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 319 r = select((int)maxfd + 1, 394 curl_socket_t maxfd; local [all...] |
/external/curl/docs/examples/ |
http2-download.c | 218 int maxfd = -1; local 240 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 248 /* On success the value of maxfd is guaranteed to be >= -1. We call 249 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 254 if(maxfd == -1) { 267 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
smtp-multi.c | 156 int maxfd = -1; local 181 mc = curl_multi_fdset(mcurl, &fdread, &fdwrite, &fdexcep, &maxfd); 189 /* On success the value of maxfd is guaranteed to be >= -1. We call 190 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 195 if(maxfd == -1) { 208 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
http2-upload.c | 282 int maxfd = -1; local 304 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 312 /* On success the value of maxfd is guaranteed to be >= -1. We call 313 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 318 if(maxfd == -1) { 331 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
/art/runtime/jdwp/ |
jdwp_adb.cc | 308 int maxfd = -1; local 317 if (maxfd < fd) { 318 maxfd = fd; 324 if (maxfd < fd) { 325 maxfd = fd; 331 if (maxfd < fd) { 332 maxfd = fd; 338 if (maxfd < 0) { 355 selCount = select(maxfd + 1, &readfds, nullptr, nullptr, nullptr);
|
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/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/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_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/libvncserver/libvncserver/ |
sockets.c | 155 rfbScreen->maxFd = rfbScreen->inetdSock; 178 rfbScreen->maxFd = rfbScreen->listenSock; 196 rfbScreen->maxFd = max((int)rfbScreen->listen6Sock,rfbScreen->maxFd); 211 rfbScreen->maxFd = rfbScreen->listenSock; 223 rfbScreen->maxFd = max((int)rfbScreen->listen6Sock,rfbScreen->maxFd); 239 rfbScreen->maxFd = max((int)rfbScreen->udpSock,rfbScreen->maxFd); 304 nfds = select(rfbScreen->maxFd + 1, &fds, NULL, NULL /* &fds */, &tv) [all...] |
/external/curl/docs/libcurl/ |
curl_multi_perform.3 | 63 int maxfd = -1; 79 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 81 if(maxfd == -1) { 86 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
/external/webrtc/webrtc/test/channel_transport/ |
udp_socket_manager_posix.cc | 249 SOCKET maxFd = 0; 254 if (it->first > maxFd) 255 maxFd = it->first; 262 num = select(maxFd+1, &_readFds, NULL, NULL, &timeout);
|
/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);
|