Home
last modified time | relevance | path

Searched refs:max_fd (Results 1 – 19 of 19) sorted by relevance

/external/dnsmasq/src/
Dhelper.c53 int create_helper(int event_fd, int err_fd, uid_t uid, gid_t gid, long max_fd) in create_helper() argument
104 for (max_fd--; max_fd >= 0; max_fd--) in create_helper()
105 if (max_fd != STDOUT_FILENO && max_fd != STDERR_FILENO && in create_helper()
106 max_fd != STDIN_FILENO && max_fd != pipefd[0] && max_fd != event_fd) in create_helper()
107 close(max_fd); in create_helper()
Ddnsmasq.c85 long i, max_fd = sysconf(_SC_OPEN_MAX); in main() local
132 for (i = 0; i < max_fd; i++) in main()
370 daemon->helperfd = create_helper(pipewrite, err_pipe[1], script_uid, script_gid, max_fd); in main()
528 if (FD_SETSIZE < (unsigned)max_fd) in main()
529 max_fd = FD_SETSIZE; in main()
542 max_fd -= 30; /* use other than TFTP */ in main()
544 if (max_fd < 0) in main()
545 max_fd = 5; in main()
546 else if (max_fd < 100) in main()
547 max_fd = max_fd/2; in main()
[all …]
Ddnsmasq.h887 int create_helper(int event_fd, int err_fd, uid_t uid, gid_t gid, long max_fd);
/external/libmicrohttpd/src/microspdy/
Ddaemon.c441 int max_fd = -1; in SPDYF_get_fdset() local
448 max_fd = fd; in SPDYF_get_fdset()
465 if(fd > max_fd) in SPDYF_get_fdset()
466 max_fd = fd; in SPDYF_get_fdset()
469 return max_fd; in SPDYF_get_fdset()
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dselect_reactor.ipp146 socket_type max_fd = 0;
152 if (fd_sets_[i].max_descriptor() > max_fd)
153 max_fd = fd_sets_[i].max_descriptor();
170 int retval = socket_ops::select(static_cast<int>(max_fd + 1),
/external/libmicrohttpd/src/include/
Dmicrohttpd.h1584 MHD_socket *max_fd);
1613 MHD_socket *max_fd,
1636 #define MHD_get_fdset(daemon,read_fd_set,write_fd_set,except_fd_set,max_fd) \ argument
1637 MHD_get_fdset2((daemon),(read_fd_set),(write_fd_set),(except_fd_set),(max_fd),FD_SETSIZE)
/external/libmicrohttpd/src/microhttpd/
Ddaemon.c741 MHD_socket *max_fd, in add_to_fd_set() argument
759 if ( (NULL != max_fd) && (MHD_INVALID_SOCKET != fd) && in add_to_fd_set()
760 ((fd > *max_fd) || (MHD_INVALID_SOCKET == *max_fd)) ) in add_to_fd_set()
761 *max_fd = fd; in add_to_fd_set()
792 MHD_socket *max_fd) in MHD_get_fdset() argument
796 max_fd, MHD_DEFAULT_FD_SETSIZE); in MHD_get_fdset()
825 MHD_socket *max_fd, in MHD_get_fdset2() argument
843 return add_to_fd_set (daemon->epoll_fd, read_fd_set, max_fd, fd_setsize); in MHD_get_fdset2()
847 MHD_YES != add_to_fd_set (daemon->socket_fd, read_fd_set, max_fd, fd_setsize)) in MHD_get_fdset2()
855 if (MHD_YES != add_to_fd_set (pos->socket_fd, read_fd_set, max_fd, fd_setsize)) in MHD_get_fdset2()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc362 int max_fd = max(child_stdin_, child_stdout_);
376 if (select(max_fd + 1, &read_fds, &write_fds, NULL, NULL) < 0) {
/external/wpa_supplicant_8/src/utils/
Deloop.c88 int max_fd; member
303 if (new_max_sock >= eloop.max_fd) { in eloop_sock_table_add_sock()
304 next = eloop.max_fd == 0 ? 16 : eloop.max_fd * 2; in eloop_sock_table_add_sock()
310 eloop.max_fd = next; in eloop_sock_table_add_sock()
/external/google-breakpad/src/third_party/curl/
Dmulti.h135 int *max_fd);
/external/curl/include/curl/
Dmulti.h154 int *max_fd);
/external/dbus/dbus/
Ddbus-sysdeps-win.c1075 int max_fd = 0; in _dbus_poll()
1124 max_fd = MAX (max_fd, fdp->fd); in _dbus_poll()
1131 ready = select (max_fd + 1, &read_set, &write_set, &err_set, &tv); in _dbus_poll()
Ddbus-sysdeps-unix.c2571 int max_fd = 0; in _dbus_poll()
2592 max_fd = MAX (max_fd, fdp->fd); in _dbus_poll()
2598 ready = select (max_fd + 1, &read_set, &write_set, &err_set, in _dbus_poll()
/external/autotest/client/common_lib/
Dpexpect.py544 max_fd = resource.getrlimit(resource.RLIMIT_NOFILE)[0]
545 for i in range (3, max_fd):
/external/curl/lib/
Dmulti.c744 fd_set *exc_fd_set, int *max_fd) in curl_multi_fdset() argument
787 *max_fd = this_max_fd; in curl_multi_fdset()
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch213 int create_helper(int event_fd, int err_fd, uid_t uid, gid_t gid, long max_fd);
/external/curl/packages/OS400/
Dcurl.inc.in2077 d max_fd 10i 0
/external/libmicrohttpd/doc/
Dlibmicrohttpd.texi1526 …D_Daemon *daemon, fd_set * read_fd_set, fd_set * write_fd_set, fd_set * except_fd_set, int *max_fd)
1533 @var{max_fd} references the file descriptor with highest integer
Dlibmicrohttpd.info1326 int *max_fd)