Lines Matching defs:query
50 * A query as passed to the search function.
52 struct query {
56 char *query; /* unparsed query expression */
61 struct query q;
185 * to the query structure.
202 * and store the values into the query structure.
214 req->q.query = NULL;
241 if ( ! strcmp(key, "query"))
242 set_query_attr(&req->q.query, &val);
276 * The val may have been handed over to the query
440 /* Write query input box. */
442 printf(" <input type=\"search\" name=\"query\" value=\"");
443 if (req->q.query != NULL)
444 html_print(req->q.query);
565 "manual explains the query syntax.\n"
982 char *query, *rp, *wp;
1014 rp = query = mandoc_strdup(req->q.query);
1045 "You entered an invalid query.");
1051 free(query);
1110 /* Parse the path info and the query string. */
1120 *req.q.query == '\0' || access(path, F_OK) == -1)
1145 else if (NULL != req.q.query)
1153 free(req.q.query);
1161 * Translate PATH_INFO to a query.
1182 req->q.query = mandoc_strndup(name, sec - name - 1);
1185 req->q.query = mandoc_strdup(name);