/external/libmicrohttpd/src/microspdy/ |
daemon.c | 441 int max_fd = -1; local 448 max_fd = fd; 465 if(fd > max_fd) 466 max_fd = fd; 469 return max_fd;
|
/system/webservd/webservd/ |
protocol_handler.cc | 377 int max_fd = MHD_INVALID_SOCKET; local 381 CHECK_EQ(MHD_YES, MHD_get_fdset(server_, &rs, &ws, &es, &max_fd)); 397 for (int fd = 0; fd <= max_fd; fd++) {
|
/system/bt/udrv/ulinux/ |
uipc.c | 96 int max_fd; member in struct:__anon74020 234 uipc_main.max_fd = MAX(uipc_main.max_fd, uipc_main.signal_fds[0]); 307 uipc_main.max_fd = MAX(uipc_main.max_fd, uipc_main.ch[ch_id].fd); 372 uipc_main.max_fd = MAX(uipc_main.max_fd, fd); 514 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/wpa_supplicant_8/src/utils/ |
eloop.c | 88 int max_fd; member in struct:eloop_data 303 if (new_max_sock >= eloop.max_fd) { 304 next = eloop.max_fd == 0 ? 16 : eloop.max_fd * 2; 310 eloop.max_fd = next; [all...] |
/libcore/ojluni/src/main/native/ |
UNIXProcess_md.c | 747 int max_fd = (int)sysconf(_SC_OPEN_MAX); local 749 for (fd = FAIL_FILENO + 1; fd < max_fd; fd++)
|