Home
last modified time | relevance | path

Searched refs:curlm (Results 1 – 2 of 2) sorted by relevance

/external/curl/tests/libtest/
Dlib1557.c30 CURLM *curlm = NULL; in test() local
38 multi_init(curlm); in test()
39 multi_setopt(curlm, CURLMOPT_MAX_HOST_CONNECTIONS, 1); in test()
43 multi_add_handle(curlm, curl1); in test()
47 multi_add_handle(curlm, curl2); in test()
49 multi_perform(curlm, &running_handles); in test()
51 multi_remove_handle(curlm, curl2); in test()
54 multi_remove_handle(curlm, curl1); in test()
59 curl_multi_cleanup(curlm); in test()
/external/elfutils/debuginfod/
Ddebuginfod-client.c735 CURLM *curlm = curl_multi_init(); in debuginfod_query_server() local
736 if (curlm == NULL) in debuginfod_query_server()
830 curl_multi_add_handle(curlm, data[i].handle); in debuginfod_query_server()
844 curl_multi_wait(curlm, NULL, 0, 1000, NULL); in debuginfod_query_server()
851 curl_multi_remove_handle(curlm, data[i].handle); in debuginfod_query_server()
866 CURLMcode curlm_res = curl_multi_perform(curlm, &still_running); in debuginfod_query_server()
935 msg = curl_multi_info_read(curlm, &num_msg); in debuginfod_query_server()
1070 curl_multi_cleanup (curlm); in debuginfod_query_server()
1087 curl_multi_cleanup(curlm); in debuginfod_query_server()