/external/ltp/testcases/kernel/syscalls/pipe/ |
D | pipe07.c | 50 static void close_test_fds(int max_fd); 60 int pipes[2], max_fd = 0; in main() local 82 max_fd = MAX(pipes[0], max_fd); in main() 83 max_fd = MAX(pipes[1], max_fd); in main() 91 close_test_fds(max_fd); in main() 92 max_fd = 0; in main() 159 static void close_test_fds(int max_fd) in close_test_fds() argument 163 for (i = 0; i <= max_fd; i++) { in close_test_fds()
|
/external/strace/tests/ |
D | pipe_maxfd.c | 61 int max_fd = (rlim.rlim_cur > 0 && rlim.rlim_cur < INT_MAX) in pipe_maxfd() local 64 move_fd(&pipefd[1], &max_fd); in pipe_maxfd() 65 --max_fd; in pipe_maxfd() 66 move_fd(&pipefd[0], &max_fd); in pipe_maxfd()
|
/external/strace/tests-m32/ |
D | pipe_maxfd.c | 61 int max_fd = (rlim.rlim_cur > 0 && rlim.rlim_cur < INT_MAX) in pipe_maxfd() local 64 move_fd(&pipefd[1], &max_fd); in pipe_maxfd() 65 --max_fd; in pipe_maxfd() 66 move_fd(&pipefd[0], &max_fd); in pipe_maxfd()
|
/external/strace/tests-mx32/ |
D | pipe_maxfd.c | 61 int max_fd = (rlim.rlim_cur > 0 && rlim.rlim_cur < INT_MAX) in pipe_maxfd() local 64 move_fd(&pipefd[1], &max_fd); in pipe_maxfd() 65 --max_fd; in pipe_maxfd() 66 move_fd(&pipefd[0], &max_fd); in pipe_maxfd()
|
/external/dnsmasq/src/ |
D | helper.c | 52 int create_helper(int event_fd, int err_fd, uid_t uid, gid_t gid, long max_fd) { in create_helper() argument 94 for (max_fd--; max_fd >= 0; max_fd--) in create_helper() 95 if (max_fd != STDOUT_FILENO && max_fd != STDERR_FILENO && max_fd != STDIN_FILENO && in create_helper() 96 max_fd != pipefd[0] && max_fd != event_fd) in create_helper() 97 close(max_fd); in create_helper()
|
D | dnsmasq.c | 135 long i, max_fd = sysconf(_SC_OPEN_MAX); in main() local 348 daemon->helperfd = create_helper(pipewrite, err_pipe[1], script_uid, script_gid, max_fd); in main()
|
D | dnsmasq.h | 816 int create_helper(int event_fd, int err_fd, uid_t uid, gid_t gid, long max_fd);
|
/external/oj-libjdwp/src/solaris/back/ |
D | exec_md.c | 106 long max_fd; in dbgsysExec() local 109 max_fd = sysconf(_SC_OPEN_MAX); in dbgsysExec() 111 for (i = 3; i < (int)max_fd; i++) { in dbgsysExec()
|
/external/iperf3/src/ |
D | iperf_server_api.c | 100 if (test->listener > test->max_fd) test->max_fd = test->listener; in iperf_server_listen() 127 if (test->ctrl_sck > test->max_fd) test->max_fd = test->ctrl_sck; in iperf_accept() 438 result = select(test->max_fd + 1, &read_set, &write_set, NULL, timeout); in iperf_run_server() 549 if (s > test->max_fd) test->max_fd = s; in iperf_run_server() 588 if (test->listener > test->max_fd) test->max_fd = test->listener; in iperf_run_server()
|
D | iperf_client_api.c | 105 if (s > test->max_fd) test->max_fd = s; in iperf_create_streams() 351 if (test->ctrl_sck > test->max_fd) test->max_fd = test->ctrl_sck; in iperf_connect() 488 result = select(test->max_fd + 1, &read_set, &write_set, NULL, timeout); in iperf_run_client()
|
D | iperf_udp.c | 427 test->max_fd = (test->max_fd < test->prot_listener) ? test->prot_listener : test->max_fd; in iperf_udp_accept()
|
D | iperf.h | 304 int max_fd; member
|
D | iperf_api.c | 1574 test->max_fd = (s > test->max_fd) ? s : test->max_fd; in iperf_exchange_parameters()
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/ |
D | select_reactor.ipp | 146 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/openssh/ |
D | serverloop.c | 355 int max_fd; in server_loop2() local 374 max_fd = MAXIMUM(connection_in, connection_out); in server_loop2() 375 max_fd = MAXIMUM(max_fd, notify_pipe[0]); in server_loop2() 392 &readset, &writeset, &max_fd, &nalloc, rekey_timeout_ms); in server_loop2()
|
D | clientloop.c | 1506 int r, max_fd = 0, max_fd2 = 0, len; in client_loop() local 1554 max_fd = MAXIMUM(connection_in, connection_out); in client_loop() 1564 max_fd = MAXIMUM(max_fd, fileno(stdin)); in client_loop() 1565 max_fd = MAXIMUM(max_fd, fileno(stdout)); in client_loop() 1566 max_fd = MAXIMUM(max_fd, fileno(stderr)); in client_loop() 1659 max_fd2 = max_fd; in client_loop()
|
D | ssh-agent.c | 129 int max_fd = 0; variable 976 if (fd > max_fd) in new_socket() 977 max_fd = fd; in new_socket() 1452 prepare_select(&readsetp, &writesetp, &max_fd, &nalloc, &tvp); in main() 1453 result = select(max_fd + 1, readsetp, writesetp, NULL, tvp); in main()
|
/external/libcups/cups/ |
D | http-addrlist.c | 74 int max_fd = -1; /* Highest file descriptor */ in httpAddrConnect2() local 233 if (fds[nfds] > max_fd) in httpAddrConnect2() 234 max_fd = fds[nfds]; in httpAddrConnect2() 294 result = select(max_fd + 1, &input_set, &output_set, &error_set, &timeout); in httpAddrConnect2()
|
/external/protobuf/src/google/protobuf/compiler/ |
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/google-breakpad/src/third_party/curl/ |
D | multi.h | 135 int *max_fd);
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_sockmap.c | 475 int slct, recvp = 0, recv, max_fd = fd; in msg_loop() local 499 slct = select(max_fd + 1, &w, NULL, NULL, &timeout); in msg_loop() 706 int s, rc, i, max_fd = p2; in forever_ping_pong() local 716 s = select(max_fd + 1, &w, NULL, NULL, &timeout); in forever_ping_pong() 725 for (i = 0; i <= max_fd && s > 0; ++i) { in forever_ping_pong()
|
/external/curl/include/curl/ |
D | multi.h | 160 int *max_fd);
|
/external/wpa_supplicant_8/src/utils/ |
D | eloop.c | 88 int max_fd; member 307 if (new_max_sock >= eloop.max_fd) { in eloop_sock_table_add_sock() 314 eloop.max_fd = next; in eloop_sock_table_add_sock()
|
/external/autotest/client/common_lib/ |
D | pexpect.py | 544 max_fd = resource.getrlimit(resource.RLIMIT_NOFILE)[0] 545 for i in range (3, max_fd):
|
/external/curl/lib/ |
D | multi.c | 946 fd_set *exc_fd_set, int *max_fd) in curl_multi_fdset() argument 988 *max_fd = this_max_fd; in curl_multi_fdset()
|