Home | History | Annotate | Download | only in makemandb

Lines Matching refs:snippet

617 		    " snippet(mandb, %Q, %Q, %Q, -1, 40 ),"
624 " mandb.machine, '' AS snippet, 100.00 AS rank"
637 " snippet(mandb, %Q, %Q, %Q, -1, 40 ),"
710 callback_args.snippet = get_stmt_col_text(stmt, 4);
712 strlen(callback_args.snippet);
714 callback_args.snippet = "";
740 * last three parameters to the snippet function of sqlite. (Look at the docs).
841 char *qsnippet = get_escaped_html_string(callback_args->snippet, &length);
845 callback_args->snippet = qsnippet;
858 * own custom callback function, which preprocess the snippet for quoting
902 * the snippet so that it appears emboldened when viewed using a pager like
910 const char *temp = callback_args->snippet;
932 /* Copy the bytes from snippet to psnippet:
939 const char *snippet = callback_args->snippet;
940 while (*snippet) {
941 sz = strcspn(snippet, "\002");
942 memcpy(&psnippet[i], snippet, sz);
943 snippet += sz;
949 if (*snippet == '\002')
950 snippet++;
951 while (*snippet && *snippet != '\003') {
953 psnippet[i++] = *snippet;
955 psnippet[i++] = *snippet++;
957 if (*snippet)
958 snippet++;
968 callback_args->snippet = psnippet;
1000 * the snippet so that it appears emboldened when viewed using a pager like