Lines Matching refs:up
207 struct urlpieces *up = &data->state.up; in up_free() local
208 Curl_safefree(up->scheme); in up_free()
209 Curl_safefree(up->hostname); in up_free()
210 Curl_safefree(up->port); in up_free()
211 Curl_safefree(up->user); in up_free()
212 Curl_safefree(up->password); in up_free()
213 Curl_safefree(up->options); in up_free()
214 Curl_safefree(up->path); in up_free()
215 Curl_safefree(up->query); in up_free()
1785 uc = curl_url_get(uh, CURLUPART_SCHEME, &data->state.up.scheme, 0);
1789 uc = curl_url_get(uh, CURLUPART_HOST, &data->state.up.hostname, 0);
1791 if(!strcasecompare("file", data->state.up.scheme))
1794 else if(strlen(data->state.up.hostname) > MAX_URL_LEN) {
1798 hostname = data->state.up.hostname;
1828 if(data->hsts && strcasecompare("http", data->state.up.scheme)) {
1832 Curl_safefree(data->state.up.scheme);
1842 uc = curl_url_get(uh, CURLUPART_SCHEME, &data->state.up.scheme, 0);
1855 result = findprotocol(data, conn, data->state.up.scheme);
1864 uc = curl_url_get(uh, CURLUPART_PASSWORD, &data->state.up.password, 0);
1867 result = Curl_urldecode(data->state.up.password, 0, &decoded, NULL,
1886 uc = curl_url_get(uh, CURLUPART_USER, &data->state.up.user, 0);
1889 result = Curl_urldecode(data->state.up.user, 0, &decoded, NULL,
1904 uc = curl_url_get(uh, CURLUPART_OPTIONS, &data->state.up.options,
1907 conn->options = strdup(data->state.up.options);
1914 uc = curl_url_get(uh, CURLUPART_PATH, &data->state.up.path,
1919 uc = curl_url_get(uh, CURLUPART_PORT, &data->state.up.port,
1922 if(!strcasecompare("file", data->state.up.scheme))
1926 unsigned long port = strtoul(data->state.up.port, NULL, 10);
1932 (void)curl_url_get(uh, CURLUPART_QUERY, &data->state.up.query, 0);