Home
last modified time | relevance | path

Searched refs:urlp (Results 1 – 4 of 4) sorted by relevance

/external/curl/tests/libtest/
Dlib1560.c567 CURLU *urlp; in set_url() local
572 urlp = curl_url(); in set_url()
573 if(!urlp) in set_url()
575 rc = curl_url_set(urlp, CURLUPART_URL, set_url_list[i].in, in set_url()
578 rc = curl_url_set(urlp, CURLUPART_URL, set_url_list[i].set, in set_url()
587 rc = curl_url_get(urlp, CURLUPART_URL, &url, 0); in set_url()
606 curl_url_cleanup(urlp); in set_url()
619 CURLU *urlp = curl_url(); in set_parts() local
620 if(!urlp) { in set_parts()
625 rc = curl_url_set(urlp, CURLUPART_URL, set_parts_list[i].in, in set_parts()
[all …]
Dlib659.c36 CURLU *urlp = NULL; in test() local
41 urlp = curl_url(); in test()
43 if(!urlp) { in test()
49 if(curl_url_set(urlp, CURLUPART_HOST, "www.example.com", 0) || in test()
50 curl_url_set(urlp, CURLUPART_SCHEME, "http", 0) || in test()
51 curl_url_set(urlp, CURLUPART_PORT, "80", 0)) { in test()
56 easy_setopt(handle, CURLOPT_CURLU, urlp); in test()
70 curl_url_cleanup(urlp); in test()
Dlib658.c36 CURLU *urlp = NULL; in test() local
42 urlp = curl_url(); in test()
44 if(!urlp) { in test()
49 uc = curl_url_set(urlp, CURLUPART_URL, URL, 0); in test()
58 easy_setopt(handle, CURLOPT_CURLU, urlp); in test()
71 curl_url_cleanup(urlp); in test()
/external/curl/docs/examples/
Durlapi.c38 CURLU *urlp; in main() local
45 urlp = curl_url(); in main()
46 uc = curl_url_set(urlp, CURLUPART_URL, in main()
56 curl_easy_setopt(curl, CURLOPT_CURLU, urlp); in main()
69 curl_url_cleanup(urlp); in main()