/external/libvncserver/vncterm/ |
VNCommand.c | 59 int i,c=1,num_fds,max_fd=out[0],status; local 65 if(max_fd<err[0]) 66 max_fd=err[0]; 102 num_fds=select(max_fd+1,&fs1,NULL,NULL,&tv1);
|
/system/bt/udrv/ulinux/ |
uipc.c | 100 int max_fd; member in struct:__anon69813 229 uipc_main.max_fd = MAX(uipc_main.max_fd, uipc_main.signal_fds[0]); 302 uipc_main.max_fd = MAX(uipc_main.max_fd, uipc_main.ch[ch_id].fd); 366 uipc_main.max_fd = MAX(uipc_main.max_fd, fd); 505 result = select(uipc_main.max_fd+1, &uipc_main.read_set, NULL, NULL, NULL);
|
/external/dnsmasq/src/ |
dnsmasq.c | 85 long i, max_fd = sysconf(_SC_OPEN_MAX); local 132 for (i = 0; i < max_fd; i++) 370 daemon->helperfd = create_helper(pipewrite, err_pipe[1], script_uid, script_gid, max_fd); 528 if (FD_SETSIZE < (unsigned)max_fd) 529 max_fd = FD_SETSIZE; 542 max_fd -= 30; /* use other than TFTP */ 544 if (max_fd < 0) 545 max_fd = 5; 546 else if (max_fd < 100) 547 max_fd = max_fd/2 [all...] |
/external/libvncserver/VisualNaCro/ |
nacro.c | 421 int count,max_fd; local 448 max_fd=res->server->maxFd; 451 max_fd=0; 454 if(res->client->sock>max_fd) 455 max_fd=res->client->sock; 466 count=select(max_fd+1,&fds,NULL,NULL,&tv);
|
/external/openssh/ |
serverloop.c | 562 int max_fd = 0; local 613 /* Initialize max_fd to the maximum of the known file descriptors. */ 614 max_fd = MAX(connection_in, connection_out); 615 max_fd = MAX(max_fd, fdin); 616 max_fd = MAX(max_fd, fdout); 618 max_fd = MAX(max_fd, fderr); 701 max_fd = MAX(connection_in, connection_out) 827 int rekeying = 0, max_fd; local [all...] |
ssh-agent.c | 129 int max_fd = 0; variable 915 if (fd > max_fd) 916 max_fd = fd; [all...] |
clientloop.c | 1472 int r, max_fd = 0, max_fd2 = 0, len, rekeying = 0; local [all...] |