Searched refs:maxFd (Results 1 – 7 of 7) sorted by relevance
/external/xmlrpcpp/src/ |
D | XmlRpcDispatch.cpp | 89 int maxFd = -1; // Not used on windows in work() local 96 if (it->getMask() && fd > maxFd) maxFd = fd; in work() 102 nEvents = select(maxFd+1, &inFd, &outFd, &excFd, NULL); in work() 108 nEvents = select(maxFd+1, &inFd, &outFd, &excFd, &tv); in work() 125 if (fd <= maxFd) { in work()
|
/external/curl/tests/libtest/ |
D | lib582.c | 189 curl_socket_t *maxFd) in updateFdSet() argument 194 if (*maxFd < sockets->sockets[i] + 1) { in updateFdSet() 195 *maxFd = sockets->sockets[i] + 1; in updateFdSet() 306 curl_socket_t maxFd = 0; in test() local 311 updateFdSet(&sockets.read, &readSet, &maxFd); in test() 312 updateFdSet(&sockets.write, &writeSet, &maxFd); in test() 320 else if (maxFd <= 0) in test() 326 select_test(maxFd, &readSet, &writeSet, NULL, &tv); in test()
|
/external/libvncserver/libvncserver/ |
D | sockets.c | 155 rfbScreen->maxFd = rfbScreen->inetdSock; in rfbInitSockets() 178 rfbScreen->maxFd = rfbScreen->listenSock; in rfbInitSockets() 196 rfbScreen->maxFd = max((int)rfbScreen->listen6Sock,rfbScreen->maxFd); in rfbInitSockets() 211 rfbScreen->maxFd = rfbScreen->listenSock; in rfbInitSockets() 223 rfbScreen->maxFd = max((int)rfbScreen->listen6Sock,rfbScreen->maxFd); in rfbInitSockets() 239 rfbScreen->maxFd = max((int)rfbScreen->udpSock,rfbScreen->maxFd); in rfbInitSockets() 304 nfds = select(rfbScreen->maxFd + 1, &fds, NULL, NULL /* &fds */, &tv); in rfbCheckFds() 426 if (select(rfbScreen->maxFd+1, &listen_fds, NULL, NULL, NULL) == -1) { in rfbProcessNewConnection() 504 if(cl->sock==cl->screen->maxFd) in rfbCloseClient() 505 while(cl->screen->maxFd>0 in rfbCloseClient() [all …]
|
D | main.c | 587 if (select(screen->maxFd+1, &listen_fds, NULL, NULL, NULL) == -1) { in listenerRun() 839 screen->maxFd=0; in rfbGetScreen()
|
D | rfbserver.c | 370 rfbScreen->maxFd = max(sock,rfbScreen->maxFd); in rfbNewTCPOrUDPClient()
|
/external/webrtc/webrtc/test/channel_transport/ |
D | udp_socket_manager_posix.cc | 249 SOCKET maxFd = 0; in Process() local 254 if (it->first > maxFd) in Process() 255 maxFd = it->first; in Process() 262 num = select(maxFd+1, &_readFds, NULL, NULL, &timeout); in Process()
|
/external/libvncserver/rfb/ |
D | rfb.h | 269 int maxFd; member
|