Home
last modified time | relevance | path

Searched refs:mc (Results 1 – 25 of 30) sorted by relevance

12

/curl/tests/libtest/
H A Dlib2405.c120 CURLMcode mc = CURLM_OK; in test_run() local
158 while(!mc) { in test_run()
162 mc = curl_multi_perform(multi, &still_running); in test_run()
163 if(!still_running || mc != CURLM_OK) in test_run()
168 if(mc != CURLM_OK) { in test_run()
180 if(mc != CURLM_OUT_OF_MEMORY) { in test_run()
182 "CURLM_OUT_OF_MEMORY.\n", mc); in test_run()
193 if(mc != CURLM_OK) { in test_run()
230 CURLMcode mc = CURLM_OK; in empty_multi_test() local
244 if(mc != CURLM_OK) { in empty_multi_test()
[all …]
H A Dlib1531.c72 CURLMcode mc; /* curl_multi_fdset() return code */ in test() local
99 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in test()
101 if(mc != CURLM_OK) { in test()
102 fprintf(stderr, "curl_multi_fdset() failed, code %d.\n", mc); in test()
/curl/docs/examples/
H A Dmulti-single.c58 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() local
60 if(!mc) in main()
62 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main()
64 if(mc) { in main()
65 fprintf(stderr, "curl_multi_poll() failed, code %d.\n", (int)mc); in main()
H A Dimap-multi.c66 CURLMcode mc = curl_multi_perform(mcurl, &still_running); in main() local
70 mc = curl_multi_poll(mcurl, NULL, 0, 1000, NULL); in main()
72 if(mc) in main()
H A Dpop3-multi.c66 CURLMcode mc = curl_multi_perform(mcurl, &still_running); in main() local
70 mc = curl_multi_poll(mcurl, NULL, 0, 1000, NULL); in main()
72 if(mc) in main()
H A Dmulti-double.c64 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() local
68 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main()
70 if(mc) in main()
H A Dmulti-formadd.c95 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() local
99 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main()
101 if(mc) in main()
H A Dmulti-post.c82 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() local
86 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main()
88 if(mc) in main()
H A Dmulti-legacy.c84 CURLMcode mc; /* curl_multi_fdset() return code */ in main() local
111 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in main()
113 if(mc != CURLM_OK) { in main()
114 fprintf(stderr, "curl_multi_fdset() failed, code %d.\n", mc); in main()
H A Dmulti-app.c73 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() local
77 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main()
79 if(mc) in main()
H A Dsmtp-multi.c132 CURLMcode mc = curl_multi_perform(mcurl, &still_running); in main() local
136 mc = curl_multi_poll(mcurl, NULL, 0, 1000, NULL); in main()
138 if(mc) in main()
H A Dmulti-debugcallback.c145 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() local
149 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main()
151 if(mc) in main()
H A Dhttp2-download.c212 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() local
216 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main()
218 if(mc) in main()
H A Dhttp2-serverpush.c241 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() local
245 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main()
247 if(mc) in main()
/curl/tests/http/clients/
H A Dh2-upgrade-extreme.c145 CURLMcode mc; in main() local
188 mc = curl_multi_add_handle(multi, easy); in main()
189 if(mc != CURLM_OK) { in main()
191 curl_multi_strerror(mc)); in main()
197 mc = curl_multi_perform(multi, &running_handles); in main()
198 if(mc != CURLM_OK) { in main()
200 curl_multi_strerror(mc)); in main()
205 mc = curl_multi_poll(multi, NULL, 0, 1000000, &numfds); in main()
206 if(mc != CURLM_OK) { in main()
208 curl_multi_strerror(mc)); in main()
H A Dtls-session-reuse.c146 CURLMcode mc; in add_transfer() local
169 mc = curl_multi_add_handle(multi, easy); in add_transfer()
170 if(mc != CURLM_OK) { in add_transfer()
172 curl_multi_strerror(mc)); in add_transfer()
181 CURLMcode mc; in main() local
246 mc = curl_multi_perform(multi, &running_handles); in main()
247 if(mc != CURLM_OK) { in main()
249 curl_multi_strerror(mc)); in main()
254 mc = curl_multi_poll(multi, NULL, 0, 1000000, &numfds); in main()
255 if(mc != CURLM_OK) { in main()
[all …]
H A Dh2-serverpush.c235 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() local
239 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main()
241 if(mc) in main()
/curl/docs/libcurl/
H A Dcurl_multi_waitfds.md64 CURLMcode mc;
75 mc = curl_multi_waitfds(multi, NULL, 0, &fd_count);
77 if(mc != CURLM_OK) {
78 fprintf(stderr, "curl_multi_waitfds() failed, code %d.\n", mc);
92 mc = curl_multi_waitfds(multi, ufds, fd_count, NULL);
94 if(mc != CURLM_OK) {
95 fprintf(stderr, "curl_multi_waitfds() failed, code %d.\n", mc);
103 } while(!mc);
H A Dcurl_multi_strerror.md44 CURLMcode mc = curl_multi_perform(multi, &still_running);
45 if(mc)
46 printf("error: %s\n", curl_multi_strerror(mc));
H A Dcurl_multi_wakeup.md62 CURLMcode mc;
65 mc = curl_multi_perform(multi, &still_running);
67 if(mc == CURLM_OK) {
69 mc = curl_multi_poll(multi, NULL, 0, 10000, &numfds);
H A Dcurl_multi_wait.md98 CURLMcode mc;
101 mc = curl_multi_perform(multi, &still_running);
103 if(mc == CURLM_OK) {
105 mc = curl_multi_wait(multi, NULL, 0, 1000, &numfds);
108 if(mc != CURLM_OK) {
109 fprintf(stderr, "curl_multi failed, code %d.\n", mc);
H A Dcurl_multi_poll.md108 CURLMcode mc;
111 mc = curl_multi_perform(multi_handle, &still_running);
113 if(mc == CURLM_OK) {
121 mc = curl_multi_poll(multi_handle, &myown, 1, 1000, &numfds);
129 if(mc != CURLM_OK) {
130 fprintf(stderr, "curl_multi failed, code %d.\n", mc);
H A Dcurl_multi_perform.md77 CURLMcode mc = curl_multi_perform(multi, &still_running);
79 if(!mc && still_running)
81 mc = curl_multi_poll(multi, NULL, 0, 1000, NULL);
83 if(mc) {
84 fprintf(stderr, "curl_multi_poll() failed, code %d.\n", (int)mc);
H A Dcurl_multi_fdset.md94 CURLMcode mc;
104 mc = curl_multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd);
106 if(mc != CURLM_OK) {
107 fprintf(stderr, "curl_multi_fdset() failed, code %d.\n", mc);
114 } while(!mc);
H A Dcurl_multi_assign.md63 CURLMcode mc = curl_multi_assign(multi, fd, ourstructp);
64 if(mc)
65 printf("error: %s\n", curl_multi_strerror(mc));

Completed in 25 milliseconds

12