/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mandoc_aux.h | 19 int mandoc_asprintf(char **, const char *, ...)
|
H A D | mansearch.c | 188 mandoc_asprintf(&mpage->file, "%s/%s", in mansearch() 597 mandoc_asprintf(&newoutput, "%s%s%s", oldoutput, sep, value); in buildoutput() 766 mandoc_asprintf(&val, "[[:<:]]%s[[:>:]]", argv[*argi]); in exprterm() 768 mandoc_asprintf(&val, "\\<%s\\>", argv[*argi]); in exprterm() 770 mandoc_asprintf(&val, in exprterm()
|
H A D | manpath.c | 293 mandoc_asprintf(&oldval, "%zu", conf->indent); in manconf_output() 304 mandoc_asprintf(&oldval, "%zu", conf->width); in manconf_output()
|
H A D | mandoc_aux.c | 35 mandoc_asprintf(char **dest, const char *fmt, ...) in mandoc_asprintf() function
|
H A D | man_html.c | 148 mandoc_asprintf(&cp, "%s(%s)", man->title, man->msec); in print_man_head() 271 mandoc_asprintf(&title, "%s(%s)", man->title, man->msec); in man_root_pre() 621 mandoc_asprintf(&cp, "mailto:%s", n->child->string); in man_UR_pre()
|
H A D | main.c | 754 mandoc_asprintf(&file, "%s/man%s/%s.%s", in fs_lookup() 760 mandoc_asprintf(&file, "%s/cat%s/%s.0", in fs_lookup() 769 mandoc_asprintf(&file, "%s/man%s/%s/%s.%s", in fs_lookup() 819 mandoc_asprintf(&file, "%s.%s", name, sec); in fs_lookup() 1336 mandoc_asprintf(&argv[argc], "file://%s#%s", in spawn_pager()
|
H A D | mdoc_html.c | 319 mandoc_asprintf(&cp, "%s(%s) (%s)", meta->title, in print_mdoc_head() 322 mandoc_asprintf(&cp, "%s(%s)", meta->title, meta->msec); in print_mdoc_head() 324 mandoc_asprintf(&cp, "%s (%s)", meta->title, meta->arch); in print_mdoc_head() 478 mandoc_asprintf(&volume, "%s (%s)", in mdoc_root_pre() 484 mandoc_asprintf(&title, "%s(%s)", in mdoc_root_pre() 1282 mandoc_asprintf(&cp, "mailto:%s", n->string); in mdoc_mt_pre()
|
H A D | roff.c | 985 mandoc_asprintf(&newstr, "%s %s", n->string, addstr); in roff_word_append() 1224 mandoc_asprintf(&cp, "%s %*s", *dest, (int)sz, cp); in deroff() 1365 buf->sz = mandoc_asprintf(&nbuf, "%s\\e%s", in roff_expand() 1631 buf->sz = mandoc_asprintf(&nbuf, "%s%s%s", in roff_expand() 1771 isz = mandoc_asprintf(&p, "%s\n.%s", buf->buf, roffit_macro); in roff_parsetext() 2217 csz = mandoc_asprintf(&call, ".%.*s \\$* \\\"\n", in roff_block() 2224 rsz = mandoc_asprintf(&rname, "__%s_renamed", name); in roff_block() 2226 csz = mandoc_asprintf(&call, ".%.*s \\$* \\\"\n", in roff_block() 3405 buf->sz = mandoc_asprintf(&cp1, "%s%s%s%s%s%s%s", buf->buf, in roff_eqndelim() 3596 valsz = mandoc_asprintf(&value, ".%.*s \\$@\\\"\n", in roff_als() [all …]
|
H A D | read.c | 390 ln.sz = mandoc_asprintf(&cp, in mparse_buf_r() 644 mandoc_asprintf(&cp, "%s.gz", file); in mparse_open()
|
H A D | html.c | 425 mandoc_asprintf(&buf, "%s~%d", cp, entry->ord); in html_make_id() 601 mandoc_asprintf(&filename, "%s.%s", name, sec); in print_href()
|
H A D | eqn.c | 332 ep->sz = mandoc_asprintf(&cp, "%s %s", ep->data, p); in eqn_read() 470 mandoc_asprintf(&ep->start, in eqn_next()
|
H A D | man_term.c | 1024 mandoc_asprintf(&title, "%s(%s)", in print_man_foot() 1096 mandoc_asprintf(&title, "%s(%s)", meta->title, meta->msec); in print_man_head()
|
H A D | man_validate.c | 657 mandoc_asprintf(&s, "+%s", n->child->string); in post_in()
|
H A D | mdoc_term.c | 515 mandoc_asprintf(&volume, "%s (%s)", in print_mdoc_head() 522 mandoc_asprintf(&title, "%s(%s)", in print_mdoc_head()
|
H A D | mdoc_validate.c | 1646 mandoc_asprintf(&cp, "\\-%s", n->child->string); in post_fl() 1841 mandoc_asprintf(arg, "%zun", width); in rewrite_macro2len() 2919 mandoc_asprintf(&defbuf, "%s %s", in post_os()
|
H A D | mandocdb.c | 1212 mandoc_asprintf(&cp, "%s.gz", meta->sodest); in mpages_merge() 1792 mandoc_asprintf(&cp, "%s(%s)", n->string, n->next->string); in parse_mdoc_Xr()
|