HomeSort by relevance Sort by last modified time
    Searched refs:maxfd (Results 1 - 25 of 75) sorted by null

1 2 3

  /external/dhcpcd-6.8.2/compat/
pselect.c 44 int maxfd, r; local
47 maxfd = 0;
51 if (fds[n].fd > maxfd)
52 maxfd = fds[n].fd;
56 r = pselect(maxfd + 1, &read_fds, NULL, NULL, ts, sigmask);
  /external/openssh/openbsd-compat/
bsd-closefrom.c 71 long fd, maxfd; local
97 maxfd = sysconf(_SC_OPEN_MAX);
99 maxfd = getdtablesize();
101 if (maxfd < 0)
102 maxfd = OPEN_MAX;
104 for (fd = lowfd; fd < maxfd; fd++)
  /external/ltp/testcases/kernel/syscalls/dup/
dup06.c 40 static int cnt_free_fds(int maxfd)
44 for (maxfd--; maxfd >= 0; maxfd--)
45 if (fcntl(maxfd, F_GETFD) == -1 && errno == EBADF)
  /external/bison/lib/
spawn_faction_adddup2.c 40 int maxfd = __sysconf (_SC_OPEN_MAX); local
43 if (fd < 0 || newfd < 0 || fd >= maxfd || newfd >= maxfd)
spawn_faction_addclose.c 40 int maxfd = __sysconf (_SC_OPEN_MAX); local
43 if (fd < 0 || fd >= maxfd)
spawn_faction_addopen.c 41 int maxfd = __sysconf (_SC_OPEN_MAX); local
44 if (fd < 0 || fd >= maxfd)
  /external/curl/tests/libtest/
lib502.c 56 int maxfd = -99; local
72 multi_fdset(m, &fdread, &fdwrite, &fdexcep, &maxfd);
74 /* At this point, maxfd is guaranteed to be greater or equal than -1. */
76 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
lib1531.c 67 int maxfd = -1; local
89 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd);
96 /* On success the value of maxfd is guaranteed to be >= -1. We call
97 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are
102 if(maxfd == -1) {
115 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
lib1501.c 80 int maxfd = -99; local
92 multi_fdset(mhandle, &fdread, &fdwrite, &fdexcep, &maxfd);
94 /* At this point, maxfd is guaranteed to be greater or equal than -1. */
96 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
lib503.c 66 int maxfd = -99; local
82 multi_fdset(m, &rd, &wr, &exc, &maxfd);
84 /* At this point, maxfd is guaranteed to be greater or equal than -1. */
86 select_test(maxfd+1, &rd, &wr, &exc, &interval);
lib504.c 64 int maxfd = -99; local
94 multi_fdset(m, &rd, &wr, &exc, &maxfd);
96 /* At this point, maxfd is guaranteed to be greater or equal than -1. */
98 select_test(maxfd+1, &rd, &wr, &exc, &interval);
lib507.c 61 int maxfd = -99; local
69 multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd);
71 /* At this point, maxfd is guaranteed to be greater or equal than -1. */
73 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
lib530.c 77 int maxfd = -99; local
100 multi_fdset(m, &rd, &wr, &exc, &maxfd);
102 /* At this point, maxfd is guaranteed to be greater or equal than -1. */
104 select_test(maxfd+1, &rd, &wr, &exc, &interval);
lib533.c 61 int maxfd = -99; local
94 multi_fdset(m, &rd, &wr, &exc, &maxfd);
96 /* At this point, maxfd is guaranteed to be greater or equal than -1. */
98 select_test(maxfd+1, &rd, &wr, &exc, &interval);
lib560.c 79 int maxfd = -99; local
90 multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd);
92 /* At this point, maxfd is guaranteed to be greater or equal than -1. */
94 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
lib564.c 59 int maxfd = -99; local
75 multi_fdset(m, &rd, &wr, &exc, &maxfd);
77 /* At this point, maxfd is guaranteed to be greater or equal than -1. */
79 select_test(maxfd+1, &rd, &wr, &exc, &interval);
lib573.c 71 int maxfd = -99; local
87 multi_fdset(m, &fdread, &fdwrite, &fdexcep, &maxfd);
89 /* At this point, maxfd is guaranteed to be greater or equal than -1. */
91 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
lib575.c 83 int maxfd = -99; local
92 multi_fdset(mhandle, &fdread, &fdwrite, &fdexcep, &maxfd);
94 /* At this point, maxfd is guaranteed to be greater or equal than -1. */
96 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
  /external/curl/docs/examples/
multi-double.c 74 int maxfd = -1; local
96 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd);
103 /* On success the value of maxfd is guaranteed to be >= -1. We call
104 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are
109 if(maxfd == -1) {
122 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
imap-multi.c 96 int maxfd = -1; local
121 mc = curl_multi_fdset(mcurl, &fdread, &fdwrite, &fdexcep, &maxfd);
128 /* On success the value of maxfd is guaranteed to be >= -1. We call
129 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are
134 if(maxfd == -1) {
147 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
multi-post.c 94 int maxfd = -1; local
116 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd);
123 /* On success the value of maxfd is guaranteed to be >= -1. We call
124 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are
129 if(maxfd == -1) {
142 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
pop3-multi.c 96 int maxfd = -1; local
121 mc = curl_multi_fdset(mcurl, &fdread, &fdwrite, &fdexcep, &maxfd);
128 /* On success the value of maxfd is guaranteed to be >= -1. We call
129 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are
134 if(maxfd == -1) {
147 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
  /external/ltp/testcases/kernel/syscalls/dup2/
dup201.c 74 int maxfd; variable
93 &maxfd, &goodfd, EBADF, NULL},
99 &mystdout, &maxfd, EBADF, NULL},};
141 for (j = fd1; j < maxfd; j++) {
165 maxfd = getdtablesize();
  /external/libnl/src/
nf-log.c 123 int nffd, rtfd, maxfd, retval; local
127 maxfd = nffd = nl_socket_get_fd(nf_sock);
132 if (maxfd < rtfd)
133 maxfd = rtfd;
136 retval = select(maxfd+1, &rfds, NULL, NULL, NULL);
nf-queue.c 125 int nffd, rtfd, maxfd, retval; local
129 maxfd = nffd = nl_socket_get_fd(nf_sock);
134 if (maxfd < rtfd)
135 maxfd = rtfd;
138 retval = select(maxfd+1, &rfds, NULL, NULL, NULL);

Completed in 448 milliseconds

1 2 3