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()
55 multi_remove_handle(curlm, curl1); in test()
59 curl_multi_cleanup(curlm); in test()
/external/elfutils/debuginfod/
Ddebuginfod-client.c450 CURLM *curlm = curl_multi_init(); in debuginfod_query_server() local
451 if (curlm == NULL) in debuginfod_query_server()
503 curl_multi_add_handle(curlm, data[i].handle); in debuginfod_query_server()
559 curl_multi_wait(curlm, NULL, 0, 1000, NULL); in debuginfod_query_server()
565 curl_multi_remove_handle(curlm, data[i].handle); in debuginfod_query_server()
567 curl_res = curl_multi_perform(curlm, &still_running); in debuginfod_query_server()
589 msg = curl_multi_info_read(curlm, &num_msg); in debuginfod_query_server()
659 curl_multi_cleanup (curlm); in debuginfod_query_server()
674 curl_multi_cleanup(curlm); in debuginfod_query_server()