Home
last modified time | relevance | path

Searched refs:uc (Results 1 – 15 of 15) sorted by relevance

/curl/docs/examples/
H A Dparseurl.c38 CURLUcode uc; in main() local
47 uc = curl_url_set(h, CURLUPART_URL, "http://example.com/path/index.html", 0); in main()
48 if(uc) in main()
52 uc = curl_url_get(h, CURLUPART_HOST, &host, 0); in main()
53 if(!uc) { in main()
59 uc = curl_url_get(h, CURLUPART_PATH, &path, 0); in main()
60 if(!uc) { in main()
66 uc = curl_url_set(h, CURLUPART_URL, "../another/second.html", 0); in main()
67 if(uc) in main()
71 uc = curl_url_get(h, CURLUPART_PATH, &path, 0); in main()
[all …]
H A Durlapi.c41 CURLUcode uc; in main() local
48 uc = curl_url_set(urlp, CURLUPART_URL, in main()
51 if(uc) { in main()
52 fprintf(stderr, "curl_url_set() failed: %s", curl_url_strerror(uc)); in main()
/curl/tests/libtest/
H A Dlib1559.c58 CURLUcode uc = curl_url_set(u, CURLUPART_URL, longurl, 0); in test() local
60 EXCESSIVE, (int)uc, curl_url_strerror(uc)); in test()
61 uc = curl_url_set(u, CURLUPART_SCHEME, longurl, CURLU_NON_SUPPORT_SCHEME); in test()
63 EXCESSIVE, (int)uc, curl_url_strerror(uc)); in test()
64 uc = curl_url_set(u, CURLUPART_USER, longurl, 0); in test()
66 EXCESSIVE, (int)uc, curl_url_strerror(uc)); in test()
H A Dlib658.c39 CURLUcode uc = CURLUE_OK; in test() local
51 uc = curl_url_set(urlp, CURLUPART_URL, URL, 0); in test()
52 if(uc) { in test()
54 curl_url_strerror(uc)); in test()
H A Dlib674.c40 CURLUcode uc = CURLUE_OK; in test() local
52 uc = curl_url_set(urlp, CURLUPART_URL, URL, 0); in test()
53 if(uc) { in test()
55 curl_url_strerror(uc)); in test()
H A Dlib1560.c1104 CURLUcode uc; in updateurl() local
1129 uc = curl_url_set(u, what, NULL, setflags); in updateurl()
1131 uc = curl_url_set(u, what, "", setflags); in updateurl()
1133 uc = curl_url_set(u, what, value, setflags); in updateurl()
1134 if(uc) in updateurl()
1135 return uc; in updateurl()
1314 if(uc != setget_parts_list[i].pcode) { in setget_parts()
1319 if(!uc) { in setget_parts()
1355 CURLUcode uc = updateurl(urlp, set_parts_list[i].set, in set_parts() local
1358 if(uc != set_parts_list[i].pcode) { in set_parts()
[all …]
/curl/src/
H A Dtool_xattr.c54 CURLUcode uc; in stripcredentials() local
58 uc = curl_url_set(u, CURLUPART_URL, url, CURLU_GUESS_SCHEME); in stripcredentials()
59 if(uc) in stripcredentials()
62 uc = curl_url_set(u, CURLUPART_USER, NULL, 0); in stripcredentials()
63 if(uc) in stripcredentials()
66 uc = curl_url_set(u, CURLUPART_PASSWORD, NULL, 0); in stripcredentials()
67 if(uc) in stripcredentials()
70 uc = curl_url_get(u, CURLUPART_URL, &nurl, 0); in stripcredentials()
71 if(uc) in stripcredentials()
/curl/lib/
H A Durl.c1777 if(uc)
1786 if(uc)
1790 if(uc) {
1916 if(uc)
1921 if(uc) {
2226 if(uc && (uc != CURLUE_NO_USER))
2229 if(uc && (uc != CURLUE_NO_PASSWORD))
2282 if(uc) {
2647 if(uc)
2760 if(uc)
[all …]
H A Durlapi.c266 CURLUcode uc; in concat_url() local
387 if(uc) in concat_url()
795 CURLUcode uc; in parse_authority() local
802 if(uc) in parse_authority()
812 if(uc) in parse_authority()
826 if(!uc) in parse_authority()
838 return uc; in parse_authority()
1660 if(uc) in curl_url_get()
1661 return uc; in curl_url_get()
1860 CURLUcode uc; in curl_url_set() local
[all …]
H A Dhttp.c1806 if(uc) { in Curl_http_target()
1812 if(uc) { in Curl_http_target()
1820 if(uc) { in Curl_http_target()
1832 if(uc) { in Curl_http_target()
4111 if(uc && uc != CURLUE_NO_HOST) in req_assign_url_authority()
4120 if(uc && uc != CURLUE_NO_PORT) in req_assign_url_authority()
4123 if(uc && uc != CURLUE_NO_USER) in req_assign_url_authority()
4127 if(uc && uc != CURLUE_NO_PASSWORD) in req_assign_url_authority()
4177 if(uc) in req_assign_url_path()
4180 if(uc && uc != CURLUE_NO_QUERY) in req_assign_url_path()
[all …]
H A Dhttp1.c206 CURLUcode uc; in start_req() local
232 uc = curl_url_set(url, CURLUPART_URL, tmp, url_options); in start_req()
233 if(uc) { in start_req()
H A Durl.h37 CURLcode Curl_uc_to_curlcode(CURLUcode uc);
H A Dmulti.c1851 CURLUcode uc;
1887 if(!uc)
1889 if(!uc)
1891 if(!uc)
1893 if(!uc)
1898 if(uc || !referer)
1921 if(uc) {
1924 curl_url_strerror(uc));
1936 if(uc)
1952 if(uc) {
[all …]
H A Dtransfer.c557 CURLUcode uc; in Curl_pretransfer() local
559 uc = curl_url_get(data->set.uh, in Curl_pretransfer()
561 if(uc) { in Curl_pretransfer()
H A Dhttp2.c890 CURLUcode uc; in set_transfer_url() local
900 uc = curl_url_set(u, CURLUPART_SCHEME, v, 0); in set_transfer_url()
901 if(uc) { in set_transfer_url()
909 uc = Curl_url_set_authority(u, v); in set_transfer_url()
910 if(uc) { in set_transfer_url()
918 uc = curl_url_set(u, CURLUPART_PATH, v, 0); in set_transfer_url()
919 if(uc) { in set_transfer_url()
925 uc = curl_url_get(u, CURLUPART_URL, &url, 0); in set_transfer_url()
926 if(uc) in set_transfer_url()

Completed in 64 milliseconds