Lines Matching defs:query
51 * A query as passed to the search function.
53 struct query {
57 char *query; /* unparsed query expression */
62 struct query q;
186 * to the query structure.
203 * and store the values into the query structure.
215 req->q.query = NULL;
242 if ( ! strcmp(key, "query"))
243 set_query_attr(&req->q.query, &val);
277 * The val may have been handed over to the query
445 /* Write query input box. */
447 printf(" <label>Search query:\n"
448 " <input type=\"search\" name=\"query\" value=\"");
449 if (req->q.query != NULL)
450 html_print(req->q.query);
576 "manual explains the query syntax.\n"
1013 char *query, *rp, *wp;
1045 rp = query = mandoc_strdup(req->q.query);
1076 "You entered an invalid query.");
1082 free(query);
1141 /* Parse the path info and the query string. */
1151 *req.q.query == '\0' || access(path, F_OK) == -1)
1176 else if (NULL != req.q.query)
1184 free(req.q.query);
1192 * Translate PATH_INFO to a query.
1213 req->q.query = mandoc_strndup(name, sec - name - 1);
1216 req->q.query = mandoc_strdup(name);