Home
last modified time | relevance | path

Searched refs:curl_timeo (Results 1 – 14 of 14) sorted by relevance

/external/curl/docs/examples/
Dmulti-double.c76 long curl_timeo = -1; in main() local
86 curl_multi_timeout(multi_handle, &curl_timeo); in main()
87 if(curl_timeo >= 0) { in main()
88 timeout.tv_sec = curl_timeo / 1000; in main()
92 timeout.tv_usec = (curl_timeo % 1000) * 1000; in main()
Dimap-multi.c100 long curl_timeo = -1; in main() local
111 curl_multi_timeout(mcurl, &curl_timeo); in main()
112 if(curl_timeo >= 0) { in main()
113 timeout.tv_sec = curl_timeo / 1000; in main()
117 timeout.tv_usec = (curl_timeo % 1000) * 1000; in main()
Dpop3-multi.c100 long curl_timeo = -1; in main() local
111 curl_multi_timeout(mcurl, &curl_timeo); in main()
112 if(curl_timeo >= 0) { in main()
113 timeout.tv_sec = curl_timeo / 1000; in main()
117 timeout.tv_usec = (curl_timeo % 1000) * 1000; in main()
Dmulti-formadd.c96 long curl_timeo = -1; in main() local
106 curl_multi_timeout(multi_handle, &curl_timeo); in main()
107 if(curl_timeo >= 0) { in main()
108 timeout.tv_sec = curl_timeo / 1000; in main()
112 timeout.tv_usec = (curl_timeo % 1000) * 1000; in main()
Dmulti-app.c87 long curl_timeo = -1; in main() local
97 curl_multi_timeout(multi_handle, &curl_timeo); in main()
98 if(curl_timeo >= 0) { in main()
99 timeout.tv_sec = curl_timeo / 1000; in main()
103 timeout.tv_usec = (curl_timeo % 1000) * 1000; in main()
Dmulti-post.c92 long curl_timeo = -1; in main() local
102 curl_multi_timeout(multi_handle, &curl_timeo); in main()
103 if(curl_timeo >= 0) { in main()
104 timeout.tv_sec = curl_timeo / 1000; in main()
108 timeout.tv_usec = (curl_timeo % 1000) * 1000; in main()
Dsmtp-multi.c167 long curl_timeo = -1; in main() local
178 curl_multi_timeout(mcurl, &curl_timeo); in main()
179 if(curl_timeo >= 0) { in main()
180 timeout.tv_sec = curl_timeo / 1000; in main()
184 timeout.tv_usec = (curl_timeo % 1000) * 1000; in main()
Dmulti-debugcallback.c163 long curl_timeo = -1; in main() local
173 curl_multi_timeout(multi_handle, &curl_timeo); in main()
174 if(curl_timeo >= 0) { in main()
175 timeout.tv_sec = curl_timeo / 1000; in main()
179 timeout.tv_usec = (curl_timeo % 1000) * 1000; in main()
Dhttp2-download.c221 long curl_timeo = -1; in main() local
231 curl_multi_timeout(multi_handle, &curl_timeo); in main()
232 if(curl_timeo >= 0) { in main()
233 timeout.tv_sec = curl_timeo / 1000; in main()
237 timeout.tv_usec = (curl_timeo % 1000) * 1000; in main()
Dhttp2-serverpush.c251 long curl_timeo = -1; in main() local
261 curl_multi_timeout(multi_handle, &curl_timeo); in main()
262 if(curl_timeo >= 0) { in main()
263 timeout.tv_sec = curl_timeo / 1000; in main()
267 timeout.tv_usec = (curl_timeo % 1000) * 1000; in main()
Dhttp2-upload.c278 long curl_timeo = -1; in main() local
288 curl_multi_timeout(multi_handle, &curl_timeo); in main()
289 if(curl_timeo >= 0) { in main()
290 timeout.tv_sec = curl_timeo / 1000; in main()
294 timeout.tv_usec = (curl_timeo % 1000) * 1000; in main()
Dfopen.c146 long curl_timeo = -1; in fill_buffer() local
156 curl_multi_timeout(multi_handle, &curl_timeo); in fill_buffer()
157 if(curl_timeo >= 0) { in fill_buffer()
158 timeout.tv_sec = curl_timeo / 1000; in fill_buffer()
162 timeout.tv_usec = (curl_timeo % 1000) * 1000; in fill_buffer()
/external/curl/tests/libtest/
Dlib1531.c76 long curl_timeo = -1; in test() local
86 curl_multi_timeout(multi_handle, &curl_timeo); in test()
87 if(curl_timeo >= 0) { in test()
88 timeout.tv_sec = curl_timeo / 1000; in test()
92 timeout.tv_usec = (curl_timeo % 1000) * 1000; in test()
Dlib1507.c93 long curl_timeo = -1; in test() local
103 curl_multi_timeout(mcurl, &curl_timeo); in test()
104 if(curl_timeo >= 0) { in test()
105 timeout.tv_sec = curl_timeo / 1000; in test()
109 timeout.tv_usec = (curl_timeo % 1000) * 1000; in test()