Lines Matching refs:query
79 char *query; member
99 free(u->query); in free_urlhandle()
110 const char *query; in find_host_sep() local
119 query = strchr(sep, '?'); in find_host_sep()
125 if(!query) in find_host_sep()
126 query = url + strlen(url); in find_host_sep()
128 return sep < query ? sep : query; in find_host_sep()
148 bool query) in urlencode_str() argument
151 bool left = !query; in urlencode_str()
996 char *query = NULL; in parseurl() local
1261 query = memchr(path, '?', pathlen); in parseurl()
1262 if(query) { in parseurl()
1263 size_t qlen = fragment ? (size_t)(fragment - query) : in parseurl()
1264 pathlen - (query - path); in parseurl()
1272 result = urlencode_str(&enc, query + 1, qlen - 1, TRUE, TRUE); in parseurl()
1275 u->query = Curl_dyn_ptr(&enc); in parseurl()
1278 u->query = Curl_memdup0(query + 1, qlen - 1); in parseurl()
1279 if(!u->query) { in parseurl()
1287 u->query = strdup(""); in parseurl()
1288 if(!u->query) { in parseurl()
1398 DUP(u, in, query); in curl_url_dup()
1487 ptr = u->query; in curl_url_get()
1510 (u->query && u->query[0]) || in curl_url_get()
1613 u->query ? u->query : "", in curl_url_get()
1748 storep = &u->query; in curl_url_set()
1845 storep = &u->query; in curl_url_set()
1957 size_t querylen = u->query ? strlen(u->query) : 0; in curl_url_set()
1958 bool addamperand = querylen && (u->query[querylen -1] != '&'); in curl_url_set()
1963 if(Curl_dyn_addn(&qbuf, u->query, querylen)) /* add original query */ in curl_url_set()