/external/strace/tests/ |
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/ |
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/ |
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/ |
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) 163 for (i = 0; i <= max_fd; i++) [all...] |
/external/libcups/cups/ |
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/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;
|
/external/syslinux/gpxe/src/util/ |
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 ) {
|
/system/bt/udrv/ulinux/ |
uipc.cc | 92 int max_fd; member in struct:__anon114033 217 uipc_main.max_fd = 0; 227 uipc_main.max_fd = MAX(uipc_main.max_fd, uipc_main.signal_fds[0]); 292 uipc_main.max_fd = MAX(uipc_main.max_fd, uipc_main.ch[ch_id].fd); 349 uipc_main.max_fd = MAX(uipc_main.max_fd, fd); 470 select(uipc_main.max_fd + 1, &uipc_main.read_set, NULL, NULL, NULL);
|
/external/openssh/ |
serverloop.c | 355 int max_fd; local 374 max_fd = MAXIMUM(connection_in, connection_out); 375 max_fd = MAXIMUM(max_fd, notify_pipe[0]); 392 &readset, &writeset, &max_fd, &nalloc, rekey_timeout_ms);
|
ssh-agent.c | 129 int max_fd = 0; variable 976 if (fd > max_fd) 977 max_fd = fd; [all...] |
clientloop.c | 1506 int r, max_fd = 0, max_fd2 = 0, len; local [all...] |
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/ |
IPACM_Netlink.h | 119 int max_fd; member in struct:__anon44440
|
/external/dnsmasq/src/ |
dnsmasq.c | 78 long i, max_fd = sysconf(_SC_OPEN_MAX); local 125 for (i = 0; i < max_fd; i++) 345 daemon->helperfd = create_helper(pipewrite, err_pipe[1], script_uid, script_gid, max_fd);
|
/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++)
|