Lines Matching refs:enc
1242 struct dynbuf enc; in parseurl() local
1243 Curl_dyn_init(&enc, CURL_MAX_INPUT_LENGTH); in parseurl()
1244 result = urlencode_str(&enc, fragment + 1, fraglen - 1, TRUE, FALSE); in parseurl()
1247 u->fragment = Curl_dyn_ptr(&enc); in parseurl()
1269 struct dynbuf enc; in parseurl() local
1270 Curl_dyn_init(&enc, CURL_MAX_INPUT_LENGTH); in parseurl()
1272 result = urlencode_str(&enc, query + 1, qlen - 1, TRUE, TRUE); in parseurl()
1275 u->query = Curl_dyn_ptr(&enc); in parseurl()
1296 struct dynbuf enc; in parseurl() local
1297 Curl_dyn_init(&enc, CURL_MAX_INPUT_LENGTH); in parseurl()
1298 result = urlencode_str(&enc, path, pathlen, TRUE, FALSE); in parseurl()
1301 pathlen = Curl_dyn_len(&enc); in parseurl()
1302 path = u->path = Curl_dyn_ptr(&enc); in parseurl()
1555 struct dynbuf enc; in curl_url_get() local
1557 Curl_dyn_init(&enc, CURL_MAX_INPUT_LENGTH); in curl_url_get()
1558 if(Curl_dyn_addf(&enc, "%.*s%%25%s]", (int)hostlen - 1, u->host, in curl_url_get()
1561 allochost = Curl_dyn_ptr(&enc); in curl_url_get()
1656 struct dynbuf enc; in curl_url_get() local
1658 Curl_dyn_init(&enc, CURL_MAX_INPUT_LENGTH); in curl_url_get()
1659 uc = urlencode_str(&enc, *part, partlen, TRUE, what == CURLUPART_QUERY); in curl_url_get()
1663 *part = Curl_dyn_ptr(&enc); in curl_url_get()
1895 struct dynbuf enc; in curl_url_set() local
1896 Curl_dyn_init(&enc, nalloc * 3 + 1 + leadingslash); in curl_url_set()
1899 CURLcode result = Curl_dyn_addn(&enc, "/", 1); in curl_url_set()
1909 result = Curl_dyn_addn(&enc, "+", 1); in curl_url_set()
1919 result = Curl_dyn_addn(&enc, i, 1); in curl_url_set()
1927 result = Curl_dyn_addn(&enc, out, 3); in curl_url_set()
1935 CURLcode result = Curl_dyn_add(&enc, part); in curl_url_set()
1938 p = Curl_dyn_ptr(&enc); in curl_url_set()
1951 newp = Curl_dyn_ptr(&enc); in curl_url_set()
1972 Curl_dyn_free(&enc); in curl_url_set()
1977 Curl_dyn_free(&enc); in curl_url_set()
1983 size_t n = Curl_dyn_len(&enc); in curl_url_set()
2005 Curl_dyn_free(&enc); in curl_url_set()