Home
last modified time | relevance | path

Searched refs:maxfd (Results 26 - 50 of 59) sorted by relevance

123

/third_party/curl/tests/libtest/
H A Dlib526.c89 int maxfd = -99; in test() local
134 multi_fdset(m, &rd, &wr, &exc, &maxfd); in test()
136 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ in test()
138 select_test(maxfd + 1, &rd, &wr, &exc, &interval); in test()
H A Dlib525.c117 int maxfd = -99; in test() local
133 multi_fdset(m, &rd, &wr, &exc, &maxfd); in test()
135 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ in test()
137 select_test(maxfd + 1, &rd, &wr, &exc, &interval); in test()
H A Dlib2502.c99 int maxfd = -99; in test() local
115 multi_fdset(m, &rd, &wr, &exc, &maxfd); in test()
117 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ in test()
119 select_test(maxfd + 1, &rd, &wr, &exc, &interval); in test()
H A Dlibntlmconnect.c128 int maxfd = -99; in test() local
171 multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); in test()
173 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ in test()
176 if(maxfd != -1 && !found_new_socket) { in test()
216 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &interval); in test()
H A Dlib2402.c100 int maxfd = -99; in test() local
116 multi_fdset(m, &rd, &wr, &exc, &maxfd); in test()
118 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ in test()
120 select_test(maxfd + 1, &rd, &wr, &exc, &interval); in test()
H A Dlib555.c121 int maxfd = -99; in test() local
137 multi_fdset(m, &fdread, &fdwrite, &fdexcep, &maxfd); in test()
139 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ in test()
141 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); in test()
H A Dlib1515.c79 int maxfd = -99; in do_one_request() local
87 multi_fdset(m, &fdread, &fdwrite, &fdexcep, &maxfd); in do_one_request()
88 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); in do_one_request()
H A Dlib2404.c102 int maxfd = -99; in test() local
118 multi_fdset(m, &rd, &wr, &exc, &maxfd); in test()
120 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ in test()
122 select_test(maxfd + 1, &rd, &wr, &exc, &interval); in test()
H A Dlib670.c191 int maxfd = -1; in test() local
215 mres = curl_multi_fdset(multi, &fdread, &fdwrite, &fdexcept, &maxfd); in test()
219 if(maxfd == -1) in test()
223 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcept, &timeout); in test()
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
H A Dtest_daemon.c93 MHD_socket maxfd; in testExternalRun() local
105 maxfd = 0; in testExternalRun()
107 if (MHD_YES != MHD_get_fdset (d, &rs, &rs, &rs, &maxfd)) in testExternalRun()
/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Dspdy_response_with_callback.c163 int maxfd = -1; in main() local
208 maxfd = SPDY_get_fdset (daemon, in main()
213 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout); in main()
H A Dspdy_fileserver.c277 int maxfd = -1; in main() local
325 maxfd = SPDY_get_fdset (daemon, in main()
330 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout); in main()
H A Dmhd2spdy_spdy.c993 int maxfd = 0; in spdy_get_selectfdset() local
1016 if(maxfd < glob_opt.spdy_connection->fd) maxfd = glob_opt.spdy_connection->fd; in spdy_get_selectfdset()
1043 if(maxfd < connection->fd) maxfd = connection->fd; in spdy_get_selectfdset()
1051 return maxfd; in spdy_get_selectfdset()
/third_party/ltp/testcases/network/lib6/
H A Dasapi_02.c111 int maxfd, nfds, gotall, gotone; in ic6_recv() local
120 maxfd = MAX(sall, sf); in ic6_recv()
129 nfds = select(maxfd + 1, &readfds, 0, 0, &tv); in ic6_recv()
H A Dasapi_01.c380 int sd, nfds, maxfd, cc; in csum_test() local
391 maxfd = MAX(sd, csd[1]); in csum_test()
409 while ((nfds = select(maxfd + 1, &rset, 0, 0, &tv)) >= 0) { in csum_test()
/third_party/skia/third_party/externals/microhttpd/src/testspdy/
H A Dtest_misc.c210 int maxfd = -1; in parentproc() local
250 maxfd = SPDY_get_fdset (daemon, in parentproc()
255 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout); in parentproc()
H A Dtest_session_timeout.c130 int maxfd = -1; in parentproc() local
216 maxfd = SPDY_get_fdset (daemon, in parentproc()
221 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout); in parentproc()
H A Dtest_request_response_with_callback.c173 int maxfd = -1; in parentproc() local
213 maxfd = SPDY_get_fdset (daemon, in parentproc()
218 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout); in parentproc()
H A Dtest_new_connection.c914 int maxfd = -1; in parentproc() local
947 maxfd = SPDY_get_fdset (daemon, in parentproc()
952 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout); in parentproc()
H A Dtest_notls.c877 int maxfd = -1; in parentproc() local
913 maxfd = SPDY_get_fdset (daemon, in parentproc()
918 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout); in parentproc()
/third_party/pulseaudio/src/pulsecore/
H A Dpoll-win32.c358 int maxfd, rc; in pa_poll() local
413 maxfd = -1; in pa_poll()
432 if (pfd[i].fd >= maxfd in pa_poll()
437 maxfd = pfd[i].fd; in pa_poll()
438 if (maxfd > FD_SETSIZE) in pa_poll()
447 rc = select (maxfd + 1, &rfds, &wfds, &efds, ptv); in pa_poll()
/third_party/curl/tests/server/
H A Dsws.c1447 curl_socket_t maxfd = (curl_socket_t)-1; in http_connect() local
1460 maxfd = rootfd; in http_connect()
1470 if(clientfd[i] > maxfd) in http_connect()
1471 maxfd = clientfd[i]; in http_connect()
1477 if(clientfd[i] > maxfd) in http_connect()
1478 maxfd = clientfd[i]; in http_connect()
1486 if(serverfd[i] > maxfd) in http_connect()
1487 maxfd = serverfd[i]; in http_connect()
1493 if(serverfd[i] > maxfd) in http_connect()
1494 maxfd in http_connect()
2281 curl_socket_t maxfd = (curl_socket_t)-1; main() local
[all...]
H A Dsocksd.c716 int maxfd = (int)sockfd; in incoming() local
729 if((int)fd > maxfd) in incoming()
730 maxfd = (int)fd; in incoming()
733 if((int)fd > maxfd) in incoming()
734 maxfd = (int)fd; in incoming()
740 rc = select(maxfd + 1, &fds_read, &fds_write, &fds_err, NULL); in incoming()
H A Dsockfilt.c966 int maxfd = -99; in juggle() local
1004 maxfd = (int)sockfd; in juggle()
1013 maxfd = 0; /* stdin */ in juggle()
1018 maxfd = (int)sockfd; in juggle()
1028 maxfd = (int)sockfd; in juggle()
1032 maxfd = 0; in juggle()
1039 maxfd = 0; in juggle()
1050 rc = select(maxfd + 1, &fds_read, &fds_write, &fds_err, &timeout); in juggle()
/third_party/skia/third_party/externals/microhttpd/src/spdy2http/
H A Dproxy.c984 int maxfd = -1; in run() local
1104 maxfd = SPDY_get_fdset (daemon, in run()
1108 assert(-1 != maxfd); in run()
1118 if(maxfd_curl > maxfd) in run()
1119 maxfd = maxfd_curl; in run()
1122 ret = select(maxfd+1, &rs, &ws, &es, &timeout); in run()

Completed in 17 milliseconds

123