Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/mandoc/
H A Dmdoc_state.c41 static const state_handler state_handlers[MDOC_MAX - MDOC_Dd] = {
174 assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX); in mdoc_state()
178 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.c118 static const struct mdoc_html_act mdoc_html_acts[MDOC_MAX - MDOC_Dd] = {
418 assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX); in print_mdoc_node()
419 if (mdoc_html_acts[n->tok - MDOC_Dd].pre != NULL && in print_mdoc_node()
421 child = (*mdoc_html_acts[n->tok - MDOC_Dd].pre)(meta, in print_mdoc_node()
442 if (mdoc_html_acts[n->tok - MDOC_Dd].post == NULL || in print_mdoc_node()
445 (*mdoc_html_acts[n->tok - MDOC_Dd].post)(meta, n, h); in print_mdoc_node()
H A Dread.c134 curp->man->mdocmac = roffhash_alloc(MDOC_Dd, MDOC_MAX); in choose_parser()
675 curp->man->mdocmac = roffhash_alloc(MDOC_Dd, MDOC_MAX); in mparse_alloc()
H A Dmandoc.c592 else if (nbl->tok == MDOC_Dd) in mandoc_normdate()
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, enumerator
H A Dmdoc_macro.c63 static const struct mdoc_macro mdoc_macros[MDOC_MAX - MDOC_Dd] = {
210 assert(tok >= MDOC_Dd && tok < MDOC_MAX); in mdoc_macro()
211 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] = {
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_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()
2119 (n->tok >= MDOC_Dd && in post_root()
2945 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] = {
399 assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX); in print_mdoc_node()
400 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] = {
1612 assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX); in parse_mdoc()
1613 handler = mdoc_handlers + (n->tok - MDOC_Dd); in parse_mdoc()
H A Droff.c3296 tok = MDOC_Dd; in roff_Dd()
4194 for (tok = MDOC_Dd; tok < MDOC_MAX; tok++) { in roff_getstrn()