Home
last modified time | relevance | path

Searched refs:MDOC_Dd (Results 1 – 13 of 13) sorted by relevance

/netbsd-src/external/bsd/mdocml/dist/
H A Dmdoc_state.c39 static const state_handler state_handlers[MDOC_MAX - MDOC_Dd] = {
171 assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX); in mdoc_state()
175 handler = state_handlers[n->tok - MDOC_Dd]; in mdoc_state()
H A Dmdoc_argv.c147 static const struct mdocarg mdocargs[MDOC_MAX - MDOC_Dd] = {
291 assert(tok >= MDOC_Dd && tok < MDOC_MAX); in mdoc_argv()
292 argtable = mdocargs[tok - MDOC_Dd].argvs; in mdoc_argv()
370 argtable = mdocargs[tok - MDOC_Dd].argvs; in mdoc_argv()
421 fl = tok == TOKEN_NONE ? ARGSFL_NONE : mdocargs[tok - MDOC_Dd].flags; in mdoc_args()
H A Dmdoc_html.c123 static const struct mdoc_html_act mdoc_html_acts[MDOC_MAX - MDOC_Dd] = {
410 assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX); in print_mdoc_node()
411 if (mdoc_html_acts[n->tok - MDOC_Dd].pre != NULL && in print_mdoc_node()
413 child = (*mdoc_html_acts[n->tok - MDOC_Dd].pre)(meta, in print_mdoc_node()
434 if (mdoc_html_acts[n->tok - MDOC_Dd].post == NULL || in print_mdoc_node()
437 (*mdoc_html_acts[n->tok - MDOC_Dd].post)(meta, n, h); in print_mdoc_node()
H A Dread.c127 curp->man->mdocmac = roffhash_alloc(MDOC_Dd, MDOC_MAX); in choose_parser()
658 curp->man->mdocmac = roffhash_alloc(MDOC_Dd, MDOC_MAX); in mparse_alloc()
H A Dmdoc_markdown.c108 static const struct md_act md_acts[MDOC_MAX - MDOC_Dd] = {
259 assert(tok >= MDOC_Dd && tok <= MDOC_MAX); in md_act()
260 return md_acts + (tok - MDOC_Dd); in md_act()
H A Droff.h320 MDOC_Dd, enumerator
H A Dmdoc_macro.c63 static const struct mdoc_macro mdoc_macros[MDOC_MAX - MDOC_Dd] = {
209 assert(tok >= MDOC_Dd && tok < MDOC_MAX); in mdoc_macro()
210 return mdoc_macros + (tok - MDOC_Dd); in mdoc_macro()
H A Dmdoc_man.c144 static const struct mdoc_man_act mdoc_man_acts[MDOC_MAX - MDOC_Dd] = {
300 assert(tok >= MDOC_Dd && tok <= MDOC_MAX); in mdoc_man_act()
301 return mdoc_man_acts + (tok - MDOC_Dd); in mdoc_man_act()
H A Dmdoc_validate.c120 static const v_post mdoc_valids[MDOC_MAX - MDOC_Dd] = {
375 assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX); in mdoc_validate()
376 p = mdoc_valids + (n->tok - MDOC_Dd); in mdoc_validate()
1949 (n->tok >= MDOC_Dd && in post_root()
2759 while (n->tok != MDOC_Dd) in post_os()
H A Dmandocdb.c190 static const struct mdoc_handler mdoc_handlers[MDOC_MAX - MDOC_Dd] = {
1550 assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX); in parse_mdoc()
1551 handler = mdoc_handlers + (n->tok - MDOC_Dd); in parse_mdoc()
H A Dmdoc_term.c127 static const struct mdoc_term_act mdoc_term_acts[MDOC_MAX - MDOC_Dd] = {
396 assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX); in print_mdoc_node()
397 act = mdoc_term_acts + (n->tok - MDOC_Dd); in print_mdoc_node()
H A Droff.c3177 tok = MDOC_Dd; in roff_Dd()
4057 for (tok = MDOC_Dd; tok < MDOC_MAX; tok++) { in roff_getstrn()
/netbsd-src/usr.sbin/makemandb/
H A Dmakemandb.c131 static const proff_nf mdocs[MDOC_MAX - MDOC_Dd] = {
1081 } else if (n->tok >= MDOC_Dd && n->tok < MDOC_MAX) { in mdoc_parse_Sh()
1082 const int tok_idx = n->tok - MDOC_Dd; in mdoc_parse_Sh()
1169 tok_idx = n->tok - MDOC_Dd; in proff_node()