Home
last modified time | relevance | path

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

/freebsd/contrib/mandoc/
H A Dmdoc_state.c45 static const state_handler state_handlers[MDOC_MAX - MDOC_Dd] = {
178 assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX); in mdoc_state()
182 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.c119 static const struct mdoc_html_act mdoc_html_acts[MDOC_MAX - MDOC_Dd] = {
419 assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX); in print_mdoc_node()
420 if (mdoc_html_acts[n->tok - MDOC_Dd].pre != NULL && in print_mdoc_node()
422 child = (*mdoc_html_acts[n->tok - MDOC_Dd].pre)(meta, in print_mdoc_node()
443 if (mdoc_html_acts[n->tok - MDOC_Dd].post == NULL || in print_mdoc_node()
446 (*mdoc_html_acts[n->tok - MDOC_Dd].post)(meta, n, h); in print_mdoc_node()
H A Dmandoc.c216 else if (nbl->tok == MDOC_Dd) in mandoc_normdate()
H A Dread.c134 curp->man->mdocmac = roffhash_alloc(MDOC_Dd, MDOC_MAX); in choose_parser()
680 curp->man->mdocmac = roffhash_alloc(MDOC_Dd, MDOC_MAX); in mparse_alloc()
H A Dmdoc_markdown.c112 static const struct md_act md_acts[MDOC_MAX - MDOC_Dd] = {
264 assert(tok >= MDOC_Dd && tok <= MDOC_MAX); in md_act()
265 return md_acts + (tok - MDOC_Dd); in md_act()
H A Droff.h320 MDOC_Dd, /* Beginning of mdoc(7) macros. */ enumerator
H A Dmdoc_man.c144 static const struct mdoc_man_act mdoc_man_acts[MDOC_MAX - MDOC_Dd] = {
301 assert(tok >= MDOC_Dd && tok <= MDOC_MAX); in mdoc_man_act()
302 return mdoc_man_acts + (tok - MDOC_Dd); in mdoc_man_act()
H A Dmdoc_macro.c66 static const struct mdoc_macro mdoc_macros[MDOC_MAX - MDOC_Dd] = {
213 assert(tok >= MDOC_Dd && tok < MDOC_MAX); in mdoc_macro()
214 return mdoc_macros + (tok - MDOC_Dd); in mdoc_macro()
H A Dmdoc_validate.c128 static const v_post mdoc_valids[MDOC_MAX - MDOC_Dd] = {
386 assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX); in mdoc_validate()
387 p = mdoc_valids + (n->tok - MDOC_Dd); in mdoc_validate()
2164 (n->tok >= MDOC_Dd && in post_root()
2987 while (n->tok != MDOC_Dd) in post_os()
H A Dmdoc_term.c123 static const struct mdoc_term_act mdoc_term_acts[MDOC_MAX - MDOC_Dd] = {
397 assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX); in print_mdoc_node()
398 act = mdoc_term_acts + (n->tok - MDOC_Dd); in print_mdoc_node()
H A Dmandocdb.c195 static const struct mdoc_handler mdoc_handlers[MDOC_MAX - MDOC_Dd] = {
1615 assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX); in parse_mdoc()
1616 handler = mdoc_handlers + (n->tok - MDOC_Dd); in parse_mdoc()
H A Droff.c3266 tok = MDOC_Dd; in roff_Dd()
4228 for (tok = MDOC_Dd; tok < MDOC_MAX; tok++) { in roff_getstrn()