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

1 23

  /external/curl/docs/examples/
http2-serverpush.c 235 int maxfd = -1; local
257 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd);
264 /* On success the value of maxfd is guaranteed to be >= -1. We call
265 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are
270 if(maxfd == -1) {
283 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
http2-upload.c 287 int maxfd = -1; local
309 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd);
316 /* On success the value of maxfd is guaranteed to be >= -1. We call
317 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are
322 if(maxfd == -1) {
335 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
fopen.c 145 int maxfd = -1; local
166 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd);
173 /* On success the value of maxfd is guaranteed to be >= -1. We call
174 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are
179 if(maxfd == -1) {
192 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
  /external/openssh/
ssh-keyscan.c 73 int maxfd; variable
74 #define MAXCON (maxfd - 10)
410 if (s >= maxfd)
437 if (s >= maxfd || fdcon[s].c_status == CS_UNUSED)
630 while (select(maxfd, r, NULL, e, &seltime) == -1 &&
634 for (i = 0; i < maxfd; i++) {
799 maxfd = fdlim_get(1);
800 if (maxfd < 0)
802 if (maxfd > MAXMAXFD)
803 maxfd = MAXMAXFD
    [all...]
sshd.c 1098 int i, j, ret, maxfd; local
1108 maxfd = 0;
1110 if (listen_socks[i] > maxfd)
1111 maxfd = listen_socks[i];
1125 fdset = xcalloc(howmany(maxfd + 1, NFDBITS),
1135 ret = select(maxfd+1, fdset, NULL, NULL, NULL);
1212 if (maxfd < startup_p[0])
1213 maxfd = startup_p[0];
    [all...]
  /external/dnsmasq/src/
dnsmasq.c 500 int maxfd = -1; local
511 if ((t.tv_sec = set_dns_listeners(now, &rset, &maxfd)) != 0)
517 set_android_listeners(&rset, &maxfd);
524 bump_maxfd(daemon->dhcpfd, &maxfd);
530 bump_maxfd(daemon->netlinkfd, &maxfd);
534 bump_maxfd(piperead, &maxfd);
543 bump_maxfd(daemon->helperfd, &maxfd);
553 set_log_writer(&wset, &maxfd);
555 if (select(maxfd+1, &rset, &wset, &eset, tp) < 0)
1177 int maxfd = fd; local
    [all...]
  /external/curl/tests/libtest/
lib1900.c 172 int maxfd = -99; local
219 curl_multi_fdset(m, &rd, &wr, &exc, &maxfd);
221 /* At this point, maxfd is guaranteed to be greater or equal than -1. */
234 select_test(maxfd+1, &rd, &wr, &exc, &interval);
  /external/libmicrohttpd/src/examples/
spdy_fileserver.c 277 int maxfd = -1; local
325 maxfd = SPDY_get_fdset (daemon,
330 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout);
mhd2spdy_spdy.c 993 int maxfd = 0; local
1016 if(maxfd < glob_opt.spdy_connection->fd) maxfd = glob_opt.spdy_connection->fd;
1043 if(maxfd < connection->fd) maxfd = connection->fd;
1051 return maxfd;
  /external/libmicrohttpd/src/testspdy/
test_request_response_with_callback.c 173 int maxfd = -1; local
213 maxfd = SPDY_get_fdset (daemon,
218 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout);
test_notls.c 877 int maxfd = -1; local
913 maxfd = SPDY_get_fdset (daemon,
918 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout);
test_new_connection.c 914 int maxfd = -1; local
947 maxfd = SPDY_get_fdset (daemon,
952 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout);
test_request_response.c 936 int maxfd = -1; local
969 maxfd = SPDY_get_fdset (daemon,
974 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout);
  /external/ltp/testcases/network/lib6/
asapi_02.c 120 int maxfd, nfds; local
131 maxfd = MAX(sall, sf);
143 nfds = select(maxfd + 1, &readfds, 0, 0, &tv);
asapi_01.c 384 int sd, nfds, maxfd, cc; local
395 maxfd = MAX(sd, csd[1]);
413 while ((nfds = select(maxfd + 1, &rset, 0, 0, &tv)) >= 0) {
  /external/libdaemon/libdaemon/
dfork.c 493 int fd, maxfd; local
567 maxfd = (int) rl.rlim_max;
569 maxfd = sysconf(_SC_OPEN_MAX);
571 for (fd = 3; fd < maxfd; fd++) {
  /external/curl/tests/server/
sws.c 1452 curl_socket_t maxfd = (curl_socket_t)-1; local
2229 curl_socket_t maxfd = (curl_socket_t)-1; local
    [all...]
sockfilt.c 915 int maxfd = -99; local
958 maxfd = (int)sockfd;
967 maxfd = 0; /* stdin */
975 maxfd = (int)sockfd;
988 maxfd = (int)sockfd;
992 maxfd = 0;
999 maxfd = 0;
1010 rc = select(maxfd + 1, &fds_read, &fds_write, &fds_err, &timeout);
    [all...]
  /external/libmicrohttpd/src/spdy2http/
proxy.c 984 int maxfd = -1; local
1104 maxfd = SPDY_get_fdset (daemon,
1108 assert(-1 != maxfd);
1118 if(maxfd_curl > maxfd)
1119 maxfd = maxfd_curl;
1122 ret = select(maxfd+1, &rs, &ws, &es, &timeout);
    [all...]
  /external/toybox/toys/pending/
dhcp6.c 586 int maxfd = TT.sock; local
590 if ((TT.retval = select(maxfd + 1, &rfds, NULL, NULL, &TT.tv)) < 0) {
dhcp.c 1322 int maxfd = (sigfd.rd > state->sockfd)? sigfd.rd : state->sockfd; local
    [all...]
dhcpd.c 1683 int maxfd = (sigfd.rd > gstate.listensock)? sigfd.rd : gstate.listensock; local
    [all...]
  /system/bt/btif/src/
btif_hl.cc 4054 int maxfd = max_org_s; local
    [all...]
  /external/curl/lib/
urldata.h 713 curl_socket_t maxfd; member in struct:SingleRequest
    [all...]
multi.c     [all...]

Completed in 949 milliseconds

1 23