Home
last modified time | relevance | path

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

/external/curl/tests/libtest/
Dlib659.c38 CURLU *urlp = NULL; in test() local
43 urlp = curl_url(); in test()
45 if(!urlp) { in test()
51 if(curl_url_set(urlp, CURLUPART_HOST, "www.example.com", 0) || in test()
52 curl_url_set(urlp, CURLUPART_SCHEME, "http", 0) || in test()
53 curl_url_set(urlp, CURLUPART_PORT, "80", 0)) { in test()
58 easy_setopt(handle, CURLOPT_CURLU, urlp); in test()
72 curl_url_cleanup(urlp); in test()
Dlib658.c38 CURLU *urlp = NULL; in test() local
44 urlp = curl_url(); in test()
46 if(!urlp) { in test()
51 uc = curl_url_set(urlp, CURLUPART_URL, URL, 0); in test()
61 easy_setopt(handle, CURLOPT_CURLU, urlp); in test()
74 curl_url_cleanup(urlp); in test()
Dlib1560.c970 CURLU *urlp = curl_url(); in set_url() local
971 if(!urlp) in set_url()
973 rc = curl_url_set(urlp, CURLUPART_URL, set_url_list[i].in, in set_url()
976 rc = curl_url_set(urlp, CURLUPART_URL, set_url_list[i].set, in set_url()
986 rc = curl_url_get(urlp, CURLUPART_URL, &url, 0); in set_url()
1005 curl_url_cleanup(urlp); in set_url()
1017 CURLU *urlp = curl_url(); in set_parts() local
1018 if(!urlp) { in set_parts()
1023 rc = curl_url_set(urlp, CURLUPART_URL, set_parts_list[i].in, in set_parts()
1029 CURLUcode uc = updateurl(urlp, set_parts_list[i].set, in set_parts()
[all …]
Dlib674.c39 CURLU *urlp = NULL; in test() local
45 urlp = curl_url(); in test()
47 if(!urlp) { in test()
52 uc = curl_url_set(urlp, CURLUPART_URL, URL, 0); in test()
62 easy_setopt(handle, CURLOPT_CURLU, urlp); in test()
79 curl_url_cleanup(urlp); in test()
/external/curl/docs/examples/
Durlapi.c40 CURLU *urlp; in main() local
47 urlp = curl_url(); in main()
48 uc = curl_url_set(urlp, CURLUPART_URL, in main()
58 curl_easy_setopt(curl, CURLOPT_CURLU, urlp); in main()
71 curl_url_cleanup(urlp); in main()