Home | History | Annotate | Download | only in lib

Lines Matching defs:query

61   char *query;
79 free(u->query);
101 const char *query;
110 query = strchr(sep, '?');
116 if(!query)
117 query = url + strlen(url);
119 return sep < query ? sep : query;
305 available, or if the new URL is just a query string (starts with a
627 char *query = NULL;
809 query = strchr(path, '?');
810 if(query)
811 *query++ = 0;
813 fragment = strchr(query?query:path, '#');
864 if(query) {
865 u->query = strdup(query);
866 if(!u->query)
927 DUP(u, in, query);
1007 ptr = u->query;
1071 (u->query && u->query[0]) ? "?": "",
1072 (u->query && u->query[0]) ? u->query : "",
1154 storep = &u->query;
1205 storep = &u->query;
1336 /* Append the string onto the old query. Add a '&' separator if none is
1337 present at the end of the exsting query already */
1338 size_t querylen = u->query ? strlen(u->query) : 0;
1339 bool addamperand = querylen && (u->query[querylen -1] != '&');
1347 strcpy(p, u->query); /* original query */