Lines Matching refs:u
48 static int checkparts(CURLU *u, const char *in, const char *wanted, in checkparts() argument
73 rc = curl_url_get(u, parts[i].part, &p, getflags); in checkparts()
1101 static CURLUcode updateurl(CURLU *u, const char *cmd, unsigned int setflags) in updateurl() argument
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()
1528 CURLU *u = curl_url(); in scopeid() local
1533 rc = curl_url_set(u, CURLUPART_URL, in scopeid()
1541 rc = curl_url_get(u, CURLUPART_HOST, &url, 0); in scopeid()
1551 rc = curl_url_set(u, CURLUPART_HOST, "[::1]", 0); in scopeid()
1558 rc = curl_url_get(u, CURLUPART_URL, &url, 0); in scopeid()
1568 rc = curl_url_set(u, CURLUPART_HOST, "example.com", 0); in scopeid()
1575 rc = curl_url_get(u, CURLUPART_URL, &url, 0); in scopeid()
1585 rc = curl_url_set(u, CURLUPART_HOST, in scopeid()
1593 rc = curl_url_get(u, CURLUPART_URL, &url, 0); in scopeid()
1603 rc = curl_url_get(u, CURLUPART_HOST, &url, 0); in scopeid()
1613 rc = curl_url_get(u, CURLUPART_ZONEID, &url, 0); in scopeid()
1623 rc = curl_url_set(u, CURLUPART_ZONEID, "clown", 0); in scopeid()
1630 rc = curl_url_get(u, CURLUPART_URL, &url, 0); in scopeid()
1640 curl_url_cleanup(u); in scopeid()
1647 CURLU *u = curl_url(); in get_nothing() local
1648 if(u) { in get_nothing()
1652 rc = curl_url_get(u, CURLUPART_SCHEME, &p, 0); in get_nothing()
1656 rc = curl_url_get(u, CURLUPART_HOST, &p, 0); in get_nothing()
1660 rc = curl_url_get(u, CURLUPART_USER, &p, 0); in get_nothing()
1664 rc = curl_url_get(u, CURLUPART_PASSWORD, &p, 0); in get_nothing()
1668 rc = curl_url_get(u, CURLUPART_OPTIONS, &p, 0); in get_nothing()
1672 rc = curl_url_get(u, CURLUPART_PATH, &p, 0); in get_nothing()
1678 rc = curl_url_get(u, CURLUPART_QUERY, &p, 0); in get_nothing()
1682 rc = curl_url_get(u, CURLUPART_FRAGMENT, &p, 0); in get_nothing()
1686 rc = curl_url_get(u, CURLUPART_ZONEID, &p, 0); in get_nothing()
1691 curl_url_cleanup(u); in get_nothing()
1712 CURLU *u = curl_url(); in clear_url() local
1714 if(u) { in clear_url()
1719 rc = curl_url_set(u, clear_url_list[i].part, clear_url_list[i].in, 0); in clear_url()
1723 rc = curl_url_set(u, CURLUPART_URL, NULL, 0); in clear_url()
1727 rc = curl_url_get(u, clear_url_list[i].part, &p, 0); in clear_url()
1739 curl_url_cleanup(u); in clear_url()