/external/strace/tests/ |
H A D | pipe_maxfd.c | 61 int max_fd = (rlim.rlim_cur > 0 && rlim.rlim_cur < INT_MAX) local 64 move_fd(&pipefd[1], &max_fd); 65 --max_fd; 66 move_fd(&pipefd[0], &max_fd);
|
/external/strace/tests-m32/ |
H A D | pipe_maxfd.c | 61 int max_fd = (rlim.rlim_cur > 0 && rlim.rlim_cur < INT_MAX) local 64 move_fd(&pipefd[1], &max_fd); 65 --max_fd; 66 move_fd(&pipefd[0], &max_fd);
|
/external/strace/tests-mx32/ |
H A D | pipe_maxfd.c | 61 int max_fd = (rlim.rlim_cur > 0 && rlim.rlim_cur < INT_MAX) local 64 move_fd(&pipefd[1], &max_fd); 65 --max_fd; 66 move_fd(&pipefd[0], &max_fd);
|
/external/ltp/testcases/kernel/syscalls/pipe/ |
H A D | pipe07.c | 50 static void close_test_fds(int max_fd); 60 int pipes[2], max_fd = 0; local 82 max_fd = MAX(pipes[0], max_fd); 83 max_fd = MAX(pipes[1], max_fd); 91 close_test_fds(max_fd); 92 max_fd = 0; 159 static void close_test_fds(int max_fd) argument 163 for (i = 0; i <= max_fd; [all...] |
/external/oj-libjdwp/src/solaris/back/ |
H A D | exec_md.c | 106 long max_fd; local 109 max_fd = sysconf(_SC_OPEN_MAX); 111 for (i = 3; i < (int)max_fd; i++) {
|
/external/dnsmasq/src/ |
H A D | helper.c | 53 int create_helper(int event_fd, int err_fd, uid_t uid, gid_t gid, long max_fd) argument 104 for (max_fd--; max_fd >= 0; max_fd--) 105 if (max_fd != STDOUT_FILENO && max_fd != STDERR_FILENO && 106 max_fd != STDIN_FILENO && max_fd != pipefd[0] && max_fd != event_fd) 107 close(max_fd); [all...] |
H A D | dnsmasq.c | 135 long i, max_fd = sysconf(_SC_OPEN_MAX); local 382 daemon->helperfd = create_helper(pipewrite, err_pipe[1], script_uid, script_gid, max_fd);
|
H A D | dnsmasq.h | 829 int create_helper(int event_fd, int err_fd, uid_t uid, gid_t gid, long max_fd);
|
/external/libmicrohttpd/src/microspdy/ |
H A D | 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;
|
/external/google-breakpad/src/third_party/curl/ |
H A D | multi.h | 135 int *max_fd);
|
/external/libmicrohttpd/src/include/ |
H A D | microhttpd.h | 1571 * @param max_fd increased to largest FD added (if larger 1584 MHD_socket *max_fd); 1599 * @param max_fd increased to largest FD added (if larger 1613 MHD_socket *max_fd, 1628 * @param max_fd increased to largest FD added (if larger 1636 #define MHD_get_fdset(daemon,read_fd_set,write_fd_set,except_fd_set,max_fd) \ 1637 MHD_get_fdset2((daemon),(read_fd_set),(write_fd_set),(except_fd_set),(max_fd),FD_SETSIZE)
|
/external/syslinux/gpxe/src/util/ |
H A D | hijack.c | 300 int max_fd; local 311 max_fd = ( ( fd > hijack.fd ) ? fd : hijack.fd ); 317 if ( select ( ( max_fd + 1 ), &fdset, NULL, NULL, 0 ) < 0 ) {
|
/external/curl/include/curl/ |
H A D | multi.h | 158 int *max_fd);
|
/external/libcups/cups/ |
H A D | http-addrlist.c | 74 int max_fd = -1; /* Highest file descriptor */ local 233 if (fds[nfds] > max_fd) 234 max_fd = fds[nfds]; 294 result = select(max_fd + 1, &input_set, &output_set, &error_set, &timeout);
|
/external/protobuf/src/google/protobuf/compiler/ |
H A D | subprocess.cc | 364 int max_fd = std::max(child_stdin_, child_stdout_); 378 if (select(max_fd + 1, &read_fds, &write_fds, NULL, NULL) < 0) {
|
/external/libmicrohttpd/src/microhttpd/ |
H A D | daemon.c | 730 * greater than @a max_fd, set @a max_fd to @a fd. 734 * @param max_fd maximum value to potentially update 741 MHD_socket *max_fd, 759 if ( (NULL != max_fd) && (MHD_INVALID_SOCKET != fd) && 760 ((fd > *max_fd) || (MHD_INVALID_SOCKET == *max_fd)) ) 761 *max_fd = fd; 779 * @param max_fd increased to largest FD added (if larger 792 MHD_socket *max_fd) 739 add_to_fd_set(MHD_socket fd, fd_set *set, MHD_socket *max_fd, unsigned int fd_setsize) argument 788 MHD_get_fdset(struct MHD_Daemon *daemon, fd_set *read_fd_set, fd_set *write_fd_set, fd_set *except_fd_set, MHD_socket *max_fd) argument 821 MHD_get_fdset2(struct MHD_Daemon *daemon, fd_set *read_fd_set, fd_set *write_fd_set, fd_set *except_fd_set, MHD_socket *max_fd, unsigned int fd_setsize) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | 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;
|
/external/wpa_supplicant_8/src/utils/ |
H A D | 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;
|
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | 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;
|
/external/autotest/client/common_lib/ |
H A D | pexpect.py | 544 max_fd = resource.getrlimit(resource.RLIMIT_NOFILE)[0] 545 for i in range (3, max_fd):
|
/external/curl/lib/ |
H A D | multi.c | 891 fd_set *exc_fd_set, int *max_fd) 931 *max_fd = this_max_fd; 889 curl_multi_fdset(struct Curl_multi *multi, fd_set *read_fd_set, fd_set *write_fd_set, fd_set *exc_fd_set, int *max_fd) argument
|