Home
last modified time | relevance | path

Searched refs:maxfd (Results 1 – 25 of 33) sorted by relevance

12

/curl/tests/libtest/
H A Dlib502.c58 int maxfd = -99; in test() local
74 multi_fdset(m, &fdread, &fdwrite, &fdexcep, &maxfd); in test()
78 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); in test()
H A Dlib1531.c77 int maxfd = -1; in test() local
99 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in test()
112 if(maxfd == -1) { in test()
125 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); in test()
H A Dlib564.c61 int maxfd = -99; in test() local
77 multi_fdset(m, &rd, &wr, &exc, &maxfd); in test()
81 select_test(maxfd + 1, &rd, &wr, &exc, &interval); in test()
H A Dlib560.c81 int maxfd = -99; in test() local
92 multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in test()
96 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); in test()
H A Dlib503.c69 int maxfd = -99; in test() local
85 multi_fdset(m, &rd, &wr, &exc, &maxfd); in test()
89 select_test(maxfd + 1, &rd, &wr, &exc, &interval); in test()
H A Dlib504.c66 int maxfd = -99; in test() local
96 multi_fdset(m, &rd, &wr, &exc, &maxfd); in test()
100 select_test(maxfd + 1, &rd, &wr, &exc, &interval); in test()
H A Dlib533.c63 int maxfd = -99; in test() local
96 multi_fdset(m, &rd, &wr, &exc, &maxfd); in test()
100 select_test(maxfd + 1, &rd, &wr, &exc, &interval); in test()
H A Dlib507.c63 int maxfd = -99; in test() local
71 multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); in test()
75 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); in test()
H A Dlib1501.c67 int maxfd = -99; in test() local
79 multi_fdset(mhandle, &fdread, &fdwrite, &fdexcep, &maxfd); in test()
83 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); in test()
H A Dlib573.c73 int maxfd = -99; in test() local
89 multi_fdset(m, &fdread, &fdwrite, &fdexcep, &maxfd); in test()
93 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); in test()
H A Dlib575.c85 int maxfd = -99; in test() local
94 multi_fdset(mhandle, &fdread, &fdwrite, &fdexcep, &maxfd); in test()
98 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); in test()
H A Dlib597.c76 int maxfd = -99; in test() local
89 multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); in test()
113 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &interval); in test()
H A Dlib525.c117 int maxfd = -99; in test() local
133 multi_fdset(m, &rd, &wr, &exc, &maxfd); in test()
137 select_test(maxfd + 1, &rd, &wr, &exc, &interval); in test()
H A Dlib1502.c103 int maxfd = -99; in test() local
111 multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); in test()
115 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); in test()
H A Dlib591.c95 int maxfd = -99; in test() local
108 multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); in test()
131 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &interval); in test()
H A Dlib526.c89 int maxfd = -99; in test() local
134 multi_fdset(m, &rd, &wr, &exc, &maxfd); in test()
138 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()
119 select_test(maxfd + 1, &rd, &wr, &exc, &interval); in test()
H A Dlib1507.c94 int maxfd = -1; in test() local
116 curl_multi_fdset(mcurl, &fdread, &fdwrite, &fdexcep, &maxfd); in test()
124 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); in test()
H A Dlib555.c121 int maxfd = -99; in test() local
137 multi_fdset(m, &fdread, &fdwrite, &fdexcep, &maxfd); in test()
141 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); in test()
H A Dlib2402.c100 int maxfd = -99; in test() local
116 multi_fdset(m, &rd, &wr, &exc, &maxfd); in test()
120 select_test(maxfd + 1, &rd, &wr, &exc, &interval); in test()
H A Dlib1506.c97 int maxfd = -99; in test() local
113 multi_fdset(m, &rd, &wr, &exc, &maxfd); in test()
117 select_test(maxfd + 1, &rd, &wr, &exc, &interval); in test()
H A Dlib2404.c102 int maxfd = -99; in test() local
118 multi_fdset(m, &rd, &wr, &exc, &maxfd); in test()
122 select_test(maxfd + 1, &rd, &wr, &exc, &interval); 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()
/curl/docs/examples/
H A Dmulti-legacy.c89 int maxfd = -1; in main() local
111 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in main()
124 if(maxfd == -1) { in main()
137 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); in main()
/curl/lib/
H A Dselect.c124 static int our_select(curl_socket_t maxfd, /* highest socket number */ in our_select() argument
158 return select((int)maxfd + 1, in our_select()
163 return select((int)maxfd + 1, fds_read, fds_write, fds_err, ptimeout); in our_select()
280 curl_socket_t maxfd; in Curl_poll()
339 maxfd = (curl_socket_t)-1; in Curl_poll()
348 if(ufds[i].fd > maxfd) in Curl_poll()
349 maxfd = ufds[i].fd; in Curl_poll()
365 r = our_select(maxfd, &fds_read, &fds_write, &fds_err, timeout_ms); in Curl_poll()

Completed in 32 milliseconds

12