/external/openssh/openbsd-compat/ |
bsd-closefrom.c | 71 long fd, maxfd; local 97 maxfd = sysconf(_SC_OPEN_MAX); 99 maxfd = getdtablesize(); 101 if (maxfd < 0) 102 maxfd = OPEN_MAX; 104 for (fd = lowfd; fd < maxfd; fd++)
|
bsd-poll.c | 43 int saved_errno, ret, fd, maxfd = 0; local 54 maxfd = MAX(maxfd, fd); 57 nmemb = howmany(maxfd + 1 , NFDBITS); 88 ret = select(maxfd + 1, readfds, writefds, exceptfds, tvp);
|
/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);
|
/dalvik/vm/jdwp/ |
JdwpAdb.cpp | 513 int maxfd = -1; local 522 if (maxfd < fd) 523 maxfd = fd; 528 if (maxfd < fd) 529 maxfd = fd; 534 if (maxfd < fd) 535 maxfd = fd; 540 if (maxfd < 0) { 557 selCount = select(maxfd+1, &readfds, NULL, NULL, NULL);
|
JdwpSocket.cpp | 671 int maxfd; local 674 maxfd = netState->listenSock; 675 if (netState->clientSock > maxfd) 676 maxfd = netState->clientSock; 677 if (netState->wakePipe[0] > maxfd) 678 maxfd = netState->wakePipe[0]; 680 if (maxfd < 0) { 713 selCount = select(maxfd+1, &readfds, NULL, NULL, NULL);
|
/external/webkit/Source/WebCore/platform/network/curl/ |
ResourceHandleManager.cpp | 332 int maxfd = 0; local 344 curl_multi_fdset(m_curlMultiHandle, &fdread, &fdwrite, &fdexcep, &maxfd); 348 if (maxfd >= 0) 349 rc = ::select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
|
/external/dnsmasq/src/ |
dnsmasq.c | 572 int maxfd = -1; local 583 if ((t.tv_sec = set_dns_listeners(now, &rset, &maxfd)) != 0) 589 set_android_listeners(&rset, &maxfd); 602 set_dbus_listeners(&maxfd, &rset, &wset, &eset); 609 bump_maxfd(daemon->dhcpfd, &maxfd); 615 bump_maxfd(daemon->netlinkfd, &maxfd); 619 bump_maxfd(piperead, &maxfd); 628 bump_maxfd(daemon->helperfd, &maxfd); 638 set_log_writer(&wset, &maxfd); 640 if (select(maxfd+1, &rset, &wset, &eset, tp) < 0 1297 int maxfd = fd; local [all...] |
/external/dropbear/ |
session.h | 98 int maxfd; /* the maximum file descriptor to check with select() */ member in struct:sshsession
|
/external/openssh/ |
ssh-keyscan.c | 69 int maxfd; variable 70 #define MAXCON (maxfd - 10) 337 if (s >= maxfd) 363 if (s >= maxfd || fdcon[s].c_status == CS_UNUSED) 545 while (select(maxfd, r, NULL, e, &seltime) == -1 && 549 for (i = 0; i < maxfd; i++) { 706 maxfd = fdlim_get(1); 707 if (maxfd < 0) 709 if (maxfd > MAXMAXFD) 710 maxfd = MAXMAXFD [all...] |
sshd.c | 1096 int i, j, ret, maxfd; local 1105 maxfd = 0; 1107 if (listen_socks[i] > maxfd) 1108 maxfd = listen_socks[i]; 1123 fdset = (fd_set *)xcalloc(howmany(maxfd + 1, NFDBITS), 1133 ret = select(maxfd+1, fdset, NULL, NULL, NULL); 1203 if (maxfd < startup_p[0]) 1204 maxfd = startup_p[0]; [all...] |
/external/bluetooth/bluedroid/btif/src/ |
btif_hl.c | 4580 int maxfd=0; local [all...] |