Searched refs:MDOC_Dd (Results 1 – 13 of 13) sorted by relevance
39 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()
147 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()
123 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()
127 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()
108 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()
320 MDOC_Dd, enumerator
63 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()
144 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()
120 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()
190 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()
127 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()
3177 tok = MDOC_Dd; in roff_Dd()4057 for (tok = MDOC_Dd; tok < MDOC_MAX; tok++) { in roff_getstrn()
131 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()